Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "clp"
Variables ¶
This section is empty.
Functions ¶
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
Types ¶
type GenesisState ¶
type GenesisState struct { Params Params `json:"params" yaml:"params"` AddressWhitelist []sdk.AccAddress `json:"address_whitelist"` PoolList Pools `json:"pool_list"` LiquidityProviderList LiquidityProviders `json:"liquidity_provider_list"` }
type LiquidityProvider ¶
type LiquidityProvider struct { Asset Asset `json:"asset"` LiquidityProviderUnits sdk.Uint `json:"liquidity_provider_units"` LiquidityProviderAddress sdk.AccAddress `json:"liquidity_provider_address"` }
type LiquidityProviders ¶
type LiquidityProviders []LiquidityProvider
type Params ¶
type Params struct {
MinCreatePoolThreshold uint `json:"min_create_pool_threshold"`
}
Params - used for initializing default parameter for clp at genesis
Click to show internal directories.
Click to hide internal directories.