Variable ContractCallWithTokenSubmitted
Type declaration
create:function
- create<I>(base?): ContractCallWithTokenSubmitted
Type Parameters
- I extends {
asset?: {
amount?: string;
denom?: string;
};
contractAddress?: string;
destinationChain?: string;
messageId?: string;
payload?: Uint8Array;
payloadHash?: Uint8Array;
sender?: string;
sourceChain?: string;
} & {
asset?: {
amount?: string;
denom?: string;
} & {
amount?: string;
denom?: string;
} & {
[K in string | number | symbol]: never
};
contractAddress?: string;
destinationChain?: string;
messageId?: string;
payload?: Uint8Array;
payloadHash?: Uint8Array;
sender?: string;
sourceChain?: string;
} & {
[K in string | number | symbol]: never
}
decode:function
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): ContractCallWithTokenSubmitted
Type Parameters
- I extends {
asset?: {
amount?: string;
denom?: string;
};
contractAddress?: string;
destinationChain?: string;
messageId?: string;
payload?: Uint8Array;
payloadHash?: Uint8Array;
sender?: string;
sourceChain?: string;
} & {
asset?: {
amount?: string;
denom?: string;
} & {
amount?: string;
denom?: string;
} & {
[K in string | number | symbol]: never
};
contractAddress?: string;
destinationChain?: string;
messageId?: string;
payload?: Uint8Array;
payloadHash?: Uint8Array;
sender?: string;
sourceChain?: string;
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown