Skip to main content

Namespace: swap

@shareledgerjs/client.swap

Interfaces

Type Aliases

SwapExtension

Ƭ SwapExtension: SwapQueryExtension & SwapTxExtension


SwapExtensionMethods

Ƭ SwapExtensionMethods: SwapQueryExtensionMethods & SwapTxExtensionMethods

Functions

SwapExtension

SwapExtension<T>(constructor): T

Type parameters

NameType
Textends (...args: any[]) => BaseClient & SwapQueryExtension & SwapTxExtension

Parameters

NameType
constructorT

Returns

T


SwapQueryExtension

SwapQueryExtension<T>(constructor): T

Type parameters

NameType
Textends (...args: any[]) => BaseClient & SwapQueryExtension

Parameters

NameType
constructorT

Returns

T


SwapTxExtension

SwapTxExtension<T>(constructor): T

Type parameters

NameType
Textends (...args: any[]) => BaseClient & SwapTxExtension

Parameters

NameType
constructorT

Returns

T


createSwapActions

createSwapActions(): Record<string, string>

Returns

Record<string, string>


createSwapAminoConverters

createSwapAminoConverters(prefix): Record<string, AminoConverter | "not_supported_by_chain">

Parameters

NameType
prefixstring

Returns

Record<string, AminoConverter | "not_supported_by_chain">


createSwapTypes

createSwapTypes(): ReadonlyArray<[string, GeneratedType]>

Returns

ReadonlyArray<[string, GeneratedType]>


isMsgApproveInEncodeObject

isMsgApproveInEncodeObject(encodeObject): encodeObject is MsgApproveInEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgApproveInEncodeObject


isMsgApproveOutEncodeObject

isMsgApproveOutEncodeObject(encodeObject): encodeObject is MsgApproveOutEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgApproveOutEncodeObject


isMsgCancelBatchesEncodeObject

isMsgCancelBatchesEncodeObject(encodeObject): encodeObject is MsgCancelBatchesEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgCancelBatchesEncodeObject


isMsgCancelEncodeObject

isMsgCancelEncodeObject(encodeObject): encodeObject is MsgCancelEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgCancelEncodeObject


isMsgCompleteBatchEncodeObject

isMsgCompleteBatchEncodeObject(encodeObject): encodeObject is MsgCompleteBatchEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgCompleteBatchEncodeObject


isMsgCreateSchemaEncodeObject

isMsgCreateSchemaEncodeObject(encodeObject): encodeObject is MsgCreateSchemaEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgCreateSchemaEncodeObject


isMsgDeleteSchemaEncodeObject

isMsgDeleteSchemaEncodeObject(encodeObject): encodeObject is MsgDeleteSchemaEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgDeleteSchemaEncodeObject


isMsgDepositEncodeObject

isMsgDepositEncodeObject(encodeObject): encodeObject is MsgDepositEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgDepositEncodeObject


isMsgRejectEncodeObject

isMsgRejectEncodeObject(encodeObject): encodeObject is MsgRejectEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgRejectEncodeObject


isMsgRequestInEncodeObject

isMsgRequestInEncodeObject(encodeObject): encodeObject is MsgRequestInEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgRequestInEncodeObject


isMsgRequestOutEncodeObject

isMsgRequestOutEncodeObject(encodeObject): encodeObject is MsgRequestOutEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgRequestOutEncodeObject


isMsgUpdateSchemaEncodeObject

isMsgUpdateSchemaEncodeObject(encodeObject): encodeObject is MsgUpdateSchemaEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgUpdateSchemaEncodeObject


isMsgUpdateSwapFeeEncodeObject

isMsgUpdateSwapFeeEncodeObject(encodeObject): encodeObject is MsgUpdateSwapFeeEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgUpdateSwapFeeEncodeObject


isMsgWithdrawEncodeObject

isMsgWithdrawEncodeObject(encodeObject): encodeObject is MsgWithdrawEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgWithdrawEncodeObject