Documentation
¶
Index ¶
- Constants
- Variables
- type AffiliateFeeCollector
- type BanVoter
- type BondProvider
- type BondProviders
- type ChainContract
- type DummyIterator
- func (iter *DummyIterator) AddItem(key, value []byte)
- func (iter *DummyIterator) Close() error
- func (iter *DummyIterator) Domain() (start, end []byte)
- func (iter *DummyIterator) Error() error
- func (iter *DummyIterator) Key() []byte
- func (iter *DummyIterator) Next()
- func (iter *DummyIterator) Valid() bool
- func (iter *DummyIterator) Value() []byte
- type ErrataTxVoter
- type Jail
- type KVStoreDummy
- func (k KVStoreDummy) AccountKeeper() authkeeper.AccountKeeper
- func (k KVStoreDummy) AddBondFeeToReserve(_ cosmos.Context, _ cosmos.Uint) error
- func (k KVStoreDummy) AddCoins(ctx cosmos.Context, _ cosmos.AccAddress, coins cosmos.Coins) error
- func (k KVStoreDummy) AddObservingAddresses(_ cosmos.Context, _ []cosmos.AccAddress) error
- func (k KVStoreDummy) AddPoolFeeToReserve(_ cosmos.Context, _ cosmos.Uint) error
- func (k KVStoreDummy) AddToLiquidityFees(_ cosmos.Context, _ common.Asset, _ cosmos.Uint) error
- func (k KVStoreDummy) AddToOutboundFeeSpentRune(ctx cosmos.Context, outAsset common.Asset, spent cosmos.Uint) error
- func (k KVStoreDummy) AddToOutboundFeeWithheldRune(ctx cosmos.Context, outAsset common.Asset, withheld cosmos.Uint) error
- func (k KVStoreDummy) AddToSwapSlip(ctx cosmos.Context, asset common.Asset, amt cosmos.Int) error
- func (k KVStoreDummy) AnchorMedian(ctx cosmos.Context, assets []common.Asset) cosmos.Uint
- func (k KVStoreDummy) AppendTxOut(_ cosmos.Context, _ int64, _ TxOutItem) error
- func (k KVStoreDummy) ApproveUpgrade(ctx cosmos.Context, addr cosmos.AccAddress, name string)
- func (k KVStoreDummy) BurnFromModule(ctx cosmos.Context, module string, coin common.Coin) error
- func (k KVStoreDummy) Cdc() codec.BinaryCodec
- func (k KVStoreDummy) ClearObservingAddresses(_ cosmos.Context)
- func (k KVStoreDummy) ClearTxOut(_ cosmos.Context, _ int64) error
- func (k KVStoreDummy) ClearUpgradePlan(ctx cosmos.Context)
- func (k KVStoreDummy) CoinKeeper() bankkeeper.Keeper
- func (k KVStoreDummy) DecNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress, _ int64) error
- func (k KVStoreDummy) DeductNativeTxFeeFromAccount(ctx cosmos.Context, acctAddr cosmos.AccAddress) error
- func (k KVStoreDummy) DeductNativeTxFeeFromBond(ctx cosmos.Context, nodeAddr cosmos.AccAddress) error
- func (k KVStoreDummy) DeleteKey(_ cosmos.Context, _ string)
- func (k KVStoreDummy) DeleteMimir(_ cosmos.Context, key string) error
- func (k KVStoreDummy) DeleteNodeMimirs(_ cosmos.Context, key string)
- func (k KVStoreDummy) DeletePoolRagnarokStart(ctx cosmos.Context, asset common.Asset)
- func (k KVStoreDummy) DeletePoolSwapSlip(ctx cosmos.Context, height int64, asset common.Asset)
- func (k KVStoreDummy) DeleteTHORName(ctx cosmos.Context, _ string) error
- func (k KVStoreDummy) DeleteVault(_ cosmos.Context, _ common.PubKey) error
- func (k KVStoreDummy) DollarConfigInRune(ctx cosmos.Context, key constants.ConstantName) cosmos.Uint
- func (k KVStoreDummy) DollarsPerRune(ctx cosmos.Context) cosmos.Uint
- func (k KVStoreDummy) EnableAPool(_ cosmos.Context)
- func (k KVStoreDummy) EnsureNodeKeysUnique(_ cosmos.Context, _ string, _ common.PubKeySet) error
- func (k KVStoreDummy) FindPubKeyOfAddress(_ cosmos.Context, _ common.Address, _ common.Chain) (common.PubKey, error)
- func (k KVStoreDummy) ForceSetLastChainHeight(_ cosmos.Context, _ common.Chain, _ int64)
- func (k KVStoreDummy) ForceSetLastObserveHeight(ctx cosmos.Context, chain common.Chain, address cosmos.AccAddress, ...)
- func (k KVStoreDummy) GetAccount(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Account
- func (k KVStoreDummy) GetAffiliateCollector(_ cosmos.Context, _ cosmos.AccAddress) (AffiliateFeeCollector, error)
- func (k KVStoreDummy) GetAffiliateCollectorIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetAffiliateCollectors(_ cosmos.Context) ([]AffiliateFeeCollector, error)
- func (k KVStoreDummy) GetAnchors(ctx cosmos.Context, asset common.Asset) []common.Asset
- func (k KVStoreDummy) GetAsgardVaults(_ cosmos.Context) (Vaults, error)
- func (k KVStoreDummy) GetAsgardVaultsByStatus(_ cosmos.Context, _ VaultStatus) (Vaults, error)
- func (k KVStoreDummy) GetBalance(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Coins
- func (k KVStoreDummy) GetBalanceOfModule(ctx cosmos.Context, moduleName, denom string) cosmos.Uint
- func (k KVStoreDummy) GetBanVoter(_ cosmos.Context, _ cosmos.AccAddress) (BanVoter, error)
- func (k KVStoreDummy) GetBanVoterIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetBondProviders(ctx cosmos.Context, _ cosmos.AccAddress) (BondProviders, error)
- func (k KVStoreDummy) GetChainContract(ctx cosmos.Context, chain common.Chain) (ChainContract, error)
- func (k KVStoreDummy) GetChainContractIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetChainContracts(ctx cosmos.Context, chains common.Chains) []ChainContract
- func (k KVStoreDummy) GetChains(_ cosmos.Context) (common.Chains, error)
- func (k KVStoreDummy) GetConfigInt64(ctx cosmos.Context, key constants.ConstantName) int64
- func (k KVStoreDummy) GetConstants() constants.ConstantValues
- func (k KVStoreDummy) GetCurrentRollup(ctx cosmos.Context, asset common.Asset) (int64, error)
- func (k KVStoreDummy) GetErrataTxVoter(_ cosmos.Context, _ common.TxID, _ common.Chain) (ErrataTxVoter, error)
- func (k KVStoreDummy) GetErrataTxVoterIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetGas(_ cosmos.Context, _ common.Asset) ([]cosmos.Uint, error)
- func (k KVStoreDummy) GetGasIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetKey(prefix kvTypes.DbPrefix, key string) string
- func (k KVStoreDummy) GetKeygenBlock(_ cosmos.Context, _ int64) (KeygenBlock, error)
- func (k KVStoreDummy) GetKeygenBlockIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetLastChainHeight(_ cosmos.Context, _ common.Chain) (int64, error)
- func (k KVStoreDummy) GetLastChainHeights(ctx cosmos.Context) (map[common.Chain]int64, error)
- func (k KVStoreDummy) GetLastObserveHeight(ctx cosmos.Context, address cosmos.AccAddress) (map[common.Chain]int64, error)
- func (k KVStoreDummy) GetLastSignedHeight(_ cosmos.Context) (int64, error)
- func (k KVStoreDummy) GetLatestTssKeysignMetric(_ cosmos.Context) (*TssKeysignMetric, error)
- func (k KVStoreDummy) GetLeastSecure(_ cosmos.Context, _ Vaults, _ int64) Vault
- func (k KVStoreDummy) GetLiquidityProvider(_ cosmos.Context, _ common.Asset, _ common.Address) (LiquidityProvider, error)
- func (k KVStoreDummy) GetLiquidityProviderIterator(_ cosmos.Context, _ common.Asset) cosmos.Iterator
- func (k KVStoreDummy) GetLoan(ctx cosmos.Context, asset common.Asset, addr common.Address) (Loan, error)
- func (k KVStoreDummy) GetLoanIterator(ctx cosmos.Context, _ common.Asset) cosmos.Iterator
- func (k KVStoreDummy) GetLongRollup(ctx cosmos.Context, asset common.Asset) (int64, error)
- func (k KVStoreDummy) GetLowestActiveVersion(_ cosmos.Context) semver.Version
- func (k KVStoreDummy) GetMimir(_ cosmos.Context, key string) (int64, error)
- func (k KVStoreDummy) GetMimirIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetMimirWithRef(_ cosmos.Context, template, key string) (int64, error)
- func (k KVStoreDummy) GetMinJoinLast(ctx cosmos.Context) (semver.Version, int64)
- func (k KVStoreDummy) GetMinJoinVersion(_ cosmos.Context) semver.Version
- func (k KVStoreDummy) GetModuleAccAddress(module string) cosmos.AccAddress
- func (k KVStoreDummy) GetModuleAddress(module string) (common.Address, error)
- func (k KVStoreDummy) GetMostSecure(_ cosmos.Context, _ Vaults, _ int64) Vault
- func (k KVStoreDummy) GetMostSecureStrict(_ cosmos.Context, _ Vaults, _ int64) Vault
- func (k KVStoreDummy) GetNativeTxFee(ctx cosmos.Context) cosmos.Uint
- func (k KVStoreDummy) GetNetwork(_ cosmos.Context) (Network, error)
- func (k KVStoreDummy) GetNetworkFee(ctx cosmos.Context, chain common.Chain) (NetworkFee, error)
- func (k KVStoreDummy) GetNetworkFeeIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetNodeAccount(_ cosmos.Context, _ cosmos.AccAddress) (NodeAccount, error)
- func (k KVStoreDummy) GetNodeAccountByPubKey(_ cosmos.Context, _ common.PubKey) (NodeAccount, error)
- func (k KVStoreDummy) GetNodeAccountIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetNodeAccountJail(ctx cosmos.Context, addr cosmos.AccAddress) (Jail, error)
- func (k KVStoreDummy) GetNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress) (int64, error)
- func (k KVStoreDummy) GetNodeMimirIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetNodeMimirs(ctx cosmos.Context, key string) (NodeMimirs, error)
- func (k KVStoreDummy) GetNodePauseChain(ctx cosmos.Context, acc cosmos.AccAddress) int64
- func (k KVStoreDummy) GetObservedLink(ctx cosmos.Context, inhash common.TxID) []common.TxID
- func (k KVStoreDummy) GetObservedNetworkFeeVoter(ctx cosmos.Context, height int64, chain common.Chain, rate, size int64) (ObservedNetworkFeeVoter, error)
- func (k KVStoreDummy) GetObservedNetworkFeeVoterIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetObservedTxInVoter(_ cosmos.Context, _ common.TxID) (ObservedTxVoter, error)
- func (k KVStoreDummy) GetObservedTxInVoterIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetObservedTxOutVoter(_ cosmos.Context, _ common.TxID) (ObservedTxVoter, error)
- func (k KVStoreDummy) GetObservedTxOutVoterIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetObservingAddresses(_ cosmos.Context) ([]cosmos.AccAddress, error)
- func (k KVStoreDummy) GetOrderBookIndex(_ cosmos.Context, _ MsgSwap) (common.TxIDs, error)
- func (k KVStoreDummy) GetOrderBookIndexIterator(_ cosmos.Context, _ types.OrderType, _, _ common.Asset) cosmos.Iterator
- func (k KVStoreDummy) GetOrderBookItem(ctx cosmos.Context, txID common.TxID) (MsgSwap, error)
- func (k KVStoreDummy) GetOrderBookItemIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetOrderBookProcessor(ctx cosmos.Context) ([]bool, error)
- func (k KVStoreDummy) GetOutboundFeeSpentRune(ctx cosmos.Context, outAsset common.Asset) (cosmos.Uint, error)
- func (k KVStoreDummy) GetOutboundFeeSpentRuneIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetOutboundFeeWithheldRune(ctx cosmos.Context, outAsset common.Asset) (cosmos.Uint, error)
- func (k KVStoreDummy) GetOutboundFeeWithheldRuneIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetOutboundTxFee(ctx cosmos.Context) cosmos.Uint
- func (k KVStoreDummy) GetPOL(_ cosmos.Context) (ProtocolOwnedLiquidity, error)
- func (k KVStoreDummy) GetPendingOutbounds(_ cosmos.Context, _ common.Asset) []TxOutItem
- func (k KVStoreDummy) GetPool(_ cosmos.Context, _ common.Asset) (Pool, error)
- func (k KVStoreDummy) GetPoolBalances(_ cosmos.Context, _, _ common.Asset) (cosmos.Uint, cosmos.Uint)
- func (k KVStoreDummy) GetPoolDataIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetPoolIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetPoolLUVI(ctx cosmos.Context, asset common.Asset) (cosmos.Uint, error)
- func (k KVStoreDummy) GetPoolLiquidityFees(_ cosmos.Context, _ uint64, _ common.Asset) (cosmos.Uint, error)
- func (k KVStoreDummy) GetPoolRagnarokStart(ctx cosmos.Context, asset common.Asset) (int64, error)
- func (k KVStoreDummy) GetPoolSwapSlip(ctx cosmos.Context, height int64, asset common.Asset) (cosmos.Int, error)
- func (k KVStoreDummy) GetPools(_ cosmos.Context) (Pools, error)
- func (k KVStoreDummy) GetProposedUpgrade(ctx cosmos.Context, name string) (*Upgrade, error)
- func (k KVStoreDummy) GetRUNEPool(ctx cosmos.Context) (RUNEPool, error)
- func (k KVStoreDummy) GetRUNEProvider(ctx cosmos.Context, addr cosmos.AccAddress) (RUNEProvider, error)
- func (k KVStoreDummy) GetRUNEProviderIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetRagnarokBlockHeight(_ cosmos.Context) (int64, error)
- func (k KVStoreDummy) GetRagnarokNth(_ cosmos.Context) (int64, error)
- func (k KVStoreDummy) GetRagnarokPending(_ cosmos.Context) (int64, error)
- func (k KVStoreDummy) GetRagnarokWithdrawPosition(ctx cosmos.Context) (RagnarokWithdrawPosition, error)
- func (k KVStoreDummy) GetRollingPoolLiquidityFee(ctx cosmos.Context, asset common.Asset) (uint64, error)
- func (k KVStoreDummy) GetRollupCount(ctx cosmos.Context, asset common.Asset) (int64, error)
- func (k KVStoreDummy) GetRuneBalanceOfModule(ctx cosmos.Context, moduleName string) cosmos.Uint
- func (k KVStoreDummy) GetSolvencyVoter(_ cosmos.Context, _ common.TxID, _ common.Chain) (SolvencyVoter, error)
- func (k KVStoreDummy) GetStoreVersion(ctx cosmos.Context) int64
- func (k KVStoreDummy) GetStreamingSwap(ctx cosmos.Context, _ common.TxID) (StreamingSwap, error)
- func (k KVStoreDummy) GetStreamingSwapIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetSwapQueueItem(ctx cosmos.Context, txID common.TxID, _ int) (MsgSwap, error)
- func (k KVStoreDummy) GetSwapQueueIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetSwapSlipSnapShot(ctx cosmos.Context, asset common.Asset, height int64) (int64, error)
- func (k KVStoreDummy) GetSwapSlipSnapShotIterator(ctx cosmos.Context, asset common.Asset) cosmos.Iterator
- func (k KVStoreDummy) GetSwapperClout(ctx cosmos.Context, addr common.Address) (SwapperClout, error)
- func (k KVStoreDummy) GetSwapperCloutIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetTHORName(ctx cosmos.Context, _ string) (THORName, error)
- func (k KVStoreDummy) GetTHORNameIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetTHORNamePerBlockFee(ctx cosmos.Context) cosmos.Uint
- func (k KVStoreDummy) GetTHORNameRegisterFee(ctx cosmos.Context) cosmos.Uint
- func (k KVStoreDummy) GetTOIsValue(_ cosmos.Context, _ ...TxOutItem) (cosmos.Uint, cosmos.Uint)
- func (k KVStoreDummy) GetTotalCollateral(_ cosmos.Context, _ common.Asset) (cosmos.Uint, error)
- func (k KVStoreDummy) GetTotalLiquidityFees(_ cosmos.Context, _ uint64) (cosmos.Uint, error)
- func (k KVStoreDummy) GetTotalSupply(ctx cosmos.Context, asset common.Asset) cosmos.Uint
- func (k KVStoreDummy) GetTradeAccount(ctx cosmos.Context, addr cosmos.AccAddress, asset common.Asset) (TradeAccount, error)
- func (k KVStoreDummy) GetTradeAccountIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetTradeAccountIteratorWithAddress(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Iterator
- func (k KVStoreDummy) GetTradeUnit(ctx cosmos.Context, asset common.Asset) (TradeUnit, error)
- func (k KVStoreDummy) GetTradeUnitIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetTssKeygenMetric(_ cosmos.Context, key common.PubKey) (*TssKeygenMetric, error)
- func (k KVStoreDummy) GetTssKeysignFailVoter(_ cosmos.Context, _ string) (TssKeysignFailVoter, error)
- func (k KVStoreDummy) GetTssKeysignFailVoterIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetTssKeysignMetric(_ cosmos.Context, txID common.TxID) (*TssKeysignMetric, error)
- func (k KVStoreDummy) GetTssVoter(_ cosmos.Context, _ string) (TssVoter, error)
- func (k KVStoreDummy) GetTssVoterIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetTxOut(_ cosmos.Context, _ int64) (*TxOut, error)
- func (k KVStoreDummy) GetTxOutIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetTxOutValue(_ cosmos.Context, _ int64) (cosmos.Uint, cosmos.Uint, error)
- func (k KVStoreDummy) GetUpgradePlan(ctx cosmos.Context) (upgradetypes.Plan, bool)
- func (k KVStoreDummy) GetUpgradeProposalIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetUpgradeVoteIterator(_ cosmos.Context, _ string) cosmos.Iterator
- func (k KVStoreDummy) GetVault(_ cosmos.Context, _ common.PubKey) (Vault, error)
- func (k KVStoreDummy) GetVaultIterator(_ cosmos.Context) cosmos.Iterator
- func (k KVStoreDummy) GetVersion() semver.Version
- func (k KVStoreDummy) GetVersionWithCtx(ctx cosmos.Context) (semver.Version, bool)
- func (k KVStoreDummy) HasCoins(ctx cosmos.Context, addr cosmos.AccAddress, coins cosmos.Coins) bool
- func (k KVStoreDummy) HasOrderBookIndex(_ cosmos.Context, _ MsgSwap) (bool, error)
- func (k KVStoreDummy) HasOrderBookItem(ctx cosmos.Context, txID common.TxID) bool
- func (k KVStoreDummy) HasSwapQueueItem(ctx cosmos.Context, txID common.TxID, _ int) bool
- func (k KVStoreDummy) HasValidVaultPools(_ cosmos.Context) (bool, error)
- func (k KVStoreDummy) IncNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress, _ int64) error
- func (k KVStoreDummy) InvariantRoutes() []common.InvariantRoute
- func (k KVStoreDummy) IsChainHalted(ctx cosmos.Context, chain common.Chain) bool
- func (k KVStoreDummy) IsChainTradingHalted(ctx cosmos.Context, chain common.Chain) bool
- func (k KVStoreDummy) IsGlobalTradingHalted(ctx cosmos.Context) bool
- func (k KVStoreDummy) IsLPPaused(ctx cosmos.Context, chain common.Chain) bool
- func (k KVStoreDummy) IsOperationalMimir(key string) bool
- func (k KVStoreDummy) IsRagnarok(ctx cosmos.Context, assets []common.Asset) bool
- func (k KVStoreDummy) IsTradingHalt(ctx cosmos.Context, msg cosmos.Msg) bool
- func (k KVStoreDummy) ListActiveValidators(_ cosmos.Context) (NodeAccounts, error)
- func (k KVStoreDummy) ListValidatorsByStatus(_ cosmos.Context, _ NodeStatus) (NodeAccounts, error)
- func (k KVStoreDummy) ListValidatorsWithBond(_ cosmos.Context) (NodeAccounts, error)
- func (k KVStoreDummy) Logger(ctx cosmos.Context) log.Logger
- func (k KVStoreDummy) MintAndSendToAccount(ctx cosmos.Context, to cosmos.AccAddress, coin common.Coin) error
- func (k KVStoreDummy) MintToModule(ctx cosmos.Context, module string, coin common.Coin) error
- func (k KVStoreDummy) OrderBooksEnabled(ctx cosmos.Context) bool
- func (k KVStoreDummy) PoolExist(_ cosmos.Context, _ common.Asset) bool
- func (k KVStoreDummy) ProposeUpgrade(ctx cosmos.Context, name string, upgrade Upgrade) error
- func (k KVStoreDummy) PurgeOperationalNodeMimirs(_ cosmos.Context)
- func (k KVStoreDummy) RagnarokAccount(ctx cosmos.Context, addr cosmos.AccAddress)
- func (k KVStoreDummy) RagnarokInProgress(_ cosmos.Context) bool
- func (k KVStoreDummy) RejectUpgrade(ctx cosmos.Context, addr cosmos.AccAddress, name string)
- func (k KVStoreDummy) ReleaseNodeAccountFromJail(ctx cosmos.Context, addr cosmos.AccAddress) error
- func (k KVStoreDummy) RemoveExpiredUpgradeProposals(_ cosmos.Context) error
- func (k KVStoreDummy) RemoveFromAsgardIndex(ctx cosmos.Context, pubkey common.PubKey) error
- func (k KVStoreDummy) RemoveLiquidityProvider(_ cosmos.Context, _ LiquidityProvider)
- func (k KVStoreDummy) RemoveLoan(ctx cosmos.Context, _ Loan)
- func (k KVStoreDummy) RemoveLowBondValidatorAccounts(ctx cosmos.Context) error
- func (k KVStoreDummy) RemoveOrderBookIndex(_ cosmos.Context, _ MsgSwap) error
- func (k KVStoreDummy) RemoveOrderBookItem(ctx cosmos.Context, _ common.TxID) error
- func (k KVStoreDummy) RemovePool(_ cosmos.Context, _ common.Asset)
- func (k KVStoreDummy) RemoveRUNEProvider(ctx cosmos.Context, rp RUNEProvider)
- func (k KVStoreDummy) RemoveStreamingSwap(ctx cosmos.Context, _ common.TxID)
- func (k KVStoreDummy) RemoveSwapQueueItem(ctx cosmos.Context, _ common.TxID, _ int)
- func (k KVStoreDummy) RemoveTradeAccount(ctx cosmos.Context, record TradeAccount)
- func (k KVStoreDummy) ResetNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress)
- func (k KVStoreDummy) ResetRollingPoolLiquidityFee(ctx cosmos.Context, asset common.Asset)
- func (k KVStoreDummy) RollupSwapSlip(ctx cosmos.Context, blockCount int64, _ common.Asset) (cosmos.Int, error)
- func (k KVStoreDummy) RunePerDollar(ctx cosmos.Context) cosmos.Uint
- func (k KVStoreDummy) SaveNetworkFee(ctx cosmos.Context, chain common.Chain, networkFee NetworkFee) error
- func (k KVStoreDummy) ScheduleUpgrade(ctx cosmos.Context, plan upgradetypes.Plan) error
- func (k KVStoreDummy) SendCoins(ctx cosmos.Context, from, to cosmos.AccAddress, coins cosmos.Coins) error
- func (k KVStoreDummy) SendFromAccountToModule(ctx cosmos.Context, from cosmos.AccAddress, to string, coins common.Coins) error
- func (k KVStoreDummy) SendFromModuleToAccount(ctx cosmos.Context, from string, to cosmos.AccAddress, coins common.Coins) error
- func (k KVStoreDummy) SendFromModuleToModule(ctx cosmos.Context, from, to string, coins common.Coins) error
- func (k KVStoreDummy) SetAffiliateCollector(_ cosmos.Context, _ AffiliateFeeCollector)
- func (k KVStoreDummy) SetBanVoter(_ cosmos.Context, _ BanVoter)
- func (k KVStoreDummy) SetBondProviders(ctx cosmos.Context, _ BondProviders) error
- func (k KVStoreDummy) SetChainContract(ctx cosmos.Context, cc ChainContract)
- func (k KVStoreDummy) SetChains(_ cosmos.Context, _ common.Chains)
- func (k KVStoreDummy) SetCurrentRollup(ctx cosmos.Context, asset common.Asset, val int64)
- func (k KVStoreDummy) SetErrataTxVoter(_ cosmos.Context, _ ErrataTxVoter)
- func (k KVStoreDummy) SetGas(_ cosmos.Context, _ common.Asset, _ []cosmos.Uint)
- func (k KVStoreDummy) SetKeygenBlock(_ cosmos.Context, _ KeygenBlock)
- func (k KVStoreDummy) SetLastChainHeight(_ cosmos.Context, _ common.Chain, _ int64) error
- func (k KVStoreDummy) SetLastObserveHeight(ctx cosmos.Context, chain common.Chain, address cosmos.AccAddress, ...) error
- func (k KVStoreDummy) SetLastSignedHeight(_ cosmos.Context, _ int64) error
- func (k KVStoreDummy) SetLiquidityProvider(_ cosmos.Context, _ LiquidityProvider)
- func (k KVStoreDummy) SetLoan(ctx cosmos.Context, _ Loan)
- func (k KVStoreDummy) SetLongRollup(ctx cosmos.Context, asset common.Asset, slip int64)
- func (k KVStoreDummy) SetMimir(_ cosmos.Context, key string, value int64)
- func (k KVStoreDummy) SetMinJoinLast(ctx cosmos.Context)
- func (k KVStoreDummy) SetNetwork(_ cosmos.Context, _ Network) error
- func (k KVStoreDummy) SetNodeAccount(_ cosmos.Context, _ NodeAccount) error
- func (k KVStoreDummy) SetNodeAccountJail(ctx cosmos.Context, addr cosmos.AccAddress, height int64, reason string) error
- func (k KVStoreDummy) SetNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress, _ int64)
- func (k KVStoreDummy) SetNodeMimir(_ cosmos.Context, key string, value int64, acc cosmos.AccAddress) error
- func (k KVStoreDummy) SetNodePauseChain(ctx cosmos.Context, acc cosmos.AccAddress)
- func (k KVStoreDummy) SetObservedLink(ctx cosmos.Context, _, _ common.TxID)
- func (k KVStoreDummy) SetObservedNetworkFeeVoter(ctx cosmos.Context, networkFeeVoter ObservedNetworkFeeVoter)
- func (k KVStoreDummy) SetObservedTxInVoter(_ cosmos.Context, _ ObservedTxVoter)
- func (k KVStoreDummy) SetObservedTxOutVoter(_ cosmos.Context, _ ObservedTxVoter)
- func (k KVStoreDummy) SetOrderBookIndex(_ cosmos.Context, _ MsgSwap) error
- func (k KVStoreDummy) SetOrderBookItem(ctx cosmos.Context, msg MsgSwap) error
- func (k KVStoreDummy) SetOrderBookProcessor(ctx cosmos.Context, record []bool) error
- func (k KVStoreDummy) SetPOL(_ cosmos.Context, _ ProtocolOwnedLiquidity) error
- func (k KVStoreDummy) SetPool(_ cosmos.Context, _ Pool) error
- func (k KVStoreDummy) SetPoolData(_ cosmos.Context, _ common.Asset, _ PoolStatus)
- func (k KVStoreDummy) SetPoolLUVI(ctx cosmos.Context, asset common.Asset, luvi cosmos.Uint)
- func (k KVStoreDummy) SetPoolRagnarokStart(ctx cosmos.Context, asset common.Asset)
- func (k KVStoreDummy) SetRUNEPool(ctx cosmos.Context, rp RUNEPool)
- func (k KVStoreDummy) SetRUNEProvider(ctx cosmos.Context, rp RUNEProvider)
- func (k KVStoreDummy) SetRagnarokBlockHeight(_ cosmos.Context, _ int64)
- func (k KVStoreDummy) SetRagnarokNth(_ cosmos.Context, _ int64)
- func (k KVStoreDummy) SetRagnarokPending(_ cosmos.Context, _ int64)
- func (k KVStoreDummy) SetRagnarokWithdrawPosition(_tx cosmos.Context, _ RagnarokWithdrawPosition)
- func (k KVStoreDummy) SetSolvencyVoter(_ cosmos.Context, _ SolvencyVoter)
- func (k KVStoreDummy) SetStoreVersion(ctx cosmos.Context, ver int64)
- func (k KVStoreDummy) SetStreamingSwap(ctx cosmos.Context, _ StreamingSwap)
- func (k KVStoreDummy) SetSwapQueueItem(ctx cosmos.Context, msg MsgSwap, i int) error
- func (k KVStoreDummy) SetSwapSlipSnapShot(ctx cosmos.Context, asset common.Asset, height, currRollup int64)
- func (k KVStoreDummy) SetSwapperClout(ctx cosmos.Context, record SwapperClout) error
- func (k KVStoreDummy) SetTHORName(ctx cosmos.Context, name THORName)
- func (k KVStoreDummy) SetTotalCollateral(_ cosmos.Context, _ common.Asset, _ cosmos.Uint)
- func (k KVStoreDummy) SetTradeAccount(ctx cosmos.Context, record TradeAccount)
- func (k KVStoreDummy) SetTradeUnit(ctx cosmos.Context, unit TradeUnit)
- func (k KVStoreDummy) SetTssKeygenMetric(_ cosmos.Context, metric *TssKeygenMetric)
- func (k KVStoreDummy) SetTssKeysignFailVoter(_ cosmos.Context, tss TssKeysignFailVoter)
- func (k KVStoreDummy) SetTssKeysignMetric(_ cosmos.Context, metric *TssKeysignMetric)
- func (k KVStoreDummy) SetTssVoter(_ cosmos.Context, _ TssVoter)
- func (k KVStoreDummy) SetTxOut(_ cosmos.Context, _ *TxOut) error
- func (k KVStoreDummy) SetVault(_ cosmos.Context, _ Vault) error
- func (k KVStoreDummy) SetVersionWithCtx(ctx cosmos.Context, v semver.Version)
- func (k KVStoreDummy) SortBySecurity(_ cosmos.Context, _ Vaults, _ int64) Vaults
- func (k KVStoreDummy) StreamingSwapExists(ctx cosmos.Context, _ common.TxID) bool
- func (k KVStoreDummy) THORNameExists(ctx cosmos.Context, _ string) bool
- func (k KVStoreDummy) TotalActiveValidators(_ cosmos.Context) (int, error)
- func (k KVStoreDummy) VaultExists(_ cosmos.Context, _ common.PubKey) bool
- type Keeper
- type KeeperAnchors
- type KeeperBanVoter
- type KeeperChainContract
- type KeeperConfig
- type KeeperErrataTx
- type KeeperHalt
- type KeeperKeygen
- type KeeperLastHeight
- type KeeperLiquidityFees
- type KeeperLiquidityProvider
- type KeeperLoan
- type KeeperMimir
- type KeeperNetwork
- type KeeperNetworkFee
- type KeeperNodeAccount
- type KeeperObservedNetworkFeeVoter
- type KeeperObservedTx
- type KeeperObserver
- type KeeperOrderBooks
- type KeeperOutboundFees
- type KeeperPool
- type KeeperRUNEPool
- type KeeperRagnarok
- type KeeperReserveContributors
- type KeeperSolvencyVoter
- type KeeperStreamingSwap
- type KeeperSwapQueue
- type KeeperSwapSlip
- type KeeperSwapperClout
- type KeeperTHORName
- type KeeperTradeAccount
- type KeeperTss
- type KeeperTssKeysignFail
- type KeeperTxOut
- type KeeperUpgrade
- type KeeperVault
- type KeygenBlock
- type LiquidityProvider
- type Loan
- type MsgSwap
- type Network
- type NetworkFee
- type NodeAccount
- type NodeAccounts
- type NodeMimirs
- type NodeStatus
- type ObservedNetworkFeeVoter
- type ObservedTxVoter
- type Pool
- type PoolStatus
- type Pools
- type ProtocolOwnedLiquidity
- type RUNEPool
- type RUNEProvider
- type RagnarokWithdrawPosition
- type ReserveContributors
- type SolvencyVoter
- type StreamingSwap
- type SwapperClout
- type THORName
- type TradeAccount
- type TradeUnit
- type TssKeygenMetric
- type TssKeysignFailVoter
- type TssKeysignMetric
- type TssVoter
- type TxOut
- type TxOutItem
- type Upgrade
- type Vault
- type VaultStatus
- type Vaults
Constants ¶
View Source
const ( ModuleName = types.ModuleName ReserveName = types.ReserveName AsgardName = types.AsgardName TreasuryName = types.TreasuryName RUNEPoolName = types.RUNEPoolName BondName = types.BondName RouterKey = types.RouterKey StoreKey = types.StoreKey ActiveVault = types.VaultStatus_ActiveVault // Node status NodeActive = types.NodeStatus_Active )
Variables ¶
View Source
var ( NewPool = types.NewPool NewJail = types.NewJail ModuleCdc = types.ModuleCdc RegisterCodec = types.RegisterCodec GetRandomVault = types.GetRandomVault GetRandomValidatorNode = types.GetRandomValidatorNode GetRandomTxHash = types.GetRandomTxHash GetRandomBech32Addr = types.GetRandomBech32Addr GetRandomPubKey = types.GetRandomPubKey )
Functions ¶
This section is empty.
Types ¶
type AffiliateFeeCollector ¶
type AffiliateFeeCollector = types.AffiliateFeeCollector
type BondProvider ¶
type BondProvider = types.BondProvider
type BondProviders ¶
type BondProviders = types.BondProviders
type ChainContract ¶
type ChainContract = types.ChainContract
type DummyIterator ¶
a mock cosmos.Iterator implementation for testing purposes
func NewDummyIterator ¶
func NewDummyIterator() *DummyIterator
func (*DummyIterator) AddItem ¶
func (iter *DummyIterator) AddItem(key, value []byte)
func (*DummyIterator) Close ¶
func (iter *DummyIterator) Close() error
func (*DummyIterator) Domain ¶
func (iter *DummyIterator) Domain() (start, end []byte)
func (*DummyIterator) Error ¶
func (iter *DummyIterator) Error() error
func (*DummyIterator) Key ¶
func (iter *DummyIterator) Key() []byte
func (*DummyIterator) Next ¶
func (iter *DummyIterator) Next()
func (*DummyIterator) Valid ¶
func (iter *DummyIterator) Valid() bool
func (*DummyIterator) Value ¶
func (iter *DummyIterator) Value() []byte
type ErrataTxVoter ¶
type ErrataTxVoter = types.ErrataTxVoter
type KVStoreDummy ¶
type KVStoreDummy struct{}
func (KVStoreDummy) AccountKeeper ¶
func (k KVStoreDummy) AccountKeeper() authkeeper.AccountKeeper
func (KVStoreDummy) AddBondFeeToReserve ¶
func (KVStoreDummy) AddCoins ¶
func (k KVStoreDummy) AddCoins(ctx cosmos.Context, _ cosmos.AccAddress, coins cosmos.Coins) error
func (KVStoreDummy) AddObservingAddresses ¶
func (k KVStoreDummy) AddObservingAddresses(_ cosmos.Context, _ []cosmos.AccAddress) error
func (KVStoreDummy) AddPoolFeeToReserve ¶
func (KVStoreDummy) AddToLiquidityFees ¶
func (KVStoreDummy) AddToOutboundFeeSpentRune ¶
func (KVStoreDummy) AddToOutboundFeeWithheldRune ¶
func (KVStoreDummy) AddToSwapSlip ¶
func (KVStoreDummy) AnchorMedian ¶
func (KVStoreDummy) AppendTxOut ¶
func (KVStoreDummy) ApproveUpgrade ¶
func (k KVStoreDummy) ApproveUpgrade(ctx cosmos.Context, addr cosmos.AccAddress, name string)
func (KVStoreDummy) BurnFromModule ¶
func (KVStoreDummy) Cdc ¶
func (k KVStoreDummy) Cdc() codec.BinaryCodec
func (KVStoreDummy) ClearObservingAddresses ¶
func (k KVStoreDummy) ClearObservingAddresses(_ cosmos.Context)
func (KVStoreDummy) ClearTxOut ¶
func (k KVStoreDummy) ClearTxOut(_ cosmos.Context, _ int64) error
func (KVStoreDummy) ClearUpgradePlan ¶
func (k KVStoreDummy) ClearUpgradePlan(ctx cosmos.Context)
func (KVStoreDummy) CoinKeeper ¶
func (k KVStoreDummy) CoinKeeper() bankkeeper.Keeper
func (KVStoreDummy) DecNodeAccountSlashPoints ¶
func (k KVStoreDummy) DecNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress, _ int64) error
func (KVStoreDummy) DeductNativeTxFeeFromAccount ¶
func (k KVStoreDummy) DeductNativeTxFeeFromAccount(ctx cosmos.Context, acctAddr cosmos.AccAddress) error
func (KVStoreDummy) DeductNativeTxFeeFromBond ¶
func (k KVStoreDummy) DeductNativeTxFeeFromBond(ctx cosmos.Context, nodeAddr cosmos.AccAddress) error
func (KVStoreDummy) DeleteMimir ¶
func (k KVStoreDummy) DeleteMimir(_ cosmos.Context, key string) error
func (KVStoreDummy) DeleteNodeMimirs ¶
func (k KVStoreDummy) DeleteNodeMimirs(_ cosmos.Context, key string)
func (KVStoreDummy) DeletePoolRagnarokStart ¶
func (k KVStoreDummy) DeletePoolRagnarokStart(ctx cosmos.Context, asset common.Asset)
DeletePoolRagnarokStart deletes the pool ragnarok start block height
func (KVStoreDummy) DeletePoolSwapSlip ¶
func (KVStoreDummy) DeleteTHORName ¶
func (k KVStoreDummy) DeleteTHORName(ctx cosmos.Context, _ string) error
func (KVStoreDummy) DeleteVault ¶
func (KVStoreDummy) DollarConfigInRune ¶
func (k KVStoreDummy) DollarConfigInRune(ctx cosmos.Context, key constants.ConstantName) cosmos.Uint
func (KVStoreDummy) DollarsPerRune ¶
func (k KVStoreDummy) DollarsPerRune(ctx cosmos.Context) cosmos.Uint
func (KVStoreDummy) EnableAPool ¶
func (k KVStoreDummy) EnableAPool(_ cosmos.Context)
func (KVStoreDummy) EnsureNodeKeysUnique ¶
func (KVStoreDummy) FindPubKeyOfAddress ¶
func (KVStoreDummy) ForceSetLastChainHeight ¶
func (KVStoreDummy) ForceSetLastObserveHeight ¶
func (k KVStoreDummy) ForceSetLastObserveHeight(ctx cosmos.Context, chain common.Chain, address cosmos.AccAddress, height int64)
func (KVStoreDummy) GetAccount ¶
func (k KVStoreDummy) GetAccount(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Account
func (KVStoreDummy) GetAffiliateCollector ¶
func (k KVStoreDummy) GetAffiliateCollector(_ cosmos.Context, _ cosmos.AccAddress) (AffiliateFeeCollector, error)
func (KVStoreDummy) GetAffiliateCollectorIterator ¶
func (k KVStoreDummy) GetAffiliateCollectorIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetAffiliateCollectors ¶
func (k KVStoreDummy) GetAffiliateCollectors(_ cosmos.Context) ([]AffiliateFeeCollector, error)
func (KVStoreDummy) GetAnchors ¶
func (KVStoreDummy) GetAsgardVaults ¶
func (k KVStoreDummy) GetAsgardVaults(_ cosmos.Context) (Vaults, error)
func (KVStoreDummy) GetAsgardVaultsByStatus ¶
func (k KVStoreDummy) GetAsgardVaultsByStatus(_ cosmos.Context, _ VaultStatus) (Vaults, error)
func (KVStoreDummy) GetBalance ¶
func (k KVStoreDummy) GetBalance(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Coins
func (KVStoreDummy) GetBalanceOfModule ¶
func (KVStoreDummy) GetBanVoter ¶
func (k KVStoreDummy) GetBanVoter(_ cosmos.Context, _ cosmos.AccAddress) (BanVoter, error)
func (KVStoreDummy) GetBanVoterIterator ¶
func (k KVStoreDummy) GetBanVoterIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetBondProviders ¶
func (k KVStoreDummy) GetBondProviders(ctx cosmos.Context, _ cosmos.AccAddress) (BondProviders, error)
func (KVStoreDummy) GetChainContract ¶
func (k KVStoreDummy) GetChainContract(ctx cosmos.Context, chain common.Chain) (ChainContract, error)
func (KVStoreDummy) GetChainContractIterator ¶
func (k KVStoreDummy) GetChainContractIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetChainContracts ¶
func (k KVStoreDummy) GetChainContracts(ctx cosmos.Context, chains common.Chains) []ChainContract
func (KVStoreDummy) GetConfigInt64 ¶
func (k KVStoreDummy) GetConfigInt64(ctx cosmos.Context, key constants.ConstantName) int64
func (KVStoreDummy) GetConstants ¶
func (k KVStoreDummy) GetConstants() constants.ConstantValues
func (KVStoreDummy) GetCurrentRollup ¶
func (KVStoreDummy) GetErrataTxVoter ¶
func (k KVStoreDummy) GetErrataTxVoter(_ cosmos.Context, _ common.TxID, _ common.Chain) (ErrataTxVoter, error)
func (KVStoreDummy) GetErrataTxVoterIterator ¶
func (k KVStoreDummy) GetErrataTxVoterIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetGasIterator ¶
func (k KVStoreDummy) GetGasIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetKey ¶
func (k KVStoreDummy) GetKey(prefix kvTypes.DbPrefix, key string) string
func (KVStoreDummy) GetKeygenBlock ¶
func (k KVStoreDummy) GetKeygenBlock(_ cosmos.Context, _ int64) (KeygenBlock, error)
func (KVStoreDummy) GetKeygenBlockIterator ¶
func (k KVStoreDummy) GetKeygenBlockIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetLastChainHeight ¶
func (KVStoreDummy) GetLastChainHeights ¶
func (KVStoreDummy) GetLastObserveHeight ¶
func (k KVStoreDummy) GetLastObserveHeight(ctx cosmos.Context, address cosmos.AccAddress) (map[common.Chain]int64, error)
func (KVStoreDummy) GetLastSignedHeight ¶
func (k KVStoreDummy) GetLastSignedHeight(_ cosmos.Context) (int64, error)
func (KVStoreDummy) GetLatestTssKeysignMetric ¶
func (k KVStoreDummy) GetLatestTssKeysignMetric(_ cosmos.Context) (*TssKeysignMetric, error)
func (KVStoreDummy) GetLeastSecure ¶
func (KVStoreDummy) GetLiquidityProvider ¶
func (k KVStoreDummy) GetLiquidityProvider(_ cosmos.Context, _ common.Asset, _ common.Address) (LiquidityProvider, error)
func (KVStoreDummy) GetLiquidityProviderIterator ¶
func (KVStoreDummy) GetLoanIterator ¶
func (KVStoreDummy) GetLongRollup ¶
func (KVStoreDummy) GetLowestActiveVersion ¶
func (k KVStoreDummy) GetLowestActiveVersion(_ cosmos.Context) semver.Version
func (KVStoreDummy) GetMimirIterator ¶
func (k KVStoreDummy) GetMimirIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetMimirWithRef ¶
func (KVStoreDummy) GetMinJoinLast ¶
func (KVStoreDummy) GetMinJoinVersion ¶
func (k KVStoreDummy) GetMinJoinVersion(_ cosmos.Context) semver.Version
func (KVStoreDummy) GetModuleAccAddress ¶
func (k KVStoreDummy) GetModuleAccAddress(module string) cosmos.AccAddress
func (KVStoreDummy) GetModuleAddress ¶
func (k KVStoreDummy) GetModuleAddress(module string) (common.Address, error)
func (KVStoreDummy) GetMostSecure ¶
func (KVStoreDummy) GetMostSecureStrict ¶
func (KVStoreDummy) GetNativeTxFee ¶
func (k KVStoreDummy) GetNativeTxFee(ctx cosmos.Context) cosmos.Uint
func (KVStoreDummy) GetNetwork ¶
func (k KVStoreDummy) GetNetwork(_ cosmos.Context) (Network, error)
func (KVStoreDummy) GetNetworkFee ¶
func (k KVStoreDummy) GetNetworkFee(ctx cosmos.Context, chain common.Chain) (NetworkFee, error)
func (KVStoreDummy) GetNetworkFeeIterator ¶
func (k KVStoreDummy) GetNetworkFeeIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetNodeAccount ¶
func (k KVStoreDummy) GetNodeAccount(_ cosmos.Context, _ cosmos.AccAddress) (NodeAccount, error)
func (KVStoreDummy) GetNodeAccountByPubKey ¶
func (k KVStoreDummy) GetNodeAccountByPubKey(_ cosmos.Context, _ common.PubKey) (NodeAccount, error)
func (KVStoreDummy) GetNodeAccountIterator ¶
func (k KVStoreDummy) GetNodeAccountIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetNodeAccountJail ¶
func (k KVStoreDummy) GetNodeAccountJail(ctx cosmos.Context, addr cosmos.AccAddress) (Jail, error)
func (KVStoreDummy) GetNodeAccountSlashPoints ¶
func (k KVStoreDummy) GetNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress) (int64, error)
func (KVStoreDummy) GetNodeMimirIterator ¶
func (k KVStoreDummy) GetNodeMimirIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetNodeMimirs ¶
func (k KVStoreDummy) GetNodeMimirs(ctx cosmos.Context, key string) (NodeMimirs, error)
func (KVStoreDummy) GetNodePauseChain ¶
func (k KVStoreDummy) GetNodePauseChain(ctx cosmos.Context, acc cosmos.AccAddress) int64
func (KVStoreDummy) GetObservedLink ¶
func (KVStoreDummy) GetObservedNetworkFeeVoter ¶
func (k KVStoreDummy) GetObservedNetworkFeeVoter(ctx cosmos.Context, height int64, chain common.Chain, rate, size int64) (ObservedNetworkFeeVoter, error)
func (KVStoreDummy) GetObservedNetworkFeeVoterIterator ¶
func (k KVStoreDummy) GetObservedNetworkFeeVoterIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetObservedTxInVoter ¶
func (k KVStoreDummy) GetObservedTxInVoter(_ cosmos.Context, _ common.TxID) (ObservedTxVoter, error)
func (KVStoreDummy) GetObservedTxInVoterIterator ¶
func (k KVStoreDummy) GetObservedTxInVoterIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetObservedTxOutVoter ¶
func (k KVStoreDummy) GetObservedTxOutVoter(_ cosmos.Context, _ common.TxID) (ObservedTxVoter, error)
func (KVStoreDummy) GetObservedTxOutVoterIterator ¶
func (k KVStoreDummy) GetObservedTxOutVoterIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetObservingAddresses ¶
func (k KVStoreDummy) GetObservingAddresses(_ cosmos.Context) ([]cosmos.AccAddress, error)
func (KVStoreDummy) GetOrderBookIndex ¶
func (KVStoreDummy) GetOrderBookIndexIterator ¶
func (KVStoreDummy) GetOrderBookItem ¶
func (KVStoreDummy) GetOrderBookItemIterator ¶
func (k KVStoreDummy) GetOrderBookItemIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetOrderBookProcessor ¶
func (k KVStoreDummy) GetOrderBookProcessor(ctx cosmos.Context) ([]bool, error)
GetOrderBookProcessor - get a list of asset pairs to process
func (KVStoreDummy) GetOutboundFeeSpentRune ¶
func (KVStoreDummy) GetOutboundFeeSpentRuneIterator ¶
func (k KVStoreDummy) GetOutboundFeeSpentRuneIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetOutboundFeeWithheldRune ¶
func (KVStoreDummy) GetOutboundFeeWithheldRuneIterator ¶
func (k KVStoreDummy) GetOutboundFeeWithheldRuneIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetOutboundTxFee ¶
func (k KVStoreDummy) GetOutboundTxFee(ctx cosmos.Context) cosmos.Uint
func (KVStoreDummy) GetPOL ¶
func (k KVStoreDummy) GetPOL(_ cosmos.Context) (ProtocolOwnedLiquidity, error)
func (KVStoreDummy) GetPendingOutbounds ¶
func (KVStoreDummy) GetPoolBalances ¶
func (KVStoreDummy) GetPoolDataIterator ¶
func (k KVStoreDummy) GetPoolDataIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetPoolIterator ¶
func (k KVStoreDummy) GetPoolIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetPoolLUVI ¶
func (KVStoreDummy) GetPoolLiquidityFees ¶
func (KVStoreDummy) GetPoolRagnarokStart ¶
GetPoolRagnarokStart get pool ragnarok start block height
func (KVStoreDummy) GetPoolSwapSlip ¶
func (KVStoreDummy) GetProposedUpgrade ¶
func (KVStoreDummy) GetRUNEPool ¶
func (k KVStoreDummy) GetRUNEPool(ctx cosmos.Context) (RUNEPool, error)
func (KVStoreDummy) GetRUNEProvider ¶
func (k KVStoreDummy) GetRUNEProvider(ctx cosmos.Context, addr cosmos.AccAddress) (RUNEProvider, error)
func (KVStoreDummy) GetRUNEProviderIterator ¶
func (k KVStoreDummy) GetRUNEProviderIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetRagnarokBlockHeight ¶
func (k KVStoreDummy) GetRagnarokBlockHeight(_ cosmos.Context) (int64, error)
func (KVStoreDummy) GetRagnarokNth ¶
func (k KVStoreDummy) GetRagnarokNth(_ cosmos.Context) (int64, error)
func (KVStoreDummy) GetRagnarokPending ¶
func (k KVStoreDummy) GetRagnarokPending(_ cosmos.Context) (int64, error)
func (KVStoreDummy) GetRagnarokWithdrawPosition ¶
func (k KVStoreDummy) GetRagnarokWithdrawPosition(ctx cosmos.Context) (RagnarokWithdrawPosition, error)
func (KVStoreDummy) GetRollingPoolLiquidityFee ¶
func (KVStoreDummy) GetRollupCount ¶
func (KVStoreDummy) GetRuneBalanceOfModule ¶
func (KVStoreDummy) GetSolvencyVoter ¶
func (k KVStoreDummy) GetSolvencyVoter(_ cosmos.Context, _ common.TxID, _ common.Chain) (SolvencyVoter, error)
func (KVStoreDummy) GetStoreVersion ¶
func (k KVStoreDummy) GetStoreVersion(ctx cosmos.Context) int64
func (KVStoreDummy) GetStreamingSwap ¶
func (k KVStoreDummy) GetStreamingSwap(ctx cosmos.Context, _ common.TxID) (StreamingSwap, error)
func (KVStoreDummy) GetStreamingSwapIterator ¶
func (k KVStoreDummy) GetStreamingSwapIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetSwapQueueItem ¶
func (KVStoreDummy) GetSwapQueueIterator ¶
func (k KVStoreDummy) GetSwapQueueIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetSwapSlipSnapShot ¶
func (KVStoreDummy) GetSwapSlipSnapShotIterator ¶
func (KVStoreDummy) GetSwapperClout ¶
func (k KVStoreDummy) GetSwapperClout(ctx cosmos.Context, addr common.Address) (SwapperClout, error)
func (KVStoreDummy) GetSwapperCloutIterator ¶
func (k KVStoreDummy) GetSwapperCloutIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetTHORName ¶
func (KVStoreDummy) GetTHORNameIterator ¶
func (k KVStoreDummy) GetTHORNameIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetTHORNamePerBlockFee ¶
func (k KVStoreDummy) GetTHORNamePerBlockFee(ctx cosmos.Context) cosmos.Uint
func (KVStoreDummy) GetTHORNameRegisterFee ¶
func (k KVStoreDummy) GetTHORNameRegisterFee(ctx cosmos.Context) cosmos.Uint
func (KVStoreDummy) GetTOIsValue ¶
func (KVStoreDummy) GetTotalCollateral ¶
func (KVStoreDummy) GetTotalLiquidityFees ¶
func (KVStoreDummy) GetTotalSupply ¶
func (KVStoreDummy) GetTradeAccount ¶
func (k KVStoreDummy) GetTradeAccount(ctx cosmos.Context, addr cosmos.AccAddress, asset common.Asset) (TradeAccount, error)
func (KVStoreDummy) GetTradeAccountIterator ¶
func (k KVStoreDummy) GetTradeAccountIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetTradeAccountIteratorWithAddress ¶
func (k KVStoreDummy) GetTradeAccountIteratorWithAddress(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Iterator
func (KVStoreDummy) GetTradeUnit ¶
func (KVStoreDummy) GetTradeUnitIterator ¶
func (k KVStoreDummy) GetTradeUnitIterator(ctx cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetTssKeygenMetric ¶
func (k KVStoreDummy) GetTssKeygenMetric(_ cosmos.Context, key common.PubKey) (*TssKeygenMetric, error)
func (KVStoreDummy) GetTssKeysignFailVoter ¶
func (k KVStoreDummy) GetTssKeysignFailVoter(_ cosmos.Context, _ string) (TssKeysignFailVoter, error)
func (KVStoreDummy) GetTssKeysignFailVoterIterator ¶
func (k KVStoreDummy) GetTssKeysignFailVoterIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetTssKeysignMetric ¶
func (k KVStoreDummy) GetTssKeysignMetric(_ cosmos.Context, txID common.TxID) (*TssKeysignMetric, error)
func (KVStoreDummy) GetTssVoter ¶
func (KVStoreDummy) GetTssVoterIterator ¶
func (k KVStoreDummy) GetTssVoterIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetTxOutIterator ¶
func (k KVStoreDummy) GetTxOutIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetTxOutValue ¶
func (KVStoreDummy) GetUpgradePlan ¶
func (k KVStoreDummy) GetUpgradePlan(ctx cosmos.Context) (upgradetypes.Plan, bool)
func (KVStoreDummy) GetUpgradeProposalIterator ¶
func (k KVStoreDummy) GetUpgradeProposalIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetUpgradeVoteIterator ¶
func (KVStoreDummy) GetVaultIterator ¶
func (k KVStoreDummy) GetVaultIterator(_ cosmos.Context) cosmos.Iterator
func (KVStoreDummy) GetVersion ¶
func (k KVStoreDummy) GetVersion() semver.Version
func (KVStoreDummy) GetVersionWithCtx ¶
func (KVStoreDummy) HasCoins ¶
func (k KVStoreDummy) HasCoins(ctx cosmos.Context, addr cosmos.AccAddress, coins cosmos.Coins) bool
func (KVStoreDummy) HasOrderBookIndex ¶
func (KVStoreDummy) HasOrderBookItem ¶
func (KVStoreDummy) HasSwapQueueItem ¶
func (KVStoreDummy) HasValidVaultPools ¶
func (k KVStoreDummy) HasValidVaultPools(_ cosmos.Context) (bool, error)
func (KVStoreDummy) IncNodeAccountSlashPoints ¶
func (k KVStoreDummy) IncNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress, _ int64) error
func (KVStoreDummy) InvariantRoutes ¶
func (k KVStoreDummy) InvariantRoutes() []common.InvariantRoute
func (KVStoreDummy) IsChainHalted ¶
func (KVStoreDummy) IsChainTradingHalted ¶
func (KVStoreDummy) IsGlobalTradingHalted ¶
func (k KVStoreDummy) IsGlobalTradingHalted(ctx cosmos.Context) bool
func (KVStoreDummy) IsLPPaused ¶
func (KVStoreDummy) IsOperationalMimir ¶
func (k KVStoreDummy) IsOperationalMimir(key string) bool
func (KVStoreDummy) IsRagnarok ¶
func (KVStoreDummy) IsTradingHalt ¶
func (KVStoreDummy) ListActiveValidators ¶
func (k KVStoreDummy) ListActiveValidators(_ cosmos.Context) (NodeAccounts, error)
func (KVStoreDummy) ListValidatorsByStatus ¶
func (k KVStoreDummy) ListValidatorsByStatus(_ cosmos.Context, _ NodeStatus) (NodeAccounts, error)
func (KVStoreDummy) ListValidatorsWithBond ¶
func (k KVStoreDummy) ListValidatorsWithBond(_ cosmos.Context) (NodeAccounts, error)
func (KVStoreDummy) MintAndSendToAccount ¶
func (k KVStoreDummy) MintAndSendToAccount(ctx cosmos.Context, to cosmos.AccAddress, coin common.Coin) error
func (KVStoreDummy) MintToModule ¶
func (KVStoreDummy) OrderBooksEnabled ¶
func (k KVStoreDummy) OrderBooksEnabled(ctx cosmos.Context) bool
func (KVStoreDummy) ProposeUpgrade ¶
func (KVStoreDummy) PurgeOperationalNodeMimirs ¶
func (k KVStoreDummy) PurgeOperationalNodeMimirs(_ cosmos.Context)
func (KVStoreDummy) RagnarokAccount ¶
func (k KVStoreDummy) RagnarokAccount(ctx cosmos.Context, addr cosmos.AccAddress)
func (KVStoreDummy) RagnarokInProgress ¶
func (k KVStoreDummy) RagnarokInProgress(_ cosmos.Context) bool
func (KVStoreDummy) RejectUpgrade ¶
func (k KVStoreDummy) RejectUpgrade(ctx cosmos.Context, addr cosmos.AccAddress, name string)
func (KVStoreDummy) ReleaseNodeAccountFromJail ¶
func (k KVStoreDummy) ReleaseNodeAccountFromJail(ctx cosmos.Context, addr cosmos.AccAddress) error
func (KVStoreDummy) RemoveExpiredUpgradeProposals ¶
func (k KVStoreDummy) RemoveExpiredUpgradeProposals(_ cosmos.Context) error
func (KVStoreDummy) RemoveFromAsgardIndex ¶
func (KVStoreDummy) RemoveLiquidityProvider ¶
func (k KVStoreDummy) RemoveLiquidityProvider(_ cosmos.Context, _ LiquidityProvider)
func (KVStoreDummy) RemoveLoan ¶
func (k KVStoreDummy) RemoveLoan(ctx cosmos.Context, _ Loan)
func (KVStoreDummy) RemoveLowBondValidatorAccounts ¶
func (k KVStoreDummy) RemoveLowBondValidatorAccounts(ctx cosmos.Context) error
func (KVStoreDummy) RemoveOrderBookIndex ¶
func (k KVStoreDummy) RemoveOrderBookIndex(_ cosmos.Context, _ MsgSwap) error
func (KVStoreDummy) RemoveOrderBookItem ¶
func (KVStoreDummy) RemovePool ¶
func (k KVStoreDummy) RemovePool(_ cosmos.Context, _ common.Asset)
func (KVStoreDummy) RemoveRUNEProvider ¶
func (k KVStoreDummy) RemoveRUNEProvider(ctx cosmos.Context, rp RUNEProvider)
func (KVStoreDummy) RemoveStreamingSwap ¶
func (k KVStoreDummy) RemoveStreamingSwap(ctx cosmos.Context, _ common.TxID)
func (KVStoreDummy) RemoveSwapQueueItem ¶
func (KVStoreDummy) RemoveTradeAccount ¶
func (k KVStoreDummy) RemoveTradeAccount(ctx cosmos.Context, record TradeAccount)
func (KVStoreDummy) ResetNodeAccountSlashPoints ¶
func (k KVStoreDummy) ResetNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress)
func (KVStoreDummy) ResetRollingPoolLiquidityFee ¶
func (k KVStoreDummy) ResetRollingPoolLiquidityFee(ctx cosmos.Context, asset common.Asset)
func (KVStoreDummy) RollupSwapSlip ¶
func (KVStoreDummy) RunePerDollar ¶
func (k KVStoreDummy) RunePerDollar(ctx cosmos.Context) cosmos.Uint
func (KVStoreDummy) SaveNetworkFee ¶
func (k KVStoreDummy) SaveNetworkFee(ctx cosmos.Context, chain common.Chain, networkFee NetworkFee) error
func (KVStoreDummy) ScheduleUpgrade ¶
func (k KVStoreDummy) ScheduleUpgrade(ctx cosmos.Context, plan upgradetypes.Plan) error
func (KVStoreDummy) SendCoins ¶
func (k KVStoreDummy) SendCoins(ctx cosmos.Context, from, to cosmos.AccAddress, coins cosmos.Coins) error
func (KVStoreDummy) SendFromAccountToModule ¶
func (k KVStoreDummy) SendFromAccountToModule(ctx cosmos.Context, from cosmos.AccAddress, to string, coins common.Coins) error
func (KVStoreDummy) SendFromModuleToAccount ¶
func (k KVStoreDummy) SendFromModuleToAccount(ctx cosmos.Context, from string, to cosmos.AccAddress, coins common.Coins) error
func (KVStoreDummy) SendFromModuleToModule ¶
func (KVStoreDummy) SetAffiliateCollector ¶
func (k KVStoreDummy) SetAffiliateCollector(_ cosmos.Context, _ AffiliateFeeCollector)
func (KVStoreDummy) SetBanVoter ¶
func (k KVStoreDummy) SetBanVoter(_ cosmos.Context, _ BanVoter)
func (KVStoreDummy) SetBondProviders ¶
func (k KVStoreDummy) SetBondProviders(ctx cosmos.Context, _ BondProviders) error
func (KVStoreDummy) SetChainContract ¶
func (k KVStoreDummy) SetChainContract(ctx cosmos.Context, cc ChainContract)
func (KVStoreDummy) SetCurrentRollup ¶
func (KVStoreDummy) SetErrataTxVoter ¶
func (k KVStoreDummy) SetErrataTxVoter(_ cosmos.Context, _ ErrataTxVoter)
func (KVStoreDummy) SetKeygenBlock ¶
func (k KVStoreDummy) SetKeygenBlock(_ cosmos.Context, _ KeygenBlock)
func (KVStoreDummy) SetLastChainHeight ¶
func (KVStoreDummy) SetLastObserveHeight ¶
func (k KVStoreDummy) SetLastObserveHeight(ctx cosmos.Context, chain common.Chain, address cosmos.AccAddress, height int64) error
func (KVStoreDummy) SetLastSignedHeight ¶
func (k KVStoreDummy) SetLastSignedHeight(_ cosmos.Context, _ int64) error
func (KVStoreDummy) SetLiquidityProvider ¶
func (k KVStoreDummy) SetLiquidityProvider(_ cosmos.Context, _ LiquidityProvider)
func (KVStoreDummy) SetLongRollup ¶
func (KVStoreDummy) SetMimir ¶
func (k KVStoreDummy) SetMimir(_ cosmos.Context, key string, value int64)
func (KVStoreDummy) SetMinJoinLast ¶
func (k KVStoreDummy) SetMinJoinLast(ctx cosmos.Context)
func (KVStoreDummy) SetNetwork ¶
func (k KVStoreDummy) SetNetwork(_ cosmos.Context, _ Network) error
func (KVStoreDummy) SetNodeAccount ¶
func (k KVStoreDummy) SetNodeAccount(_ cosmos.Context, _ NodeAccount) error
func (KVStoreDummy) SetNodeAccountJail ¶
func (k KVStoreDummy) SetNodeAccountJail(ctx cosmos.Context, addr cosmos.AccAddress, height int64, reason string) error
func (KVStoreDummy) SetNodeAccountSlashPoints ¶
func (k KVStoreDummy) SetNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress, _ int64)
func (KVStoreDummy) SetNodeMimir ¶
func (k KVStoreDummy) SetNodeMimir(_ cosmos.Context, key string, value int64, acc cosmos.AccAddress) error
func (KVStoreDummy) SetNodePauseChain ¶
func (k KVStoreDummy) SetNodePauseChain(ctx cosmos.Context, acc cosmos.AccAddress)
func (KVStoreDummy) SetObservedLink ¶
func (k KVStoreDummy) SetObservedLink(ctx cosmos.Context, _, _ common.TxID)
func (KVStoreDummy) SetObservedNetworkFeeVoter ¶
func (k KVStoreDummy) SetObservedNetworkFeeVoter(ctx cosmos.Context, networkFeeVoter ObservedNetworkFeeVoter)
func (KVStoreDummy) SetObservedTxInVoter ¶
func (k KVStoreDummy) SetObservedTxInVoter(_ cosmos.Context, _ ObservedTxVoter)
func (KVStoreDummy) SetObservedTxOutVoter ¶
func (k KVStoreDummy) SetObservedTxOutVoter(_ cosmos.Context, _ ObservedTxVoter)
func (KVStoreDummy) SetOrderBookIndex ¶
func (k KVStoreDummy) SetOrderBookIndex(_ cosmos.Context, _ MsgSwap) error
func (KVStoreDummy) SetOrderBookItem ¶
func (k KVStoreDummy) SetOrderBookItem(ctx cosmos.Context, msg MsgSwap) error
func (KVStoreDummy) SetOrderBookProcessor ¶
func (k KVStoreDummy) SetOrderBookProcessor(ctx cosmos.Context, record []bool) error
func (KVStoreDummy) SetPOL ¶
func (k KVStoreDummy) SetPOL(_ cosmos.Context, _ ProtocolOwnedLiquidity) error
func (KVStoreDummy) SetPoolData ¶
func (k KVStoreDummy) SetPoolData(_ cosmos.Context, _ common.Asset, _ PoolStatus)
func (KVStoreDummy) SetPoolLUVI ¶
func (KVStoreDummy) SetPoolRagnarokStart ¶
func (k KVStoreDummy) SetPoolRagnarokStart(ctx cosmos.Context, asset common.Asset)
SetPoolRagnarokStart set pool ragnarok start block height
func (KVStoreDummy) SetRUNEPool ¶
func (k KVStoreDummy) SetRUNEPool(ctx cosmos.Context, rp RUNEPool)
func (KVStoreDummy) SetRUNEProvider ¶
func (k KVStoreDummy) SetRUNEProvider(ctx cosmos.Context, rp RUNEProvider)
func (KVStoreDummy) SetRagnarokBlockHeight ¶
func (k KVStoreDummy) SetRagnarokBlockHeight(_ cosmos.Context, _ int64)
func (KVStoreDummy) SetRagnarokNth ¶
func (k KVStoreDummy) SetRagnarokNth(_ cosmos.Context, _ int64)
func (KVStoreDummy) SetRagnarokPending ¶
func (k KVStoreDummy) SetRagnarokPending(_ cosmos.Context, _ int64)
func (KVStoreDummy) SetRagnarokWithdrawPosition ¶
func (k KVStoreDummy) SetRagnarokWithdrawPosition(_tx cosmos.Context, _ RagnarokWithdrawPosition)
func (KVStoreDummy) SetSolvencyVoter ¶
func (k KVStoreDummy) SetSolvencyVoter(_ cosmos.Context, _ SolvencyVoter)
func (KVStoreDummy) SetStoreVersion ¶
func (k KVStoreDummy) SetStoreVersion(ctx cosmos.Context, ver int64)
func (KVStoreDummy) SetStreamingSwap ¶
func (k KVStoreDummy) SetStreamingSwap(ctx cosmos.Context, _ StreamingSwap)
func (KVStoreDummy) SetSwapQueueItem ¶
func (KVStoreDummy) SetSwapSlipSnapShot ¶
func (KVStoreDummy) SetSwapperClout ¶
func (k KVStoreDummy) SetSwapperClout(ctx cosmos.Context, record SwapperClout) error
func (KVStoreDummy) SetTHORName ¶
func (k KVStoreDummy) SetTHORName(ctx cosmos.Context, name THORName)
func (KVStoreDummy) SetTotalCollateral ¶
func (KVStoreDummy) SetTradeAccount ¶
func (k KVStoreDummy) SetTradeAccount(ctx cosmos.Context, record TradeAccount)
func (KVStoreDummy) SetTradeUnit ¶
func (k KVStoreDummy) SetTradeUnit(ctx cosmos.Context, unit TradeUnit)
func (KVStoreDummy) SetTssKeygenMetric ¶
func (k KVStoreDummy) SetTssKeygenMetric(_ cosmos.Context, metric *TssKeygenMetric)
func (KVStoreDummy) SetTssKeysignFailVoter ¶
func (k KVStoreDummy) SetTssKeysignFailVoter(_ cosmos.Context, tss TssKeysignFailVoter)
func (KVStoreDummy) SetTssKeysignMetric ¶
func (k KVStoreDummy) SetTssKeysignMetric(_ cosmos.Context, metric *TssKeysignMetric)
func (KVStoreDummy) SetTssVoter ¶
func (k KVStoreDummy) SetTssVoter(_ cosmos.Context, _ TssVoter)
func (KVStoreDummy) SetVersionWithCtx ¶
func (k KVStoreDummy) SetVersionWithCtx(ctx cosmos.Context, v semver.Version)
func (KVStoreDummy) SortBySecurity ¶
func (KVStoreDummy) StreamingSwapExists ¶
func (KVStoreDummy) THORNameExists ¶
func (k KVStoreDummy) THORNameExists(ctx cosmos.Context, _ string) bool
func (KVStoreDummy) TotalActiveValidators ¶
func (k KVStoreDummy) TotalActiveValidators(_ cosmos.Context) (int, error)
func (KVStoreDummy) VaultExists ¶
type Keeper ¶
type Keeper interface {
Cdc() codec.BinaryCodec
DeleteKey(ctx cosmos.Context, key string)
GetVersion() semver.Version
GetVersionWithCtx(ctx cosmos.Context) (semver.Version, bool)
SetVersionWithCtx(ctx cosmos.Context, v semver.Version)
GetMinJoinLast(ctx cosmos.Context) (semver.Version, int64)
SetMinJoinLast(ctx cosmos.Context)
GetKey(prefix kvTypes.DbPrefix, key string) string
GetStoreVersion(ctx cosmos.Context) int64
SetStoreVersion(ctx cosmos.Context, ver int64)
GetRuneBalanceOfModule(ctx cosmos.Context, moduleName string) cosmos.Uint
GetBalanceOfModule(ctx cosmos.Context, moduleName, denom string) cosmos.Uint
SendFromModuleToModule(ctx cosmos.Context, from, to string, coin common.Coins) error
SendFromAccountToModule(ctx cosmos.Context, from cosmos.AccAddress, to string, coin common.Coins) error
SendFromModuleToAccount(ctx cosmos.Context, from string, to cosmos.AccAddress, coin common.Coins) error
MintToModule(ctx cosmos.Context, module string, coin common.Coin) error
BurnFromModule(ctx cosmos.Context, module string, coin common.Coin) error
MintAndSendToAccount(ctx cosmos.Context, to cosmos.AccAddress, coin common.Coin) error
GetModuleAddress(module string) (common.Address, error)
GetModuleAccAddress(module string) cosmos.AccAddress
GetBalance(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Coins
HasCoins(ctx cosmos.Context, addr cosmos.AccAddress, coins cosmos.Coins) bool
GetAccount(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Account
RagnarokAccount(ctx cosmos.Context, addr cosmos.AccAddress)
// passthrough funcs
SendCoins(ctx cosmos.Context, from, to cosmos.AccAddress, coins cosmos.Coins) error
AddCoins(ctx cosmos.Context, addr cosmos.AccAddress, coins cosmos.Coins) error
InvariantRoutes() []common.InvariantRoute
GetConstants() constants.ConstantValues
GetConfigInt64(ctx cosmos.Context, key constants.ConstantName) int64
DollarConfigInRune(ctx cosmos.Context, key constants.ConstantName) cosmos.Uint
GetNativeTxFee(ctx cosmos.Context) cosmos.Uint
GetTHORNameRegisterFee(ctx cosmos.Context) cosmos.Uint
GetTHORNamePerBlockFee(ctx cosmos.Context) cosmos.Uint
DeductNativeTxFeeFromAccount(ctx cosmos.Context, acctAddr cosmos.AccAddress) error
// Keeper Interfaces
KeeperConfig
KeeperPool
KeeperLastHeight
KeeperLiquidityProvider
KeeperLoan
KeeperNodeAccount
KeeperUpgrade
KeeperObserver
KeeperObservedTx
KeeperTxOut
KeeperLiquidityFees
KeeperOutboundFees
KeeperSwapSlip
KeeperVault
KeeperReserveContributors
KeeperNetwork
KeeperTss
KeeperTssKeysignFail
KeeperKeygen
KeeperRagnarok
KeeperErrataTx
KeeperBanVoter
KeeperSwapQueue
KeeperOrderBooks
KeeperMimir
KeeperNetworkFee
KeeperObservedNetworkFeeVoter
KeeperChainContract
KeeperSolvencyVoter
KeeperTHORName
KeeperHalt
KeeperAnchors
KeeperStreamingSwap
KeeperSwapperClout
KeeperTradeAccount
KeeperRUNEPool
}
type KeeperAnchors ¶
type KeeperBanVoter ¶
type KeeperChainContract ¶
type KeeperChainContract interface {
SetChainContract(ctx cosmos.Context, cc ChainContract)
GetChainContract(ctx cosmos.Context, chain common.Chain) (ChainContract, error)
GetChainContracts(ctx cosmos.Context, chains common.Chains) []ChainContract
GetChainContractIterator(ctx cosmos.Context) cosmos.Iterator
}
type KeeperConfig ¶
type KeeperConfig interface {
GetConstants() constants.ConstantValues
GetConfigInt64(ctx cosmos.Context, key constants.ConstantName) int64
}
type KeeperErrataTx ¶
type KeeperHalt ¶
type KeeperHalt interface {
IsTradingHalt(ctx cosmos.Context, msg cosmos.Msg) bool
IsGlobalTradingHalted(ctx cosmos.Context) bool
IsChainTradingHalted(ctx cosmos.Context, chain common.Chain) bool
IsChainHalted(ctx cosmos.Context, chain common.Chain) bool
IsLPPaused(ctx cosmos.Context, chain common.Chain) bool
}
type KeeperKeygen ¶
type KeeperLastHeight ¶
type KeeperLastHeight interface {
SetLastSignedHeight(ctx cosmos.Context, height int64) error
GetLastSignedHeight(ctx cosmos.Context) (int64, error)
SetLastChainHeight(ctx cosmos.Context, chain common.Chain, height int64) error
ForceSetLastChainHeight(ctx cosmos.Context, chain common.Chain, height int64)
GetLastChainHeight(ctx cosmos.Context, chain common.Chain) (int64, error)
GetLastChainHeights(ctx cosmos.Context) (map[common.Chain]int64, error)
SetLastObserveHeight(ctx cosmos.Context, chain common.Chain, address cosmos.AccAddress, height int64) error
ForceSetLastObserveHeight(ctx cosmos.Context, chain common.Chain, address cosmos.AccAddress, height int64)
GetLastObserveHeight(ctx cosmos.Context, address cosmos.AccAddress) (map[common.Chain]int64, error)
}
type KeeperLiquidityFees ¶
type KeeperLiquidityFees interface {
AddToLiquidityFees(ctx cosmos.Context, asset common.Asset, fee cosmos.Uint) error
GetTotalLiquidityFees(ctx cosmos.Context, height uint64) (cosmos.Uint, error)
GetPoolLiquidityFees(ctx cosmos.Context, height uint64, asset common.Asset) (cosmos.Uint, error)
GetRollingPoolLiquidityFee(ctx cosmos.Context, asset common.Asset) (uint64, error)
ResetRollingPoolLiquidityFee(ctx cosmos.Context, asset common.Asset)
}
type KeeperLiquidityProvider ¶
type KeeperLiquidityProvider interface {
GetLiquidityProviderIterator(ctx cosmos.Context, _ common.Asset) cosmos.Iterator
GetLiquidityProvider(ctx cosmos.Context, asset common.Asset, addr common.Address) (LiquidityProvider, error)
SetLiquidityProvider(ctx cosmos.Context, lp LiquidityProvider)
RemoveLiquidityProvider(ctx cosmos.Context, lp LiquidityProvider)
GetTotalSupply(ctx cosmos.Context, asset common.Asset) cosmos.Uint
}
type KeeperLoan ¶
type KeeperLoan interface {
GetLoanIterator(ctx cosmos.Context, _ common.Asset) cosmos.Iterator
GetLoan(ctx cosmos.Context, asset common.Asset, addr common.Address) (Loan, error)
SetLoan(ctx cosmos.Context, _ Loan)
RemoveLoan(ctx cosmos.Context, _ Loan)
SetTotalCollateral(_ cosmos.Context, _ common.Asset, _ cosmos.Uint)
GetTotalCollateral(_ cosmos.Context, _ common.Asset) (cosmos.Uint, error)
}
type KeeperMimir ¶
type KeeperMimir interface {
GetMimir(_ cosmos.Context, key string) (int64, error)
GetMimirWithRef(_ cosmos.Context, template, ref string) (int64, error)
SetMimir(_ cosmos.Context, key string, value int64)
GetNodeMimirs(ctx cosmos.Context, key string) (NodeMimirs, error)
SetNodeMimir(_ cosmos.Context, key string, value int64, acc cosmos.AccAddress) error
DeleteNodeMimirs(ctx cosmos.Context, key string)
PurgeOperationalNodeMimirs(ctx cosmos.Context)
GetMimirIterator(ctx cosmos.Context) cosmos.Iterator
GetNodeMimirIterator(ctx cosmos.Context) cosmos.Iterator
DeleteMimir(_ cosmos.Context, key string) error
GetNodePauseChain(ctx cosmos.Context, acc cosmos.AccAddress) int64
SetNodePauseChain(ctx cosmos.Context, acc cosmos.AccAddress)
IsOperationalMimir(key string) bool
}
type KeeperNetwork ¶
type KeeperNetwork interface {
GetNetwork(ctx cosmos.Context) (Network, error)
SetNetwork(ctx cosmos.Context, data Network) error
GetPOL(ctx cosmos.Context) (ProtocolOwnedLiquidity, error)
SetPOL(ctx cosmos.Context, data ProtocolOwnedLiquidity) error
}
KeeperNetwork func to access network data in key value store
type KeeperNetworkFee ¶
type KeeperNodeAccount ¶
type KeeperNodeAccount interface {
TotalActiveValidators(ctx cosmos.Context) (int, error)
ListValidatorsWithBond(ctx cosmos.Context) (NodeAccounts, error)
ListValidatorsByStatus(ctx cosmos.Context, status NodeStatus) (NodeAccounts, error)
ListActiveValidators(ctx cosmos.Context) (NodeAccounts, error)
GetLowestActiveVersion(ctx cosmos.Context) semver.Version
GetMinJoinVersion(ctx cosmos.Context) semver.Version
GetNodeAccount(ctx cosmos.Context, addr cosmos.AccAddress) (NodeAccount, error)
GetNodeAccountByPubKey(ctx cosmos.Context, pk common.PubKey) (NodeAccount, error)
SetNodeAccount(ctx cosmos.Context, na NodeAccount) error
EnsureNodeKeysUnique(ctx cosmos.Context, consensusPubKey string, pubKeys common.PubKeySet) error
GetNodeAccountIterator(ctx cosmos.Context) cosmos.Iterator
GetNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress) (int64, error)
SetNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress, _ int64)
IncNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress, _ int64) error
DecNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress, _ int64) error
ResetNodeAccountSlashPoints(_ cosmos.Context, _ cosmos.AccAddress)
GetNodeAccountJail(ctx cosmos.Context, addr cosmos.AccAddress) (Jail, error)
SetNodeAccountJail(ctx cosmos.Context, addr cosmos.AccAddress, height int64, reason string) error
ReleaseNodeAccountFromJail(ctx cosmos.Context, addr cosmos.AccAddress) error
SetBondProviders(ctx cosmos.Context, _ BondProviders) error
GetBondProviders(ctx cosmos.Context, add cosmos.AccAddress) (BondProviders, error)
DeductNativeTxFeeFromBond(ctx cosmos.Context, nodeAddr cosmos.AccAddress) error
RemoveLowBondValidatorAccounts(ctx cosmos.Context) error
}
type KeeperObservedNetworkFeeVoter ¶
type KeeperObservedNetworkFeeVoter interface {
SetObservedNetworkFeeVoter(ctx cosmos.Context, networkFeeVoter ObservedNetworkFeeVoter)
GetObservedNetworkFeeVoterIterator(ctx cosmos.Context) cosmos.Iterator
GetObservedNetworkFeeVoter(ctx cosmos.Context, height int64, chain common.Chain, rate, size int64) (ObservedNetworkFeeVoter, error)
}
type KeeperObservedTx ¶
type KeeperObservedTx interface {
SetObservedTxInVoter(ctx cosmos.Context, tx ObservedTxVoter)
GetObservedTxInVoterIterator(ctx cosmos.Context) cosmos.Iterator
GetObservedTxInVoter(ctx cosmos.Context, hash common.TxID) (ObservedTxVoter, error)
SetObservedTxOutVoter(ctx cosmos.Context, tx ObservedTxVoter)
GetObservedTxOutVoterIterator(ctx cosmos.Context) cosmos.Iterator
GetObservedTxOutVoter(ctx cosmos.Context, hash common.TxID) (ObservedTxVoter, error)
SetObservedLink(ctx cosmos.Context, _, _ common.TxID)
GetObservedLink(ctx cosmos.Context, inhash common.TxID) []common.TxID
}
type KeeperObserver ¶
type KeeperOrderBooks ¶
type KeeperOrderBooks interface {
OrderBooksEnabled(ctx cosmos.Context) bool
SetOrderBookItem(ctx cosmos.Context, msg MsgSwap) error
GetOrderBookItemIterator(ctx cosmos.Context) cosmos.Iterator
GetOrderBookItem(ctx cosmos.Context, txID common.TxID) (MsgSwap, error)
HasOrderBookItem(ctx cosmos.Context, txID common.TxID) bool
RemoveOrderBookItem(ctx cosmos.Context, txID common.TxID) error
GetOrderBookIndexIterator(_ cosmos.Context, _ types.OrderType, _, _ common.Asset) cosmos.Iterator
SetOrderBookIndex(_ cosmos.Context, _ MsgSwap) error
GetOrderBookIndex(_ cosmos.Context, _ MsgSwap) (common.TxIDs, error)
HasOrderBookIndex(_ cosmos.Context, _ MsgSwap) (bool, error)
RemoveOrderBookIndex(_ cosmos.Context, _ MsgSwap) error
SetOrderBookProcessor(_ cosmos.Context, _ []bool) error
GetOrderBookProcessor(_ cosmos.Context) ([]bool, error)
}
type KeeperOutboundFees ¶
type KeeperOutboundFees interface {
AddToOutboundFeeWithheldRune(ctx cosmos.Context, outAsset common.Asset, withheld cosmos.Uint) error
AddToOutboundFeeSpentRune(ctx cosmos.Context, outAsset common.Asset, spent cosmos.Uint) error
GetOutboundFeeWithheldRune(ctx cosmos.Context, outAsset common.Asset) (cosmos.Uint, error)
GetOutboundFeeWithheldRuneIterator(ctx cosmos.Context) cosmos.Iterator
GetOutboundFeeSpentRune(ctx cosmos.Context, outAsset common.Asset) (cosmos.Uint, error)
GetOutboundFeeSpentRuneIterator(ctx cosmos.Context) cosmos.Iterator
GetOutboundTxFee(ctx cosmos.Context) cosmos.Uint
}
type KeeperPool ¶
type KeeperPool interface {
GetPoolIterator(ctx cosmos.Context) cosmos.Iterator
GetPool(ctx cosmos.Context, asset common.Asset) (Pool, error)
GetPools(ctx cosmos.Context) (Pools, error)
SetPool(ctx cosmos.Context, pool Pool) error
PoolExist(ctx cosmos.Context, asset common.Asset) bool
RemovePool(ctx cosmos.Context, asset common.Asset)
SetPoolLUVI(ctx cosmos.Context, asset common.Asset, luvi cosmos.Uint)
GetPoolLUVI(ctx cosmos.Context, asset common.Asset) (cosmos.Uint, error)
}
type KeeperRUNEPool ¶
type KeeperRUNEPool interface {
GetRUNEPool(ctx cosmos.Context) (RUNEPool, error)
SetRUNEPool(ctx cosmos.Context, pool RUNEPool)
GetRUNEProviderIterator(ctx cosmos.Context) cosmos.Iterator
GetRUNEProvider(ctx cosmos.Context, addr cosmos.AccAddress) (RUNEProvider, error)
SetRUNEProvider(ctx cosmos.Context, rp RUNEProvider)
RemoveRUNEProvider(ctx cosmos.Context, rp RUNEProvider)
}
type KeeperRagnarok ¶
type KeeperRagnarok interface {
RagnarokInProgress(_ cosmos.Context) bool
GetRagnarokBlockHeight(_ cosmos.Context) (int64, error)
SetRagnarokBlockHeight(_ cosmos.Context, _ int64)
GetRagnarokNth(_ cosmos.Context) (int64, error)
SetRagnarokNth(_ cosmos.Context, _ int64)
GetRagnarokPending(_ cosmos.Context) (int64, error)
SetRagnarokPending(_ cosmos.Context, _ int64)
GetRagnarokWithdrawPosition(ctx cosmos.Context) (RagnarokWithdrawPosition, error)
SetRagnarokWithdrawPosition(ctx cosmos.Context, position RagnarokWithdrawPosition)
SetPoolRagnarokStart(ctx cosmos.Context, asset common.Asset)
GetPoolRagnarokStart(ctx cosmos.Context, asset common.Asset) (int64, error)
DeletePoolRagnarokStart(ctx cosmos.Context, asset common.Asset)
IsRagnarok(ctx cosmos.Context, assets []common.Asset) bool
}
type KeeperSolvencyVoter ¶
type KeeperStreamingSwap ¶
type KeeperStreamingSwap interface {
GetStreamingSwapIterator(ctx cosmos.Context) cosmos.Iterator
SetStreamingSwap(ctx cosmos.Context, _ StreamingSwap)
GetStreamingSwap(ctx cosmos.Context, _ common.TxID) (StreamingSwap, error)
StreamingSwapExists(ctx cosmos.Context, _ common.TxID) bool
RemoveStreamingSwap(ctx cosmos.Context, _ common.TxID)
}
type KeeperSwapQueue ¶
type KeeperSwapQueue interface {
SetSwapQueueItem(ctx cosmos.Context, msg MsgSwap, i int) error
GetSwapQueueIterator(ctx cosmos.Context) cosmos.Iterator
GetSwapQueueItem(ctx cosmos.Context, txID common.TxID, i int) (MsgSwap, error)
HasSwapQueueItem(ctx cosmos.Context, txID common.TxID, i int) bool
RemoveSwapQueueItem(ctx cosmos.Context, txID common.TxID, i int)
}
type KeeperSwapSlip ¶
type KeeperSwapSlip interface {
AddToSwapSlip(ctx cosmos.Context, asset common.Asset, amt cosmos.Int) error
GetRollupCount(ctx cosmos.Context, asset common.Asset) (int64, error)
RollupSwapSlip(ctx cosmos.Context, blockCount int64, _ common.Asset) (cosmos.Int, error)
GetCurrentRollup(ctx cosmos.Context, asset common.Asset) (int64, error)
SetCurrentRollup(ctx cosmos.Context, asset common.Asset, val int64)
GetLongRollup(ctx cosmos.Context, asset common.Asset) (int64, error)
SetLongRollup(ctx cosmos.Context, asset common.Asset, slip int64)
GetPoolSwapSlip(ctx cosmos.Context, height int64, asset common.Asset) (cosmos.Int, error)
DeletePoolSwapSlip(ctx cosmos.Context, height int64, asset common.Asset)
GetSwapSlipSnapShot(ctx cosmos.Context, asset common.Asset, height int64) (int64, error)
SetSwapSlipSnapShot(ctx cosmos.Context, asset common.Asset, height, currRollup int64)
GetSwapSlipSnapShotIterator(ctx cosmos.Context, asset common.Asset) cosmos.Iterator
}
type KeeperSwapperClout ¶
type KeeperTHORName ¶
type KeeperTHORName interface {
THORNameExists(ctx cosmos.Context, _ string) bool
GetTHORName(ctx cosmos.Context, _ string) (THORName, error)
SetTHORName(ctx cosmos.Context, name THORName)
GetTHORNameIterator(ctx cosmos.Context) cosmos.Iterator
DeleteTHORName(ctx cosmos.Context, _ string) error
SetAffiliateCollector(_ cosmos.Context, _ AffiliateFeeCollector)
GetAffiliateCollector(_ cosmos.Context, _ cosmos.AccAddress) (AffiliateFeeCollector, error)
GetAffiliateCollectorIterator(_ cosmos.Context) cosmos.Iterator
GetAffiliateCollectors(_ cosmos.Context) ([]AffiliateFeeCollector, error)
}
NewKeeper creates new instances of the thorchain Keeper
type KeeperTradeAccount ¶
type KeeperTradeAccount interface {
GetTradeAccount(ctx cosmos.Context, addr cosmos.AccAddress, asset common.Asset) (TradeAccount, error)
SetTradeAccount(ctx cosmos.Context, record TradeAccount)
RemoveTradeAccount(ctx cosmos.Context, record TradeAccount)
GetTradeAccountIterator(ctx cosmos.Context) cosmos.Iterator
GetTradeAccountIteratorWithAddress(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Iterator
GetTradeUnit(ctx cosmos.Context, asset common.Asset) (TradeUnit, error)
SetTradeUnit(ctx cosmos.Context, unit TradeUnit)
GetTradeUnitIterator(ctx cosmos.Context) cosmos.Iterator
}
type KeeperTss ¶
type KeeperTss interface {
SetTssVoter(_ cosmos.Context, tss TssVoter)
GetTssVoterIterator(_ cosmos.Context) cosmos.Iterator
GetTssVoter(_ cosmos.Context, _ string) (TssVoter, error)
SetTssKeygenMetric(_ cosmos.Context, metric *TssKeygenMetric)
GetTssKeygenMetric(_ cosmos.Context, key common.PubKey) (*TssKeygenMetric, error)
SetTssKeysignMetric(_ cosmos.Context, metric *TssKeysignMetric)
GetTssKeysignMetric(_ cosmos.Context, txID common.TxID) (*TssKeysignMetric, error)
GetLatestTssKeysignMetric(_ cosmos.Context) (*TssKeysignMetric, error)
}
type KeeperTssKeysignFail ¶
type KeeperTxOut ¶
type KeeperTxOut interface {
SetTxOut(ctx cosmos.Context, blockOut *TxOut) error
AppendTxOut(ctx cosmos.Context, height int64, item TxOutItem) error
ClearTxOut(ctx cosmos.Context, height int64) error
GetTxOutIterator(ctx cosmos.Context) cosmos.Iterator
GetTxOut(ctx cosmos.Context, height int64) (*TxOut, error)
GetTxOutValue(ctx cosmos.Context, height int64) (cosmos.Uint, cosmos.Uint, error)
GetTOIsValue(ctx cosmos.Context, tois ...TxOutItem) (cosmos.Uint, cosmos.Uint)
}
type KeeperUpgrade ¶
type KeeperUpgrade interface {
// mutative methods
ProposeUpgrade(ctx cosmos.Context, name string, upgrade Upgrade) error
ApproveUpgrade(ctx cosmos.Context, addr cosmos.AccAddress, name string)
RejectUpgrade(ctx cosmos.Context, addr cosmos.AccAddress, name string)
RemoveExpiredUpgradeProposals(ctx cosmos.Context) error
// query methods
GetProposedUpgrade(ctx cosmos.Context, name string) (*Upgrade, error)
GetUpgradeProposalIterator(ctx cosmos.Context) cosmos.Iterator
GetUpgradeVoteIterator(ctx cosmos.Context, name string) cosmos.Iterator
// x/upgrade module methods
GetUpgradePlan(ctx cosmos.Context) (upgradetypes.Plan, bool)
ScheduleUpgrade(ctx cosmos.Context, plan upgradetypes.Plan) error
ClearUpgradePlan(ctx cosmos.Context)
}
type KeeperVault ¶
type KeeperVault interface {
GetVaultIterator(ctx cosmos.Context) cosmos.Iterator
VaultExists(ctx cosmos.Context, pk common.PubKey) bool
SetVault(ctx cosmos.Context, vault Vault) error
GetVault(ctx cosmos.Context, pk common.PubKey) (Vault, error)
HasValidVaultPools(ctx cosmos.Context) (bool, error)
GetAsgardVaults(ctx cosmos.Context) (Vaults, error)
GetAsgardVaultsByStatus(_ cosmos.Context, _ VaultStatus) (Vaults, error)
GetLeastSecure(_ cosmos.Context, _ Vaults, _ int64) Vault
GetMostSecure(_ cosmos.Context, _ Vaults, _ int64) Vault
GetMostSecureStrict(_ cosmos.Context, _ Vaults, _ int64) Vault
SortBySecurity(_ cosmos.Context, _ Vaults, _ int64) Vaults
GetPendingOutbounds(_ cosmos.Context, _ common.Asset) []TxOutItem
DeleteVault(ctx cosmos.Context, pk common.PubKey) error
RemoveFromAsgardIndex(ctx cosmos.Context, pubkey common.PubKey) error
}
type KeygenBlock ¶
type KeygenBlock = types.KeygenBlock
type LiquidityProvider ¶
type LiquidityProvider = types.LiquidityProvider
type NetworkFee ¶
type NetworkFee = types.NetworkFee
type NodeAccount ¶
type NodeAccount = types.NodeAccount
type NodeAccounts ¶
type NodeAccounts = types.NodeAccounts
type NodeMimirs ¶
type NodeMimirs = types.NodeMimirs
type NodeStatus ¶
type NodeStatus = types.NodeStatus
type ObservedNetworkFeeVoter ¶
type ObservedNetworkFeeVoter = types.ObservedNetworkFeeVoter
type ObservedTxVoter ¶
type ObservedTxVoter = types.ObservedTxVoter
type PoolStatus ¶
type PoolStatus = types.PoolStatus
type ProtocolOwnedLiquidity ¶
type ProtocolOwnedLiquidity = types.ProtocolOwnedLiquidity
type RUNEProvider ¶
type RUNEProvider = types.RUNEProvider
type RagnarokWithdrawPosition ¶
type RagnarokWithdrawPosition = types.RagnarokWithdrawPosition
type ReserveContributors ¶
type ReserveContributors = types.ReserveContributors
type SolvencyVoter ¶
type SolvencyVoter = types.SolvencyVoter
type StreamingSwap ¶
type StreamingSwap = types.StreamingSwap
type SwapperClout ¶
type SwapperClout = types.SwapperClout
type TradeAccount ¶
type TradeAccount = types.TradeAccount
type TssKeygenMetric ¶
type TssKeygenMetric = types.TssKeygenMetric
type TssKeysignFailVoter ¶
type TssKeysignFailVoter = types.TssKeysignFailVoter
type TssKeysignMetric ¶
type TssKeysignMetric = types.TssKeysignMetric
type VaultStatus ¶
type VaultStatus = types.VaultStatus
Click to show internal directories.
Click to hide internal directories.