import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { JsonSafe } from "../../../json-safe"; export interface Delegation { /** provider receives the delegated funds */ provider: string; /** delegator that owns the delegated funds */ delegator: string; amount: Coin; /** Unix timestamp of the delegation (+ month) */ timestamp: bigint; } export interface DelegationProtoMsg { typeUrl: "/lavanet.lava.dualstaking.Delegation"; value: Uint8Array; } export interface DelegationAmino { /** provider receives the delegated funds */ provider?: string; /** delegator that owns the delegated funds */ delegator?: string; amount?: CoinAmino; /** Unix timestamp of the delegation (+ month) */ timestamp?: string; } export interface DelegationAminoMsg { type: "/lavanet.lava.dualstaking.Delegation"; value: DelegationAmino; } export interface DelegationSDKType { provider: string; delegator: string; amount: CoinSDKType; timestamp: bigint; } export interface Delegator { /** providers to which it delegates */ providers: string[]; } export interface DelegatorProtoMsg { typeUrl: "/lavanet.lava.dualstaking.Delegator"; value: Uint8Array; } export interface DelegatorAmino { /** providers to which it delegates */ providers?: string[]; } export interface DelegatorAminoMsg { type: "/lavanet.lava.dualstaking.Delegator"; value: DelegatorAmino; } export interface DelegatorSDKType { providers: string[]; } export declare const Delegation: { typeUrl: string; encode(message: Delegation, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Delegation; fromJSON(object: any): Delegation; toJSON(message: Delegation): JsonSafe; fromPartial(object: Partial): Delegation; fromAmino(object: DelegationAmino): Delegation; toAmino(message: Delegation): DelegationAmino; fromAminoMsg(object: DelegationAminoMsg): Delegation; fromProtoMsg(message: DelegationProtoMsg): Delegation; toProto(message: Delegation): Uint8Array; toProtoMsg(message: Delegation): DelegationProtoMsg; }; export declare const Delegator: { typeUrl: string; encode(message: Delegator, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Delegator; fromJSON(object: any): Delegator; toJSON(message: Delegator): JsonSafe; fromPartial(object: Partial): Delegator; fromAmino(object: DelegatorAmino): Delegator; toAmino(message: Delegator): DelegatorAmino; fromAminoMsg(object: DelegatorAminoMsg): Delegator; fromProtoMsg(message: DelegatorProtoMsg): Delegator; toProto(message: Delegator): Uint8Array; toProtoMsg(message: Delegator): DelegatorProtoMsg; };