package
2.0.0+incompatible
Repository: https://github.com/okex/exchain.git
Documentation: pkg.go.dev

# Functions

DefaultParams returns a default set of parameters.
Addr and Product All Required.
No description provided by the author
ErrInvalidBalanceNotEnough returns invalid balance not enough error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidAsset returns invalid asset error.
No description provided by the author
ErrInvalidTokenPair returns invalid product error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrTokenPairExisted returns an error when the token pair is existing during the process of listing.
No description provided by the author
ErrTokenPairNotFound returns token pair not found error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetKey returns keys between index 1 to the end.
GetLockProductKey returns key of token pair.
GetOperatorAddressKey returns key of operator address.
GetTokenPairAddress returns store key of token pair.
GetUserTokenPairAddress returns token pair address key.
GetUserTokenPairAddressPrefix returns token pair address prefix key.
GetWithdrawAddressKey returns key of withdraw address.
GetWithdrawTimeAddressKey returns withdraw time address key.
GetWithdrawTimeKey returns key of withdraw time.
NewDelistProposal create a new delist proposal object.
No description provided by the author
NewMsgCreateOperator creates a new MsgCreateOperator.
NewMsgDeposit creates a new MsgDeposit.
NewMsgList creates a new MsgList.
NewMsgTransferOwnership create a new MsgTransferOwnership.
NewMsgUpdateOperator creates a new MsgUpdateOperator.
NewMsgWithdraw creates a new MsgWithdraw.
NewQueryDepositParams creates a new instance of QueryDepositParams.
NewQueryDexInfoParams creates query params of dex info.
creates a new instance of QueryDexOperatorParams.
ParamKeyTable for auth module.
RegisterCodec registers concrete types on the Amino codec.
SplitWithdrawTimeKey splits the key and returns the complete time and address.

# Constants

const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
const CodeType.
DefaultCodespace defines default code space.
DefaultMaxPriceDigitSize defines default max price digit size.
DefaultMaxQuantityDigitSize defines default max quantity digit size.
DefaultOwnershipConfirmWindow defines default confirm window.
DefaultPage defines default number of page.
DefaultParamspace defines default param space.
DefaultPerPage defines default number per page.
DefaultWithdrawPeriod defines default withdraw period.
ModuleName is the name of the dex module.
QuerierRoute is the querier route for the dex module.
QueryDeposits defines deposits query route path.
QueryMatchOrder defines match-order query route path.
QueryOperator defines operator query route path.
QueryOperators defines operators query route path.
QueryParameters defines QueryParameters = "params" query route path.
QueryProducts defines products query route path.
QueryProductsDelisting defines delisting query route path.
RouterKey is the msg router key for the dex module.
StoreKey is the string store representation.
TestTokenPairOwner defines owner of token pair, just for test.
TokenPairStoreKey is the token pair store key.

# Variables

DefaultTokenPairDeposit defines default deposit of token pair.
DEXOperatorKeyPrefix is the store key prefix for DEXOperator.
DEXOperatorTokenPairCntPrefix is the store key prefix for DEXOperator's tokenpair count.
MaxTokenPairIDKey is the store key for token pair max ID.
ModuleCdc represents generic sealed codec to be used throughout this module.
the prefix of the confirm ownership key.
TokenPairKey is the store key for token pair.
TokenPairLockKeyPrefix is the store key for token pair prefix.
UserTokenPairKeyPrefix is the store key for user token pair num.
WithdrawAddressKeyPrefix is the store key for withdraw address.
WithdrawTimeKeyPrefix is the store key for withdraw time.

# Structs

No description provided by the author
DelistProposal represents delist proposal object.
OperatorAddress sdk.ValAddress `json:"operator_address" yaml:"operator_address"`.
MsgConfirmOwnership - high level transaction of the coin module.
MsgCreateOperator register a new DEXOperator or update it Addr represent an DEXOperator if DEXOperator not exist, register a new DEXOperator else update Website or HandlingFeeAddress.
MsgDeposit - high level transaction of the dex module.
MsgList - high level transaction of the dex module.
MsgTransferOwnership - high level transaction of the dex module.
MsgUpdateOperator register a new DEXOperator or update it Addr represent an DEXOperator if DEXOperator not exist, register a new DEXOperator else update Website or HandlingFeeAddress.
MsgWithdraw - high level transaction of the dex module.
Params defines param object.
nolint.
QueryDexInfoParams defines query params of dex info.
No description provided by the author
TokenPair represents token pair object.
WithdrawInfo represents infos for withdrawing.

# Type aliases

No description provided by the author
TokenPairs represents token pair slice, support sorting.
WithdrawInfos defines list of WithdrawInfo.