Documentation ¶
Index ¶
- Constants
- Variables
- func AffilliateCollectorInvariant(k KVStore) common.Invariant
- func AsgardInvariant(k KVStore) common.Invariant
- func BondInvariant(k KVStore) common.Invariant
- func NewKeeper(cdc codec.BinaryCodec, coinKeeper bankkeeper.Keeper, ...) keeper.Keeper
- func PoolsInvariant(k KVStore) common.Invariant
- func StreamingSwapsInvariant(k KVStore) common.Invariant
- func THORChainInvariant(k KVStore) common.Invariant
- type AffiliateFeeCollector
- type BanVoter
- type BondProvider
- type BondProviders
- type ChainContract
- type ErrataTxVoter
- type Jail
- type KVStore
- func (k KVStore) AddBondFeeToReserve(ctx cosmos.Context, fee cosmos.Uint) error
- func (k KVStore) AddCoins(ctx cosmos.Context, addr cosmos.AccAddress, coins cosmos.Coins) error
- func (k KVStore) AddObservingAddresses(ctx cosmos.Context, inAddresses []cosmos.AccAddress) error
- func (k KVStore) AddPoolFeeToReserve(ctx cosmos.Context, fee cosmos.Uint) error
- func (k KVStore) AddToLiquidityFees(ctx cosmos.Context, asset common.Asset, fee cosmos.Uint) error
- func (k KVStore) AddToOutboundFeeSpentRune(ctx cosmos.Context, outAsset common.Asset, spent cosmos.Uint) error
- func (k KVStore) AddToOutboundFeeWithheldRune(ctx cosmos.Context, outAsset common.Asset, withheld cosmos.Uint) error
- func (k KVStore) AddToSwapSlip(ctx cosmos.Context, asset common.Asset, amt cosmos.Int) error
- func (k KVStore) AnchorMedian(ctx cosmos.Context, assets []common.Asset) cosmos.Uint
- func (k KVStore) AppendTxOut(ctx cosmos.Context, height int64, item TxOutItem) error
- func (k KVStore) BurnFromModule(ctx cosmos.Context, module string, coin common.Coin) error
- func (k KVStore) Cdc() codec.BinaryCodec
- func (k KVStore) ClearObservingAddresses(ctx cosmos.Context)
- func (k KVStore) ClearTxOut(ctx cosmos.Context, height int64) error
- func (k KVStore) DecNodeAccountSlashPoints(ctx cosmos.Context, addr cosmos.AccAddress, pts int64) error
- func (k KVStore) DeductNativeTxFeeFromAccount(ctx cosmos.Context, acctAddr cosmos.AccAddress) error
- func (k KVStore) DeductNativeTxFeeFromBond(ctx cosmos.Context, nodeAddr cosmos.AccAddress) error
- func (k KVStore) DeleteKey(ctx cosmos.Context, key string)
- func (k KVStore) DeleteMimir(ctx cosmos.Context, key string) error
- func (k KVStore) DeletePoolRagnarokStart(ctx cosmos.Context, asset common.Asset)
- func (k KVStore) DeletePoolSwapSlip(ctx cosmos.Context, height int64, asset common.Asset)
- func (k KVStore) DeleteTHORName(ctx cosmos.Context, name string) error
- func (k KVStore) DeleteVault(ctx cosmos.Context, pubkey common.PubKey) error
- func (k KVStore) DollarConfigInRune(ctx cosmos.Context, value constants.ConstantName) cosmos.Uint
- func (k KVStore) DollarInRune(ctx cosmos.Context) cosmos.Uint
- func (k KVStore) DollarsPerRune(ctx cosmos.Context) cosmos.Uint
- func (k KVStore) EnsureNodeKeysUnique(ctx cosmos.Context, consensusPubKey string, pubKeys common.PubKeySet) error
- func (k KVStore) ForceSetLastChainHeight(ctx cosmos.Context, chain common.Chain, height int64)
- func (k KVStore) ForceSetLastObserveHeight(ctx cosmos.Context, chain common.Chain, address cosmos.AccAddress, ...)
- func (k KVStore) GetAccount(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Account
- func (k KVStore) GetAffiliateCollector(ctx cosmos.Context, acc cosmos.AccAddress) (AffiliateFeeCollector, error)
- func (k KVStore) GetAffiliateCollectorIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetAffiliateCollectors(ctx cosmos.Context) ([]AffiliateFeeCollector, error)
- func (k KVStore) GetAnchors(ctx cosmos.Context, asset common.Asset) []common.Asset
- func (k KVStore) GetAsgardVaults(ctx cosmos.Context) (Vaults, error)
- func (k KVStore) GetAsgardVaultsByStatus(ctx cosmos.Context, status VaultStatus) (Vaults, error)
- func (k KVStore) GetBalance(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Coins
- func (k KVStore) GetBalanceOfModule(ctx cosmos.Context, moduleName, denom string) cosmos.Uint
- func (k KVStore) GetBanVoter(ctx cosmos.Context, addr cosmos.AccAddress) (BanVoter, error)
- func (k KVStore) GetBanVoterIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetBondProviders(ctx cosmos.Context, addr cosmos.AccAddress) (BondProviders, error)
- func (k KVStore) GetChainContract(ctx cosmos.Context, chain common.Chain) (ChainContract, error)
- func (k KVStore) GetChainContractIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetChainContracts(ctx cosmos.Context, chains common.Chains) []ChainContract
- func (k KVStore) GetConfigInt64(ctx cosmos.Context, key constants.ConstantName) int64
- func (k KVStore) GetConstants() constants.ConstantValues
- func (k KVStore) GetCurrentRollup(ctx cosmos.Context, asset common.Asset) (int64, error)
- func (k KVStore) GetErrataTxVoter(ctx cosmos.Context, txID common.TxID, chain common.Chain) (ErrataTxVoter, error)
- func (k KVStore) GetErrataTxVoterIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetKey(ctx cosmos.Context, prefix types.DbPrefix, key string) string
- func (k KVStore) GetKeygenBlock(ctx cosmos.Context, height int64) (KeygenBlock, error)
- func (k KVStore) GetKeygenBlockIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetLastChainHeight(ctx cosmos.Context, chain common.Chain) (int64, error)
- func (k KVStore) GetLastChainHeights(ctx cosmos.Context) (map[common.Chain]int64, error)
- func (k KVStore) GetLastObserveHeight(ctx cosmos.Context, address cosmos.AccAddress) (map[common.Chain]int64, error)
- func (k KVStore) GetLastSignedHeight(ctx cosmos.Context) (int64, error)
- func (k KVStore) GetLatestTssKeysignMetric(ctx cosmos.Context) (*TssKeysignMetric, error)
- func (k KVStore) GetLeastSecure(ctx cosmos.Context, vaults Vaults, signingTransPeriod int64) Vault
- func (k KVStore) GetLiquidityProvider(ctx cosmos.Context, asset common.Asset, addr common.Address) (LiquidityProvider, error)
- func (k KVStore) GetLiquidityProviderIterator(ctx cosmos.Context, asset common.Asset) cosmos.Iterator
- func (k KVStore) GetLoan(ctx cosmos.Context, asset common.Asset, addr common.Address) (Loan, error)
- func (k KVStore) GetLoanIterator(ctx cosmos.Context, asset common.Asset) cosmos.Iterator
- func (k KVStore) GetLongRollup(ctx cosmos.Context, asset common.Asset) (int64, error)
- func (k KVStore) GetLowestActiveVersion(ctx cosmos.Context) semver.Version
- func (k KVStore) GetMimir(ctx cosmos.Context, key string) (int64, error)
- func (k KVStore) GetMimirIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetMimirV2(ctx cosmos.Context, key string) (int64, error)
- func (k KVStore) GetMinJoinLast(ctx cosmos.Context) (semver.Version, int64)
- func (k KVStore) GetMinJoinVersion(ctx cosmos.Context) semver.Version
- func (k KVStore) GetModuleAccAddress(module string) cosmos.AccAddress
- func (k KVStore) GetModuleAddress(module string) (common.Address, error)
- func (k KVStore) GetMostSecure(ctx cosmos.Context, vaults Vaults, signingTransPeriod int64) Vault
- func (k KVStore) GetMostSecureStrict(ctx cosmos.Context, vaults Vaults, signingTransPeriod int64) Vault
- func (k KVStore) GetNativeTxFee(ctx cosmos.Context) cosmos.Uint
- func (k KVStore) GetNetwork(ctx cosmos.Context) (Network, error)
- func (k KVStore) GetNetworkFee(ctx cosmos.Context, chain common.Chain) (NetworkFee, error)
- func (k KVStore) GetNetworkFeeIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetNodeAccount(ctx cosmos.Context, addr cosmos.AccAddress) (NodeAccount, error)
- func (k KVStore) GetNodeAccountByPubKey(ctx cosmos.Context, pk common.PubKey) (NodeAccount, error)
- func (k KVStore) GetNodeAccountIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetNodeAccountJail(ctx cosmos.Context, addr cosmos.AccAddress) (Jail, error)
- func (k KVStore) GetNodeAccountSlashPoints(ctx cosmos.Context, addr cosmos.AccAddress) (int64, error)
- func (k KVStore) GetNodeMimirIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetNodeMimirIteratorV2(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetNodeMimirs(ctx cosmos.Context, key string) (NodeMimirs, error)
- func (k KVStore) GetNodeMimirsV2(ctx cosmos.Context, key string) (NodeMimirs, error)
- func (k KVStore) GetNodePauseChain(ctx cosmos.Context, acc cosmos.AccAddress) int64
- func (k KVStore) GetObservedLink(ctx cosmos.Context, inhash common.TxID) []common.TxID
- func (k KVStore) GetObservedNetworkFeeVoter(ctx cosmos.Context, height int64, chain common.Chain, rate, size int64) (ObservedNetworkFeeVoter, error)
- func (k KVStore) GetObservedNetworkFeeVoterIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetObservedTxInVoter(ctx cosmos.Context, hash common.TxID) (ObservedTxVoter, error)
- func (k KVStore) GetObservedTxInVoterIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetObservedTxOutVoter(ctx cosmos.Context, hash common.TxID) (ObservedTxVoter, error)
- func (k KVStore) GetObservedTxOutVoterIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetObservingAddresses(ctx cosmos.Context) ([]cosmos.AccAddress, error)
- func (k KVStore) GetOrderBookIndex(ctx cosmos.Context, msg MsgSwap) (common.TxIDs, error)
- func (k KVStore) GetOrderBookIndexIterator(ctx cosmos.Context, order types.OrderType, source, target common.Asset) cosmos.Iterator
- func (k KVStore) GetOrderBookItem(ctx cosmos.Context, txID common.TxID) (MsgSwap, error)
- func (k KVStore) GetOrderBookItemIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetOrderBookProcessor(ctx cosmos.Context) ([]bool, error)
- func (k KVStore) GetOutboundFeeSpentRune(ctx cosmos.Context, outAsset common.Asset) (cosmos.Uint, error)
- func (k KVStore) GetOutboundFeeSpentRuneIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetOutboundFeeWithheldRune(ctx cosmos.Context, outAsset common.Asset) (cosmos.Uint, error)
- func (k KVStore) GetOutboundFeeWithheldRuneIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetOutboundTxFee(ctx cosmos.Context) cosmos.Uint
- func (k KVStore) GetPOL(ctx cosmos.Context) (ProtocolOwnedLiquidity, error)
- func (k KVStore) GetPendingOutbounds(ctx cosmos.Context, asset common.Asset) []TxOutItem
- func (k KVStore) GetPool(ctx cosmos.Context, asset common.Asset) (Pool, error)
- func (k KVStore) GetPoolIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetPoolLUVI(ctx cosmos.Context, asset common.Asset) (cosmos.Uint, error)
- func (k KVStore) GetPoolLiquidityFees(ctx cosmos.Context, height uint64, asset common.Asset) (cosmos.Uint, error)
- func (k KVStore) GetPoolRagnarokStart(ctx cosmos.Context, asset common.Asset) (int64, error)
- func (k KVStore) GetPoolSwapSlip(ctx cosmos.Context, height int64, asset common.Asset) (cosmos.Int, error)
- func (k KVStore) GetPools(ctx cosmos.Context) (Pools, error)
- func (k KVStore) GetRagnarokBlockHeight(ctx cosmos.Context) (int64, error)
- func (k KVStore) GetRagnarokNth(ctx cosmos.Context) (int64, error)
- func (k KVStore) GetRagnarokPending(ctx cosmos.Context) (int64, error)
- func (k KVStore) GetRagnarokWithdrawPosition(ctx cosmos.Context) (RagnarokWithdrawPosition, error)
- func (k KVStore) GetRollingPoolLiquidityFee(ctx cosmos.Context, asset common.Asset) (uint64, error)
- func (k KVStore) GetRuneBalanceOfModule(ctx cosmos.Context, moduleName string) cosmos.Uint
- func (k KVStore) GetSolvencyVoter(ctx cosmos.Context, txID common.TxID, chain common.Chain) (SolvencyVoter, error)
- func (k KVStore) GetStoreVersion(ctx cosmos.Context) int64
- func (k KVStore) GetStreamingSwap(ctx cosmos.Context, hash common.TxID) (StreamingSwap, error)
- func (k KVStore) GetStreamingSwapIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetSwapQueueItem(ctx cosmos.Context, txID common.TxID, i int) (MsgSwap, error)
- func (k KVStore) GetSwapQueueIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetSwapSlipSnapShot(ctx cosmos.Context, asset common.Asset, height int64) (int64, error)
- func (k KVStore) GetSwapSlipSnapShotIterator(ctx cosmos.Context, asset common.Asset) cosmos.Iterator
- func (k KVStore) GetSwapperClout(ctx cosmos.Context, addr common.Address) (SwapperClout, error)
- func (k KVStore) GetSwapperCloutIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetTHORName(ctx cosmos.Context, name string) (THORName, error)
- func (k KVStore) GetTHORNameIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetTHORNamePerBlockFee(ctx cosmos.Context) cosmos.Uint
- func (k KVStore) GetTHORNameRegisterFee(ctx cosmos.Context) cosmos.Uint
- func (k KVStore) GetTOIsValue(ctx cosmos.Context, tois ...TxOutItem) (cosmos.Uint, cosmos.Uint)
- func (k KVStore) GetTotalCollateral(ctx cosmos.Context, asset common.Asset) (cosmos.Uint, error)
- func (k KVStore) GetTotalLiquidityFees(ctx cosmos.Context, height uint64) (cosmos.Uint, error)
- func (k KVStore) GetTotalSupply(ctx cosmos.Context, asset common.Asset) cosmos.Uint
- func (k KVStore) GetTradeAccount(ctx cosmos.Context, addr cosmos.AccAddress, asset common.Asset) (TradeAccount, error)
- func (k KVStore) GetTradeAccountIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetTradeAccountIteratorWithAddress(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Iterator
- func (k KVStore) GetTradeUnit(ctx cosmos.Context, asset common.Asset) (TradeUnit, error)
- func (k KVStore) GetTradeUnitIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetTradeUnitIteratorWithAddress(ctx cosmos.Context, addr cosmos.AccAddress) cosmos.Iterator
- func (k KVStore) GetTssKeygenMetric(ctx cosmos.Context, pubkey common.PubKey) (*TssKeygenMetric, error)
- func (k KVStore) GetTssKeysignFailVoter(ctx cosmos.Context, id string) (TssKeysignFailVoter, error)
- func (k KVStore) GetTssKeysignFailVoterIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetTssKeysignMetric(ctx cosmos.Context, txID common.TxID) (*TssKeysignMetric, error)
- func (k KVStore) GetTssVoter(ctx cosmos.Context, id string) (TssVoter, error)
- func (k KVStore) GetTssVoterIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetTxOut(ctx cosmos.Context, height int64) (*TxOut, error)
- func (k KVStore) GetTxOutIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetTxOutValue(ctx cosmos.Context, height int64) (cosmos.Uint, cosmos.Uint, error)
- func (k KVStore) GetTxOutValueV1(ctx cosmos.Context, height int64) (cosmos.Uint, cosmos.Uint, error)
- func (k KVStore) GetTxOutValueV128(ctx cosmos.Context, height int64) (cosmos.Uint, cosmos.Uint, error)
- func (k KVStore) GetVault(ctx cosmos.Context, pk common.PubKey) (Vault, error)
- func (k KVStore) GetVaultIterator(ctx cosmos.Context) cosmos.Iterator
- func (k KVStore) GetVersion() semver.Version
- func (k KVStore) GetVersionWithCtx(ctx cosmos.Context) (semver.Version, bool)
- func (k KVStore) HasCoins(ctx cosmos.Context, addr cosmos.AccAddress, coins cosmos.Coins) bool
- func (k KVStore) HasOrderBookIndex(ctx cosmos.Context, msg MsgSwap) (bool, error)
- func (k KVStore) HasOrderBookItem(ctx cosmos.Context, txID common.TxID) bool
- func (k KVStore) HasSwapQueueItem(ctx cosmos.Context, txID common.TxID, i int) bool
- func (k KVStore) HasValidVaultPools(ctx cosmos.Context) (bool, error)
- func (k KVStore) IncNodeAccountSlashPoints(ctx cosmos.Context, addr cosmos.AccAddress, pts int64) error
- func (k KVStore) InvariantRoutes() []common.InvariantRoute
- func (k KVStore) IsChainHalted(ctx cosmos.Context, chain common.Chain) bool
- func (k KVStore) IsChainTradingHalted(ctx cosmos.Context, chain common.Chain) bool
- func (k KVStore) IsGlobalTradingHalted(ctx cosmos.Context) bool
- func (k KVStore) IsLPPaused(ctx cosmos.Context, chain common.Chain) bool
- func (k KVStore) IsRagnarok(ctx cosmos.Context, assets []common.Asset) bool
- func (k KVStore) IsTradingHalt(ctx cosmos.Context, msg cosmos.Msg) bool
- func (k KVStore) ListActiveValidators(ctx cosmos.Context) (NodeAccounts, error)
- func (k KVStore) ListValidatorsByStatus(ctx cosmos.Context, status NodeStatus) (NodeAccounts, error)
- func (k KVStore) ListValidatorsWithBond(ctx cosmos.Context) (NodeAccounts, error)
- func (k KVStore) MintAndSendToAccount(ctx cosmos.Context, to cosmos.AccAddress, coin common.Coin) error
- func (k KVStore) MintToModule(ctx cosmos.Context, module string, coin common.Coin) error
- func (k KVStore) OrderBooksEnabled(ctx cosmos.Context) bool
- func (k KVStore) PoolExist(ctx cosmos.Context, asset common.Asset) bool
- func (k KVStore) RagnarokInProgress(ctx cosmos.Context) bool
- func (k KVStore) ReleaseNodeAccountFromJail(ctx cosmos.Context, addr cosmos.AccAddress) error
- func (k KVStore) RemoveFromAsgardIndex(ctx cosmos.Context, pubkey common.PubKey) error
- func (k KVStore) RemoveLiquidityProvider(ctx cosmos.Context, lp LiquidityProvider)
- func (k KVStore) RemoveLoan(ctx cosmos.Context, lp Loan)
- func (k KVStore) RemoveLowBondValidatorAccounts(ctx cosmos.Context) error
- func (k KVStore) RemoveOrderBookIndex(ctx cosmos.Context, msg MsgSwap) error
- func (k KVStore) RemoveOrderBookItem(ctx cosmos.Context, txID common.TxID) error
- func (k KVStore) RemovePool(ctx cosmos.Context, asset common.Asset)
- func (k KVStore) RemoveStreamingSwap(ctx cosmos.Context, hash common.TxID)
- func (k KVStore) RemoveSwapQueueItem(ctx cosmos.Context, txID common.TxID, i int)
- func (k KVStore) RemoveTradeAccount(ctx cosmos.Context, tr TradeAccount)
- func (k KVStore) ResetNodeAccountSlashPoints(ctx cosmos.Context, addr cosmos.AccAddress)
- func (k KVStore) ResetRollingPoolLiquidityFee(ctx cosmos.Context, asset common.Asset)
- func (k KVStore) RollupSwapSlip(ctx cosmos.Context, targetCount int64, asset common.Asset) (cosmos.Int, error)
- func (k KVStore) RunePerDollar(ctx cosmos.Context) cosmos.Uint
- func (k KVStore) SaveNetworkFee(ctx cosmos.Context, chain common.Chain, networkFee NetworkFee) error
- func (k KVStore) SendCoins(ctx cosmos.Context, from, to cosmos.AccAddress, coins cosmos.Coins) error
- func (k KVStore) SendFromAccountToModule(ctx cosmos.Context, from cosmos.AccAddress, to string, coins common.Coins) error
- func (k KVStore) SendFromModuleToAccount(ctx cosmos.Context, from string, to cosmos.AccAddress, coins common.Coins) error
- func (k KVStore) SendFromModuleToModule(ctx cosmos.Context, from, to string, coins common.Coins) error
- func (k KVStore) SetAffiliateCollector(ctx cosmos.Context, collector AffiliateFeeCollector)
- func (k KVStore) SetBanVoter(ctx cosmos.Context, ban BanVoter)
- func (k KVStore) SetBondProviders(ctx cosmos.Context, record BondProviders) error
- func (k KVStore) SetChainContract(ctx cosmos.Context, cc ChainContract)
- func (k KVStore) SetCurrentRollup(ctx cosmos.Context, asset common.Asset, currRollup int64)
- func (k KVStore) SetErrataTxVoter(ctx cosmos.Context, errata ErrataTxVoter)
- func (k KVStore) SetKeygenBlock(ctx cosmos.Context, keygen KeygenBlock)
- func (k KVStore) SetLastChainHeight(ctx cosmos.Context, chain common.Chain, height int64) error
- func (k KVStore) SetLastObserveHeight(ctx cosmos.Context, chain common.Chain, address cosmos.AccAddress, ...) error
- func (k KVStore) SetLastSignedHeight(ctx cosmos.Context, height int64) error
- func (k KVStore) SetLiquidityProvider(ctx cosmos.Context, lp LiquidityProvider)
- func (k KVStore) SetLoan(ctx cosmos.Context, lp Loan)
- func (k KVStore) SetLongRollup(ctx cosmos.Context, asset common.Asset, slip int64)
- func (k KVStore) SetMimir(ctx cosmos.Context, key string, value int64)
- func (k KVStore) SetMimirV2(ctx cosmos.Context, key string, value int64)
- func (k KVStore) SetMinJoinLast(ctx cosmos.Context)
- func (k KVStore) SetNetwork(ctx cosmos.Context, data Network) error
- func (k KVStore) SetNodeAccount(ctx cosmos.Context, na NodeAccount) error
- func (k KVStore) SetNodeAccountJail(ctx cosmos.Context, addr cosmos.AccAddress, height int64, reason string) error
- func (k KVStore) SetNodeAccountSlashPoints(ctx cosmos.Context, addr cosmos.AccAddress, pts int64)
- func (k KVStore) SetNodeMimir(ctx cosmos.Context, key string, value int64, acc cosmos.AccAddress) error
- func (k KVStore) SetNodeMimirV2(ctx cosmos.Context, key string, value int64, acc cosmos.AccAddress) error
- func (k KVStore) SetNodePauseChain(ctx cosmos.Context, acc cosmos.AccAddress)
- func (k KVStore) SetObservedLink(ctx cosmos.Context, inhash, outhash common.TxID)
- func (k KVStore) SetObservedNetworkFeeVoter(ctx cosmos.Context, networkFeeVoter ObservedNetworkFeeVoter)
- func (k KVStore) SetObservedTxInVoter(ctx cosmos.Context, tx ObservedTxVoter)
- func (k KVStore) SetObservedTxOutVoter(ctx cosmos.Context, tx ObservedTxVoter)
- func (k KVStore) SetOrderBookIndex(ctx cosmos.Context, msg MsgSwap) error
- func (k KVStore) SetOrderBookItem(ctx cosmos.Context, msg MsgSwap) error
- func (k KVStore) SetOrderBookProcessor(ctx cosmos.Context, record []bool) error
- func (k KVStore) SetPOL(ctx cosmos.Context, data ProtocolOwnedLiquidity) error
- func (k KVStore) SetPool(ctx cosmos.Context, pool Pool) error
- func (k KVStore) SetPoolLUVI(ctx cosmos.Context, asset common.Asset, luvi cosmos.Uint)
- func (k KVStore) SetPoolRagnarokStart(ctx cosmos.Context, asset common.Asset)
- func (k KVStore) SetRagnarokBlockHeight(ctx cosmos.Context, height int64)
- func (k KVStore) SetRagnarokNth(ctx cosmos.Context, nth int64)
- func (k KVStore) SetRagnarokPending(ctx cosmos.Context, pending int64)
- func (k KVStore) SetRagnarokWithdrawPosition(ctx cosmos.Context, position RagnarokWithdrawPosition)
- func (k KVStore) SetSolvencyVoter(ctx cosmos.Context, solvencyVoter SolvencyVoter)
- func (k KVStore) SetStoreVersion(ctx cosmos.Context, value int64)
- func (k KVStore) SetStreamingSwap(ctx cosmos.Context, swp StreamingSwap)
- func (k KVStore) SetSwapQueueItem(ctx cosmos.Context, msg MsgSwap, i int) error
- func (k KVStore) SetSwapSlipSnapShot(ctx cosmos.Context, asset common.Asset, height, currRollup int64)
- func (k KVStore) SetSwapperClout(ctx cosmos.Context, record SwapperClout) error
- func (k KVStore) SetTHORName(ctx cosmos.Context, name THORName)
- func (k KVStore) SetTotalCollateral(ctx cosmos.Context, asset common.Asset, amt cosmos.Uint)
- func (k KVStore) SetTradeAccount(ctx cosmos.Context, tr TradeAccount)
- func (k KVStore) SetTradeUnit(ctx cosmos.Context, tu TradeUnit)
- func (k KVStore) SetTssKeygenMetric(ctx cosmos.Context, metric *TssKeygenMetric)
- func (k KVStore) SetTssKeysignFailVoter(ctx cosmos.Context, tss TssKeysignFailVoter)
- func (k KVStore) SetTssKeysignMetric(ctx cosmos.Context, metric *TssKeysignMetric)
- func (k KVStore) SetTssVoter(ctx cosmos.Context, tss TssVoter)
- func (k KVStore) SetTxOut(ctx cosmos.Context, blockOut *TxOut) error
- func (k KVStore) SetVault(ctx cosmos.Context, vault Vault) error
- func (k *KVStore) SetVersion(ver semver.Version)
- func (k KVStore) SetVersionWithCtx(ctx cosmos.Context, v semver.Version)
- func (k KVStore) SortBySecurity(ctx cosmos.Context, vaults Vaults, signingTransPeriod int64) Vaults
- func (k KVStore) StreamingSwapExists(ctx cosmos.Context, hash common.TxID) bool
- func (k KVStore) THORNameExists(ctx cosmos.Context, name string) bool
- func (k KVStore) TotalActiveValidators(ctx cosmos.Context) (int, error)
- func (k KVStore) VaultExists(ctx cosmos.Context, pk common.PubKey) bool
- type KeygenBlock
- type LiquidityProvider
- type Loan
- type MinJoinLast
- type MsgAddLiquidity
- type MsgSwap
- type Network
- type NetworkFee
- type NodeAccount
- type NodeAccounts
- type NodeMimir
- type NodeMimirs
- type NodeStatus
- type NodeType
- type ObservedNetworkFeeVoter
- type ObservedTxVoter
- type ObservedTxs
- type Pool
- type Pools
- type ProtoAccAddresses
- type ProtoBools
- type ProtoInt64
- type ProtoStrings
- type ProtoUint
- type ProtoUint64
- type ProtocolOwnedLiquidity
- type RagnarokWithdrawPosition
- type ReserveContributors
- type SolvencyVoter
- type StreamingSwap
- type SwapperClout
- type THORName
- type THORNameAlias
- type TradeAccount
- type TradeUnit
- type TssKeygenMetric
- type TssKeysignFailVoter
- type TssKeysignMetric
- type TssVoter
- type TxOut
- type TxOutItem
- type Vault
- type VaultSecurity
- type VaultStatus
- type Vaults
Constants ¶
const ( ModuleName = types.ModuleName ReserveName = types.ReserveName AsgardName = types.AsgardName AffiliateCollectorName = types.AffiliateCollectorName BondName = types.BondName StoreKey = types.StoreKey // Vaults AsgardVault = types.VaultType_AsgardVault YggdrasilVault = types.VaultType_YggdrasilVault // TODO remove on hard fork ActiveVault = types.VaultStatus_ActiveVault InitVault = types.VaultStatus_InitVault RetiringVault = types.VaultStatus_RetiringVault InactiveVault = types.VaultStatus_InactiveVault // Node status NodeActive = types.NodeStatus_Active NodeStandby = types.NodeStatus_Standby NodeUnknown = types.NodeStatus_Unknown // Node type NodeTypeUnknown = types.NodeType_TypeUnknown NodeTypeValidator = types.NodeType_TypeValidator NodeTypeVault = types.NodeType_TypeVault // Mint/Burn type MintSupplyType = types.MintBurnSupplyType_mint BurnSupplyType = types.MintBurnSupplyType_burn // Bond type AsgardKeygen = types.KeygenType_AsgardKeygen BondCost = types.BondType_bond_cost )
const KRAKEN string = "ReleaseTheKraken"
TODO: Remove Kraken checks on next hard fork.
Variables ¶
var ( NewPool = types.NewPool NewJail = types.NewJail NewLoan = types.NewLoan NewStreamingSwap = types.NewStreamingSwap NewNetwork = types.NewNetwork NewProtocolOwnedLiquidity = types.NewProtocolOwnedLiquidity NewObservedTx = types.NewObservedTx NewTssVoter = types.NewTssVoter NewBanVoter = types.NewBanVoter NewErrataTxVoter = types.NewErrataTxVoter NewObservedTxVoter = types.NewObservedTxVoter NewKeygen = types.NewKeygen NewKeygenBlock = types.NewKeygenBlock NewTxOut = types.NewTxOut HasSuperMajority = types.HasSuperMajority RegisterCodec = types.RegisterCodec NewTradeAccount = types.NewTradeAccount NewTradeUnit = types.NewTradeUnit NewNodeAccount = types.NewNodeAccount NewBondProviders = types.NewBondProviders NewBondProvider = types.NewBondProvider NewVault = types.NewVault NewReserveContributor = types.NewReserveContributor NewTHORName = types.NewTHORName NewEventBond = types.NewEventBond NewEventMintBurn = types.NewEventMintBurn GetRandomTx = types.GetRandomTx GetRandomValidatorNode = types.GetRandomValidatorNode GetRandomVaultNode = types.GetRandomVaultNode GetRandomBNBAddress = types.GetRandomBNBAddress GetRandomBTCAddress = types.GetRandomBTCAddress GetRandomBCHAddress = types.GetRandomBCHAddress GetRandomRUNEAddress = types.GetRandomRUNEAddress GetRandomTHORAddress = types.GetRandomTHORAddress GetRandomTxHash = types.GetRandomTxHash GetRandomBech32Addr = types.GetRandomBech32Addr GetRandomPubKey = types.GetRandomPubKey GetRandomPubKeySet = types.GetRandomPubKeySet GetCurrentVersion = types.GetCurrentVersion NewObservedNetworkFeeVoter = types.NewObservedNetworkFeeVoter NewNetworkFee = types.NewNetworkFee NewTssKeysignFailVoter = types.NewTssKeysignFailVoter SetupConfigForTest = types.SetupConfigForTest NewChainContract = types.NewChainContract NewSwapperClout = types.NewSwapperClout )
Functions ¶
func AffilliateCollectorInvariant ¶ added in v1.116.0
AffilliateCollectorInvariant the affiliate_collector module backs accrued affiliate rewards
func AsgardInvariant ¶ added in v1.107.0
AsgardInvariant the asgard module backs pool rune, savers synths, and native coins in queued swaps
func BondInvariant ¶ added in v1.107.0
BondInvariant the bond module backs node bond and pending reward bond
func NewKeeper ¶ added in v1.127.0
func NewKeeper(cdc codec.BinaryCodec, coinKeeper bankkeeper.Keeper, accountKeeper authkeeper.AccountKeeper, storeKey cosmos.StoreKey) keeper.Keeper
NewKeeper creates new instances of the thorchain Keeper
func PoolsInvariant ¶ added in v1.117.0
PoolsInvariant pool units and pending rune/asset should match the sum of units and pending rune/asset for all lps
func StreamingSwapsInvariant ¶ added in v1.117.0
StreamingSwapsInvariant every streaming swap should have a corresponding queued swap, stream deposit should equal the queued swap's source coin, and the stream should be internally consistent
func THORChainInvariant ¶ added in v1.107.0
THORChainInvariant the thorchain module should never hold a balance
Types ¶
type AffiliateFeeCollector ¶ added in v1.116.0
type AffiliateFeeCollector = types.AffiliateFeeCollector
type BondProvider ¶ added in v0.81.0
type BondProvider = types.BondProvider
type BondProviders ¶ added in v0.81.0
type BondProviders = types.BondProviders
type ChainContract ¶ added in v0.41.0
type ChainContract = types.ChainContract
type ErrataTxVoter ¶
type ErrataTxVoter = types.ErrataTxVoter
type KVStore ¶
type KVStore struct {
// contains filtered or unexported fields
}
KVStore Keeper maintains the link to data storage and exposes getter/setter methods for the various parts of the state machine
func NewKVStore ¶
func NewKVStore(cdc codec.BinaryCodec, coinKeeper bankkeeper.Keeper, accountKeeper authkeeper.AccountKeeper, storeKey cosmos.StoreKey, version semver.Version) KVStore
NewKVStore creates new instances of the thorchain Keeper
func (KVStore) AddBondFeeToReserve ¶ added in v1.88.0
AddBondFeeToReserve add fee to reserve, the fee is always in RUNE
func (KVStore) AddObservingAddresses ¶
AddObservingAddresses - add a list of addresses that have been helpful in getting enough observations to process an inbound tx.
func (KVStore) AddPoolFeeToReserve ¶ added in v1.88.0
AddPoolFeeToReserve add fee to reserve, the fee is always in RUNE
func (KVStore) AddToLiquidityFees ¶
AddToLiquidityFees - measure of fees collected in each block
func (KVStore) AddToOutboundFeeSpentRune ¶ added in v1.131.0
func (k KVStore) AddToOutboundFeeSpentRune(ctx cosmos.Context, outAsset common.Asset, spent cosmos.Uint) error
AddToOutboundFeeSpentRune - add to record of RUNE spent by the Reserve for an Asset's outbounds' gas costs
func (KVStore) AddToOutboundFeeWithheldRune ¶ added in v1.131.0
func (k KVStore) AddToOutboundFeeWithheldRune(ctx cosmos.Context, outAsset common.Asset, withheld cosmos.Uint) error
AddToOutboundFeeWithheldRune - add to record of RUNE collected by the Reserve for an Asset's outbound fees
func (KVStore) AddToSwapSlip ¶ added in v1.102.0
AddToSwapSlip - add swap slip to block
func (KVStore) AnchorMedian ¶ added in v1.112.0
func (KVStore) AppendTxOut ¶
AppendTxOut - append the given item to txOut
func (KVStore) BurnFromModule ¶ added in v0.41.0
func (KVStore) ClearObservingAddresses ¶
ClearObservingAddresses - clear all observing addresses
func (KVStore) ClearTxOut ¶
ClearTxOut - remove the txout of the given height from key value store
func (KVStore) DecNodeAccountSlashPoints ¶
func (k KVStore) DecNodeAccountSlashPoints(ctx cosmos.Context, addr cosmos.AccAddress, pts int64) error
DecNodeAccountSlashPoints - decrements the slash points associated with the given node address and uint
func (KVStore) DeductNativeTxFeeFromAccount ¶ added in v1.115.0
func (KVStore) DeductNativeTxFeeFromBond ¶ added in v1.115.0
func (KVStore) DeleteMimir ¶ added in v0.54.0
func (KVStore) DeletePoolRagnarokStart ¶ added in v1.131.0
DeletePoolRagnarokStart deletes the pool ragnarok start block height
func (KVStore) DeletePoolSwapSlip ¶ added in v1.102.0
func (KVStore) DeleteTHORName ¶ added in v0.58.0
DeleteTHORName remove the given THORName from data store
func (KVStore) DeleteVault ¶
DeleteVault remove the given vault from data store
func (KVStore) DollarConfigInRune ¶ added in v1.114.0
DollarConfigInRune returns the dollar denominated config value in RUNE. If the RUNE price feed returns zero, the USD value will be returned.
func (KVStore) DollarInRune ¶ added in v1.112.0
func (KVStore) DollarsPerRune ¶ added in v1.113.0
DollarsPerRune gets in 1e8 terms the amount of USD that is equal to 1 RUNE (in other words, 1 RUNE's price in USD)
func (KVStore) EnsureNodeKeysUnique ¶
func (k KVStore) EnsureNodeKeysUnique(ctx cosmos.Context, consensusPubKey string, pubKeys common.PubKeySet) error
EnsureNodeKeysUnique check the given consensus pubkey and pubkey set against all the the node account return an error when it is overlap with any existing account
func (KVStore) ForceSetLastChainHeight ¶ added in v1.110.0
ForceSetLastChainHeight force sets the last chain height.
func (KVStore) ForceSetLastObserveHeight ¶ added in v1.110.0
func (k KVStore) ForceSetLastObserveHeight(ctx cosmos.Context, chain common.Chain, address cosmos.AccAddress, height int64)
ForceSetLastObserveHeight force sets the observe height.
func (KVStore) GetAccount ¶ added in v0.41.0
func (KVStore) GetAffiliateCollector ¶ added in v1.116.0
func (k KVStore) GetAffiliateCollector(ctx cosmos.Context, acc cosmos.AccAddress) (AffiliateFeeCollector, error)
func (KVStore) GetAffiliateCollectorIterator ¶ added in v1.116.0
func (KVStore) GetAffiliateCollectors ¶ added in v1.116.0
func (k KVStore) GetAffiliateCollectors(ctx cosmos.Context) ([]AffiliateFeeCollector, error)
func (KVStore) GetAnchors ¶ added in v1.112.0
func (KVStore) GetAsgardVaults ¶
GetAsgardVaults return all asgard vaults
func (KVStore) GetAsgardVaultsByStatus ¶
GetAsgardVaultsByStatus get all the asgard vault that have the given status
func (KVStore) GetBalance ¶ added in v0.41.0
func (KVStore) GetBalanceOfModule ¶ added in v1.96.1
func (KVStore) GetBanVoter ¶
GetBanVoter - gets information of ban voter
func (KVStore) GetBanVoterIterator ¶
GetBanVoterIterator - get an iterator for ban voter
func (KVStore) GetBondProviders ¶ added in v0.81.0
func (k KVStore) GetBondProviders(ctx cosmos.Context, addr cosmos.AccAddress) (BondProviders, error)
GetBondProviders - gets bond providers for a node account
func (KVStore) GetChainContract ¶ added in v0.41.0
GetChainContract - gets chain contract
func (KVStore) GetChainContractIterator ¶ added in v0.41.0
GetChainContractIterator - get an iterator for chain contract
func (KVStore) GetChainContracts ¶ added in v0.41.0
GetChainContracts return a list of chain contracts , which match the requested chains
func (KVStore) GetConfigInt64 ¶ added in v1.108.0
GetConfigInt64 returns the mimir value for the key if set, otherwise the constant value
func (KVStore) GetConstants ¶ added in v1.108.0
func (k KVStore) GetConstants() constants.ConstantValues
GetConstants returns the constant values
func (KVStore) GetCurrentRollup ¶ added in v1.121.0
func (KVStore) GetErrataTxVoter ¶
func (k KVStore) GetErrataTxVoter(ctx cosmos.Context, txID common.TxID, chain common.Chain) (ErrataTxVoter, error)
GetErrataTxVoter - gets information of errata tx voter
func (KVStore) GetErrataTxVoterIterator ¶
GetErrataTxVoterIterator iterate errata tx voter
func (KVStore) GetKeygenBlock ¶
GetKeygenBlock from a given height
func (KVStore) GetKeygenBlockIterator ¶
GetKeygenBlockIterator return an iterator
func (KVStore) GetLastChainHeight ¶
GetLastChainHeight get last chain height
func (KVStore) GetLastChainHeights ¶
GetLastChainHeights get the iterator for last chain height
func (KVStore) GetLastObserveHeight ¶ added in v0.41.0
func (k KVStore) GetLastObserveHeight(ctx cosmos.Context, address cosmos.AccAddress) (map[common.Chain]int64, error)
GetLastObserveHeight retrieve last observe height of a given node account from key value store
func (KVStore) GetLastSignedHeight ¶
GetLastSignedHeight get last signed height from key value store
func (KVStore) GetLatestTssKeysignMetric ¶ added in v0.41.0
func (k KVStore) GetLatestTssKeysignMetric(ctx cosmos.Context) (*TssKeysignMetric, error)
GetLatestTssKeysignMetric return the latest tss keysign metric
func (KVStore) GetLeastSecure ¶ added in v0.41.0
GetLeastSecure with given list of vaults, find the vault that is least secure
func (KVStore) GetLiquidityProvider ¶ added in v0.41.0
func (k KVStore) GetLiquidityProvider(ctx cosmos.Context, asset common.Asset, addr common.Address) (LiquidityProvider, error)
GetLiquidityProvider retrieve liquidity provider from the data store
func (KVStore) GetLiquidityProviderIterator ¶ added in v0.41.0
func (k KVStore) GetLiquidityProviderIterator(ctx cosmos.Context, asset common.Asset) cosmos.Iterator
GetLiquidityProviderIterator iterate liquidity providers
func (KVStore) GetLoanIterator ¶ added in v1.107.0
GetLoanIterator iterate loans
func (KVStore) GetLongRollup ¶ added in v1.121.0
func (KVStore) GetLowestActiveVersion ¶
GetLowestActiveVersion - get version number of lowest active node
func (KVStore) GetMimirIterator ¶
GetMimirIterator iterate gas units
func (KVStore) GetMimirV2 ¶ added in v1.124.0
GetMimir get a mimir value from key value store
func (KVStore) GetMinJoinLast ¶ added in v1.110.0
GetMinJoinLast returns the last stored MinJoinVersion and its last stored height, or else (at worse performance) the current MinJoinVersion and 0.
func (KVStore) GetMinJoinVersion ¶
GetMinJoinVersion - get min version to join. Min version is the most popular version
func (KVStore) GetModuleAccAddress ¶ added in v0.41.0
func (k KVStore) GetModuleAccAddress(module string) cosmos.AccAddress
func (KVStore) GetModuleAddress ¶ added in v0.41.0
func (KVStore) GetMostSecure ¶ added in v0.41.0
GetMostSecure with given list of vaults, find the vault that is most secure
func (KVStore) GetMostSecureStrict ¶ added in v1.121.0
func (k KVStore) GetMostSecureStrict(ctx cosmos.Context, vaults Vaults, signingTransPeriod int64) Vault
GetMostSecureStrict given list of vaults, find the most secure. if the most secure vault's bond is less than securityBps * the vault's asset value in rune, it is considered insecure and no vault is returned
func (KVStore) GetNativeTxFee ¶ added in v1.112.0
func (KVStore) GetNetwork ¶ added in v0.41.0
GetNetwork retrieve network data from key value store
func (KVStore) GetNetworkFee ¶
GetNetworkFee get the network fee of the given chain from kv store , if it doesn't exist , it will create an empty one
func (KVStore) GetNetworkFeeIterator ¶
GetNetworkFeeIterator
func (KVStore) GetNodeAccount ¶
func (k KVStore) GetNodeAccount(ctx cosmos.Context, addr cosmos.AccAddress) (NodeAccount, error)
GetNodeAccount try to get node account with the given address from db
func (KVStore) GetNodeAccountByPubKey ¶
GetNodeAccountByPubKey try to get node account with the given pubkey from db
func (KVStore) GetNodeAccountIterator ¶
GetNodeAccountIterator iterate node account
func (KVStore) GetNodeAccountJail ¶
GetNodeAccountJail - gets jail details for a given node address
func (KVStore) GetNodeAccountSlashPoints ¶
func (k KVStore) GetNodeAccountSlashPoints(ctx cosmos.Context, addr cosmos.AccAddress) (int64, error)
GetNodeAccountSlashPoints - get the slash points associated with the given node address
func (KVStore) GetNodeMimirIterator ¶ added in v0.78.0
GetNodeMimirIterator iterate gas units
func (KVStore) GetNodeMimirIteratorV2 ¶ added in v1.124.0
GetNodeMimirIterator iterate node mimirs
func (KVStore) GetNodeMimirs ¶ added in v0.78.0
GetNodeMimirs get node mimirs value from key value store
func (KVStore) GetNodeMimirsV2 ¶ added in v1.124.0
GetNodeMimirs get node mimirs value from key value store
func (KVStore) GetNodePauseChain ¶ added in v0.65.0
func (KVStore) GetObservedLink ¶ added in v1.89.0
func (KVStore) GetObservedNetworkFeeVoter ¶
func (k KVStore) GetObservedNetworkFeeVoter(ctx cosmos.Context, height int64, chain common.Chain, rate, size int64) (ObservedNetworkFeeVoter, error)
GetObservedNetworkFeeVoter - gets information of an observed network fee voter
func (KVStore) GetObservedNetworkFeeVoterIterator ¶
GetObservedNetworkFeeVoterIterator iterate tx in voters
func (KVStore) GetObservedTxInVoter ¶
func (k KVStore) GetObservedTxInVoter(ctx cosmos.Context, hash common.TxID) (ObservedTxVoter, error)
GetObservedTxInVoter - gets information of an observed inbound tx based on the txid
func (KVStore) GetObservedTxInVoterIterator ¶
GetObservedTxInVoterIterator iterate tx in voters
func (KVStore) GetObservedTxOutVoter ¶
func (k KVStore) GetObservedTxOutVoter(ctx cosmos.Context, hash common.TxID) (ObservedTxVoter, error)
GetObservedTxOutVoter - gets information of an observed outbound tx based on the txid
func (KVStore) GetObservedTxOutVoterIterator ¶
GetObservedTxOutVoterIterator iterate tx out voters
func (KVStore) GetObservingAddresses ¶
GetObservingAddresses - get list of observed addresses. This is a list of addresses that have recently contributed via observing a tx that got 2/3rds majority
func (KVStore) GetOrderBookIndex ¶ added in v1.95.0
GetOrderBookIndex - read the given order book index information from key values tore
func (KVStore) GetOrderBookIndexIterator ¶ added in v1.95.0
func (k KVStore) GetOrderBookIndexIterator(ctx cosmos.Context, order types.OrderType, source, target common.Asset) cosmos.Iterator
GetOrderBookIterator iterate order book items
func (KVStore) GetOrderBookItem ¶ added in v1.95.0
GetOrderBookItem - read the given order book item information from key values store
func (KVStore) GetOrderBookItemIterator ¶ added in v1.95.0
GetOrderBookItemIterator iterate order book items
func (KVStore) GetOrderBookProcessor ¶ added in v1.95.0
GetOrderBookProcessor - get a list of asset pairs to process
func (KVStore) GetOutboundFeeSpentRune ¶ added in v1.131.0
func (k KVStore) GetOutboundFeeSpentRune(ctx cosmos.Context, outAsset common.Asset) (cosmos.Uint, error)
GetOutboundFeeSpentRune - record of RUNE spent by the Reserve for an Asset's outbounds' gas costs
func (KVStore) GetOutboundFeeSpentRuneIterator ¶ added in v1.131.0
GetOutboundFeeSpentRuneIterator to iterate through all Assets' OutboundFeeSpentRune (e.g. for hard-fork GenesisState export)
func (KVStore) GetOutboundFeeWithheldRune ¶ added in v1.131.0
func (k KVStore) GetOutboundFeeWithheldRune(ctx cosmos.Context, outAsset common.Asset) (cosmos.Uint, error)
GetOutboundFeeWithheldRune - record of RUNE collected by the Reserve for an Asset's outbound fees
func (KVStore) GetOutboundFeeWithheldRuneIterator ¶ added in v1.131.0
GetOutboundFeeWithheldRuneIterator to iterate through all Assets' OutboundFeeWithheldRune (e.g. for hard-fork GenesisState export)
func (KVStore) GetOutboundTxFee ¶ added in v1.112.0
func (KVStore) GetPOL ¶ added in v1.95.0
func (k KVStore) GetPOL(ctx cosmos.Context) (ProtocolOwnedLiquidity, error)
GetPOL retrieve network data from key value store
func (KVStore) GetPendingOutbounds ¶ added in v1.127.0
GetPendingOutbounds selects txouts in the outbound and scheduled outbound queues (for deduction to leave only 'available' balances), as the amounts of both types of txout items are yet to be deducted from the vault balances
func (KVStore) GetPoolIterator ¶
GetPoolIterator iterate pools
func (KVStore) GetPoolLUVI ¶ added in v1.96.1
func (KVStore) GetPoolLiquidityFees ¶
func (k KVStore) GetPoolLiquidityFees(ctx cosmos.Context, height uint64, asset common.Asset) (cosmos.Uint, error)
GetPoolLiquidityFees - total of fees collected in each block per pool
func (KVStore) GetPoolRagnarokStart ¶ added in v1.91.0
GetPoolRagnarokStart get pool ragnarok start block height
func (KVStore) GetPoolSwapSlip ¶ added in v1.102.0
func (k KVStore) GetPoolSwapSlip(ctx cosmos.Context, height int64, asset common.Asset) (cosmos.Int, error)
GetPoolSwapSlip - total of slip in each block per pool
func (KVStore) GetRagnarokBlockHeight ¶
GetRagnarokBlockHeight get ragnarok block height from key value store
func (KVStore) GetRagnarokNth ¶
GetRagnarokNth when ragnarok get triggered , THORNode will use a few rounds to refund all assets this method return which round it is in
func (KVStore) GetRagnarokPending ¶
GetRagnarokPending get ragnarok pending state from key value store
func (KVStore) GetRagnarokWithdrawPosition ¶ added in v0.41.0
func (k KVStore) GetRagnarokWithdrawPosition(ctx cosmos.Context) (RagnarokWithdrawPosition, error)
GetRagnarokWithdrawPosition get ragnarok withdrawing position
func (KVStore) GetRollingPoolLiquidityFee ¶ added in v1.95.0
GetRollingPoolLiquidityFee get the given rolling liquidity fee from key value store
func (KVStore) GetRuneBalanceOfModule ¶
GetRuneBalanceOfModule get the RUNE balance
func (KVStore) GetSolvencyVoter ¶ added in v0.63.0
func (k KVStore) GetSolvencyVoter(ctx cosmos.Context, txID common.TxID, chain common.Chain) (SolvencyVoter, error)
GetSolvencyVoter - gets information of solvency voter
func (KVStore) GetStoreVersion ¶
GetStoreVersion get the current key value store version
func (KVStore) GetStreamingSwap ¶ added in v1.115.0
GetStreamingSwap retrieve streaming swap from the data store
func (KVStore) GetStreamingSwapIterator ¶ added in v1.115.0
GetStreamingSwapIterator iterate streaming swaps
func (KVStore) GetSwapQueueItem ¶
GetSwapQueueItem - write the given swap queue item information to key values tore
func (KVStore) GetSwapQueueIterator ¶
GetSwapQueueIterator iterate swap queue
func (KVStore) GetSwapSlipSnapShot ¶ added in v1.121.0
func (KVStore) GetSwapSlipSnapShotIterator ¶ added in v1.121.0
func (k KVStore) GetSwapSlipSnapShotIterator(ctx cosmos.Context, asset common.Asset) cosmos.Iterator
GetSwapSlipSnapShotIterator
func (KVStore) GetSwapperClout ¶ added in v1.125.0
func (KVStore) GetSwapperCloutIterator ¶ added in v1.125.0
func (KVStore) GetTHORName ¶ added in v0.58.0
GetTHORName get THORName with the given pubkey from data store
func (KVStore) GetTHORNameIterator ¶ added in v0.58.0
GetTHORNameIterator only iterate THORNames
func (KVStore) GetTHORNamePerBlockFee ¶ added in v1.112.0
func (KVStore) GetTHORNameRegisterFee ¶ added in v1.112.0
func (KVStore) GetTOIsValue ¶ added in v1.128.0
func (KVStore) GetTotalCollateral ¶ added in v1.107.0
func (KVStore) GetTotalLiquidityFees ¶
GetTotalLiquidityFees - total of all fees collected in each block
func (KVStore) GetTotalSupply ¶ added in v0.41.0
func (KVStore) GetTradeAccount ¶ added in v1.128.0
func (k KVStore) GetTradeAccount(ctx cosmos.Context, addr cosmos.AccAddress, asset common.Asset) (TradeAccount, error)
func (KVStore) GetTradeAccountIterator ¶ added in v1.128.0
func (KVStore) GetTradeAccountIteratorWithAddress ¶ added in v1.128.0
func (KVStore) GetTradeUnit ¶ added in v1.128.0
func (KVStore) GetTradeUnitIterator ¶ added in v1.128.0
func (KVStore) GetTradeUnitIteratorWithAddress ¶ added in v1.128.0
func (KVStore) GetTssKeygenMetric ¶ added in v0.41.0
func (k KVStore) GetTssKeygenMetric(ctx cosmos.Context, pubkey common.PubKey) (*TssKeygenMetric, error)
GetTssKeygenMetric get tss keygen metric from key value store
func (KVStore) GetTssKeysignFailVoter ¶
GetTssKeysignFailVoter - gets information of a tss keysign failure voter object
func (KVStore) GetTssKeysignFailVoterIterator ¶
GetTssKeysignFailVoterIterator iterate tx in voters
func (KVStore) GetTssKeysignMetric ¶ added in v0.41.0
func (k KVStore) GetTssKeysignMetric(ctx cosmos.Context, txID common.TxID) (*TssKeysignMetric, error)
GetTssKeysignMetric get tss keygen metric from key value store
func (KVStore) GetTssVoter ¶
GetTssVoter - gets information of a tx hash
func (KVStore) GetTssVoterIterator ¶
GetTssVoterIterator iterate tx in voters
func (KVStore) GetTxOutIterator ¶
GetTxOutIterator iterate tx out
func (KVStore) GetTxOutValue ¶ added in v0.65.0
func (KVStore) GetTxOutValueV1 ¶ added in v1.128.0
func (KVStore) GetTxOutValueV128 ¶ added in v1.128.0
func (KVStore) GetVaultIterator ¶
GetVaultIterator only iterate vault pools
func (KVStore) GetVersion ¶ added in v1.90.0
GetVersion return the current version
func (KVStore) GetVersionWithCtx ¶ added in v1.96.1
GetVersionWithCtx returns the version with the given context, and returns true if the version was found in the store
func (KVStore) HasOrderBookIndex ¶ added in v1.95.0
HasOrderBookIndex - checks if order book item already exists
func (KVStore) HasOrderBookItem ¶ added in v1.95.0
HasOrderBookItem - checks if order book item already exists
func (KVStore) HasSwapQueueItem ¶ added in v1.93.0
HasSwapQueueItem - checks if swap item already exists
func (KVStore) HasValidVaultPools ¶
HasValidVaultPools check the data store to see whether we have a valid vault
func (KVStore) IncNodeAccountSlashPoints ¶
func (k KVStore) IncNodeAccountSlashPoints(ctx cosmos.Context, addr cosmos.AccAddress, pts int64) error
IncNodeAccountSlashPoints - increments the slash points associated with the given node address and uint
func (KVStore) InvariantRoutes ¶ added in v1.107.0
func (k KVStore) InvariantRoutes() []common.InvariantRoute
InvariantRoutes return the keeper's invariant routes
func (KVStore) IsChainHalted ¶ added in v1.112.0
func (KVStore) IsChainTradingHalted ¶ added in v1.112.0
func (KVStore) IsGlobalTradingHalted ¶ added in v1.112.0
func (KVStore) IsLPPaused ¶ added in v1.112.0
func (KVStore) IsRagnarok ¶ added in v1.131.0
func (KVStore) IsTradingHalt ¶ added in v1.112.0
func (KVStore) ListActiveValidators ¶ added in v0.68.0
func (k KVStore) ListActiveValidators(ctx cosmos.Context) (NodeAccounts, error)
ListActiveValidators - get a list of active validator node accounts
func (KVStore) ListValidatorsByStatus ¶ added in v0.68.0
func (k KVStore) ListValidatorsByStatus(ctx cosmos.Context, status NodeStatus) (NodeAccounts, error)
ListValidatorsByStatus - get a list of validator node accounts with the given status
func (KVStore) ListValidatorsWithBond ¶ added in v0.68.0
func (k KVStore) ListValidatorsWithBond(ctx cosmos.Context) (NodeAccounts, error)
ListValidatorsWithBond - gets a list of all validator node accounts that have bond Note: the order of node account in the result is not defined
func (KVStore) MintAndSendToAccount ¶ added in v0.41.0
func (KVStore) MintToModule ¶ added in v0.41.0
func (KVStore) OrderBooksEnabled ¶ added in v1.108.0
OrderBooksEnabled return true if the orderbooks feature is enabled
func (KVStore) RagnarokInProgress ¶
RagnarokInProgress return true only when Ragnarok is happening, when Ragnarok block height is not 0
func (KVStore) ReleaseNodeAccountFromJail ¶ added in v0.73.0
ReleaseNodeAccountFromJail - update the jail details of a node account
func (KVStore) RemoveFromAsgardIndex ¶ added in v1.92.0
func (KVStore) RemoveLiquidityProvider ¶ added in v0.41.0
func (k KVStore) RemoveLiquidityProvider(ctx cosmos.Context, lp LiquidityProvider)
RemoveLiquidityProvider remove the liquidity provider to kv store
func (KVStore) RemoveLoan ¶ added in v1.107.0
RemoveLoan remove the loan to kv store
func (KVStore) RemoveLowBondValidatorAccounts ¶ added in v1.126.0
func (KVStore) RemoveOrderBookIndex ¶ added in v1.95.0
RemoveOrderBookIndex - removes a order book item from the kv store
func (KVStore) RemoveOrderBookItem ¶ added in v1.95.0
RemoveOrderBookItem - removes a order book item from the kv store
func (KVStore) RemoveStreamingSwap ¶ added in v1.115.0
RemoveStreamingSwap remove the loan to kv store
func (KVStore) RemoveSwapQueueItem ¶
RemoveSwapQueueItem - removes a swap item from the kv store
func (KVStore) RemoveTradeAccount ¶ added in v1.128.0
func (k KVStore) RemoveTradeAccount(ctx cosmos.Context, tr TradeAccount)
func (KVStore) ResetNodeAccountSlashPoints ¶
func (k KVStore) ResetNodeAccountSlashPoints(ctx cosmos.Context, addr cosmos.AccAddress)
ResetNodeAccountSlashPoints - reset the slash points to zero for associated with the given node address
func (KVStore) ResetRollingPoolLiquidityFee ¶ added in v1.95.0
ResetRollingPoolLiquidityFee set the given pool's rolling liquidity fee to zero
func (KVStore) RollupSwapSlip ¶ added in v1.102.0
func (k KVStore) RollupSwapSlip(ctx cosmos.Context, targetCount int64, asset common.Asset) (cosmos.Int, error)
RollupSwapSlip - sums the amount of slip in a given pool in the last targetCount blocks
func (KVStore) RunePerDollar ¶ added in v1.121.0
RunePerDollar gets in 1e8 terms the amount of Rune that is equal to 1 USD (in other words, 1 USD's price in Rune)
func (KVStore) SaveNetworkFee ¶
func (k KVStore) SaveNetworkFee(ctx cosmos.Context, chain common.Chain, networkFee NetworkFee) error
SaveNetworkFee save the network fee to kv store
func (KVStore) SendFromAccountToModule ¶
func (k KVStore) SendFromAccountToModule(ctx cosmos.Context, from cosmos.AccAddress, to string, coins common.Coins) error
SendFromAccountToModule transfer fund from one account to a module
func (KVStore) SendFromModuleToAccount ¶
func (k KVStore) SendFromModuleToAccount(ctx cosmos.Context, from string, to cosmos.AccAddress, coins common.Coins) error
SendFromModuleToAccount transfer fund from module to an account
func (KVStore) SendFromModuleToModule ¶
func (k KVStore) SendFromModuleToModule(ctx cosmos.Context, from, to string, coins common.Coins) error
SendFromModuleToModule transfer asset from one module to another
func (KVStore) SetAffiliateCollector ¶ added in v1.116.0
func (k KVStore) SetAffiliateCollector(ctx cosmos.Context, collector AffiliateFeeCollector)
func (KVStore) SetBanVoter ¶
SetBanVoter - save a ban voter object
func (KVStore) SetBondProviders ¶ added in v0.81.0
func (k KVStore) SetBondProviders(ctx cosmos.Context, record BondProviders) error
SetBondProviders - update the bond providers of a node account
func (KVStore) SetChainContract ¶ added in v0.41.0
func (k KVStore) SetChainContract(ctx cosmos.Context, cc ChainContract)
SetChainContract - save chain contract address
func (KVStore) SetCurrentRollup ¶ added in v1.121.0
func (KVStore) SetErrataTxVoter ¶
func (k KVStore) SetErrataTxVoter(ctx cosmos.Context, errata ErrataTxVoter)
SetErrataTxVoter - save a errata voter object
func (KVStore) SetKeygenBlock ¶
func (k KVStore) SetKeygenBlock(ctx cosmos.Context, keygen KeygenBlock)
SetKeygenBlock save the KeygenBlock to kv store
func (KVStore) SetLastChainHeight ¶
SetLastChainHeight save last chain height
func (KVStore) SetLastObserveHeight ¶ added in v0.41.0
func (k KVStore) SetLastObserveHeight(ctx cosmos.Context, chain common.Chain, address cosmos.AccAddress, height int64) error
SetLastObserveHeight save the last observe height into key value store
func (KVStore) SetLastSignedHeight ¶
SetLastSignedHeight save last signed height into kv store
func (KVStore) SetLiquidityProvider ¶ added in v0.41.0
func (k KVStore) SetLiquidityProvider(ctx cosmos.Context, lp LiquidityProvider)
SetLiquidityProvider save the liquidity provider to kv store
func (KVStore) SetLongRollup ¶ added in v1.121.0
func (KVStore) SetMimirV2 ¶ added in v1.124.0
SetMimir save a mimir value to key value store
func (KVStore) SetMinJoinLast ¶ added in v1.110.0
SetMinJoinLast updates-if-changed the MinJoinVersion and its height when changed.
func (KVStore) SetNetwork ¶ added in v0.41.0
SetNetwork save the given network data to key value store, it will overwrite existing vault
func (KVStore) SetNodeAccount ¶
func (k KVStore) SetNodeAccount(ctx cosmos.Context, na NodeAccount) error
SetNodeAccount save the given node account into data store
func (KVStore) SetNodeAccountJail ¶
func (k KVStore) SetNodeAccountJail(ctx cosmos.Context, addr cosmos.AccAddress, height int64, reason string) error
SetNodeAccountJail - update the jail details of a node account
func (KVStore) SetNodeAccountSlashPoints ¶
SetNodeAccountSlashPoints - set the slash points associated with the given node address and uint
func (KVStore) SetNodeMimir ¶ added in v0.78.0
func (k KVStore) SetNodeMimir(ctx cosmos.Context, key string, value int64, acc cosmos.AccAddress) error
SetNodeMimir save a mimir value to key value store for a specific node
func (KVStore) SetNodeMimirV2 ¶ added in v1.124.0
func (k KVStore) SetNodeMimirV2(ctx cosmos.Context, key string, value int64, acc cosmos.AccAddress) error
SetNodeMimir save a mimir value to key value store for a specific node
func (KVStore) SetNodePauseChain ¶ added in v0.65.0
func (k KVStore) SetNodePauseChain(ctx cosmos.Context, acc cosmos.AccAddress)
func (KVStore) SetObservedLink ¶ added in v1.89.0
func (KVStore) SetObservedNetworkFeeVoter ¶
func (k KVStore) SetObservedNetworkFeeVoter(ctx cosmos.Context, networkFeeVoter ObservedNetworkFeeVoter)
SetObservedNetworkFeeVoter - save a observed network fee voter object
func (KVStore) SetObservedTxInVoter ¶
func (k KVStore) SetObservedTxInVoter(ctx cosmos.Context, tx ObservedTxVoter)
SetObservedTxInVoter - save a txin voter object
func (KVStore) SetObservedTxOutVoter ¶
func (k KVStore) SetObservedTxOutVoter(ctx cosmos.Context, tx ObservedTxVoter)
SetObservedTxOutVoter - save a txout voter object
func (KVStore) SetOrderBookIndex ¶ added in v1.95.0
SetOrderBookIndex - writes a order book index to the kv store
func (KVStore) SetOrderBookItem ¶ added in v1.95.0
SetOrderBookItem - writes a order book item to the kv store
func (KVStore) SetOrderBookProcessor ¶ added in v1.95.0
SetOrderBookProcessor - writes a list of pairs to process
func (KVStore) SetPOL ¶ added in v1.95.0
func (k KVStore) SetPOL(ctx cosmos.Context, data ProtocolOwnedLiquidity) error
SetPOL save the given network data to key value store, it will overwrite existing vault
func (KVStore) SetPoolLUVI ¶ added in v1.96.1
func (KVStore) SetPoolRagnarokStart ¶ added in v1.91.0
SetPoolRagnarokStart set pool ragnarok start block height
func (KVStore) SetRagnarokBlockHeight ¶
SetRagnarokBlockHeight save ragnarok block height to key value store, once it get set , it means ragnarok started
func (KVStore) SetRagnarokNth ¶
SetRagnarokNth save the round number into key value store
func (KVStore) SetRagnarokPending ¶
SetRagnarokPending save ragnarok pending to key value store
func (KVStore) SetRagnarokWithdrawPosition ¶ added in v0.41.0
func (k KVStore) SetRagnarokWithdrawPosition(ctx cosmos.Context, position RagnarokWithdrawPosition)
SetRagnarokWithdrawPosition set ragnarok withdraw position
func (KVStore) SetSolvencyVoter ¶ added in v0.63.0
func (k KVStore) SetSolvencyVoter(ctx cosmos.Context, solvencyVoter SolvencyVoter)
SetSolvencyVoter - save a solvency voter object
func (KVStore) SetStoreVersion ¶
SetStoreVersion save the store version
func (KVStore) SetStreamingSwap ¶ added in v1.115.0
func (k KVStore) SetStreamingSwap(ctx cosmos.Context, swp StreamingSwap)
SetStreamingSwap save the streaming swap to kv store
func (KVStore) SetSwapQueueItem ¶
SetSwapQueueItem - writes a swap item to the kv store
func (KVStore) SetSwapSlipSnapShot ¶ added in v1.121.0
func (KVStore) SetSwapperClout ¶ added in v1.125.0
func (k KVStore) SetSwapperClout(ctx cosmos.Context, record SwapperClout) error
func (KVStore) SetTHORName ¶ added in v0.58.0
SetTHORName save the THORName object to store
func (KVStore) SetTotalCollateral ¶ added in v1.107.0
func (KVStore) SetTradeAccount ¶ added in v1.128.0
func (k KVStore) SetTradeAccount(ctx cosmos.Context, tr TradeAccount)
func (KVStore) SetTradeUnit ¶ added in v1.128.0
func (KVStore) SetTssKeygenMetric ¶ added in v0.41.0
func (k KVStore) SetTssKeygenMetric(ctx cosmos.Context, metric *TssKeygenMetric)
SetTssKeygenMetric save TssKeygenMetric to key value store
func (KVStore) SetTssKeysignFailVoter ¶
func (k KVStore) SetTssKeysignFailVoter(ctx cosmos.Context, tss TssKeysignFailVoter)
SetTssKeysignFailVoter - save a tss keysign fail voter object
func (KVStore) SetTssKeysignMetric ¶ added in v0.41.0
func (k KVStore) SetTssKeysignMetric(ctx cosmos.Context, metric *TssKeysignMetric)
SetTssKeysignMetric save TssKeygenMetric to key value store
func (KVStore) SetTssVoter ¶
SetTssVoter - save a tss voter object
func (*KVStore) SetVersion ¶ added in v0.81.0
func (KVStore) SetVersionWithCtx ¶ added in v1.96.1
SetVersionWithCtx stores the version
func (KVStore) SortBySecurity ¶ added in v0.41.0
SortBySecurity sorts a list of vaults in an order by how close the total value of the vault is to the total bond of the members of that vault. Sorts by least secure to most secure.
func (KVStore) StreamingSwapExists ¶ added in v1.115.0
StreamingSwapExists check whether the given hash is associated with a swap
func (KVStore) THORNameExists ¶ added in v0.58.0
THORNameExists check whether the given name exists
func (KVStore) TotalActiveValidators ¶ added in v0.68.0
TotalActiveValidators count the number of active node account
type KeygenBlock ¶
type KeygenBlock = types.KeygenBlock
type LiquidityProvider ¶ added in v0.41.0
type LiquidityProvider = types.LiquidityProvider
type MinJoinLast ¶ added in v1.110.0
type MinJoinLast = types.MinJoinLast
type MsgAddLiquidity ¶ added in v1.112.0
type MsgAddLiquidity = types.MsgAddLiquidity
type NetworkFee ¶
type NetworkFee = types.NetworkFee
type NodeAccount ¶
type NodeAccount = types.NodeAccount
type NodeAccounts ¶
type NodeAccounts = types.NodeAccounts
type NodeMimirs ¶ added in v0.78.0
type NodeMimirs = types.NodeMimirs
type NodeStatus ¶
type NodeStatus = types.NodeStatus
type ObservedNetworkFeeVoter ¶
type ObservedNetworkFeeVoter = types.ObservedNetworkFeeVoter
type ObservedTxVoter ¶
type ObservedTxVoter = types.ObservedTxVoter
type ObservedTxs ¶
type ObservedTxs = types.ObservedTxs
type ProtoAccAddresses ¶ added in v0.41.0
type ProtoAccAddresses = types.ProtoAccAddresses
type ProtoBools ¶ added in v1.96.1
type ProtoBools = types.ProtoBools
type ProtoInt64 ¶ added in v0.41.0
type ProtoInt64 = types.ProtoInt64
type ProtoStrings ¶ added in v0.41.0
type ProtoStrings = types.ProtoStrings
type ProtoUint64 ¶ added in v0.41.0
type ProtoUint64 = types.ProtoUint64
type ProtocolOwnedLiquidity ¶ added in v1.95.0
type ProtocolOwnedLiquidity = types.ProtocolOwnedLiquidity
type RagnarokWithdrawPosition ¶ added in v0.41.0
type RagnarokWithdrawPosition = types.RagnarokWithdrawPosition
type ReserveContributors ¶
type ReserveContributors = types.ReserveContributors
type SolvencyVoter ¶ added in v0.63.0
type SolvencyVoter = types.SolvencyVoter
type StreamingSwap ¶ added in v1.115.0
type StreamingSwap = types.StreamingSwap
type SwapperClout ¶ added in v1.125.0
type SwapperClout = types.SwapperClout
type THORNameAlias ¶ added in v0.58.0
type THORNameAlias = types.THORNameAlias
type TradeAccount ¶ added in v1.128.0
type TradeAccount = types.TradeAccount
type TssKeygenMetric ¶ added in v0.41.0
type TssKeygenMetric = types.TssKeygenMetric
type TssKeysignFailVoter ¶
type TssKeysignFailVoter = types.TssKeysignFailVoter
type TssKeysignMetric ¶ added in v0.41.0
type TssKeysignMetric = types.TssKeysignMetric
type VaultSecurity ¶ added in v1.121.0
type VaultStatus ¶
type VaultStatus = types.VaultStatus
Source Files ¶
- alias.go
- invariants.go
- keeper.go
- keeper_anchors.go
- keeper_anchors_archive.go
- keeper_ban.go
- keeper_chain_contract.go
- keeper_clout.go
- keeper_config.go
- keeper_errata.go
- keeper_halt.go
- keeper_keygen.go
- keeper_last_height.go
- keeper_liquidity_fees.go
- keeper_liquidity_provider.go
- keeper_loan.go
- keeper_mimir.go
- keeper_mimirV2.go
- keeper_network.go
- keeper_network_fee.go
- keeper_node_account.go
- keeper_observed_network_fee_voter.go
- keeper_observer.go
- keeper_orderbooks.go
- keeper_outbound_fees.go
- keeper_pool.go
- keeper_ragnarok.go
- keeper_reserve_contributors.go
- keeper_solvency_voter.go
- keeper_streaming_swap.go
- keeper_swap_queue.go
- keeper_swap_slip.go
- keeper_thorname.go
- keeper_trade_accounts.go
- keeper_tss.go
- keeper_tss_keysign_fail.go
- keeper_txin.go
- keeper_txout.go
- keeper_txout_archive.go
- keeper_vault.go
- keeper_version.go