Documentation ¶
Index ¶
- type Id
- type Mimir
- func GetMimir(id Id, ref string) (Mimir, bool)
- func GetMimirByKey(key string) (Mimir, bool)
- func NewAffiliateFeeBasisPointsMax(refs ...string) Mimir
- func NewBondPause(refs ...string) Mimir
- func NewConfBasisPointValue(refs ...string) Mimir
- func NewMaxConfValue(refs ...string) Mimir
- func NewSwapSlipBasisPointsMin(refs ...string) Mimir
- func NewSwapperCloutLimit(refs ...string) Mimir
- func NewSwapperCloutReset(refs ...string) Mimir
- func NewTradeAccountsEnabled(refs ...string) Mimir
- type MimirType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Id ¶
type Id int32
const ( Unknown Id = iota AffiliateFeeBasisPointsMax BondPause ConfMultiplierBasisPoints // https://gitlab.com/thorchain/thornode/-/issues/1599 MaxConfirmations // https://gitlab.com/thorchain/thornode/-/issues/1761 CloutSwapperLimit CloutSwapperReset SwapSlipBasisPointsMin TradeAccountEnabled )
type Mimir ¶
type Mimir interface { LegacyKey(_ string) string Tags() []string Description() string Name() string Reference() string DefaultValue() int64 Type() MimirType FetchValue(_ cosmos.Context, _ keeper.Keeper) int64 IsOn(_ cosmos.Context, _ keeper.Keeper) bool IsOff(_ cosmos.Context, _ keeper.Keeper) bool }
func GetMimirByKey ¶ added in v1.125.0
GetMimirByKey fetches a mimir by key
func NewBondPause ¶
func NewConfBasisPointValue ¶ added in v1.125.0
func NewMaxConfValue ¶ added in v1.125.0
func NewSwapSlipBasisPointsMin ¶ added in v1.128.0
func NewSwapperCloutLimit ¶ added in v1.125.0
func NewSwapperCloutReset ¶ added in v1.125.0
func NewTradeAccountsEnabled ¶ added in v1.128.0
Click to show internal directories.
Click to hide internal directories.