Versions in this module Expand all Collapse all v0 v0.1.1 Jul 23, 2023 v0.1.0 Jul 23, 2023 Changes in this version + const AddLiquidityEventType + const AsgardName + const BondEventType + const BondName + const DefaultCodespace + const DefaultIndex + const DonateEventType + const ErrataEventType + const FeeEventType + const GasEventType + const MAYANameEventType + const MaxAffiliateFeeBasisPoints + const MaxWithdrawBasisPoints + const MayaFund + const ModuleName + const OutboundEventType + const PendingLiquidity + const PoolBalanceChangeEventType + const PoolEventType + const RefundEventType + const ReserveEventType + const ReserveName + const RewardEventType + const RouterKey + const ScheduledOutboundEventType + const SecurityEventType + const SetMimirEventType + const SetNodeMimirEventType + const SimpleMajorityFactor + const SlashEventType + const SlashLiquidityEventType + const SlashPointEventType + const StoreKey + const SuperMajorityFactor + const SwapEventType + const SwitchEventType + const TSSKeygenMetricEventType + const TSSKeysignMetricEventType + const WithdrawEventType + var ModuleCdc = codec.NewAminoCodec(amino) + func GetCurrentVersion() semver.Version + func GetLiquidityPools(version semver.Version) common.Assets + func GetRandomAZTECAddress() common.Address + func GetRandomBCHAddress() common.Address + func GetRandomBNBAddress() common.Address + func GetRandomBTCAddress() common.Address + func GetRandomBaseAddress() common.Address + func GetRandomBech32Addr() cosmos.AccAddress + func GetRandomBech32ConsensusPubKey() string + func GetRandomDASHAddress() common.Address + func GetRandomDOGEAddress() common.Address + func GetRandomETHAddress() common.Address + func GetRandomGAIAAddress() common.Address + func GetRandomLTCAddress() common.Address + func GetRandomPubKey() common.PubKey + func GetRandomPubKeySet() common.PubKeySet + func GetRandomTx() common.Tx + func GetRandomTxHash() common.TxID + func GetThreshold(value int) (int, error) + func HasMinority(signers, total int) bool + func HasSimpleMajority(signers, total int) bool + func HasSuperMajority(signers, total int) bool + func MakeTestCodec() *codec.LegacyAmino + func RegisterCodec(cdc *codec.LegacyAmino) + func RegisterInterfaces(registry cdctypes.InterfaceRegistry) + func SetupConfigForTest() + type LiquidityAuctionTiers []LiquidityAuctionTier + type LiquidityProviders []LiquidityProvider + func (lps LiquidityProviders) SetNodeAccount(na cosmos.AccAddress) + type NodeAccounts []NodeAccount + func (nas NodeAccounts) Contains(na NodeAccount) bool + func (nas NodeAccounts) GetNodeAddresses() []cosmos.AccAddress + func (nas NodeAccounts) IsEmpty() bool + func (nas NodeAccounts) IsNodeKeys(addr cosmos.AccAddress) bool + func (nas NodeAccounts) Len() int + func (nas NodeAccounts) Less(i, j int) bool + func (nas NodeAccounts) Swap(i, j int) + type ObservedTxVoters []ObservedTxVoter + type ObservedTxs []ObservedTx + func (txs ObservedTxs) Contains(tx ObservedTx) bool + type PoolMods []PoolMod + type Pools []Pool + func (m Pools) Get(asset common.Asset) (Pool, bool) + func (m Pools) Set(pool Pool) Pools + type QueryChainAddress struct + Address common.Address + Chain common.Chain + type QueryChainHeight struct + Chain common.Chain + Height int64 + type QueryKeygenBlock struct + KeygenBlock KeygenBlock + Signature string + func (n QueryKeygenBlock) String() string + type QueryKeysign struct + Keysign TxOut + Signature string + type QueryNodeAccount struct + ActiveBlockHeight int64 + AztecAddress common.Address + Bond cosmos.Uint + BondAddress common.Address + BondProviders BondProviders + ForcedToLeave bool + IPAddress string + Jail Jail + LeaveScore uint64 + NodeAddress cosmos.AccAddress + ObserveChains []QueryChainHeight + PreflightStatus QueryNodeAccountPreflightCheck + PubKeySet common.PubKeySet + RequestedToLeave bool + Reward cosmos.Uint + SignerMembership common.PubKeys + SlashPoints int64 + Status NodeStatus + StatusSince int64 + ValidatorConsPubKey string + Version semver.Version + func NewQueryNodeAccount(na NodeAccount, naBond cosmos.Uint) QueryNodeAccount + type QueryNodeAccountPreflightCheck struct + Code int + Description string + Status NodeStatus + func (n QueryNodeAccountPreflightCheck) String() string + type QueryQueue struct + Internal int64 + Outbound int64 + ScheduledOutboundValue cosmos.Uint + Swap int64 + func (h QueryQueue) String() string + type QueryResLastBlockHeights struct + Chain common.Chain + LastChainHeight int64 + LastSignedHeight int64 + Mayachain int64 + func (h QueryResLastBlockHeights) String() string + type QueryTxOutItem struct + Chain common.Chain + Coin common.Coin + GasRate int64 + Height int64 + InHash common.TxID + MaxGas common.Gas + Memo string + OutHash common.TxID + ToAddress common.Address + VaultPubKey common.PubKey + func NewQueryTxOutItem(toi TxOutItem, height int64) QueryTxOutItem + type QueryVaultPubKeyContract struct + PubKey common.PubKey + Routers []ChainContract + type QueryVaultResp struct + Addresses []QueryChainAddress + BlockHeight int64 + Chains []string + Coins gitlab_com_thorchain_thornode_common.Coins + Frozen []string + InboundTxCount int64 + Membership []string + OutboundTxCount int64 + PendingTxBlockHeights []int64 + PubKey gitlab_com_thorchain_thornode_common.PubKey + Routers []ChainContract + Status VaultStatus + StatusSince int64 + Type VaultType + type QueryVaultsPubKeys struct + Asgard []QueryVaultPubKeyContract + Yggdrasil []QueryVaultPubKeyContract + type QueryVersion struct + Current semver.Version + Next semver.Version + Querier semver.Version + type QueryYggdrasilVaults struct + Addresses []QueryChainAddress + BlockHeight int64 + Bond cosmos.Uint + Chains []string + Coins gitlab_com_thorchain_thornode_common.Coins + InboundTxCount int64 + Membership []string + OutboundTxCount int64 + PendingTxBlockHeights []int64 + PubKey gitlab_com_thorchain_thornode_common.PubKey + Routers []ChainContract + Status NodeStatus + StatusSince int64 + TotalValue cosmos.Uint + Type VaultType + type ReserveContributors []ReserveContributor + func (reses ReserveContributors) Add(res ReserveContributor) ReserveContributors + type Vaults []Vault + func (vs Vaults) Has(target common.Coin) Vaults + func (vs Vaults) HasAddress(chain common.Chain, address common.Address) (bool, error) + func (vs Vaults) SelectByMaxCoin(asset common.Asset) (vault Vault) + func (vs Vaults) SelectByMinCoin(asset common.Asset) (vault Vault) + func (vs Vaults) SortBy(sortBy common.Asset) Vaults