types

package
v1.3.1-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeCreatePool                          = "created_new_pool"
	EventTypeDecommissionPool                    = "decommission_pool"
	EventTypeAddNewPmtpPolicy                    = "pmtp_new_policy"
	EventTypeEndPmtpPolicy                       = "pmtp_end_policy"
	EventTypeCreateLiquidityProvider             = "created_new_liquidity_provider"
	EventTypeAddLiquidity                        = "added_liquidity"
	EventTypeRemoveLiquidity                     = "removed_liquidity"
	EventTypeRequestUnlock                       = "request_unlock_liquidity"
	EventTypeCancelUnlock                        = "cancel_unlock_liquidity"
	EventTypeSwap                                = "swap_successful"
	EventTypeSwapFailed                          = "swap_failed"
	EventTypeUpdateLiquidityProtectionParams     = "liquidity_protection_update_params"
	EventTypeUpdateLiquidityProtectionRateParams = "liquidity_protection_update_rate_params"
	EventTypeAddNewProviderDistributionPolicy    = "lppd_new_policy"
	EventTypeProviderDistributionDistribution    = "lppd_distribution"
	EventTypeProcessedRemovalQueue               = "processed_removal_queue"
	EventTypeQueueRemovalRequest                 = "queue_removal_request"
	EventTypeDequeueRemovalRequest               = "dequeue_removal_request"
	EventTypeProcessRemovalError                 = "process_removal_error"
	EventTypeAddLiquidityToRewardsBucket         = "added_liquidity_to_rewards_bucket"
	AttributeKeyThreshold                        = "min_threshold"
	AttributeKeySwapAmount                       = "swap_amount"
	AttributeKeyLiquidityFee                     = "liquidity_fee"
	AttributeKeyPriceImpact                      = "price_impact"
	AttributeKeyInPool                           = "in_pool"
	AttributeKeyOutPool                          = "out_pool"
	AttributePmtpBlockRate                       = "pmtp_block_rate"
	AttributePmtpCurrentRunningRate              = "pmtp_current_running_rate"
	AttributeKeyPool                             = "pool"
	AttributeKeyHeight                           = "height"
	AttributeKeyLiquidityProvider                = "liquidity_provider"
	AttributeKeyUnits                            = "liquidity_units"
	AttributeKeyPmtpPolicyParams                 = "pmtp_policy_params"
	AttributeKeyPmtpRateParams                   = "pmtp_rate_params"
	AttributeKeyLiquidityProtectionParams        = "liquidity_protection_params"
	AttributeKeyLiquidityProtectionRateParams    = "liquidity_protection_rate_params"
	AttributeKeyProviderDistributionParams       = "lppd_params"
	AttributeValueCategory                       = ModuleName
	AttributeProbiverDistributionAmount          = "lppd_distribution_amount"
	AttributeProbiverDistributionReceiver        = "lppd_distribution_receiver"
	AttributeKeyError                            = "error"
	AttributeKeyDenom                            = "denom"
	AttributeKeyAmount                           = "amount"
)
View Source
const (
	// ModuleName is the name of the module
	ModuleName = "clp"

	// StoreKey to be used when creating the KVStore
	StoreKey = ModuleName

	// RouterKey to be used for routing msgs
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_clp"

	// QuerierRoute to be used for querier msgs
	QuerierRoute = ModuleName

	NativeSymbol        = "rowan"
	PoolThrehold        = "1000000000000000000"
	NativeAssetDecimals = 18

	MaxSymbolLength = 71
	MaxWbasis       = 10000
)
View Source
const (
	QueryPool                  = "pool"
	QueryPools                 = "allpools"
	QueryAssetList             = "assetList"
	QueryLiquidityProvider     = "liquidityProvider"
	QueryLiquidityProviderData = "liquidityProviderData"
	QueryLPList                = "lpList"
	QueryAllLP                 = "allLp"
	QueryParams                = "params"
	QueryRewardParams          = "rewardParams"
	QueryPmtpParams            = "pmtpParams"
	QueryRewardsBucket         = "rewardsBucket"
	QueryRewardsBuckets        = "allRewardsBuckets"
)
View Source
const (
	DefaultMinCreatePoolThreshold uint64 = 100
)

Default parameter namespace

View Source
const (
	// RewardsBucketKeyPrefix is the prefix to retrieve all RewardsBucket
	RewardsBucketKeyPrefix = "RewardsBucket/value/"
)
View Source
const TypeMsgAddLiquidityToRewardsBucketRequest = "add_liquidity_to_rewards_bucket"

Variables

View Source
var (
	Amino     = amino
	ModuleCdc = codec.NewAminoCodec(amino)
)
View Source
var (
	ErrInvalid                                         = sdkerrors.Register(ModuleName, 1, "invalid")
	ErrPoolDoesNotExist                                = sdkerrors.Register(ModuleName, 2, "pool does not exist")
	ErrLiquidityProviderDoesNotExist                   = sdkerrors.Register(ModuleName, 3, "liquidity Provider does not exist")
	ErrInValidAsset                                    = sdkerrors.Register(ModuleName, 4, "asset is invalid")
	ErrInValidAmount                                   = sdkerrors.Register(ModuleName, 5, "amount is invalid")
	ErrTotalAmountTooLow                               = sdkerrors.Register(ModuleName, 7, "total amount is less than minimum threshold")
	ErrNotEnoughAssetTokens                            = sdkerrors.Register(ModuleName, 8, "not enough received asset tokens to swap")
	ErrInvalidAsymmetry                                = sdkerrors.Register(ModuleName, 9, "Asymmetry has to be between -10000 and 10000")
	ErrInvalidWBasis                                   = sdkerrors.Register(ModuleName, 10, "WBasisPoints has to be positive")
	ErrBalanceTooHigh                                  = sdkerrors.Register(ModuleName, 11, "Pool Balance too high to be decommissioned")
	ErrUnableToSetPool                                 = sdkerrors.Register(ModuleName, 12, "Unable to set pool")
	ErrUnableToDestroyPool                             = sdkerrors.Register(ModuleName, 13, "Unable to destroy pool")
	ErrUnableToCreatePool                              = sdkerrors.Register(ModuleName, 14, "Unable to create pool")
	ErrBalanceNotAvailable                             = sdkerrors.Register(ModuleName, 18, "user does not have enough balance of the required coin")
	ErrTokenNotSupported                               = sdkerrors.Register(ModuleName, 19, "Token not supported by sifchain")
	ErrUnableToAddBalance                              = sdkerrors.Register(ModuleName, 20, "unable to add balance")
	ErrNotEnoughLiquidity                              = sdkerrors.Register(ModuleName, 21, "pool does not have sufficient balance")
	ErrPoolTooShallow                                  = sdkerrors.Register(ModuleName, 23, "Cannot withdraw pool is too shallow")
	ErrOverFlow                                        = sdkerrors.Register(ModuleName, 24, "IntegerOverflow")
	ErrUnableToAddLiquidity                            = sdkerrors.Register(ModuleName, 25, "Unable to add liquidity")
	ErrUnableToRemoveLiquidity                         = sdkerrors.Register(ModuleName, 26, "Unable to remove liquidity")
	ErrUnableToSwap                                    = sdkerrors.Register(ModuleName, 27, "Unable to swap")
	ErrUnableToRemoveLiquidityProvider                 = sdkerrors.Register(ModuleName, 28, "Unable to add liquidity provider")
	ErrUnableToDecommissionPool                        = sdkerrors.Register(ModuleName, 29, "Unable to decommission pool")
	ErrUnableToParseInt                                = sdkerrors.Register(ModuleName, 30, "Unable to parse to Int")
	ErrReceivedAmountBelowExpected                     = sdkerrors.Register(ModuleName, 31, "Unable to swap, received amount is below expected")
	ErrAmountTooLow                                    = sdkerrors.Register(ModuleName, 32, "Tx amount is too low")
	ErrNotEnoughPermissions                            = sdkerrors.Register(ModuleName, 33, "Signer does not have permissions to execute this action")
	ErrCannotStartPolicy                               = sdkerrors.Register(ModuleName, 34, "A new policy can be started only after the current policy has ended")
	ErrAsymmetricAdd                                   = sdkerrors.Register(ModuleName, 35, "Cannot add liquidity asymmetrically")
	ErrAsymmetricRemove                                = sdkerrors.Register(ModuleName, 36, "Cannot remove liquidity asymmetrically")
	ErrAsymmetricRatioAdd                              = sdkerrors.Register(ModuleName, 37, "Cannot add liquidity with asymmetric ratio")
	ErrTypeCast                                        = sdkerrors.Register(ModuleName, 38, "Could not perform type cast")
	ErrReachedMaxRowanLiquidityThreshold               = sdkerrors.Register(ModuleName, 39, "Unable to swap, reached maximum rowan liquidity threshold")
	ErrMaxRowanLiquidityThresholdAssetPoolDoesNotExist = sdkerrors.Register(ModuleName, 40, "Unable to swap, max rowan liquidity threshold asset pool does not exist")
	ErrQueued                                          = sdkerrors.Register(ModuleName, 41, "Cannot process immediately, request has been queued")
	ErrRemovalsBlockedByHealth                         = sdkerrors.Register(ModuleName, 42, "Cannot remove liquidity due to low pool health")
	ErrBalanceModuleAccountCheck                       = sdkerrors.Register(ModuleName, 43, "Balance of module account check failed")
	ErrUnitsCheck                                      = sdkerrors.Register(ModuleName, 44, "Pool vs LP units check failed")
	ErrDenomCantBeEmpty                                = sdkerrors.Register(ModuleName, 45, "denom cannot be empty")
	ErrAmountCantBeNegative                            = sdkerrors.Register(ModuleName, 46, "amount cannot be negative")
	ErrRewardsBucketNotFound                           = sdkerrors.Register(ModuleName, 47, "rewards bucket not found for denom: %s")
	ErrNotEnoughBalanceInRewardsBucket                 = sdkerrors.Register(ModuleName, 48, "not enough balance in rewards bucket for denom: %s")
	ErrUnableToGetRewardsEligibleLiquidityProviders    = sdkerrors.Register(ModuleName, 49, "unable to get rewards eligible liquidity providers")
	ErrUnableToDistributeLPRewards                     = sdkerrors.Register(ModuleName, 50, "unable to distribute liquidity provider rewards")
	ErrUnableToAddRewardAmountToLiquidityPool          = sdkerrors.Register(ModuleName, 51, "unable to add reward amount to liquidity pool")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	PoolPrefix                          = []byte{0x00} // key for storing Pools
	LiquidityProviderPrefix             = []byte{0x01} // key for storing Liquidity Providers
	WhiteListValidatorPrefix            = []byte{0x02} // Key to store WhiteList , allowed to decommission pools
	PmtpRateParamsPrefix                = []byte{0x03} // Key to store the Pmtp rate params
	PmtpEpochPrefix                     = []byte{0x04} // Key to store the Epoch
	PmtpParamsPrefix                    = []byte{0x05} // Key to store the Pmtp params
	RewardParamPrefix                   = []byte{0x06}
	SymmetryThresholdPrefix             = []byte{0x07}
	LiquidityProtectionParamsPrefix     = []byte{0x08} // Key to store the Liquidity Protection params
	LiquidityProtectionRateParamsPrefix = []byte{0x09} // Key to store the Liquidity Protection rate params
	ProviderDistributionParamsPrefix    = []byte{0x0a}
	RewardsBlockDistributionPrefix      = []byte{0x0b}
	SwapFeeParamsPrefix                 = []byte{0x0c}
	RemovalRequestPrefix                = []byte{0x0d}
	RemovalQueuePrefix                  = []byte{0x0e}
)
View Source
var (
	KeyMinCreatePoolThreshold = []byte("MinCreatePoolThreshold")
	KeyEnableRemovalQueue     = []byte("EnableRemovalQueue")
)

Parameter store keys

View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuerier        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuerier          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuerier = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRewardsBucket        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRewardsBucket          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRewardsBucket = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var SwapStatus_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "NO_SWAP",
	2: "SELL_NATIVE",
	3: "BUY_NATIVE",
}
View Source
var SwapStatus_value = map[string]int32{
	"UNSPECIFIED": 0,
	"NO_SWAP":     1,
	"SELL_NATIVE": 2,
	"BUY_NATIVE":  3,
}

Functions

func GetCLPModuleAddress

func GetCLPModuleAddress() sdk.AccAddress

func GetDefaultCLPAdmin

func GetDefaultCLPAdmin() sdk.AccAddress

func GetLiquidityProviderKey

func GetLiquidityProviderKey(externalTicker string, lp string) []byte

Generate key to store a Liquidity Provider The key is of the format ticker_lpaddress Example : eth_sif1azpar20ck9lpys89r8x7zc8yu0qzgvtp48ng5v and converted into bytes after adding a prefix

func GetPoolKey

func GetPoolKey(externalTicker string, nativeTicker string) ([]byte, error)

Generates a key for storing a specific pool The key is of the format externalticker_nativeticker Example : eth_rwn and converted into bytes after adding a prefix

func GetRemovalQueueKey added in v1.4.0

func GetRemovalQueueKey(symbol string) []byte

func GetRemovalRequestKey added in v1.4.0

func GetRemovalRequestKey(request RemovalRequest) []byte

GetRemovalRequestKey generates a key to store a removal request, the key is in the format: lpaddress_id

func GetRemovalRequestLPPrefix added in v1.4.0

func GetRemovalRequestLPPrefix(lpaddress string) []byte

func KeyPrefix added in v1.4.0

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable for clp module

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterCodec registers concrete types on codec

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RewardsBucketKey added in v1.4.0

func RewardsBucketKey(
	denom string,
) []byte

RewardsBucketKey returns the store key to retrieve a RewardsBucket from the index fields

func StringCompare added in v1.4.0

func StringCompare(a, b string) bool

func VerifyRange

func VerifyRange(num, low, high int) bool

Types

type AdminKeeper added in v0.13.4

type AdminKeeper interface {
	IsAdminAccount(ctx sdk.Context, moduleName admintypes.AdminType, adminAccount sdk.AccAddress) bool
}

type AllRewardsBucketReq added in v1.4.0

type AllRewardsBucketReq struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*AllRewardsBucketReq) Descriptor added in v1.4.0

func (*AllRewardsBucketReq) Descriptor() ([]byte, []int)

func (*AllRewardsBucketReq) GetPagination added in v1.4.0

func (m *AllRewardsBucketReq) GetPagination() *query.PageRequest

func (*AllRewardsBucketReq) Marshal added in v1.4.0

func (m *AllRewardsBucketReq) Marshal() (dAtA []byte, err error)

func (*AllRewardsBucketReq) MarshalTo added in v1.4.0

func (m *AllRewardsBucketReq) MarshalTo(dAtA []byte) (int, error)

func (*AllRewardsBucketReq) MarshalToSizedBuffer added in v1.4.0

func (m *AllRewardsBucketReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllRewardsBucketReq) ProtoMessage added in v1.4.0

func (*AllRewardsBucketReq) ProtoMessage()

func (*AllRewardsBucketReq) Reset added in v1.4.0

func (m *AllRewardsBucketReq) Reset()

func (*AllRewardsBucketReq) Size added in v1.4.0

func (m *AllRewardsBucketReq) Size() (n int)

func (*AllRewardsBucketReq) String added in v1.4.0

func (m *AllRewardsBucketReq) String() string

func (*AllRewardsBucketReq) Unmarshal added in v1.4.0

func (m *AllRewardsBucketReq) Unmarshal(dAtA []byte) error

func (*AllRewardsBucketReq) XXX_DiscardUnknown added in v1.4.0

func (m *AllRewardsBucketReq) XXX_DiscardUnknown()

func (*AllRewardsBucketReq) XXX_Marshal added in v1.4.0

func (m *AllRewardsBucketReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllRewardsBucketReq) XXX_Merge added in v1.4.0

func (m *AllRewardsBucketReq) XXX_Merge(src proto.Message)

func (*AllRewardsBucketReq) XXX_Size added in v1.4.0

func (m *AllRewardsBucketReq) XXX_Size() int

func (*AllRewardsBucketReq) XXX_Unmarshal added in v1.4.0

func (m *AllRewardsBucketReq) XXX_Unmarshal(b []byte) error

type AllRewardsBucketRes added in v1.4.0

type AllRewardsBucketRes struct {
	RewardsBucket []RewardsBucket     `protobuf:"bytes,1,rep,name=rewards_bucket,json=rewardsBucket,proto3" json:"rewards_bucket"`
	Pagination    *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*AllRewardsBucketRes) Descriptor added in v1.4.0

func (*AllRewardsBucketRes) Descriptor() ([]byte, []int)

func (*AllRewardsBucketRes) GetPagination added in v1.4.0

func (m *AllRewardsBucketRes) GetPagination() *query.PageResponse

func (*AllRewardsBucketRes) GetRewardsBucket added in v1.4.0

func (m *AllRewardsBucketRes) GetRewardsBucket() []RewardsBucket

func (*AllRewardsBucketRes) Marshal added in v1.4.0

func (m *AllRewardsBucketRes) Marshal() (dAtA []byte, err error)

func (*AllRewardsBucketRes) MarshalTo added in v1.4.0

func (m *AllRewardsBucketRes) MarshalTo(dAtA []byte) (int, error)

func (*AllRewardsBucketRes) MarshalToSizedBuffer added in v1.4.0

func (m *AllRewardsBucketRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllRewardsBucketRes) ProtoMessage added in v1.4.0

func (*AllRewardsBucketRes) ProtoMessage()

func (*AllRewardsBucketRes) Reset added in v1.4.0

func (m *AllRewardsBucketRes) Reset()

func (*AllRewardsBucketRes) Size added in v1.4.0

func (m *AllRewardsBucketRes) Size() (n int)

func (*AllRewardsBucketRes) String added in v1.4.0

func (m *AllRewardsBucketRes) String() string

func (*AllRewardsBucketRes) Unmarshal added in v1.4.0

func (m *AllRewardsBucketRes) Unmarshal(dAtA []byte) error

func (*AllRewardsBucketRes) XXX_DiscardUnknown added in v1.4.0

func (m *AllRewardsBucketRes) XXX_DiscardUnknown()

func (*AllRewardsBucketRes) XXX_Marshal added in v1.4.0

func (m *AllRewardsBucketRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllRewardsBucketRes) XXX_Merge added in v1.4.0

func (m *AllRewardsBucketRes) XXX_Merge(src proto.Message)

func (*AllRewardsBucketRes) XXX_Size added in v1.4.0

func (m *AllRewardsBucketRes) XXX_Size() int

func (*AllRewardsBucketRes) XXX_Unmarshal added in v1.4.0

func (m *AllRewardsBucketRes) XXX_Unmarshal(b []byte) error

type Asset

type Asset struct {
	Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
}

func GetSettlementAsset

func GetSettlementAsset() Asset

func NewAsset

func NewAsset(symbol string) Asset

NewAsset returns a new Asset

func (*Asset) Descriptor

func (*Asset) Descriptor() ([]byte, []int)

func (Asset) Equals

func (a Asset) Equals(a2 Asset) bool

func (*Asset) GetSymbol

func (m *Asset) GetSymbol() string

func (Asset) IsEmpty

func (a Asset) IsEmpty() bool

func (*Asset) IsSettlementAsset added in v0.14.0

func (a *Asset) IsSettlementAsset() bool

func (*Asset) Marshal

func (m *Asset) Marshal() (dAtA []byte, err error)

func (*Asset) MarshalTo

func (m *Asset) MarshalTo(dAtA []byte) (int, error)

func (*Asset) MarshalToSizedBuffer

func (m *Asset) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) Reset

func (m *Asset) Reset()

func (*Asset) Size

func (m *Asset) Size() (n int)

func (*Asset) String

func (m *Asset) String() string

func (*Asset) Unmarshal

func (m *Asset) Unmarshal(dAtA []byte) error

func (Asset) Validate

func (a Asset) Validate() bool

func (*Asset) XXX_DiscardUnknown

func (m *Asset) XXX_DiscardUnknown()

func (*Asset) XXX_Marshal

func (m *Asset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Asset) XXX_Merge

func (m *Asset) XXX_Merge(src proto.Message)

func (*Asset) XXX_Size

func (m *Asset) XXX_Size() int

func (*Asset) XXX_Unmarshal

func (m *Asset) XXX_Unmarshal(b []byte) error

type AssetListReq

type AssetListReq struct {
	LpAddress  string             `protobuf:"bytes,1,opt,name=lp_address,json=lpAddress,proto3" json:"lp_address,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*AssetListReq) Descriptor

func (*AssetListReq) Descriptor() ([]byte, []int)

func (*AssetListReq) Marshal

func (m *AssetListReq) Marshal() (dAtA []byte, err error)

func (*AssetListReq) MarshalTo

func (m *AssetListReq) MarshalTo(dAtA []byte) (int, error)

func (*AssetListReq) MarshalToSizedBuffer

func (m *AssetListReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AssetListReq) ProtoMessage

func (*AssetListReq) ProtoMessage()

func (*AssetListReq) Reset

func (m *AssetListReq) Reset()

func (*AssetListReq) Size

func (m *AssetListReq) Size() (n int)

func (*AssetListReq) String

func (m *AssetListReq) String() string

func (*AssetListReq) Unmarshal

func (m *AssetListReq) Unmarshal(dAtA []byte) error

func (*AssetListReq) XXX_DiscardUnknown

func (m *AssetListReq) XXX_DiscardUnknown()

func (*AssetListReq) XXX_Marshal

func (m *AssetListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetListReq) XXX_Merge

func (m *AssetListReq) XXX_Merge(src proto.Message)

func (*AssetListReq) XXX_Size

func (m *AssetListReq) XXX_Size() int

func (*AssetListReq) XXX_Unmarshal

func (m *AssetListReq) XXX_Unmarshal(b []byte) error

type AssetListRes

type AssetListRes struct {
	Assets     []*Asset            `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
	Height     int64               `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*AssetListRes) Descriptor

func (*AssetListRes) Descriptor() ([]byte, []int)

func (*AssetListRes) GetAssets

func (m *AssetListRes) GetAssets() []*Asset

func (*AssetListRes) GetHeight

func (m *AssetListRes) GetHeight() int64

func (*AssetListRes) GetPagination

func (m *AssetListRes) GetPagination() *query.PageResponse

func (*AssetListRes) Marshal

func (m *AssetListRes) Marshal() (dAtA []byte, err error)

func (*AssetListRes) MarshalTo

func (m *AssetListRes) MarshalTo(dAtA []byte) (int, error)

func (*AssetListRes) MarshalToSizedBuffer

func (m *AssetListRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AssetListRes) ProtoMessage

func (*AssetListRes) ProtoMessage()

func (*AssetListRes) Reset

func (m *AssetListRes) Reset()

func (*AssetListRes) Size

func (m *AssetListRes) Size() (n int)

func (*AssetListRes) String

func (m *AssetListRes) String() string

func (*AssetListRes) Unmarshal

func (m *AssetListRes) Unmarshal(dAtA []byte) error

func (*AssetListRes) XXX_DiscardUnknown

func (m *AssetListRes) XXX_DiscardUnknown()

func (*AssetListRes) XXX_Marshal

func (m *AssetListRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetListRes) XXX_Merge

func (m *AssetListRes) XXX_Merge(src proto.Message)

func (*AssetListRes) XXX_Size

func (m *AssetListRes) XXX_Size() int

func (*AssetListRes) XXX_Unmarshal

func (m *AssetListRes) XXX_Unmarshal(b []byte) error

type Assets

type Assets []Asset

type AuthKeeper

type AuthKeeper interface {
	SetModuleAccount(sdk.Context, authtypes.ModuleAccountI)
	GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI
}

type BankKeeper

type BankKeeper interface {
	SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, name string, amt sdk.Coins) error
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	HasBalance(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coin) bool
}

type EventPolicy added in v0.13.0

type EventPolicy struct {
	EventType            string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
	PmtpPeriodStartBlock string `protobuf:"bytes,2,opt,name=pmtp_period_start_block,json=pmtpPeriodStartBlock,proto3" json:"pmtp_period_start_block,omitempty"`
	PmtpPeriodEndBlock   string `protobuf:"bytes,3,opt,name=pmtp_period_end_block,json=pmtpPeriodEndBlock,proto3" json:"pmtp_period_end_block,omitempty"`
}

func (*EventPolicy) Descriptor added in v0.13.0

func (*EventPolicy) Descriptor() ([]byte, []int)

func (*EventPolicy) GetEventType added in v0.13.0

func (m *EventPolicy) GetEventType() string

func (*EventPolicy) GetPmtpPeriodEndBlock added in v0.13.0

func (m *EventPolicy) GetPmtpPeriodEndBlock() string

func (*EventPolicy) GetPmtpPeriodStartBlock added in v0.13.0

func (m *EventPolicy) GetPmtpPeriodStartBlock() string

func (*EventPolicy) Marshal added in v0.13.0

func (m *EventPolicy) Marshal() (dAtA []byte, err error)

func (*EventPolicy) MarshalTo added in v0.13.0

func (m *EventPolicy) MarshalTo(dAtA []byte) (int, error)

func (*EventPolicy) MarshalToSizedBuffer added in v0.13.0

func (m *EventPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventPolicy) ProtoMessage added in v0.13.0

func (*EventPolicy) ProtoMessage()

func (*EventPolicy) Reset added in v0.13.0

func (m *EventPolicy) Reset()

func (*EventPolicy) Size added in v0.13.0

func (m *EventPolicy) Size() (n int)

func (*EventPolicy) String added in v0.13.0

func (m *EventPolicy) String() string

func (*EventPolicy) Unmarshal added in v0.13.0

func (m *EventPolicy) Unmarshal(dAtA []byte) error

func (*EventPolicy) XXX_DiscardUnknown added in v0.13.0

func (m *EventPolicy) XXX_DiscardUnknown()

func (*EventPolicy) XXX_Marshal added in v0.13.0

func (m *EventPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventPolicy) XXX_Merge added in v0.13.0

func (m *EventPolicy) XXX_Merge(src proto.Message)

func (*EventPolicy) XXX_Size added in v0.13.0

func (m *EventPolicy) XXX_Size() int

func (*EventPolicy) XXX_Unmarshal added in v0.13.0

func (m *EventPolicy) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	Params             Params               `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	AddressWhitelist   []string             `protobuf:"bytes,2,rep,name=address_whitelist,json=addressWhitelist,proto3" json:"address_whitelist,omitempty"`
	PoolList           []*Pool              `protobuf:"bytes,3,rep,name=pool_list,json=poolList,proto3" json:"pool_list,omitempty"`
	LiquidityProviders []*LiquidityProvider `protobuf:"bytes,4,rep,name=liquidity_providers,json=liquidityProviders,proto3" json:"liquidity_providers,omitempty"`
	RewardsBucketList  []RewardsBucket      `protobuf:"bytes,5,rep,name=rewards_bucket_list,json=rewardsBucketList,proto3" json:"rewards_bucket_list"`
}

GenesisState - all clp state that must be provided at genesis TODO: Add parameters to Genesis state ,such as minimum liquidity required to create a pool

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState gets the raw genesis raw message for testing

func GetGenesisStateFromAppState

func GetGenesisStateFromAppState(marshaler codec.JSONCodec, appState map[string]json.RawMessage) GenesisState

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetAddressWhitelist

func (m *GenesisState) GetAddressWhitelist() []string

func (*GenesisState) GetLiquidityProviders

func (m *GenesisState) GetLiquidityProviders() []*LiquidityProvider

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPoolList

func (m *GenesisState) GetPoolList() []*Pool

func (*GenesisState) GetRewardsBucketList added in v1.4.0

func (m *GenesisState) GetRewardsBucketList() []RewardsBucket

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate added in v1.4.0

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type LiquidityProtectionParams added in v0.13.4

type LiquidityProtectionParams struct {
	MaxRowanLiquidityThreshold      github_com_cosmos_cosmos_sdk_types.Uint `` /* 184-byte string literal not displayed */
	MaxRowanLiquidityThresholdAsset string                                  `` /* 160-byte string literal not displayed */
	EpochLength                     uint64                                  `protobuf:"varint,3,opt,name=epoch_length,json=epochLength,proto3" json:"epoch_length,omitempty"`
	IsActive                        bool                                    `protobuf:"varint,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
}

func GetDefaultLiquidityProtectionParams added in v0.13.4

func GetDefaultLiquidityProtectionParams() *LiquidityProtectionParams

func (*LiquidityProtectionParams) Descriptor added in v0.13.4

func (*LiquidityProtectionParams) Descriptor() ([]byte, []int)

func (*LiquidityProtectionParams) GetEpochLength added in v0.13.4

func (m *LiquidityProtectionParams) GetEpochLength() uint64

func (*LiquidityProtectionParams) GetIsActive added in v0.13.4

func (m *LiquidityProtectionParams) GetIsActive() bool

func (*LiquidityProtectionParams) GetMaxRowanLiquidityThresholdAsset added in v0.13.4

func (m *LiquidityProtectionParams) GetMaxRowanLiquidityThresholdAsset() string

func (*LiquidityProtectionParams) Marshal added in v0.13.4

func (m *LiquidityProtectionParams) Marshal() (dAtA []byte, err error)

func (*LiquidityProtectionParams) MarshalTo added in v0.13.4

func (m *LiquidityProtectionParams) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProtectionParams) MarshalToSizedBuffer added in v0.13.4

func (m *LiquidityProtectionParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProtectionParams) ProtoMessage added in v0.13.4

func (*LiquidityProtectionParams) ProtoMessage()

func (*LiquidityProtectionParams) Reset added in v0.13.4

func (m *LiquidityProtectionParams) Reset()

func (*LiquidityProtectionParams) Size added in v0.13.4

func (m *LiquidityProtectionParams) Size() (n int)

func (*LiquidityProtectionParams) String added in v0.13.4

func (m *LiquidityProtectionParams) String() string

func (*LiquidityProtectionParams) Unmarshal added in v0.13.4

func (m *LiquidityProtectionParams) Unmarshal(dAtA []byte) error

func (*LiquidityProtectionParams) XXX_DiscardUnknown added in v0.13.4

func (m *LiquidityProtectionParams) XXX_DiscardUnknown()

func (*LiquidityProtectionParams) XXX_Marshal added in v0.13.4

func (m *LiquidityProtectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProtectionParams) XXX_Merge added in v0.13.4

func (m *LiquidityProtectionParams) XXX_Merge(src proto.Message)

func (*LiquidityProtectionParams) XXX_Size added in v0.13.4

func (m *LiquidityProtectionParams) XXX_Size() int

func (*LiquidityProtectionParams) XXX_Unmarshal added in v0.13.4

func (m *LiquidityProtectionParams) XXX_Unmarshal(b []byte) error

type LiquidityProtectionParamsReq added in v0.13.4

type LiquidityProtectionParamsReq struct {
}

func (*LiquidityProtectionParamsReq) Descriptor added in v0.13.4

func (*LiquidityProtectionParamsReq) Descriptor() ([]byte, []int)

func (*LiquidityProtectionParamsReq) Marshal added in v0.13.4

func (m *LiquidityProtectionParamsReq) Marshal() (dAtA []byte, err error)

func (*LiquidityProtectionParamsReq) MarshalTo added in v0.13.4

func (m *LiquidityProtectionParamsReq) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProtectionParamsReq) MarshalToSizedBuffer added in v0.13.4

func (m *LiquidityProtectionParamsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProtectionParamsReq) ProtoMessage added in v0.13.4

func (*LiquidityProtectionParamsReq) ProtoMessage()

func (*LiquidityProtectionParamsReq) Reset added in v0.13.4

func (m *LiquidityProtectionParamsReq) Reset()

func (*LiquidityProtectionParamsReq) Size added in v0.13.4

func (m *LiquidityProtectionParamsReq) Size() (n int)

func (*LiquidityProtectionParamsReq) String added in v0.13.4

func (*LiquidityProtectionParamsReq) Unmarshal added in v0.13.4

func (m *LiquidityProtectionParamsReq) Unmarshal(dAtA []byte) error

func (*LiquidityProtectionParamsReq) XXX_DiscardUnknown added in v0.13.4

func (m *LiquidityProtectionParamsReq) XXX_DiscardUnknown()

func (*LiquidityProtectionParamsReq) XXX_Marshal added in v0.13.4

func (m *LiquidityProtectionParamsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProtectionParamsReq) XXX_Merge added in v0.13.4

func (m *LiquidityProtectionParamsReq) XXX_Merge(src proto.Message)

func (*LiquidityProtectionParamsReq) XXX_Size added in v0.13.4

func (m *LiquidityProtectionParamsReq) XXX_Size() int

func (*LiquidityProtectionParamsReq) XXX_Unmarshal added in v0.13.4

func (m *LiquidityProtectionParamsReq) XXX_Unmarshal(b []byte) error

type LiquidityProtectionParamsRes added in v0.13.4

type LiquidityProtectionParamsRes struct {
	Params     *LiquidityProtectionParams     `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	RateParams *LiquidityProtectionRateParams `protobuf:"bytes,2,opt,name=rate_params,json=rateParams,proto3" json:"rate_params,omitempty"`
	Height     int64                          `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
}

func NewLiquidityProtectionParamsResponse added in v0.13.4

func NewLiquidityProtectionParamsResponse(params *LiquidityProtectionParams, rateParams LiquidityProtectionRateParams, height int64) LiquidityProtectionParamsRes

func (*LiquidityProtectionParamsRes) Descriptor added in v0.13.4

func (*LiquidityProtectionParamsRes) Descriptor() ([]byte, []int)

func (*LiquidityProtectionParamsRes) GetHeight added in v0.13.4

func (m *LiquidityProtectionParamsRes) GetHeight() int64

func (*LiquidityProtectionParamsRes) GetParams added in v0.13.4

func (*LiquidityProtectionParamsRes) GetRateParams added in v0.13.4

func (*LiquidityProtectionParamsRes) Marshal added in v0.13.4

func (m *LiquidityProtectionParamsRes) Marshal() (dAtA []byte, err error)

func (*LiquidityProtectionParamsRes) MarshalTo added in v0.13.4

func (m *LiquidityProtectionParamsRes) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProtectionParamsRes) MarshalToSizedBuffer added in v0.13.4

func (m *LiquidityProtectionParamsRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProtectionParamsRes) ProtoMessage added in v0.13.4

func (*LiquidityProtectionParamsRes) ProtoMessage()

func (*LiquidityProtectionParamsRes) Reset added in v0.13.4

func (m *LiquidityProtectionParamsRes) Reset()

func (*LiquidityProtectionParamsRes) Size added in v0.13.4

func (m *LiquidityProtectionParamsRes) Size() (n int)

func (*LiquidityProtectionParamsRes) String added in v0.13.4

func (*LiquidityProtectionParamsRes) Unmarshal added in v0.13.4

func (m *LiquidityProtectionParamsRes) Unmarshal(dAtA []byte) error

func (*LiquidityProtectionParamsRes) XXX_DiscardUnknown added in v0.13.4

func (m *LiquidityProtectionParamsRes) XXX_DiscardUnknown()

func (*LiquidityProtectionParamsRes) XXX_Marshal added in v0.13.4

func (m *LiquidityProtectionParamsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProtectionParamsRes) XXX_Merge added in v0.13.4

func (m *LiquidityProtectionParamsRes) XXX_Merge(src proto.Message)

func (*LiquidityProtectionParamsRes) XXX_Size added in v0.13.4

func (m *LiquidityProtectionParamsRes) XXX_Size() int

func (*LiquidityProtectionParamsRes) XXX_Unmarshal added in v0.13.4

func (m *LiquidityProtectionParamsRes) XXX_Unmarshal(b []byte) error

type LiquidityProtectionRateParams added in v0.13.4

type LiquidityProtectionRateParams struct {
	CurrentRowanLiquidityThreshold github_com_cosmos_cosmos_sdk_types.Uint `` /* 196-byte string literal not displayed */
}

func (*LiquidityProtectionRateParams) Descriptor added in v0.13.4

func (*LiquidityProtectionRateParams) Descriptor() ([]byte, []int)

func (*LiquidityProtectionRateParams) Marshal added in v0.13.4

func (m *LiquidityProtectionRateParams) Marshal() (dAtA []byte, err error)

func (*LiquidityProtectionRateParams) MarshalTo added in v0.13.4

func (m *LiquidityProtectionRateParams) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProtectionRateParams) MarshalToSizedBuffer added in v0.13.4

func (m *LiquidityProtectionRateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProtectionRateParams) ProtoMessage added in v0.13.4

func (*LiquidityProtectionRateParams) ProtoMessage()

func (*LiquidityProtectionRateParams) Reset added in v0.13.4

func (m *LiquidityProtectionRateParams) Reset()

func (*LiquidityProtectionRateParams) Size added in v0.13.4

func (m *LiquidityProtectionRateParams) Size() (n int)

func (*LiquidityProtectionRateParams) String added in v0.13.4

func (*LiquidityProtectionRateParams) Unmarshal added in v0.13.4

func (m *LiquidityProtectionRateParams) Unmarshal(dAtA []byte) error

func (*LiquidityProtectionRateParams) XXX_DiscardUnknown added in v0.13.4

func (m *LiquidityProtectionRateParams) XXX_DiscardUnknown()

func (*LiquidityProtectionRateParams) XXX_Marshal added in v0.13.4

func (m *LiquidityProtectionRateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProtectionRateParams) XXX_Merge added in v0.13.4

func (m *LiquidityProtectionRateParams) XXX_Merge(src proto.Message)

func (*LiquidityProtectionRateParams) XXX_Size added in v0.13.4

func (m *LiquidityProtectionRateParams) XXX_Size() int

func (*LiquidityProtectionRateParams) XXX_Unmarshal added in v0.13.4

func (m *LiquidityProtectionRateParams) XXX_Unmarshal(b []byte) error

type LiquidityProvider

type LiquidityProvider struct {
	Asset                    *Asset                                  `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	LiquidityProviderUnits   github_com_cosmos_cosmos_sdk_types.Uint `` /* 202-byte string literal not displayed */
	LiquidityProviderAddress string                                  `` /* 135-byte string literal not displayed */
	Unlocks                  []*LiquidityUnlock                      `protobuf:"bytes,4,rep,name=unlocks,proto3" json:"unlocks,omitempty"`
	LastUpdatedBlock         int64                                   `protobuf:"varint,5,opt,name=last_updated_block,json=lastUpdatedBlock,proto3" json:"last_updated_block,omitempty"`
	// distributed or added to liquidity provider shares rewards
	RewardAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 141-byte string literal not displayed */
}

func NewLiquidityProvider

func NewLiquidityProvider(asset *Asset, liquidityProviderUnits sdk.Uint, liquidityProviderAddress sdk.AccAddress, lastUpdatedBlock int64) LiquidityProvider

NewLiquidityProvider returns a new LiquidityProvider

func (*LiquidityProvider) Descriptor

func (*LiquidityProvider) Descriptor() ([]byte, []int)

func (*LiquidityProvider) GetAsset

func (m *LiquidityProvider) GetAsset() *Asset

func (*LiquidityProvider) GetLastUpdatedBlock added in v1.4.0

func (m *LiquidityProvider) GetLastUpdatedBlock() int64

func (*LiquidityProvider) GetLiquidityProviderAddress

func (m *LiquidityProvider) GetLiquidityProviderAddress() string

func (*LiquidityProvider) GetRewardAmount added in v1.4.0

func (*LiquidityProvider) GetUnlocks added in v0.13.0

func (m *LiquidityProvider) GetUnlocks() []*LiquidityUnlock

func (*LiquidityProvider) Marshal

func (m *LiquidityProvider) Marshal() (dAtA []byte, err error)

func (*LiquidityProvider) MarshalTo

func (m *LiquidityProvider) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProvider) MarshalToSizedBuffer

func (m *LiquidityProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProvider) ProtoMessage

func (*LiquidityProvider) ProtoMessage()

func (*LiquidityProvider) Reset

func (m *LiquidityProvider) Reset()

func (*LiquidityProvider) Size

func (m *LiquidityProvider) Size() (n int)

func (*LiquidityProvider) String

func (m *LiquidityProvider) String() string

func (*LiquidityProvider) Unmarshal

func (m *LiquidityProvider) Unmarshal(dAtA []byte) error

func (LiquidityProvider) Validate

func (l LiquidityProvider) Validate() bool

func (*LiquidityProvider) XXX_DiscardUnknown

func (m *LiquidityProvider) XXX_DiscardUnknown()

func (*LiquidityProvider) XXX_Marshal

func (m *LiquidityProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProvider) XXX_Merge

func (m *LiquidityProvider) XXX_Merge(src proto.Message)

func (*LiquidityProvider) XXX_Size

func (m *LiquidityProvider) XXX_Size() int

func (*LiquidityProvider) XXX_Unmarshal

func (m *LiquidityProvider) XXX_Unmarshal(b []byte) error

type LiquidityProviderData

type LiquidityProviderData struct {
	LiquidityProvider    *LiquidityProvider `protobuf:"bytes,1,opt,name=liquidity_provider,json=liquidityProvider,proto3" json:"liquidity_provider,omitempty"`
	NativeAssetBalance   string             `protobuf:"bytes,2,opt,name=native_asset_balance,json=nativeAssetBalance,proto3" json:"native_asset_balance,omitempty"`
	ExternalAssetBalance string             `protobuf:"bytes,3,opt,name=external_asset_balance,json=externalAssetBalance,proto3" json:"external_asset_balance,omitempty"`
}

func NewLiquidityProviderData

func NewLiquidityProviderData(liquidityProvider LiquidityProvider, nativeBalance string, externalBalance string) LiquidityProviderData

func (*LiquidityProviderData) Descriptor

func (*LiquidityProviderData) Descriptor() ([]byte, []int)

func (*LiquidityProviderData) GetExternalAssetBalance

func (m *LiquidityProviderData) GetExternalAssetBalance() string

func (*LiquidityProviderData) GetLiquidityProvider

func (m *LiquidityProviderData) GetLiquidityProvider() *LiquidityProvider

func (*LiquidityProviderData) GetNativeAssetBalance

func (m *LiquidityProviderData) GetNativeAssetBalance() string

func (*LiquidityProviderData) Marshal

func (m *LiquidityProviderData) Marshal() (dAtA []byte, err error)

func (*LiquidityProviderData) MarshalTo

func (m *LiquidityProviderData) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProviderData) MarshalToSizedBuffer

func (m *LiquidityProviderData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProviderData) ProtoMessage

func (*LiquidityProviderData) ProtoMessage()

func (*LiquidityProviderData) Reset

func (m *LiquidityProviderData) Reset()

func (*LiquidityProviderData) Size

func (m *LiquidityProviderData) Size() (n int)

func (*LiquidityProviderData) String

func (m *LiquidityProviderData) String() string

func (*LiquidityProviderData) Unmarshal

func (m *LiquidityProviderData) Unmarshal(dAtA []byte) error

func (*LiquidityProviderData) XXX_DiscardUnknown

func (m *LiquidityProviderData) XXX_DiscardUnknown()

func (*LiquidityProviderData) XXX_Marshal

func (m *LiquidityProviderData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProviderData) XXX_Merge

func (m *LiquidityProviderData) XXX_Merge(src proto.Message)

func (*LiquidityProviderData) XXX_Size

func (m *LiquidityProviderData) XXX_Size() int

func (*LiquidityProviderData) XXX_Unmarshal

func (m *LiquidityProviderData) XXX_Unmarshal(b []byte) error

type LiquidityProviderDataReq

type LiquidityProviderDataReq struct {
	LpAddress  string             `protobuf:"bytes,1,opt,name=lp_address,json=lpAddress,proto3" json:"lp_address,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*LiquidityProviderDataReq) Descriptor

func (*LiquidityProviderDataReq) Descriptor() ([]byte, []int)

func (*LiquidityProviderDataReq) Marshal

func (m *LiquidityProviderDataReq) Marshal() (dAtA []byte, err error)

func (*LiquidityProviderDataReq) MarshalTo

func (m *LiquidityProviderDataReq) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProviderDataReq) MarshalToSizedBuffer

func (m *LiquidityProviderDataReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProviderDataReq) ProtoMessage

func (*LiquidityProviderDataReq) ProtoMessage()

func (*LiquidityProviderDataReq) Reset

func (m *LiquidityProviderDataReq) Reset()

func (*LiquidityProviderDataReq) Size

func (m *LiquidityProviderDataReq) Size() (n int)

func (*LiquidityProviderDataReq) String

func (m *LiquidityProviderDataReq) String() string

func (*LiquidityProviderDataReq) Unmarshal

func (m *LiquidityProviderDataReq) Unmarshal(dAtA []byte) error

func (*LiquidityProviderDataReq) XXX_DiscardUnknown

func (m *LiquidityProviderDataReq) XXX_DiscardUnknown()

func (*LiquidityProviderDataReq) XXX_Marshal

func (m *LiquidityProviderDataReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProviderDataReq) XXX_Merge

func (m *LiquidityProviderDataReq) XXX_Merge(src proto.Message)

func (*LiquidityProviderDataReq) XXX_Size

func (m *LiquidityProviderDataReq) XXX_Size() int

func (*LiquidityProviderDataReq) XXX_Unmarshal

func (m *LiquidityProviderDataReq) XXX_Unmarshal(b []byte) error

type LiquidityProviderDataRes

type LiquidityProviderDataRes struct {
	LiquidityProviderData []*LiquidityProviderData `` /* 126-byte string literal not displayed */
	Height                int64                    `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Pagination            *query.PageRequest       `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func NewLiquidityProviderDataResponse

func NewLiquidityProviderDataResponse(liquidityProviderData []*LiquidityProviderData, height int64) LiquidityProviderDataRes

func (*LiquidityProviderDataRes) Descriptor

func (*LiquidityProviderDataRes) Descriptor() ([]byte, []int)

func (*LiquidityProviderDataRes) GetHeight

func (m *LiquidityProviderDataRes) GetHeight() int64

func (*LiquidityProviderDataRes) GetLiquidityProviderData

func (m *LiquidityProviderDataRes) GetLiquidityProviderData() []*LiquidityProviderData

func (*LiquidityProviderDataRes) GetPagination

func (m *LiquidityProviderDataRes) GetPagination() *query.PageRequest

func (*LiquidityProviderDataRes) Marshal

func (m *LiquidityProviderDataRes) Marshal() (dAtA []byte, err error)

func (*LiquidityProviderDataRes) MarshalTo

func (m *LiquidityProviderDataRes) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProviderDataRes) MarshalToSizedBuffer

func (m *LiquidityProviderDataRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProviderDataRes) ProtoMessage

func (*LiquidityProviderDataRes) ProtoMessage()

func (*LiquidityProviderDataRes) Reset

func (m *LiquidityProviderDataRes) Reset()

func (*LiquidityProviderDataRes) Size

func (m *LiquidityProviderDataRes) Size() (n int)

func (*LiquidityProviderDataRes) String

func (m *LiquidityProviderDataRes) String() string

func (*LiquidityProviderDataRes) Unmarshal

func (m *LiquidityProviderDataRes) Unmarshal(dAtA []byte) error

func (*LiquidityProviderDataRes) XXX_DiscardUnknown

func (m *LiquidityProviderDataRes) XXX_DiscardUnknown()

func (*LiquidityProviderDataRes) XXX_Marshal

func (m *LiquidityProviderDataRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProviderDataRes) XXX_Merge

func (m *LiquidityProviderDataRes) XXX_Merge(src proto.Message)

func (*LiquidityProviderDataRes) XXX_Size

func (m *LiquidityProviderDataRes) XXX_Size() int

func (*LiquidityProviderDataRes) XXX_Unmarshal

func (m *LiquidityProviderDataRes) XXX_Unmarshal(b []byte) error

type LiquidityProviderListReq

type LiquidityProviderListReq struct {
	Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*LiquidityProviderListReq) Descriptor

func (*LiquidityProviderListReq) Descriptor() ([]byte, []int)

func (*LiquidityProviderListReq) Marshal

func (m *LiquidityProviderListReq) Marshal() (dAtA []byte, err error)

func (*LiquidityProviderListReq) MarshalTo

func (m *LiquidityProviderListReq) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProviderListReq) MarshalToSizedBuffer

func (m *LiquidityProviderListReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProviderListReq) ProtoMessage

func (*LiquidityProviderListReq) ProtoMessage()

func (*LiquidityProviderListReq) Reset

func (m *LiquidityProviderListReq) Reset()

func (*LiquidityProviderListReq) Size

func (m *LiquidityProviderListReq) Size() (n int)

func (*LiquidityProviderListReq) String

func (m *LiquidityProviderListReq) String() string

func (*LiquidityProviderListReq) Unmarshal

func (m *LiquidityProviderListReq) Unmarshal(dAtA []byte) error

func (*LiquidityProviderListReq) XXX_DiscardUnknown

func (m *LiquidityProviderListReq) XXX_DiscardUnknown()

func (*LiquidityProviderListReq) XXX_Marshal

func (m *LiquidityProviderListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProviderListReq) XXX_Merge

func (m *LiquidityProviderListReq) XXX_Merge(src proto.Message)

func (*LiquidityProviderListReq) XXX_Size

func (m *LiquidityProviderListReq) XXX_Size() int

func (*LiquidityProviderListReq) XXX_Unmarshal

func (m *LiquidityProviderListReq) XXX_Unmarshal(b []byte) error

type LiquidityProviderListRes

type LiquidityProviderListRes struct {
	LiquidityProviders []*LiquidityProvider `protobuf:"bytes,1,rep,name=liquidity_providers,json=liquidityProviders,proto3" json:"liquidity_providers,omitempty"`
	Height             int64                `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*LiquidityProviderListRes) Descriptor

func (*LiquidityProviderListRes) Descriptor() ([]byte, []int)

func (*LiquidityProviderListRes) GetHeight

func (m *LiquidityProviderListRes) GetHeight() int64

func (*LiquidityProviderListRes) GetLiquidityProviders

func (m *LiquidityProviderListRes) GetLiquidityProviders() []*LiquidityProvider

func (*LiquidityProviderListRes) GetPagination

func (m *LiquidityProviderListRes) GetPagination() *query.PageResponse

func (*LiquidityProviderListRes) Marshal

func (m *LiquidityProviderListRes) Marshal() (dAtA []byte, err error)

func (*LiquidityProviderListRes) MarshalTo

func (m *LiquidityProviderListRes) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProviderListRes) MarshalToSizedBuffer

func (m *LiquidityProviderListRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProviderListRes) ProtoMessage

func (*LiquidityProviderListRes) ProtoMessage()

func (*LiquidityProviderListRes) Reset

func (m *LiquidityProviderListRes) Reset()

func (*LiquidityProviderListRes) Size

func (m *LiquidityProviderListRes) Size() (n int)

func (*LiquidityProviderListRes) String

func (m *LiquidityProviderListRes) String() string

func (*LiquidityProviderListRes) Unmarshal

func (m *LiquidityProviderListRes) Unmarshal(dAtA []byte) error

func (*LiquidityProviderListRes) XXX_DiscardUnknown

func (m *LiquidityProviderListRes) XXX_DiscardUnknown()

func (*LiquidityProviderListRes) XXX_Marshal

func (m *LiquidityProviderListRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProviderListRes) XXX_Merge

func (m *LiquidityProviderListRes) XXX_Merge(src proto.Message)

func (*LiquidityProviderListRes) XXX_Size

func (m *LiquidityProviderListRes) XXX_Size() int

func (*LiquidityProviderListRes) XXX_Unmarshal

func (m *LiquidityProviderListRes) XXX_Unmarshal(b []byte) error

type LiquidityProviderReq

type LiquidityProviderReq struct {
	Symbol    string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	LpAddress string `protobuf:"bytes,2,opt,name=lp_address,json=lpAddress,proto3" json:"lp_address,omitempty"`
}

func (*LiquidityProviderReq) Descriptor

func (*LiquidityProviderReq) Descriptor() ([]byte, []int)

func (*LiquidityProviderReq) Marshal

func (m *LiquidityProviderReq) Marshal() (dAtA []byte, err error)

func (*LiquidityProviderReq) MarshalTo

func (m *LiquidityProviderReq) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProviderReq) MarshalToSizedBuffer

func (m *LiquidityProviderReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProviderReq) ProtoMessage

func (*LiquidityProviderReq) ProtoMessage()

func (*LiquidityProviderReq) Reset

func (m *LiquidityProviderReq) Reset()

func (*LiquidityProviderReq) Size

func (m *LiquidityProviderReq) Size() (n int)

func (*LiquidityProviderReq) String

func (m *LiquidityProviderReq) String() string

func (*LiquidityProviderReq) Unmarshal

func (m *LiquidityProviderReq) Unmarshal(dAtA []byte) error

func (*LiquidityProviderReq) XXX_DiscardUnknown

func (m *LiquidityProviderReq) XXX_DiscardUnknown()

func (*LiquidityProviderReq) XXX_Marshal

func (m *LiquidityProviderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProviderReq) XXX_Merge

func (m *LiquidityProviderReq) XXX_Merge(src proto.Message)

func (*LiquidityProviderReq) XXX_Size

func (m *LiquidityProviderReq) XXX_Size() int

func (*LiquidityProviderReq) XXX_Unmarshal

func (m *LiquidityProviderReq) XXX_Unmarshal(b []byte) error

type LiquidityProviderRes

type LiquidityProviderRes struct {
	LiquidityProvider    *LiquidityProvider `protobuf:"bytes,1,opt,name=liquidity_provider,json=liquidityProvider,proto3" json:"liquidity_provider,omitempty"`
	NativeAssetBalance   string             `protobuf:"bytes,2,opt,name=native_asset_balance,json=nativeAssetBalance,proto3" json:"native_asset_balance,omitempty"`
	ExternalAssetBalance string             `protobuf:"bytes,3,opt,name=external_asset_balance,json=externalAssetBalance,proto3" json:"external_asset_balance,omitempty"`
	Height               int64              `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
}

func NewLiquidityProviderResponse

func NewLiquidityProviderResponse(liquidityProvider LiquidityProvider, height int64, nativeBalance string, externalBalance string) LiquidityProviderRes

func (*LiquidityProviderRes) Descriptor

func (*LiquidityProviderRes) Descriptor() ([]byte, []int)

func (*LiquidityProviderRes) GetExternalAssetBalance

func (m *LiquidityProviderRes) GetExternalAssetBalance() string

func (*LiquidityProviderRes) GetHeight

func (m *LiquidityProviderRes) GetHeight() int64

func (*LiquidityProviderRes) GetLiquidityProvider

func (m *LiquidityProviderRes) GetLiquidityProvider() *LiquidityProvider

func (*LiquidityProviderRes) GetNativeAssetBalance

func (m *LiquidityProviderRes) GetNativeAssetBalance() string

func (*LiquidityProviderRes) Marshal

func (m *LiquidityProviderRes) Marshal() (dAtA []byte, err error)

func (*LiquidityProviderRes) MarshalTo

func (m *LiquidityProviderRes) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProviderRes) MarshalToSizedBuffer

func (m *LiquidityProviderRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProviderRes) ProtoMessage

func (*LiquidityProviderRes) ProtoMessage()

func (*LiquidityProviderRes) Reset

func (m *LiquidityProviderRes) Reset()

func (*LiquidityProviderRes) Size

func (m *LiquidityProviderRes) Size() (n int)

func (*LiquidityProviderRes) String

func (m *LiquidityProviderRes) String() string

func (*LiquidityProviderRes) Unmarshal

func (m *LiquidityProviderRes) Unmarshal(dAtA []byte) error

func (*LiquidityProviderRes) XXX_DiscardUnknown

func (m *LiquidityProviderRes) XXX_DiscardUnknown()

func (*LiquidityProviderRes) XXX_Marshal

func (m *LiquidityProviderRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProviderRes) XXX_Merge

func (m *LiquidityProviderRes) XXX_Merge(src proto.Message)

func (*LiquidityProviderRes) XXX_Size

func (m *LiquidityProviderRes) XXX_Size() int

func (*LiquidityProviderRes) XXX_Unmarshal

func (m *LiquidityProviderRes) XXX_Unmarshal(b []byte) error

type LiquidityProviders

type LiquidityProviders []LiquidityProvider

type LiquidityProvidersReq

type LiquidityProvidersReq struct {
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*LiquidityProvidersReq) Descriptor

func (*LiquidityProvidersReq) Descriptor() ([]byte, []int)

func (*LiquidityProvidersReq) Marshal

func (m *LiquidityProvidersReq) Marshal() (dAtA []byte, err error)

func (*LiquidityProvidersReq) MarshalTo

func (m *LiquidityProvidersReq) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProvidersReq) MarshalToSizedBuffer

func (m *LiquidityProvidersReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProvidersReq) ProtoMessage

func (*LiquidityProvidersReq) ProtoMessage()

func (*LiquidityProvidersReq) Reset

func (m *LiquidityProvidersReq) Reset()

func (*LiquidityProvidersReq) Size

func (m *LiquidityProvidersReq) Size() (n int)

func (*LiquidityProvidersReq) String

func (m *LiquidityProvidersReq) String() string

func (*LiquidityProvidersReq) Unmarshal

func (m *LiquidityProvidersReq) Unmarshal(dAtA []byte) error

func (*LiquidityProvidersReq) XXX_DiscardUnknown

func (m *LiquidityProvidersReq) XXX_DiscardUnknown()

func (*LiquidityProvidersReq) XXX_Marshal

func (m *LiquidityProvidersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProvidersReq) XXX_Merge

func (m *LiquidityProvidersReq) XXX_Merge(src proto.Message)

func (*LiquidityProvidersReq) XXX_Size

func (m *LiquidityProvidersReq) XXX_Size() int

func (*LiquidityProvidersReq) XXX_Unmarshal

func (m *LiquidityProvidersReq) XXX_Unmarshal(b []byte) error

type LiquidityProvidersRes

type LiquidityProvidersRes struct {
	LiquidityProviders []*LiquidityProvider `protobuf:"bytes,1,rep,name=liquidity_providers,json=liquidityProviders,proto3" json:"liquidity_providers,omitempty"`
	Height             int64                `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Pagination         *query.PageResponse  `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*LiquidityProvidersRes) Descriptor

func (*LiquidityProvidersRes) Descriptor() ([]byte, []int)

func (*LiquidityProvidersRes) GetHeight

func (m *LiquidityProvidersRes) GetHeight() int64

func (*LiquidityProvidersRes) GetLiquidityProviders

func (m *LiquidityProvidersRes) GetLiquidityProviders() []*LiquidityProvider

func (*LiquidityProvidersRes) GetPagination

func (m *LiquidityProvidersRes) GetPagination() *query.PageResponse

func (*LiquidityProvidersRes) Marshal

func (m *LiquidityProvidersRes) Marshal() (dAtA []byte, err error)

func (*LiquidityProvidersRes) MarshalTo

func (m *LiquidityProvidersRes) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProvidersRes) MarshalToSizedBuffer

func (m *LiquidityProvidersRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProvidersRes) ProtoMessage

func (*LiquidityProvidersRes) ProtoMessage()

func (*LiquidityProvidersRes) Reset

func (m *LiquidityProvidersRes) Reset()

func (*LiquidityProvidersRes) Size

func (m *LiquidityProvidersRes) Size() (n int)

func (*LiquidityProvidersRes) String

func (m *LiquidityProvidersRes) String() string

func (*LiquidityProvidersRes) Unmarshal

func (m *LiquidityProvidersRes) Unmarshal(dAtA []byte) error

func (*LiquidityProvidersRes) XXX_DiscardUnknown

func (m *LiquidityProvidersRes) XXX_DiscardUnknown()

func (*LiquidityProvidersRes) XXX_Marshal

func (m *LiquidityProvidersRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProvidersRes) XXX_Merge

func (m *LiquidityProvidersRes) XXX_Merge(src proto.Message)

func (*LiquidityProvidersRes) XXX_Size

func (m *LiquidityProvidersRes) XXX_Size() int

func (*LiquidityProvidersRes) XXX_Unmarshal

func (m *LiquidityProvidersRes) XXX_Unmarshal(b []byte) error

type LiquidityUnlock added in v0.13.0

type LiquidityUnlock struct {
	RequestHeight int64                                   `protobuf:"varint,1,opt,name=request_height,json=requestHeight,proto3" json:"request_height,omitempty"`
	Units         github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=units,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"units"`
}

func (*LiquidityUnlock) Descriptor added in v0.13.0

func (*LiquidityUnlock) Descriptor() ([]byte, []int)

func (*LiquidityUnlock) GetRequestHeight added in v0.13.0

func (m *LiquidityUnlock) GetRequestHeight() int64

func (*LiquidityUnlock) Marshal added in v0.13.0

func (m *LiquidityUnlock) Marshal() (dAtA []byte, err error)

func (*LiquidityUnlock) MarshalTo added in v0.13.0

func (m *LiquidityUnlock) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityUnlock) MarshalToSizedBuffer added in v0.13.0

func (m *LiquidityUnlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityUnlock) ProtoMessage added in v0.13.0

func (*LiquidityUnlock) ProtoMessage()

func (*LiquidityUnlock) Reset added in v0.13.0

func (m *LiquidityUnlock) Reset()

func (*LiquidityUnlock) Size added in v0.13.0

func (m *LiquidityUnlock) Size() (n int)

func (*LiquidityUnlock) String added in v0.13.0

func (m *LiquidityUnlock) String() string

func (*LiquidityUnlock) Unmarshal added in v0.13.0

func (m *LiquidityUnlock) Unmarshal(dAtA []byte) error

func (*LiquidityUnlock) XXX_DiscardUnknown added in v0.13.0

func (m *LiquidityUnlock) XXX_DiscardUnknown()

func (*LiquidityUnlock) XXX_Marshal added in v0.13.0

func (m *LiquidityUnlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityUnlock) XXX_Merge added in v0.13.0

func (m *LiquidityUnlock) XXX_Merge(src proto.Message)

func (*LiquidityUnlock) XXX_Size added in v0.13.0

func (m *LiquidityUnlock) XXX_Size() int

func (*LiquidityUnlock) XXX_Unmarshal added in v0.13.0

func (m *LiquidityUnlock) XXX_Unmarshal(b []byte) error

type MsgAddLiquidity

type MsgAddLiquidity struct {
	Signer              string                                  `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	ExternalAsset       *Asset                                  `protobuf:"bytes,2,opt,name=external_asset,json=externalAsset,proto3" json:"external_asset,omitempty" yaml:"external_asset"`
	NativeAssetAmount   github_com_cosmos_cosmos_sdk_types.Uint `` /* 182-byte string literal not displayed */
	ExternalAssetAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 190-byte string literal not displayed */
}

func NewMsgAddLiquidity

func NewMsgAddLiquidity(signer sdk.AccAddress, externalAsset Asset, nativeAssetAmount sdk.Uint, externalAssetAmount sdk.Uint) MsgAddLiquidity

func (*MsgAddLiquidity) Descriptor

func (*MsgAddLiquidity) Descriptor() ([]byte, []int)

func (*MsgAddLiquidity) GetExternalAsset

func (m *MsgAddLiquidity) GetExternalAsset() *Asset

func (MsgAddLiquidity) GetSignBytes

func (m MsgAddLiquidity) GetSignBytes() []byte

func (*MsgAddLiquidity) GetSigner

func (m *MsgAddLiquidity) GetSigner() string

func (MsgAddLiquidity) GetSigners

func (m MsgAddLiquidity) GetSigners() []sdk.AccAddress

func (*MsgAddLiquidity) Marshal

func (m *MsgAddLiquidity) Marshal() (dAtA []byte, err error)

func (*MsgAddLiquidity) MarshalTo

func (m *MsgAddLiquidity) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddLiquidity) MarshalToSizedBuffer

func (m *MsgAddLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddLiquidity) ProtoMessage

func (*MsgAddLiquidity) ProtoMessage()

func (*MsgAddLiquidity) Reset

func (m *MsgAddLiquidity) Reset()

func (MsgAddLiquidity) Route

func (m MsgAddLiquidity) Route() string

func (*MsgAddLiquidity) Size

func (m *MsgAddLiquidity) Size() (n int)

func (*MsgAddLiquidity) String

func (m *MsgAddLiquidity) String() string

func (MsgAddLiquidity) Type

func (m MsgAddLiquidity) Type() string

func (*MsgAddLiquidity) Unmarshal

func (m *MsgAddLiquidity) Unmarshal(dAtA []byte) error

func (MsgAddLiquidity) ValidateBasic

func (m MsgAddLiquidity) ValidateBasic() error

func (*MsgAddLiquidity) XXX_DiscardUnknown

func (m *MsgAddLiquidity) XXX_DiscardUnknown()

func (*MsgAddLiquidity) XXX_Marshal

func (m *MsgAddLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddLiquidity) XXX_Merge

func (m *MsgAddLiquidity) XXX_Merge(src proto.Message)

func (*MsgAddLiquidity) XXX_Size

func (m *MsgAddLiquidity) XXX_Size() int

func (*MsgAddLiquidity) XXX_Unmarshal

func (m *MsgAddLiquidity) XXX_Unmarshal(b []byte) error

type MsgAddLiquidityResponse

type MsgAddLiquidityResponse struct {
}

func (*MsgAddLiquidityResponse) Descriptor

func (*MsgAddLiquidityResponse) Descriptor() ([]byte, []int)

func (*MsgAddLiquidityResponse) Marshal

func (m *MsgAddLiquidityResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddLiquidityResponse) MarshalTo

func (m *MsgAddLiquidityResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddLiquidityResponse) MarshalToSizedBuffer

func (m *MsgAddLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddLiquidityResponse) ProtoMessage

func (*MsgAddLiquidityResponse) ProtoMessage()

func (*MsgAddLiquidityResponse) Reset

func (m *MsgAddLiquidityResponse) Reset()

func (*MsgAddLiquidityResponse) Size

func (m *MsgAddLiquidityResponse) Size() (n int)

func (*MsgAddLiquidityResponse) String

func (m *MsgAddLiquidityResponse) String() string

func (*MsgAddLiquidityResponse) Unmarshal

func (m *MsgAddLiquidityResponse) Unmarshal(dAtA []byte) error

func (*MsgAddLiquidityResponse) XXX_DiscardUnknown

func (m *MsgAddLiquidityResponse) XXX_DiscardUnknown()

func (*MsgAddLiquidityResponse) XXX_Marshal

func (m *MsgAddLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddLiquidityResponse) XXX_Merge

func (m *MsgAddLiquidityResponse) XXX_Merge(src proto.Message)

func (*MsgAddLiquidityResponse) XXX_Size

func (m *MsgAddLiquidityResponse) XXX_Size() int

func (*MsgAddLiquidityResponse) XXX_Unmarshal

func (m *MsgAddLiquidityResponse) XXX_Unmarshal(b []byte) error

type MsgAddLiquidityToRewardsBucketRequest added in v1.4.0

type MsgAddLiquidityToRewardsBucketRequest struct {
	Signer string       `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Amount []types.Coin `protobuf:"bytes,2,rep,name=amount,proto3" json:"amount"`
}

func NewMsgAddLiquidityToRewardsBucketRequest added in v1.4.0

func NewMsgAddLiquidityToRewardsBucketRequest(signer string, amount sdk.Coins) *MsgAddLiquidityToRewardsBucketRequest

func (*MsgAddLiquidityToRewardsBucketRequest) Descriptor added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) Descriptor() ([]byte, []int)

func (*MsgAddLiquidityToRewardsBucketRequest) GetAmount added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) GetSignBytes added in v1.4.0

func (msg *MsgAddLiquidityToRewardsBucketRequest) GetSignBytes() []byte

func (*MsgAddLiquidityToRewardsBucketRequest) GetSigner added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) GetSigners added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) Marshal added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketRequest) Marshal() (dAtA []byte, err error)

func (*MsgAddLiquidityToRewardsBucketRequest) MarshalTo added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddLiquidityToRewardsBucketRequest) MarshalToSizedBuffer added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddLiquidityToRewardsBucketRequest) ProtoMessage added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) ProtoMessage()

func (*MsgAddLiquidityToRewardsBucketRequest) Reset added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) Route added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) Size added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) String added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) Type added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) Unmarshal added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketRequest) Unmarshal(dAtA []byte) error

func (*MsgAddLiquidityToRewardsBucketRequest) ValidateBasic added in v1.4.0

func (msg *MsgAddLiquidityToRewardsBucketRequest) ValidateBasic() error

func (*MsgAddLiquidityToRewardsBucketRequest) XXX_DiscardUnknown added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketRequest) XXX_DiscardUnknown()

func (*MsgAddLiquidityToRewardsBucketRequest) XXX_Marshal added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddLiquidityToRewardsBucketRequest) XXX_Merge added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) XXX_Size added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketRequest) XXX_Unmarshal added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketRequest) XXX_Unmarshal(b []byte) error

type MsgAddLiquidityToRewardsBucketResponse added in v1.4.0

type MsgAddLiquidityToRewardsBucketResponse struct {
}

func (*MsgAddLiquidityToRewardsBucketResponse) Descriptor added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketResponse) Descriptor() ([]byte, []int)

func (*MsgAddLiquidityToRewardsBucketResponse) Marshal added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddLiquidityToRewardsBucketResponse) MarshalTo added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddLiquidityToRewardsBucketResponse) MarshalToSizedBuffer added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddLiquidityToRewardsBucketResponse) ProtoMessage added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketResponse) Reset added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketResponse) Size added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketResponse) String added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketResponse) Unmarshal added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketResponse) Unmarshal(dAtA []byte) error

func (*MsgAddLiquidityToRewardsBucketResponse) XXX_DiscardUnknown added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketResponse) XXX_DiscardUnknown()

func (*MsgAddLiquidityToRewardsBucketResponse) XXX_Marshal added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddLiquidityToRewardsBucketResponse) XXX_Merge added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketResponse) XXX_Size added in v1.4.0

func (*MsgAddLiquidityToRewardsBucketResponse) XXX_Unmarshal added in v1.4.0

func (m *MsgAddLiquidityToRewardsBucketResponse) XXX_Unmarshal(b []byte) error

type MsgAddProviderDistributionPeriodRequest added in v0.13.4

type MsgAddProviderDistributionPeriodRequest struct {
	Signer              string                        `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	DistributionPeriods []*ProviderDistributionPeriod `protobuf:"bytes,2,rep,name=distribution_periods,json=distributionPeriods,proto3" json:"distribution_periods,omitempty"`
}

func (*MsgAddProviderDistributionPeriodRequest) Descriptor added in v0.13.4

func (*MsgAddProviderDistributionPeriodRequest) Descriptor() ([]byte, []int)

func (*MsgAddProviderDistributionPeriodRequest) GetDistributionPeriods added in v0.13.4

func (MsgAddProviderDistributionPeriodRequest) GetSignBytes added in v0.13.4

func (m MsgAddProviderDistributionPeriodRequest) GetSignBytes() []byte

func (*MsgAddProviderDistributionPeriodRequest) GetSigner added in v0.13.4

func (MsgAddProviderDistributionPeriodRequest) GetSigners added in v0.13.4

func (*MsgAddProviderDistributionPeriodRequest) Marshal added in v0.13.4

func (m *MsgAddProviderDistributionPeriodRequest) Marshal() (dAtA []byte, err error)

func (*MsgAddProviderDistributionPeriodRequest) MarshalTo added in v0.13.4

func (m *MsgAddProviderDistributionPeriodRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddProviderDistributionPeriodRequest) MarshalToSizedBuffer added in v0.13.4

func (m *MsgAddProviderDistributionPeriodRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddProviderDistributionPeriodRequest) ProtoMessage added in v0.13.4

func (*MsgAddProviderDistributionPeriodRequest) Reset added in v0.13.4

func (MsgAddProviderDistributionPeriodRequest) Route added in v0.13.4

func (*MsgAddProviderDistributionPeriodRequest) Size added in v0.13.4

func (*MsgAddProviderDistributionPeriodRequest) String added in v0.13.4

func (MsgAddProviderDistributionPeriodRequest) Type added in v0.13.4

func (*MsgAddProviderDistributionPeriodRequest) Unmarshal added in v0.13.4

func (m *MsgAddProviderDistributionPeriodRequest) Unmarshal(dAtA []byte) error

func (MsgAddProviderDistributionPeriodRequest) ValidateBasic added in v0.13.4

func (*MsgAddProviderDistributionPeriodRequest) XXX_DiscardUnknown added in v0.13.4

func (m *MsgAddProviderDistributionPeriodRequest) XXX_DiscardUnknown()

func (*MsgAddProviderDistributionPeriodRequest) XXX_Marshal added in v0.13.4

func (m *MsgAddProviderDistributionPeriodRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddProviderDistributionPeriodRequest) XXX_Merge added in v0.13.4

func (*MsgAddProviderDistributionPeriodRequest) XXX_Size added in v0.13.4

func (*MsgAddProviderDistributionPeriodRequest) XXX_Unmarshal added in v0.13.4

func (m *MsgAddProviderDistributionPeriodRequest) XXX_Unmarshal(b []byte) error

type MsgAddProviderDistributionPeriodResponse added in v0.13.4

type MsgAddProviderDistributionPeriodResponse struct {
}

func (*MsgAddProviderDistributionPeriodResponse) Descriptor added in v0.13.4

func (*MsgAddProviderDistributionPeriodResponse) Descriptor() ([]byte, []int)

func (*MsgAddProviderDistributionPeriodResponse) Marshal added in v0.13.4

func (m *MsgAddProviderDistributionPeriodResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddProviderDistributionPeriodResponse) MarshalTo added in v0.13.4

func (m *MsgAddProviderDistributionPeriodResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddProviderDistributionPeriodResponse) MarshalToSizedBuffer added in v0.13.4

func (m *MsgAddProviderDistributionPeriodResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddProviderDistributionPeriodResponse) ProtoMessage added in v0.13.4

func (*MsgAddProviderDistributionPeriodResponse) Reset added in v0.13.4

func (*MsgAddProviderDistributionPeriodResponse) Size added in v0.13.4

func (*MsgAddProviderDistributionPeriodResponse) String added in v0.13.4

func (*MsgAddProviderDistributionPeriodResponse) Unmarshal added in v0.13.4

func (*MsgAddProviderDistributionPeriodResponse) XXX_DiscardUnknown added in v0.13.4

func (m *MsgAddProviderDistributionPeriodResponse) XXX_DiscardUnknown()

func (*MsgAddProviderDistributionPeriodResponse) XXX_Marshal added in v0.13.4

func (m *MsgAddProviderDistributionPeriodResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddProviderDistributionPeriodResponse) XXX_Merge added in v0.13.4

func (*MsgAddProviderDistributionPeriodResponse) XXX_Size added in v0.13.4

func (*MsgAddProviderDistributionPeriodResponse) XXX_Unmarshal added in v0.13.4

func (m *MsgAddProviderDistributionPeriodResponse) XXX_Unmarshal(b []byte) error

type MsgAddRewardPeriodRequest added in v0.13.0

type MsgAddRewardPeriodRequest struct {
	Signer        string          `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	RewardPeriods []*RewardPeriod `protobuf:"bytes,2,rep,name=reward_periods,json=rewardPeriods,proto3" json:"reward_periods,omitempty"`
}

func (*MsgAddRewardPeriodRequest) Descriptor added in v0.13.0

func (*MsgAddRewardPeriodRequest) Descriptor() ([]byte, []int)

func (*MsgAddRewardPeriodRequest) GetRewardPeriods added in v0.13.0

func (m *MsgAddRewardPeriodRequest) GetRewardPeriods() []*RewardPeriod

func (MsgAddRewardPeriodRequest) GetSignBytes added in v0.13.0

func (m MsgAddRewardPeriodRequest) GetSignBytes() []byte

func (*MsgAddRewardPeriodRequest) GetSigner added in v0.13.0

func (m *MsgAddRewardPeriodRequest) GetSigner() string

func (MsgAddRewardPeriodRequest) GetSigners added in v0.13.0

func (m MsgAddRewardPeriodRequest) GetSigners() []sdk.AccAddress

func (*MsgAddRewardPeriodRequest) Marshal added in v0.13.0

func (m *MsgAddRewardPeriodRequest) Marshal() (dAtA []byte, err error)

func (*MsgAddRewardPeriodRequest) MarshalTo added in v0.13.0

func (m *MsgAddRewardPeriodRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddRewardPeriodRequest) MarshalToSizedBuffer added in v0.13.0

func (m *MsgAddRewardPeriodRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddRewardPeriodRequest) ProtoMessage added in v0.13.0

func (*MsgAddRewardPeriodRequest) ProtoMessage()

func (*MsgAddRewardPeriodRequest) Reset added in v0.13.0

func (m *MsgAddRewardPeriodRequest) Reset()

func (MsgAddRewardPeriodRequest) Route added in v0.13.0

func (*MsgAddRewardPeriodRequest) Size added in v0.13.0

func (m *MsgAddRewardPeriodRequest) Size() (n int)

func (*MsgAddRewardPeriodRequest) String added in v0.13.0

func (m *MsgAddRewardPeriodRequest) String() string

func (MsgAddRewardPeriodRequest) Type added in v0.13.0

func (*MsgAddRewardPeriodRequest) Unmarshal added in v0.13.0

func (m *MsgAddRewardPeriodRequest) Unmarshal(dAtA []byte) error

func (MsgAddRewardPeriodRequest) ValidateBasic added in v0.13.0

func (m MsgAddRewardPeriodRequest) ValidateBasic() error

func (*MsgAddRewardPeriodRequest) XXX_DiscardUnknown added in v0.13.0

func (m *MsgAddRewardPeriodRequest) XXX_DiscardUnknown()

func (*MsgAddRewardPeriodRequest) XXX_Marshal added in v0.13.0

func (m *MsgAddRewardPeriodRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddRewardPeriodRequest) XXX_Merge added in v0.13.0

func (m *MsgAddRewardPeriodRequest) XXX_Merge(src proto.Message)

func (*MsgAddRewardPeriodRequest) XXX_Size added in v0.13.0

func (m *MsgAddRewardPeriodRequest) XXX_Size() int

func (*MsgAddRewardPeriodRequest) XXX_Unmarshal added in v0.13.0

func (m *MsgAddRewardPeriodRequest) XXX_Unmarshal(b []byte) error

type MsgAddRewardPeriodResponse added in v0.13.0

type MsgAddRewardPeriodResponse struct {
}

func (*MsgAddRewardPeriodResponse) Descriptor added in v0.13.0

func (*MsgAddRewardPeriodResponse) Descriptor() ([]byte, []int)

func (*MsgAddRewardPeriodResponse) Marshal added in v0.13.0

func (m *MsgAddRewardPeriodResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddRewardPeriodResponse) MarshalTo added in v0.13.0

func (m *MsgAddRewardPeriodResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddRewardPeriodResponse) MarshalToSizedBuffer added in v0.13.0

func (m *MsgAddRewardPeriodResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddRewardPeriodResponse) ProtoMessage added in v0.13.0

func (*MsgAddRewardPeriodResponse) ProtoMessage()

func (*MsgAddRewardPeriodResponse) Reset added in v0.13.0

func (m *MsgAddRewardPeriodResponse) Reset()

func (*MsgAddRewardPeriodResponse) Size added in v0.13.0

func (m *MsgAddRewardPeriodResponse) Size() (n int)

func (*MsgAddRewardPeriodResponse) String added in v0.13.0

func (m *MsgAddRewardPeriodResponse) String() string

func (*MsgAddRewardPeriodResponse) Unmarshal added in v0.13.0

func (m *MsgAddRewardPeriodResponse) Unmarshal(dAtA []byte) error

func (*MsgAddRewardPeriodResponse) XXX_DiscardUnknown added in v0.13.0

func (m *MsgAddRewardPeriodResponse) XXX_DiscardUnknown()

func (*MsgAddRewardPeriodResponse) XXX_Marshal added in v0.13.0

func (m *MsgAddRewardPeriodResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddRewardPeriodResponse) XXX_Merge added in v0.13.0

func (m *MsgAddRewardPeriodResponse) XXX_Merge(src proto.Message)

func (*MsgAddRewardPeriodResponse) XXX_Size added in v0.13.0

func (m *MsgAddRewardPeriodResponse) XXX_Size() int

func (*MsgAddRewardPeriodResponse) XXX_Unmarshal added in v0.13.0

func (m *MsgAddRewardPeriodResponse) XXX_Unmarshal(b []byte) error

type MsgCancelUnlock added in v0.13.2

type MsgCancelUnlock struct {
	Signer        string                                  `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	ExternalAsset *Asset                                  `protobuf:"bytes,2,opt,name=external_asset,json=externalAsset,proto3" json:"external_asset,omitempty" yaml:"external_asset"`
	Units         github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=units,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"units"`
}

func (*MsgCancelUnlock) Descriptor added in v0.13.2

func (*MsgCancelUnlock) Descriptor() ([]byte, []int)

func (*MsgCancelUnlock) GetExternalAsset added in v0.13.2

func (m *MsgCancelUnlock) GetExternalAsset() *Asset

func (MsgCancelUnlock) GetSignBytes added in v0.13.2

func (m MsgCancelUnlock) GetSignBytes() []byte

func (*MsgCancelUnlock) GetSigner added in v0.13.2

func (m *MsgCancelUnlock) GetSigner() string

func (MsgCancelUnlock) GetSigners added in v0.13.2

func (m MsgCancelUnlock) GetSigners() []sdk.AccAddress

func (*MsgCancelUnlock) Marshal added in v0.13.2

func (m *MsgCancelUnlock) Marshal() (dAtA []byte, err error)

func (*MsgCancelUnlock) MarshalTo added in v0.13.2

func (m *MsgCancelUnlock) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelUnlock) MarshalToSizedBuffer added in v0.13.2

func (m *MsgCancelUnlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelUnlock) ProtoMessage added in v0.13.2

func (*MsgCancelUnlock) ProtoMessage()

func (*MsgCancelUnlock) Reset added in v0.13.2

func (m *MsgCancelUnlock) Reset()

func (MsgCancelUnlock) Route added in v0.13.2

func (m MsgCancelUnlock) Route() string

func (*MsgCancelUnlock) Size added in v0.13.2

func (m *MsgCancelUnlock) Size() (n int)

func (*MsgCancelUnlock) String added in v0.13.2

func (m *MsgCancelUnlock) String() string

func (MsgCancelUnlock) Type added in v0.13.2

func (m MsgCancelUnlock) Type() string

func (*MsgCancelUnlock) Unmarshal added in v0.13.2

func (m *MsgCancelUnlock) Unmarshal(dAtA []byte) error

func (MsgCancelUnlock) ValidateBasic added in v0.13.2

func (m MsgCancelUnlock) ValidateBasic() error

func (*MsgCancelUnlock) XXX_DiscardUnknown added in v0.13.2

func (m *MsgCancelUnlock) XXX_DiscardUnknown()

func (*MsgCancelUnlock) XXX_Marshal added in v0.13.2

func (m *MsgCancelUnlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelUnlock) XXX_Merge added in v0.13.2

func (m *MsgCancelUnlock) XXX_Merge(src proto.Message)

func (*MsgCancelUnlock) XXX_Size added in v0.13.2

func (m *MsgCancelUnlock) XXX_Size() int

func (*MsgCancelUnlock) XXX_Unmarshal added in v0.13.2

func (m *MsgCancelUnlock) XXX_Unmarshal(b []byte) error

type MsgCancelUnlockResponse added in v0.13.2

type MsgCancelUnlockResponse struct {
}

func (*MsgCancelUnlockResponse) Descriptor added in v0.13.2

func (*MsgCancelUnlockResponse) Descriptor() ([]byte, []int)

func (*MsgCancelUnlockResponse) Marshal added in v0.13.2

func (m *MsgCancelUnlockResponse) Marshal() (dAtA []byte, err error)

func (*MsgCancelUnlockResponse) MarshalTo added in v0.13.2

func (m *MsgCancelUnlockResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelUnlockResponse) MarshalToSizedBuffer added in v0.13.2

func (m *MsgCancelUnlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelUnlockResponse) ProtoMessage added in v0.13.2

func (*MsgCancelUnlockResponse) ProtoMessage()

func (*MsgCancelUnlockResponse) Reset added in v0.13.2

func (m *MsgCancelUnlockResponse) Reset()

func (*MsgCancelUnlockResponse) Size added in v0.13.2

func (m *MsgCancelUnlockResponse) Size() (n int)

func (*MsgCancelUnlockResponse) String added in v0.13.2

func (m *MsgCancelUnlockResponse) String() string

func (*MsgCancelUnlockResponse) Unmarshal added in v0.13.2

func (m *MsgCancelUnlockResponse) Unmarshal(dAtA []byte) error

func (*MsgCancelUnlockResponse) XXX_DiscardUnknown added in v0.13.2

func (m *MsgCancelUnlockResponse) XXX_DiscardUnknown()

func (*MsgCancelUnlockResponse) XXX_Marshal added in v0.13.2

func (m *MsgCancelUnlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelUnlockResponse) XXX_Merge added in v0.13.2

func (m *MsgCancelUnlockResponse) XXX_Merge(src proto.Message)

func (*MsgCancelUnlockResponse) XXX_Size added in v0.13.2

func (m *MsgCancelUnlockResponse) XXX_Size() int

func (*MsgCancelUnlockResponse) XXX_Unmarshal added in v0.13.2

func (m *MsgCancelUnlockResponse) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	RemoveLiquidity(ctx context.Context, in *MsgRemoveLiquidity, opts ...grpc.CallOption) (*MsgRemoveLiquidityResponse, error)
	RemoveLiquidityUnits(ctx context.Context, in *MsgRemoveLiquidityUnits, opts ...grpc.CallOption) (*MsgRemoveLiquidityUnitsResponse, error)
	CreatePool(ctx context.Context, in *MsgCreatePool, opts ...grpc.CallOption) (*MsgCreatePoolResponse, error)
	AddLiquidity(ctx context.Context, in *MsgAddLiquidity, opts ...grpc.CallOption) (*MsgAddLiquidityResponse, error)
	Swap(ctx context.Context, in *MsgSwap, opts ...grpc.CallOption) (*MsgSwapResponse, error)
	DecommissionPool(ctx context.Context, in *MsgDecommissionPool, opts ...grpc.CallOption) (*MsgDecommissionPoolResponse, error)
	UnlockLiquidity(ctx context.Context, in *MsgUnlockLiquidityRequest, opts ...grpc.CallOption) (*MsgUnlockLiquidityResponse, error)
	UpdateRewardsParams(ctx context.Context, in *MsgUpdateRewardsParamsRequest, opts ...grpc.CallOption) (*MsgUpdateRewardsParamsResponse, error)
	AddRewardPeriod(ctx context.Context, in *MsgAddRewardPeriodRequest, opts ...grpc.CallOption) (*MsgAddRewardPeriodResponse, error)
	ModifyPmtpRates(ctx context.Context, in *MsgModifyPmtpRates, opts ...grpc.CallOption) (*MsgModifyPmtpRatesResponse, error)
	UpdatePmtpParams(ctx context.Context, in *MsgUpdatePmtpParams, opts ...grpc.CallOption) (*MsgUpdatePmtpParamsResponse, error)
	UpdateStakingRewardParams(ctx context.Context, in *MsgUpdateStakingRewardParams, opts ...grpc.CallOption) (*MsgUpdateStakingRewardParamsResponse, error)
	SetSymmetryThreshold(ctx context.Context, in *MsgSetSymmetryThreshold, opts ...grpc.CallOption) (*MsgSetSymmetryThresholdResponse, error)
	CancelUnlockLiquidity(ctx context.Context, in *MsgCancelUnlock, opts ...grpc.CallOption) (*MsgCancelUnlockResponse, error)
	UpdateLiquidityProtectionParams(ctx context.Context, in *MsgUpdateLiquidityProtectionParams, opts ...grpc.CallOption) (*MsgUpdateLiquidityProtectionParamsResponse, error)
	ModifyLiquidityProtectionRates(ctx context.Context, in *MsgModifyLiquidityProtectionRates, opts ...grpc.CallOption) (*MsgModifyLiquidityProtectionRatesResponse, error)
	AddProviderDistributionPeriod(ctx context.Context, in *MsgAddProviderDistributionPeriodRequest, opts ...grpc.CallOption) (*MsgAddProviderDistributionPeriodResponse, error)
	UpdateSwapFeeParams(ctx context.Context, in *MsgUpdateSwapFeeParamsRequest, opts ...grpc.CallOption) (*MsgUpdateSwapFeeParamsResponse, error)
	AddLiquidityToRewardsBucket(ctx context.Context, in *MsgAddLiquidityToRewardsBucketRequest, opts ...grpc.CallOption) (*MsgAddLiquidityToRewardsBucketResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreatePool

type MsgCreatePool struct {
	Signer              string                                  `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	ExternalAsset       *Asset                                  `protobuf:"bytes,2,opt,name=external_asset,json=externalAsset,proto3" json:"external_asset,omitempty" yaml:"external_asset"`
	NativeAssetAmount   github_com_cosmos_cosmos_sdk_types.Uint `` /* 182-byte string literal not displayed */
	ExternalAssetAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 190-byte string literal not displayed */
}

func NewMsgCreatePool

func NewMsgCreatePool(signer sdk.AccAddress, externalAsset Asset, nativeAssetAmount sdk.Uint, externalAssetAmount sdk.Uint) MsgCreatePool

func (*MsgCreatePool) Descriptor

func (*MsgCreatePool) Descriptor() ([]byte, []int)

func (*MsgCreatePool) GetExternalAsset

func (m *MsgCreatePool) GetExternalAsset() *Asset

func (MsgCreatePool) GetSignBytes

func (m MsgCreatePool) GetSignBytes() []byte

func (*MsgCreatePool) GetSigner

func (m *MsgCreatePool) GetSigner() string

func (MsgCreatePool) GetSigners

func (m MsgCreatePool) GetSigners() []sdk.AccAddress

func (*MsgCreatePool) Marshal

func (m *MsgCreatePool) Marshal() (dAtA []byte, err error)

func (*MsgCreatePool) MarshalTo

func (m *MsgCreatePool) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreatePool) MarshalToSizedBuffer

func (m *MsgCreatePool) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreatePool) ProtoMessage

func (*MsgCreatePool) ProtoMessage()

func (*MsgCreatePool) Reset

func (m *MsgCreatePool) Reset()

func (MsgCreatePool) Route

func (m MsgCreatePool) Route() string

func (*MsgCreatePool) Size

func (m *MsgCreatePool) Size() (n int)

func (*MsgCreatePool) String

func (m *MsgCreatePool) String() string

func (MsgCreatePool) Type

func (m MsgCreatePool) Type() string

func (*MsgCreatePool) Unmarshal

func (m *MsgCreatePool) Unmarshal(dAtA []byte) error

func (MsgCreatePool) ValidateBasic

func (m MsgCreatePool) ValidateBasic() error

func (*MsgCreatePool) XXX_DiscardUnknown

func (m *MsgCreatePool) XXX_DiscardUnknown()

func (*MsgCreatePool) XXX_Marshal

func (m *MsgCreatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreatePool) XXX_Merge

func (m *MsgCreatePool) XXX_Merge(src proto.Message)

func (*MsgCreatePool) XXX_Size

func (m *MsgCreatePool) XXX_Size() int

func (*MsgCreatePool) XXX_Unmarshal

func (m *MsgCreatePool) XXX_Unmarshal(b []byte) error

type MsgCreatePoolResponse

type MsgCreatePoolResponse struct {
}

func (*MsgCreatePoolResponse) Descriptor

func (*MsgCreatePoolResponse) Descriptor() ([]byte, []int)

func (*MsgCreatePoolResponse) Marshal

func (m *MsgCreatePoolResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreatePoolResponse) MarshalTo

func (m *MsgCreatePoolResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreatePoolResponse) MarshalToSizedBuffer

func (m *MsgCreatePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreatePoolResponse) ProtoMessage

func (*MsgCreatePoolResponse) ProtoMessage()

func (*MsgCreatePoolResponse) Reset

func (m *MsgCreatePoolResponse) Reset()

func (*MsgCreatePoolResponse) Size

func (m *MsgCreatePoolResponse) Size() (n int)

func (*MsgCreatePoolResponse) String

func (m *MsgCreatePoolResponse) String() string

func (*MsgCreatePoolResponse) Unmarshal

func (m *MsgCreatePoolResponse) Unmarshal(dAtA []byte) error

func (*MsgCreatePoolResponse) XXX_DiscardUnknown

func (m *MsgCreatePoolResponse) XXX_DiscardUnknown()

func (*MsgCreatePoolResponse) XXX_Marshal

func (m *MsgCreatePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreatePoolResponse) XXX_Merge

func (m *MsgCreatePoolResponse) XXX_Merge(src proto.Message)

func (*MsgCreatePoolResponse) XXX_Size

func (m *MsgCreatePoolResponse) XXX_Size() int

func (*MsgCreatePoolResponse) XXX_Unmarshal

func (m *MsgCreatePoolResponse) XXX_Unmarshal(b []byte) error

type MsgDecommissionPool

type MsgDecommissionPool struct {
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty" yaml:"symbol"`
}

func NewMsgDecommissionPool

func NewMsgDecommissionPool(signer sdk.AccAddress, symbol string) MsgDecommissionPool

func (*MsgDecommissionPool) Descriptor

func (*MsgDecommissionPool) Descriptor() ([]byte, []int)

func (MsgDecommissionPool) GetSignBytes

func (m MsgDecommissionPool) GetSignBytes() []byte

func (*MsgDecommissionPool) GetSigner

func (m *MsgDecommissionPool) GetSigner() string

func (MsgDecommissionPool) GetSigners

func (m MsgDecommissionPool) GetSigners() []sdk.AccAddress

func (*MsgDecommissionPool) GetSymbol

func (m *MsgDecommissionPool) GetSymbol() string

func (*MsgDecommissionPool) Marshal

func (m *MsgDecommissionPool) Marshal() (dAtA []byte, err error)

func (*MsgDecommissionPool) MarshalTo

func (m *MsgDecommissionPool) MarshalTo(dAtA []byte) (int, error)

func (*MsgDecommissionPool) MarshalToSizedBuffer

func (m *MsgDecommissionPool) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDecommissionPool) ProtoMessage

func (*MsgDecommissionPool) ProtoMessage()

func (*MsgDecommissionPool) Reset

func (m *MsgDecommissionPool) Reset()

func (MsgDecommissionPool) Route

func (m MsgDecommissionPool) Route() string

func (*MsgDecommissionPool) Size

func (m *MsgDecommissionPool) Size() (n int)

func (*MsgDecommissionPool) String

func (m *MsgDecommissionPool) String() string

func (MsgDecommissionPool) Type

func (m MsgDecommissionPool) Type() string

func (*MsgDecommissionPool) Unmarshal

func (m *MsgDecommissionPool) Unmarshal(dAtA []byte) error

func (MsgDecommissionPool) ValidateBasic

func (m MsgDecommissionPool) ValidateBasic() error

func (*MsgDecommissionPool) XXX_DiscardUnknown

func (m *MsgDecommissionPool) XXX_DiscardUnknown()

func (*MsgDecommissionPool) XXX_Marshal

func (m *MsgDecommissionPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDecommissionPool) XXX_Merge

func (m *MsgDecommissionPool) XXX_Merge(src proto.Message)

func (*MsgDecommissionPool) XXX_Size

func (m *MsgDecommissionPool) XXX_Size() int

func (*MsgDecommissionPool) XXX_Unmarshal

func (m *MsgDecommissionPool) XXX_Unmarshal(b []byte) error

type MsgDecommissionPoolResponse

type MsgDecommissionPoolResponse struct {
}

func (*MsgDecommissionPoolResponse) Descriptor

func (*MsgDecommissionPoolResponse) Descriptor() ([]byte, []int)

func (*MsgDecommissionPoolResponse) Marshal

func (m *MsgDecommissionPoolResponse) Marshal() (dAtA []byte, err error)

func (*MsgDecommissionPoolResponse) MarshalTo

func (m *MsgDecommissionPoolResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDecommissionPoolResponse) MarshalToSizedBuffer

func (m *MsgDecommissionPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDecommissionPoolResponse) ProtoMessage

func (*MsgDecommissionPoolResponse) ProtoMessage()

func (*MsgDecommissionPoolResponse) Reset

func (m *MsgDecommissionPoolResponse) Reset()

func (*MsgDecommissionPoolResponse) Size

func (m *MsgDecommissionPoolResponse) Size() (n int)

func (*MsgDecommissionPoolResponse) String

func (m *MsgDecommissionPoolResponse) String() string

func (*MsgDecommissionPoolResponse) Unmarshal

func (m *MsgDecommissionPoolResponse) Unmarshal(dAtA []byte) error

func (*MsgDecommissionPoolResponse) XXX_DiscardUnknown

func (m *MsgDecommissionPoolResponse) XXX_DiscardUnknown()

func (*MsgDecommissionPoolResponse) XXX_Marshal

func (m *MsgDecommissionPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDecommissionPoolResponse) XXX_Merge

func (m *MsgDecommissionPoolResponse) XXX_Merge(src proto.Message)

func (*MsgDecommissionPoolResponse) XXX_Size

func (m *MsgDecommissionPoolResponse) XXX_Size() int

func (*MsgDecommissionPoolResponse) XXX_Unmarshal

func (m *MsgDecommissionPoolResponse) XXX_Unmarshal(b []byte) error

type MsgModifyLiquidityProtectionRates added in v0.13.4

type MsgModifyLiquidityProtectionRates struct {
	Signer                         string                                  `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	CurrentRowanLiquidityThreshold github_com_cosmos_cosmos_sdk_types.Uint `` /* 196-byte string literal not displayed */
}

func (*MsgModifyLiquidityProtectionRates) Descriptor added in v0.13.4

func (*MsgModifyLiquidityProtectionRates) Descriptor() ([]byte, []int)

func (MsgModifyLiquidityProtectionRates) GetSignBytes added in v0.13.4

func (m MsgModifyLiquidityProtectionRates) GetSignBytes() []byte

func (*MsgModifyLiquidityProtectionRates) GetSigner added in v0.13.4

func (*MsgModifyLiquidityProtectionRates) GetSigners added in v0.13.4

func (*MsgModifyLiquidityProtectionRates) Marshal added in v0.13.4

func (m *MsgModifyLiquidityProtectionRates) Marshal() (dAtA []byte, err error)

func (*MsgModifyLiquidityProtectionRates) MarshalTo added in v0.13.4

func (m *MsgModifyLiquidityProtectionRates) MarshalTo(dAtA []byte) (int, error)

func (*MsgModifyLiquidityProtectionRates) MarshalToSizedBuffer added in v0.13.4

func (m *MsgModifyLiquidityProtectionRates) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgModifyLiquidityProtectionRates) ProtoMessage added in v0.13.4

func (*MsgModifyLiquidityProtectionRates) ProtoMessage()

func (*MsgModifyLiquidityProtectionRates) Reset added in v0.13.4

func (MsgModifyLiquidityProtectionRates) Route added in v0.13.4

func (*MsgModifyLiquidityProtectionRates) Size added in v0.13.4

func (m *MsgModifyLiquidityProtectionRates) Size() (n int)

func (*MsgModifyLiquidityProtectionRates) String added in v0.13.4

func (MsgModifyLiquidityProtectionRates) Type added in v0.13.4

func (*MsgModifyLiquidityProtectionRates) Unmarshal added in v0.13.4

func (m *MsgModifyLiquidityProtectionRates) Unmarshal(dAtA []byte) error

func (*MsgModifyLiquidityProtectionRates) ValidateBasic added in v0.13.4

func (m *MsgModifyLiquidityProtectionRates) ValidateBasic() error

func (*MsgModifyLiquidityProtectionRates) XXX_DiscardUnknown added in v0.13.4

func (m *MsgModifyLiquidityProtectionRates) XXX_DiscardUnknown()

func (*MsgModifyLiquidityProtectionRates) XXX_Marshal added in v0.13.4

func (m *MsgModifyLiquidityProtectionRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgModifyLiquidityProtectionRates) XXX_Merge added in v0.13.4

func (*MsgModifyLiquidityProtectionRates) XXX_Size added in v0.13.4

func (m *MsgModifyLiquidityProtectionRates) XXX_Size() int

func (*MsgModifyLiquidityProtectionRates) XXX_Unmarshal added in v0.13.4

func (m *MsgModifyLiquidityProtectionRates) XXX_Unmarshal(b []byte) error

type MsgModifyLiquidityProtectionRatesResponse added in v0.13.4

type MsgModifyLiquidityProtectionRatesResponse struct {
}

func (*MsgModifyLiquidityProtectionRatesResponse) Descriptor added in v0.13.4

func (*MsgModifyLiquidityProtectionRatesResponse) Descriptor() ([]byte, []int)

func (*MsgModifyLiquidityProtectionRatesResponse) Marshal added in v0.13.4

func (m *MsgModifyLiquidityProtectionRatesResponse) Marshal() (dAtA []byte, err error)

func (*MsgModifyLiquidityProtectionRatesResponse) MarshalTo added in v0.13.4

func (m *MsgModifyLiquidityProtectionRatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgModifyLiquidityProtectionRatesResponse) MarshalToSizedBuffer added in v0.13.4

func (m *MsgModifyLiquidityProtectionRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgModifyLiquidityProtectionRatesResponse) ProtoMessage added in v0.13.4

func (*MsgModifyLiquidityProtectionRatesResponse) Reset added in v0.13.4

func (*MsgModifyLiquidityProtectionRatesResponse) Size added in v0.13.4

func (*MsgModifyLiquidityProtectionRatesResponse) String added in v0.13.4

func (*MsgModifyLiquidityProtectionRatesResponse) Unmarshal added in v0.13.4

func (*MsgModifyLiquidityProtectionRatesResponse) XXX_DiscardUnknown added in v0.13.4

func (m *MsgModifyLiquidityProtectionRatesResponse) XXX_DiscardUnknown()

func (*MsgModifyLiquidityProtectionRatesResponse) XXX_Marshal added in v0.13.4

func (m *MsgModifyLiquidityProtectionRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgModifyLiquidityProtectionRatesResponse) XXX_Merge added in v0.13.4

func (*MsgModifyLiquidityProtectionRatesResponse) XXX_Size added in v0.13.4

func (*MsgModifyLiquidityProtectionRatesResponse) XXX_Unmarshal added in v0.13.4

type MsgModifyPmtpRates added in v0.13.0

type MsgModifyPmtpRates struct {
	Signer      string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	BlockRate   string `protobuf:"bytes,2,opt,name=block_rate,json=blockRate,proto3" json:"block_rate,omitempty"`
	RunningRate string `protobuf:"bytes,3,opt,name=running_rate,json=runningRate,proto3" json:"running_rate,omitempty"`
	EndPolicy   bool   `protobuf:"varint,4,opt,name=end_policy,json=endPolicy,proto3" json:"end_policy,omitempty"`
}

func (*MsgModifyPmtpRates) Descriptor added in v0.13.0

func (*MsgModifyPmtpRates) Descriptor() ([]byte, []int)

func (*MsgModifyPmtpRates) GetBlockRate added in v0.13.0

func (m *MsgModifyPmtpRates) GetBlockRate() string

func (*MsgModifyPmtpRates) GetEndPolicy added in v0.13.0

func (m *MsgModifyPmtpRates) GetEndPolicy() bool

func (*MsgModifyPmtpRates) GetRunningRate added in v0.13.0

func (m *MsgModifyPmtpRates) GetRunningRate() string

func (MsgModifyPmtpRates) GetSignBytes added in v0.13.0

func (m MsgModifyPmtpRates) GetSignBytes() []byte

func (*MsgModifyPmtpRates) GetSigner added in v0.13.0

func (m *MsgModifyPmtpRates) GetSigner() string

func (*MsgModifyPmtpRates) GetSigners added in v0.13.0

func (m *MsgModifyPmtpRates) GetSigners() []sdk.AccAddress

func (*MsgModifyPmtpRates) Marshal added in v0.13.0

func (m *MsgModifyPmtpRates) Marshal() (dAtA []byte, err error)

func (*MsgModifyPmtpRates) MarshalTo added in v0.13.0

func (m *MsgModifyPmtpRates) MarshalTo(dAtA []byte) (int, error)

func (*MsgModifyPmtpRates) MarshalToSizedBuffer added in v0.13.0

func (m *MsgModifyPmtpRates) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgModifyPmtpRates) ProtoMessage added in v0.13.0

func (*MsgModifyPmtpRates) ProtoMessage()

func (*MsgModifyPmtpRates) Reset added in v0.13.0

func (m *MsgModifyPmtpRates) Reset()

func (MsgModifyPmtpRates) Route added in v0.13.0

func (m MsgModifyPmtpRates) Route() string

func (*MsgModifyPmtpRates) Size added in v0.13.0

func (m *MsgModifyPmtpRates) Size() (n int)

func (*MsgModifyPmtpRates) String added in v0.13.0

func (m *MsgModifyPmtpRates) String() string

func (MsgModifyPmtpRates) Type added in v0.13.0

func (m MsgModifyPmtpRates) Type() string

func (*MsgModifyPmtpRates) Unmarshal added in v0.13.0

func (m *MsgModifyPmtpRates) Unmarshal(dAtA []byte) error

func (*MsgModifyPmtpRates) ValidateBasic added in v0.13.0

func (m *MsgModifyPmtpRates) ValidateBasic() error

func (*MsgModifyPmtpRates) XXX_DiscardUnknown added in v0.13.0

func (m *MsgModifyPmtpRates) XXX_DiscardUnknown()

func (*MsgModifyPmtpRates) XXX_Marshal added in v0.13.0

func (m *MsgModifyPmtpRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgModifyPmtpRates) XXX_Merge added in v0.13.0

func (m *MsgModifyPmtpRates) XXX_Merge(src proto.Message)

func (*MsgModifyPmtpRates) XXX_Size added in v0.13.0

func (m *MsgModifyPmtpRates) XXX_Size() int

func (*MsgModifyPmtpRates) XXX_Unmarshal added in v0.13.0

func (m *MsgModifyPmtpRates) XXX_Unmarshal(b []byte) error

type MsgModifyPmtpRatesResponse added in v0.13.0

type MsgModifyPmtpRatesResponse struct {
}

func (*MsgModifyPmtpRatesResponse) Descriptor added in v0.13.0

func (*MsgModifyPmtpRatesResponse) Descriptor() ([]byte, []int)

func (*MsgModifyPmtpRatesResponse) Marshal added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) Marshal() (dAtA []byte, err error)

func (*MsgModifyPmtpRatesResponse) MarshalTo added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgModifyPmtpRatesResponse) MarshalToSizedBuffer added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgModifyPmtpRatesResponse) ProtoMessage added in v0.13.0

func (*MsgModifyPmtpRatesResponse) ProtoMessage()

func (*MsgModifyPmtpRatesResponse) Reset added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) Reset()

func (*MsgModifyPmtpRatesResponse) Size added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) Size() (n int)

func (*MsgModifyPmtpRatesResponse) String added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) String() string

func (*MsgModifyPmtpRatesResponse) Unmarshal added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) Unmarshal(dAtA []byte) error

func (*MsgModifyPmtpRatesResponse) XXX_DiscardUnknown added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) XXX_DiscardUnknown()

func (*MsgModifyPmtpRatesResponse) XXX_Marshal added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgModifyPmtpRatesResponse) XXX_Merge added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) XXX_Merge(src proto.Message)

func (*MsgModifyPmtpRatesResponse) XXX_Size added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) XXX_Size() int

func (*MsgModifyPmtpRatesResponse) XXX_Unmarshal added in v0.13.0

func (m *MsgModifyPmtpRatesResponse) XXX_Unmarshal(b []byte) error

type MsgRemoveLiquidity

type MsgRemoveLiquidity struct {
	Signer        string                                 `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	ExternalAsset *Asset                                 `protobuf:"bytes,2,opt,name=external_asset,json=externalAsset,proto3" json:"external_asset,omitempty" yaml:"external_asset"`
	WBasisPoints  github_com_cosmos_cosmos_sdk_types.Int `` /* 161-byte string literal not displayed */
	Asymmetry     github_com_cosmos_cosmos_sdk_types.Int `` /* 128-byte string literal not displayed */
}

func NewMsgRemoveLiquidity

func NewMsgRemoveLiquidity(signer sdk.AccAddress, externalAsset Asset, wBasisPoints sdk.Int, asymmetry sdk.Int) MsgRemoveLiquidity

func (*MsgRemoveLiquidity) Descriptor

func (*MsgRemoveLiquidity) Descriptor() ([]byte, []int)

func (*MsgRemoveLiquidity) GetExternalAsset

func (m *MsgRemoveLiquidity) GetExternalAsset() *Asset

func (MsgRemoveLiquidity) GetSignBytes

func (m MsgRemoveLiquidity) GetSignBytes() []byte

func (*MsgRemoveLiquidity) GetSigner

func (m *MsgRemoveLiquidity) GetSigner() string

func (MsgRemoveLiquidity) GetSigners

func (m MsgRemoveLiquidity) GetSigners() []sdk.AccAddress

func (*MsgRemoveLiquidity) Marshal

func (m *MsgRemoveLiquidity) Marshal() (dAtA []byte, err error)

func (*MsgRemoveLiquidity) MarshalTo

func (m *MsgRemoveLiquidity) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveLiquidity) MarshalToSizedBuffer

func (m *MsgRemoveLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveLiquidity) ProtoMessage

func (*MsgRemoveLiquidity) ProtoMessage()

func (*MsgRemoveLiquidity) Reset

func (m *MsgRemoveLiquidity) Reset()

func (MsgRemoveLiquidity) Route

func (m MsgRemoveLiquidity) Route() string

func (*MsgRemoveLiquidity) Size

func (m *MsgRemoveLiquidity) Size() (n int)

func (*MsgRemoveLiquidity) String

func (m *MsgRemoveLiquidity) String() string

func (MsgRemoveLiquidity) Type

func (m MsgRemoveLiquidity) Type() string

func (*MsgRemoveLiquidity) Unmarshal

func (m *MsgRemoveLiquidity) Unmarshal(dAtA []byte) error

func (MsgRemoveLiquidity) ValidateBasic

func (m MsgRemoveLiquidity) ValidateBasic() error

func (*MsgRemoveLiquidity) XXX_DiscardUnknown

func (m *MsgRemoveLiquidity) XXX_DiscardUnknown()

func (*MsgRemoveLiquidity) XXX_Marshal

func (m *MsgRemoveLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveLiquidity) XXX_Merge

func (m *MsgRemoveLiquidity) XXX_Merge(src proto.Message)

func (*MsgRemoveLiquidity) XXX_Size

func (m *MsgRemoveLiquidity) XXX_Size() int

func (*MsgRemoveLiquidity) XXX_Unmarshal

func (m *MsgRemoveLiquidity) XXX_Unmarshal(b []byte) error

type MsgRemoveLiquidityResponse

type MsgRemoveLiquidityResponse struct {
}

func (*MsgRemoveLiquidityResponse) Descriptor

func (*MsgRemoveLiquidityResponse) Descriptor() ([]byte, []int)

func (*MsgRemoveLiquidityResponse) Marshal

func (m *MsgRemoveLiquidityResponse) Marshal() (dAtA []byte, err error)

func (*MsgRemoveLiquidityResponse) MarshalTo

func (m *MsgRemoveLiquidityResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveLiquidityResponse) MarshalToSizedBuffer

func (m *MsgRemoveLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveLiquidityResponse) ProtoMessage

func (*MsgRemoveLiquidityResponse) ProtoMessage()

func (*MsgRemoveLiquidityResponse) Reset

func (m *MsgRemoveLiquidityResponse) Reset()

func (*MsgRemoveLiquidityResponse) Size

func (m *MsgRemoveLiquidityResponse) Size() (n int)

func (*MsgRemoveLiquidityResponse) String

func (m *MsgRemoveLiquidityResponse) String() string

func (*MsgRemoveLiquidityResponse) Unmarshal

func (m *MsgRemoveLiquidityResponse) Unmarshal(dAtA []byte) error

func (*MsgRemoveLiquidityResponse) XXX_DiscardUnknown

func (m *MsgRemoveLiquidityResponse) XXX_DiscardUnknown()

func (*MsgRemoveLiquidityResponse) XXX_Marshal

func (m *MsgRemoveLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveLiquidityResponse) XXX_Merge

func (m *MsgRemoveLiquidityResponse) XXX_Merge(src proto.Message)

func (*MsgRemoveLiquidityResponse) XXX_Size

func (m *MsgRemoveLiquidityResponse) XXX_Size() int

func (*MsgRemoveLiquidityResponse) XXX_Unmarshal

func (m *MsgRemoveLiquidityResponse) XXX_Unmarshal(b []byte) error

type MsgRemoveLiquidityUnits added in v0.13.0

type MsgRemoveLiquidityUnits struct {
	Signer        string                                  `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	ExternalAsset *Asset                                  `protobuf:"bytes,2,opt,name=external_asset,json=externalAsset,proto3" json:"external_asset,omitempty" yaml:"external_asset"`
	WithdrawUnits github_com_cosmos_cosmos_sdk_types.Uint `` /* 163-byte string literal not displayed */
}

func NewMsgRemoveLiquidityUnits added in v0.13.0

func NewMsgRemoveLiquidityUnits(signer sdk.AccAddress, externalAsset Asset, withdrawUnits sdk.Uint) MsgRemoveLiquidityUnits

func (*MsgRemoveLiquidityUnits) Descriptor added in v0.13.0

func (*MsgRemoveLiquidityUnits) Descriptor() ([]byte, []int)

func (*MsgRemoveLiquidityUnits) GetExternalAsset added in v0.13.0

func (m *MsgRemoveLiquidityUnits) GetExternalAsset() *Asset

func (MsgRemoveLiquidityUnits) GetSignBytes added in v0.13.0

func (m MsgRemoveLiquidityUnits) GetSignBytes() []byte

func (*MsgRemoveLiquidityUnits) GetSigner added in v0.13.0

func (m *MsgRemoveLiquidityUnits) GetSigner() string

func (MsgRemoveLiquidityUnits) GetSigners added in v0.13.0

func (m MsgRemoveLiquidityUnits) GetSigners() []sdk.AccAddress

func (*MsgRemoveLiquidityUnits) Marshal added in v0.13.0

func (m *MsgRemoveLiquidityUnits) Marshal() (dAtA []byte, err error)

func (*MsgRemoveLiquidityUnits) MarshalTo added in v0.13.0

func (m *MsgRemoveLiquidityUnits) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveLiquidityUnits) MarshalToSizedBuffer added in v0.13.0

func (m *MsgRemoveLiquidityUnits) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveLiquidityUnits) ProtoMessage added in v0.13.0

func (*MsgRemoveLiquidityUnits) ProtoMessage()

func (*MsgRemoveLiquidityUnits) Reset added in v0.13.0

func (m *MsgRemoveLiquidityUnits) Reset()

func (MsgRemoveLiquidityUnits) Route added in v0.13.0

func (m MsgRemoveLiquidityUnits) Route() string

func (*MsgRemoveLiquidityUnits) Size added in v0.13.0

func (m *MsgRemoveLiquidityUnits) Size() (n int)

func (*MsgRemoveLiquidityUnits) String added in v0.13.0

func (m *MsgRemoveLiquidityUnits) String() string

func (MsgRemoveLiquidityUnits) Type added in v0.13.0

func (*MsgRemoveLiquidityUnits) Unmarshal added in v0.13.0

func (m *MsgRemoveLiquidityUnits) Unmarshal(dAtA []byte) error

func (MsgRemoveLiquidityUnits) ValidateBasic added in v0.13.0

func (m MsgRemoveLiquidityUnits) ValidateBasic() error

func (*MsgRemoveLiquidityUnits) XXX_DiscardUnknown added in v0.13.0

func (m *MsgRemoveLiquidityUnits) XXX_DiscardUnknown()

func (*MsgRemoveLiquidityUnits) XXX_Marshal added in v0.13.0

func (m *MsgRemoveLiquidityUnits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveLiquidityUnits) XXX_Merge added in v0.13.0

func (m *MsgRemoveLiquidityUnits) XXX_Merge(src proto.Message)

func (*MsgRemoveLiquidityUnits) XXX_Size added in v0.13.0

func (m *MsgRemoveLiquidityUnits) XXX_Size() int

func (*MsgRemoveLiquidityUnits) XXX_Unmarshal added in v0.13.0

func (m *MsgRemoveLiquidityUnits) XXX_Unmarshal(b []byte) error

type MsgRemoveLiquidityUnitsResponse added in v0.13.0

type MsgRemoveLiquidityUnitsResponse struct {
}

func (*MsgRemoveLiquidityUnitsResponse) Descriptor added in v0.13.0

func (*MsgRemoveLiquidityUnitsResponse) Descriptor() ([]byte, []int)

func (*MsgRemoveLiquidityUnitsResponse) Marshal added in v0.13.0

func (m *MsgRemoveLiquidityUnitsResponse) Marshal() (dAtA []byte, err error)

func (*MsgRemoveLiquidityUnitsResponse) MarshalTo added in v0.13.0

func (m *MsgRemoveLiquidityUnitsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveLiquidityUnitsResponse) MarshalToSizedBuffer added in v0.13.0

func (m *MsgRemoveLiquidityUnitsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveLiquidityUnitsResponse) ProtoMessage added in v0.13.0

func (*MsgRemoveLiquidityUnitsResponse) ProtoMessage()

func (*MsgRemoveLiquidityUnitsResponse) Reset added in v0.13.0

func (*MsgRemoveLiquidityUnitsResponse) Size added in v0.13.0

func (m *MsgRemoveLiquidityUnitsResponse) Size() (n int)

func (*MsgRemoveLiquidityUnitsResponse) String added in v0.13.0

func (*MsgRemoveLiquidityUnitsResponse) Unmarshal added in v0.13.0

func (m *MsgRemoveLiquidityUnitsResponse) Unmarshal(dAtA []byte) error

func (*MsgRemoveLiquidityUnitsResponse) XXX_DiscardUnknown added in v0.13.0

func (m *MsgRemoveLiquidityUnitsResponse) XXX_DiscardUnknown()

func (*MsgRemoveLiquidityUnitsResponse) XXX_Marshal added in v0.13.0

func (m *MsgRemoveLiquidityUnitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveLiquidityUnitsResponse) XXX_Merge added in v0.13.0

func (m *MsgRemoveLiquidityUnitsResponse) XXX_Merge(src proto.Message)

func (*MsgRemoveLiquidityUnitsResponse) XXX_Size added in v0.13.0

func (m *MsgRemoveLiquidityUnitsResponse) XXX_Size() int

func (*MsgRemoveLiquidityUnitsResponse) XXX_Unmarshal added in v0.13.0

func (m *MsgRemoveLiquidityUnitsResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	RemoveLiquidity(context.Context, *MsgRemoveLiquidity) (*MsgRemoveLiquidityResponse, error)
	RemoveLiquidityUnits(context.Context, *MsgRemoveLiquidityUnits) (*MsgRemoveLiquidityUnitsResponse, error)
	CreatePool(context.Context, *MsgCreatePool) (*MsgCreatePoolResponse, error)
	AddLiquidity(context.Context, *MsgAddLiquidity) (*MsgAddLiquidityResponse, error)
	Swap(context.Context, *MsgSwap) (*MsgSwapResponse, error)
	DecommissionPool(context.Context, *MsgDecommissionPool) (*MsgDecommissionPoolResponse, error)
	UnlockLiquidity(context.Context, *MsgUnlockLiquidityRequest) (*MsgUnlockLiquidityResponse, error)
	UpdateRewardsParams(context.Context, *MsgUpdateRewardsParamsRequest) (*MsgUpdateRewardsParamsResponse, error)
	AddRewardPeriod(context.Context, *MsgAddRewardPeriodRequest) (*MsgAddRewardPeriodResponse, error)
	ModifyPmtpRates(context.Context, *MsgModifyPmtpRates) (*MsgModifyPmtpRatesResponse, error)
	UpdatePmtpParams(context.Context, *MsgUpdatePmtpParams) (*MsgUpdatePmtpParamsResponse, error)
	UpdateStakingRewardParams(context.Context, *MsgUpdateStakingRewardParams) (*MsgUpdateStakingRewardParamsResponse, error)
	SetSymmetryThreshold(context.Context, *MsgSetSymmetryThreshold) (*MsgSetSymmetryThresholdResponse, error)
	CancelUnlockLiquidity(context.Context, *MsgCancelUnlock) (*MsgCancelUnlockResponse, error)
	UpdateLiquidityProtectionParams(context.Context, *MsgUpdateLiquidityProtectionParams) (*MsgUpdateLiquidityProtectionParamsResponse, error)
	ModifyLiquidityProtectionRates(context.Context, *MsgModifyLiquidityProtectionRates) (*MsgModifyLiquidityProtectionRatesResponse, error)
	AddProviderDistributionPeriod(context.Context, *MsgAddProviderDistributionPeriodRequest) (*MsgAddProviderDistributionPeriodResponse, error)
	UpdateSwapFeeParams(context.Context, *MsgUpdateSwapFeeParamsRequest) (*MsgUpdateSwapFeeParamsResponse, error)
	AddLiquidityToRewardsBucket(context.Context, *MsgAddLiquidityToRewardsBucketRequest) (*MsgAddLiquidityToRewardsBucketResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetSymmetryThreshold added in v0.13.1

type MsgSetSymmetryThreshold struct {
	Signer    string                                 `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Threshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=threshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"threshold"`
	Ratio     github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=ratio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"ratio"`
}

func (*MsgSetSymmetryThreshold) Descriptor added in v0.13.1

func (*MsgSetSymmetryThreshold) Descriptor() ([]byte, []int)

func (MsgSetSymmetryThreshold) GetSignBytes added in v0.13.1

func (m MsgSetSymmetryThreshold) GetSignBytes() []byte

func (*MsgSetSymmetryThreshold) GetSigner added in v0.13.1

func (m *MsgSetSymmetryThreshold) GetSigner() string

func (MsgSetSymmetryThreshold) GetSigners added in v0.13.1

func (m MsgSetSymmetryThreshold) GetSigners() []sdk.AccAddress

func (*MsgSetSymmetryThreshold) Marshal added in v0.13.1

func (m *MsgSetSymmetryThreshold) Marshal() (dAtA []byte, err error)

func (*MsgSetSymmetryThreshold) MarshalTo added in v0.13.1

func (m *MsgSetSymmetryThreshold) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetSymmetryThreshold) MarshalToSizedBuffer added in v0.13.1

func (m *MsgSetSymmetryThreshold) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetSymmetryThreshold) ProtoMessage added in v0.13.1

func (*MsgSetSymmetryThreshold) ProtoMessage()

func (*MsgSetSymmetryThreshold) Reset added in v0.13.1

func (m *MsgSetSymmetryThreshold) Reset()

func (MsgSetSymmetryThreshold) Route added in v0.13.1

func (m MsgSetSymmetryThreshold) Route() string

func (*MsgSetSymmetryThreshold) Size added in v0.13.1

func (m *MsgSetSymmetryThreshold) Size() (n int)

func (*MsgSetSymmetryThreshold) String added in v0.13.1

func (m *MsgSetSymmetryThreshold) String() string

func (MsgSetSymmetryThreshold) Type added in v0.13.1

func (*MsgSetSymmetryThreshold) Unmarshal added in v0.13.1

func (m *MsgSetSymmetryThreshold) Unmarshal(dAtA []byte) error

func (MsgSetSymmetryThreshold) ValidateBasic added in v0.13.1

func (m MsgSetSymmetryThreshold) ValidateBasic() error

func (*MsgSetSymmetryThreshold) XXX_DiscardUnknown added in v0.13.1

func (m *MsgSetSymmetryThreshold) XXX_DiscardUnknown()

func (*MsgSetSymmetryThreshold) XXX_Marshal added in v0.13.1

func (m *MsgSetSymmetryThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetSymmetryThreshold) XXX_Merge added in v0.13.1

func (m *MsgSetSymmetryThreshold) XXX_Merge(src proto.Message)

func (*MsgSetSymmetryThreshold) XXX_Size added in v0.13.1

func (m *MsgSetSymmetryThreshold) XXX_Size() int

func (*MsgSetSymmetryThreshold) XXX_Unmarshal added in v0.13.1

func (m *MsgSetSymmetryThreshold) XXX_Unmarshal(b []byte) error

type MsgSetSymmetryThresholdResponse added in v0.13.1

type MsgSetSymmetryThresholdResponse struct {
}

func (*MsgSetSymmetryThresholdResponse) Descriptor added in v0.13.1

func (*MsgSetSymmetryThresholdResponse) Descriptor() ([]byte, []int)

func (*MsgSetSymmetryThresholdResponse) Marshal added in v0.13.1

func (m *MsgSetSymmetryThresholdResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetSymmetryThresholdResponse) MarshalTo added in v0.13.1

func (m *MsgSetSymmetryThresholdResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetSymmetryThresholdResponse) MarshalToSizedBuffer added in v0.13.1

func (m *MsgSetSymmetryThresholdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetSymmetryThresholdResponse) ProtoMessage added in v0.13.1

func (*MsgSetSymmetryThresholdResponse) ProtoMessage()

func (*MsgSetSymmetryThresholdResponse) Reset added in v0.13.1

func (*MsgSetSymmetryThresholdResponse) Size added in v0.13.1

func (m *MsgSetSymmetryThresholdResponse) Size() (n int)

func (*MsgSetSymmetryThresholdResponse) String added in v0.13.1

func (*MsgSetSymmetryThresholdResponse) Unmarshal added in v0.13.1

func (m *MsgSetSymmetryThresholdResponse) Unmarshal(dAtA []byte) error

func (*MsgSetSymmetryThresholdResponse) XXX_DiscardUnknown added in v0.13.1

func (m *MsgSetSymmetryThresholdResponse) XXX_DiscardUnknown()

func (*MsgSetSymmetryThresholdResponse) XXX_Marshal added in v0.13.1

func (m *MsgSetSymmetryThresholdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetSymmetryThresholdResponse) XXX_Merge added in v0.13.1

func (m *MsgSetSymmetryThresholdResponse) XXX_Merge(src proto.Message)

func (*MsgSetSymmetryThresholdResponse) XXX_Size added in v0.13.1

func (m *MsgSetSymmetryThresholdResponse) XXX_Size() int

func (*MsgSetSymmetryThresholdResponse) XXX_Unmarshal added in v0.13.1

func (m *MsgSetSymmetryThresholdResponse) XXX_Unmarshal(b []byte) error

type MsgSwap

type MsgSwap struct {
	Signer             string                                  `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	SentAsset          *Asset                                  `protobuf:"bytes,2,opt,name=sent_asset,json=sentAsset,proto3" json:"sent_asset,omitempty" yaml:"sent_asset"`
	ReceivedAsset      *Asset                                  `protobuf:"bytes,3,opt,name=received_asset,json=receivedAsset,proto3" json:"received_asset,omitempty" yaml:"received_asset"`
	SentAmount         github_com_cosmos_cosmos_sdk_types.Uint `` /* 151-byte string literal not displayed */
	MinReceivingAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 186-byte string literal not displayed */
}

func NewMsgSwap

func NewMsgSwap(signer sdk.AccAddress, sentAsset Asset, receivedAsset Asset, sentAmount sdk.Uint, minReceivingAmount sdk.Uint) MsgSwap

func (*MsgSwap) Descriptor

func (*MsgSwap) Descriptor() ([]byte, []int)

func (*MsgSwap) GetReceivedAsset

func (m *MsgSwap) GetReceivedAsset() *Asset

func (*MsgSwap) GetSentAsset

func (m *MsgSwap) GetSentAsset() *Asset

func (MsgSwap) GetSignBytes

func (m MsgSwap) GetSignBytes() []byte

func (*MsgSwap) GetSigner

func (m *MsgSwap) GetSigner() string

func (MsgSwap) GetSigners

func (m MsgSwap) GetSigners() []sdk.AccAddress

func (*MsgSwap) Marshal

func (m *MsgSwap) Marshal() (dAtA []byte, err error)

func (*MsgSwap) MarshalTo

func (m *MsgSwap) MarshalTo(dAtA []byte) (int, error)

func (*MsgSwap) MarshalToSizedBuffer

func (m *MsgSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSwap) ProtoMessage

func (*MsgSwap) ProtoMessage()

func (*MsgSwap) Reset

func (m *MsgSwap) Reset()

func (MsgSwap) Route

func (m MsgSwap) Route() string

func (*MsgSwap) Size

func (m *MsgSwap) Size() (n int)

func (*MsgSwap) String

func (m *MsgSwap) String() string

func (MsgSwap) Type

func (m MsgSwap) Type() string

func (*MsgSwap) Unmarshal

func (m *MsgSwap) Unmarshal(dAtA []byte) error

func (MsgSwap) ValidateBasic

func (m MsgSwap) ValidateBasic() error

func (*MsgSwap) XXX_DiscardUnknown

func (m *MsgSwap) XXX_DiscardUnknown()

func (*MsgSwap) XXX_Marshal

func (m *MsgSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSwap) XXX_Merge

func (m *MsgSwap) XXX_Merge(src proto.Message)

func (*MsgSwap) XXX_Size

func (m *MsgSwap) XXX_Size() int

func (*MsgSwap) XXX_Unmarshal

func (m *MsgSwap) XXX_Unmarshal(b []byte) error

type MsgSwapResponse

type MsgSwapResponse struct {
}

func (*MsgSwapResponse) Descriptor

func (*MsgSwapResponse) Descriptor() ([]byte, []int)

func (*MsgSwapResponse) Marshal

func (m *MsgSwapResponse) Marshal() (dAtA []byte, err error)

func (*MsgSwapResponse) MarshalTo

func (m *MsgSwapResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSwapResponse) MarshalToSizedBuffer

func (m *MsgSwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSwapResponse) ProtoMessage

func (*MsgSwapResponse) ProtoMessage()

func (*MsgSwapResponse) Reset

func (m *MsgSwapResponse) Reset()

func (*MsgSwapResponse) Size

func (m *MsgSwapResponse) Size() (n int)

func (*MsgSwapResponse) String

func (m *MsgSwapResponse) String() string

func (*MsgSwapResponse) Unmarshal

func (m *MsgSwapResponse) Unmarshal(dAtA []byte) error

func (*MsgSwapResponse) XXX_DiscardUnknown

func (m *MsgSwapResponse) XXX_DiscardUnknown()

func (*MsgSwapResponse) XXX_Marshal

func (m *MsgSwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSwapResponse) XXX_Merge

func (m *MsgSwapResponse) XXX_Merge(src proto.Message)

func (*MsgSwapResponse) XXX_Size

func (m *MsgSwapResponse) XXX_Size() int

func (*MsgSwapResponse) XXX_Unmarshal

func (m *MsgSwapResponse) XXX_Unmarshal(b []byte) error

type MsgUnlockLiquidityRequest added in v0.13.0

type MsgUnlockLiquidityRequest struct {
	Signer        string                                  `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	ExternalAsset *Asset                                  `protobuf:"bytes,2,opt,name=external_asset,json=externalAsset,proto3" json:"external_asset,omitempty" yaml:"external_asset"`
	Units         github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=units,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"units"`
}

func (*MsgUnlockLiquidityRequest) Descriptor added in v0.13.0

func (*MsgUnlockLiquidityRequest) Descriptor() ([]byte, []int)

func (*MsgUnlockLiquidityRequest) GetExternalAsset added in v0.13.0

func (m *MsgUnlockLiquidityRequest) GetExternalAsset() *Asset

func (MsgUnlockLiquidityRequest) GetSignBytes added in v0.13.1

func (m MsgUnlockLiquidityRequest) GetSignBytes() []byte

func (*MsgUnlockLiquidityRequest) GetSigner added in v0.13.0

func (m *MsgUnlockLiquidityRequest) GetSigner() string

func (MsgUnlockLiquidityRequest) GetSigners added in v0.13.0

func (m MsgUnlockLiquidityRequest) GetSigners() []sdk.AccAddress

func (*MsgUnlockLiquidityRequest) Marshal added in v0.13.0

func (m *MsgUnlockLiquidityRequest) Marshal() (dAtA []byte, err error)

func (*MsgUnlockLiquidityRequest) MarshalTo added in v0.13.0

func (m *MsgUnlockLiquidityRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgUnlockLiquidityRequest) MarshalToSizedBuffer added in v0.13.0

func (m *MsgUnlockLiquidityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUnlockLiquidityRequest) ProtoMessage added in v0.13.0

func (*MsgUnlockLiquidityRequest) ProtoMessage()

func (*MsgUnlockLiquidityRequest) Reset added in v0.13.0

func (m *MsgUnlockLiquidityRequest) Reset()

func (MsgUnlockLiquidityRequest) Route added in v0.13.1

func (*MsgUnlockLiquidityRequest) Size added in v0.13.0

func (m *MsgUnlockLiquidityRequest) Size() (n int)

func (*MsgUnlockLiquidityRequest) String added in v0.13.0

func (m *MsgUnlockLiquidityRequest) String() string

func (MsgUnlockLiquidityRequest) Type added in v0.13.1

func (*MsgUnlockLiquidityRequest) Unmarshal added in v0.13.0

func (m *MsgUnlockLiquidityRequest) Unmarshal(dAtA []byte) error

func (MsgUnlockLiquidityRequest) ValidateBasic added in v0.13.0

func (m MsgUnlockLiquidityRequest) ValidateBasic() error

func (*MsgUnlockLiquidityRequest) XXX_DiscardUnknown added in v0.13.0

func (m *MsgUnlockLiquidityRequest) XXX_DiscardUnknown()

func (*MsgUnlockLiquidityRequest) XXX_Marshal added in v0.13.0

func (m *MsgUnlockLiquidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUnlockLiquidityRequest) XXX_Merge added in v0.13.0

func (m *MsgUnlockLiquidityRequest) XXX_Merge(src proto.Message)

func (*MsgUnlockLiquidityRequest) XXX_Size added in v0.13.0

func (m *MsgUnlockLiquidityRequest) XXX_Size() int

func (*MsgUnlockLiquidityRequest) XXX_Unmarshal added in v0.13.0

func (m *MsgUnlockLiquidityRequest) XXX_Unmarshal(b []byte) error

type MsgUnlockLiquidityResponse added in v0.13.0

type MsgUnlockLiquidityResponse struct {
}

func (*MsgUnlockLiquidityResponse) Descriptor added in v0.13.0

func (*MsgUnlockLiquidityResponse) Descriptor() ([]byte, []int)

func (*MsgUnlockLiquidityResponse) Marshal added in v0.13.0

func (m *MsgUnlockLiquidityResponse) Marshal() (dAtA []byte, err error)

func (*MsgUnlockLiquidityResponse) MarshalTo added in v0.13.0

func (m *MsgUnlockLiquidityResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUnlockLiquidityResponse) MarshalToSizedBuffer added in v0.13.0

func (m *MsgUnlockLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUnlockLiquidityResponse) ProtoMessage added in v0.13.0

func (*MsgUnlockLiquidityResponse) ProtoMessage()

func (*MsgUnlockLiquidityResponse) Reset added in v0.13.0

func (m *MsgUnlockLiquidityResponse) Reset()

func (*MsgUnlockLiquidityResponse) Size added in v0.13.0

func (m *MsgUnlockLiquidityResponse) Size() (n int)

func (*MsgUnlockLiquidityResponse) String added in v0.13.0

func (m *MsgUnlockLiquidityResponse) String() string

func (*MsgUnlockLiquidityResponse) Unmarshal added in v0.13.0

func (m *MsgUnlockLiquidityResponse) Unmarshal(dAtA []byte) error

func (*MsgUnlockLiquidityResponse) XXX_DiscardUnknown added in v0.13.0

func (m *MsgUnlockLiquidityResponse) XXX_DiscardUnknown()

func (*MsgUnlockLiquidityResponse) XXX_Marshal added in v0.13.0

func (m *MsgUnlockLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUnlockLiquidityResponse) XXX_Merge added in v0.13.0

func (m *MsgUnlockLiquidityResponse) XXX_Merge(src proto.Message)

func (*MsgUnlockLiquidityResponse) XXX_Size added in v0.13.0

func (m *MsgUnlockLiquidityResponse) XXX_Size() int

func (*MsgUnlockLiquidityResponse) XXX_Unmarshal added in v0.13.0

func (m *MsgUnlockLiquidityResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateLiquidityProtectionParams added in v0.13.4

type MsgUpdateLiquidityProtectionParams struct {
	Signer                          string                                  `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	MaxRowanLiquidityThreshold      github_com_cosmos_cosmos_sdk_types.Uint `` /* 184-byte string literal not displayed */
	MaxRowanLiquidityThresholdAsset string                                  `` /* 160-byte string literal not displayed */
	EpochLength                     uint64                                  `protobuf:"varint,3,opt,name=epoch_length,json=epochLength,proto3" json:"epoch_length,omitempty"`
	IsActive                        bool                                    `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
}

func (*MsgUpdateLiquidityProtectionParams) Descriptor added in v0.13.4

func (*MsgUpdateLiquidityProtectionParams) Descriptor() ([]byte, []int)

func (*MsgUpdateLiquidityProtectionParams) GetEpochLength added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParams) GetEpochLength() uint64

func (*MsgUpdateLiquidityProtectionParams) GetIsActive added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParams) GetIsActive() bool

func (*MsgUpdateLiquidityProtectionParams) GetMaxRowanLiquidityThresholdAsset added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParams) GetMaxRowanLiquidityThresholdAsset() string

func (MsgUpdateLiquidityProtectionParams) GetSignBytes added in v0.13.4

func (m MsgUpdateLiquidityProtectionParams) GetSignBytes() []byte

func (*MsgUpdateLiquidityProtectionParams) GetSigner added in v0.13.4

func (*MsgUpdateLiquidityProtectionParams) GetSigners added in v0.13.4

func (*MsgUpdateLiquidityProtectionParams) Marshal added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateLiquidityProtectionParams) MarshalTo added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateLiquidityProtectionParams) MarshalToSizedBuffer added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateLiquidityProtectionParams) ProtoMessage added in v0.13.4

func (*MsgUpdateLiquidityProtectionParams) ProtoMessage()

func (*MsgUpdateLiquidityProtectionParams) Reset added in v0.13.4

func (MsgUpdateLiquidityProtectionParams) Route added in v0.13.4

func (*MsgUpdateLiquidityProtectionParams) Size added in v0.13.4

func (*MsgUpdateLiquidityProtectionParams) String added in v0.13.4

func (MsgUpdateLiquidityProtectionParams) Type added in v0.13.4

func (*MsgUpdateLiquidityProtectionParams) Unmarshal added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParams) Unmarshal(dAtA []byte) error

func (*MsgUpdateLiquidityProtectionParams) ValidateBasic added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParams) ValidateBasic() error

func (*MsgUpdateLiquidityProtectionParams) XXX_DiscardUnknown added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParams) XXX_DiscardUnknown()

func (*MsgUpdateLiquidityProtectionParams) XXX_Marshal added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateLiquidityProtectionParams) XXX_Merge added in v0.13.4

func (*MsgUpdateLiquidityProtectionParams) XXX_Size added in v0.13.4

func (*MsgUpdateLiquidityProtectionParams) XXX_Unmarshal added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParams) XXX_Unmarshal(b []byte) error

type MsgUpdateLiquidityProtectionParamsResponse added in v0.13.4

type MsgUpdateLiquidityProtectionParamsResponse struct {
}

func (*MsgUpdateLiquidityProtectionParamsResponse) Descriptor added in v0.13.4

func (*MsgUpdateLiquidityProtectionParamsResponse) Marshal added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateLiquidityProtectionParamsResponse) MarshalTo added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateLiquidityProtectionParamsResponse) MarshalToSizedBuffer added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateLiquidityProtectionParamsResponse) ProtoMessage added in v0.13.4

func (*MsgUpdateLiquidityProtectionParamsResponse) Reset added in v0.13.4

func (*MsgUpdateLiquidityProtectionParamsResponse) Size added in v0.13.4

func (*MsgUpdateLiquidityProtectionParamsResponse) String added in v0.13.4

func (*MsgUpdateLiquidityProtectionParamsResponse) Unmarshal added in v0.13.4

func (*MsgUpdateLiquidityProtectionParamsResponse) XXX_DiscardUnknown added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateLiquidityProtectionParamsResponse) XXX_Marshal added in v0.13.4

func (m *MsgUpdateLiquidityProtectionParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateLiquidityProtectionParamsResponse) XXX_Merge added in v0.13.4

func (*MsgUpdateLiquidityProtectionParamsResponse) XXX_Size added in v0.13.4

func (*MsgUpdateLiquidityProtectionParamsResponse) XXX_Unmarshal added in v0.13.4

type MsgUpdatePmtpParams added in v0.13.0

type MsgUpdatePmtpParams struct {
	Signer                   string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	PmtpPeriodGovernanceRate string `` /* 137-byte string literal not displayed */
	PmtpPeriodEpochLength    int64  `` /* 129-byte string literal not displayed */
	PmtpPeriodStartBlock     int64  `` /* 126-byte string literal not displayed */
	PmtpPeriodEndBlock       int64  `protobuf:"varint,5,opt,name=pmtp_period_end_block,json=pmtpPeriodEndBlock,proto3" json:"pmtp_period_end_block,omitempty"`
}

func (*MsgUpdatePmtpParams) Descriptor added in v0.13.0

func (*MsgUpdatePmtpParams) Descriptor() ([]byte, []int)

func (*MsgUpdatePmtpParams) GetPmtpPeriodEndBlock added in v0.13.0

func (m *MsgUpdatePmtpParams) GetPmtpPeriodEndBlock() int64

func (*MsgUpdatePmtpParams) GetPmtpPeriodEpochLength added in v0.13.0

func (m *MsgUpdatePmtpParams) GetPmtpPeriodEpochLength() int64

func (*MsgUpdatePmtpParams) GetPmtpPeriodGovernanceRate added in v0.13.0

func (m *MsgUpdatePmtpParams) GetPmtpPeriodGovernanceRate() string

func (*MsgUpdatePmtpParams) GetPmtpPeriodStartBlock added in v0.13.0

func (m *MsgUpdatePmtpParams) GetPmtpPeriodStartBlock() int64

func (MsgUpdatePmtpParams) GetSignBytes added in v0.13.0

func (m MsgUpdatePmtpParams) GetSignBytes() []byte

func (*MsgUpdatePmtpParams) GetSigner added in v0.13.0

func (m *MsgUpdatePmtpParams) GetSigner() string

func (*MsgUpdatePmtpParams) GetSigners added in v0.13.0

func (m *MsgUpdatePmtpParams) GetSigners() []sdk.AccAddress

func (*MsgUpdatePmtpParams) Marshal added in v0.13.0

func (m *MsgUpdatePmtpParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdatePmtpParams) MarshalTo added in v0.13.0

func (m *MsgUpdatePmtpParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdatePmtpParams) MarshalToSizedBuffer added in v0.13.0

func (m *MsgUpdatePmtpParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdatePmtpParams) ProtoMessage added in v0.13.0

func (*MsgUpdatePmtpParams) ProtoMessage()

func (*MsgUpdatePmtpParams) Reset added in v0.13.0

func (m *MsgUpdatePmtpParams) Reset()

func (MsgUpdatePmtpParams) Route added in v0.13.0

func (m MsgUpdatePmtpParams) Route() string

func (*MsgUpdatePmtpParams) Size added in v0.13.0

func (m *MsgUpdatePmtpParams) Size() (n int)

func (*MsgUpdatePmtpParams) String added in v0.13.0

func (m *MsgUpdatePmtpParams) String() string

func (MsgUpdatePmtpParams) Type added in v0.13.0

func (m MsgUpdatePmtpParams) Type() string

func (*MsgUpdatePmtpParams) Unmarshal added in v0.13.0

func (m *MsgUpdatePmtpParams) Unmarshal(dAtA []byte) error

func (*MsgUpdatePmtpParams) ValidateBasic added in v0.13.0

func (m *MsgUpdatePmtpParams) ValidateBasic() error

func (*MsgUpdatePmtpParams) XXX_DiscardUnknown added in v0.13.0

func (m *MsgUpdatePmtpParams) XXX_DiscardUnknown()

func (*MsgUpdatePmtpParams) XXX_Marshal added in v0.13.0

func (m *MsgUpdatePmtpParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdatePmtpParams) XXX_Merge added in v0.13.0

func (m *MsgUpdatePmtpParams) XXX_Merge(src proto.Message)

func (*MsgUpdatePmtpParams) XXX_Size added in v0.13.0

func (m *MsgUpdatePmtpParams) XXX_Size() int

func (*MsgUpdatePmtpParams) XXX_Unmarshal added in v0.13.0

func (m *MsgUpdatePmtpParams) XXX_Unmarshal(b []byte) error

type MsgUpdatePmtpParamsResponse added in v0.13.0

type MsgUpdatePmtpParamsResponse struct {
}

func (*MsgUpdatePmtpParamsResponse) Descriptor added in v0.13.0

func (*MsgUpdatePmtpParamsResponse) Descriptor() ([]byte, []int)

func (*MsgUpdatePmtpParamsResponse) Marshal added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdatePmtpParamsResponse) MarshalTo added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdatePmtpParamsResponse) MarshalToSizedBuffer added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdatePmtpParamsResponse) ProtoMessage added in v0.13.0

func (*MsgUpdatePmtpParamsResponse) ProtoMessage()

func (*MsgUpdatePmtpParamsResponse) Reset added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) Reset()

func (*MsgUpdatePmtpParamsResponse) Size added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) Size() (n int)

func (*MsgUpdatePmtpParamsResponse) String added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) String() string

func (*MsgUpdatePmtpParamsResponse) Unmarshal added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdatePmtpParamsResponse) XXX_DiscardUnknown added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdatePmtpParamsResponse) XXX_Marshal added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdatePmtpParamsResponse) XXX_Merge added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdatePmtpParamsResponse) XXX_Size added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) XXX_Size() int

func (*MsgUpdatePmtpParamsResponse) XXX_Unmarshal added in v0.13.0

func (m *MsgUpdatePmtpParamsResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateRewardsParamsRequest added in v0.13.0

type MsgUpdateRewardsParamsRequest struct {
	Signer                       string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	LiquidityRemovalLockPeriod   uint64 `` /* 144-byte string literal not displayed */
	LiquidityRemovalCancelPeriod uint64 `` /* 150-byte string literal not displayed */
	RewardsLockPeriod            uint64 `protobuf:"varint,4,opt,name=rewards_lock_period,json=rewardsLockPeriod,proto3" json:"rewards_lock_period,omitempty"`
	RewardsEpochIdentifier       string `` /* 129-byte string literal not displayed */
	RewardsDistribute            bool   `protobuf:"varint,6,opt,name=rewards_distribute,json=rewardsDistribute,proto3" json:"rewards_distribute,omitempty"`
}

func (*MsgUpdateRewardsParamsRequest) Descriptor added in v0.13.0

func (*MsgUpdateRewardsParamsRequest) Descriptor() ([]byte, []int)

func (*MsgUpdateRewardsParamsRequest) GetLiquidityRemovalCancelPeriod added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) GetLiquidityRemovalCancelPeriod() uint64

func (*MsgUpdateRewardsParamsRequest) GetLiquidityRemovalLockPeriod added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) GetLiquidityRemovalLockPeriod() uint64

func (*MsgUpdateRewardsParamsRequest) GetRewardsDistribute added in v1.4.0

func (m *MsgUpdateRewardsParamsRequest) GetRewardsDistribute() bool

func (*MsgUpdateRewardsParamsRequest) GetRewardsEpochIdentifier added in v1.4.0

func (m *MsgUpdateRewardsParamsRequest) GetRewardsEpochIdentifier() string

func (*MsgUpdateRewardsParamsRequest) GetRewardsLockPeriod added in v1.4.0

func (m *MsgUpdateRewardsParamsRequest) GetRewardsLockPeriod() uint64

func (MsgUpdateRewardsParamsRequest) GetSignBytes added in v0.13.0

func (m MsgUpdateRewardsParamsRequest) GetSignBytes() []byte

func (*MsgUpdateRewardsParamsRequest) GetSigner added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) GetSigner() string

func (MsgUpdateRewardsParamsRequest) GetSigners added in v0.13.0

func (m MsgUpdateRewardsParamsRequest) GetSigners() []sdk.AccAddress

func (*MsgUpdateRewardsParamsRequest) Marshal added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) Marshal() (dAtA []byte, err error)

func (*MsgUpdateRewardsParamsRequest) MarshalTo added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateRewardsParamsRequest) MarshalToSizedBuffer added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateRewardsParamsRequest) ProtoMessage added in v0.13.0

func (*MsgUpdateRewardsParamsRequest) ProtoMessage()

func (*MsgUpdateRewardsParamsRequest) Reset added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) Reset()

func (MsgUpdateRewardsParamsRequest) Route added in v0.13.0

func (*MsgUpdateRewardsParamsRequest) Size added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) Size() (n int)

func (*MsgUpdateRewardsParamsRequest) String added in v0.13.0

func (MsgUpdateRewardsParamsRequest) Type added in v0.13.0

func (*MsgUpdateRewardsParamsRequest) Unmarshal added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) Unmarshal(dAtA []byte) error

func (MsgUpdateRewardsParamsRequest) ValidateBasic added in v0.13.0

func (m MsgUpdateRewardsParamsRequest) ValidateBasic() error

func (*MsgUpdateRewardsParamsRequest) XXX_DiscardUnknown added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) XXX_DiscardUnknown()

func (*MsgUpdateRewardsParamsRequest) XXX_Marshal added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateRewardsParamsRequest) XXX_Merge added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) XXX_Merge(src proto.Message)

func (*MsgUpdateRewardsParamsRequest) XXX_Size added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) XXX_Size() int

func (*MsgUpdateRewardsParamsRequest) XXX_Unmarshal added in v0.13.0

func (m *MsgUpdateRewardsParamsRequest) XXX_Unmarshal(b []byte) error

type MsgUpdateRewardsParamsResponse added in v0.13.0

type MsgUpdateRewardsParamsResponse struct {
}

func (*MsgUpdateRewardsParamsResponse) Descriptor added in v0.13.0

func (*MsgUpdateRewardsParamsResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateRewardsParamsResponse) Marshal added in v0.13.0

func (m *MsgUpdateRewardsParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateRewardsParamsResponse) MarshalTo added in v0.13.0

func (m *MsgUpdateRewardsParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateRewardsParamsResponse) MarshalToSizedBuffer added in v0.13.0

func (m *MsgUpdateRewardsParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateRewardsParamsResponse) ProtoMessage added in v0.13.0

func (*MsgUpdateRewardsParamsResponse) ProtoMessage()

func (*MsgUpdateRewardsParamsResponse) Reset added in v0.13.0

func (m *MsgUpdateRewardsParamsResponse) Reset()

func (*MsgUpdateRewardsParamsResponse) Size added in v0.13.0

func (m *MsgUpdateRewardsParamsResponse) Size() (n int)

func (*MsgUpdateRewardsParamsResponse) String added in v0.13.0

func (*MsgUpdateRewardsParamsResponse) Unmarshal added in v0.13.0

func (m *MsgUpdateRewardsParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateRewardsParamsResponse) XXX_DiscardUnknown added in v0.13.0

func (m *MsgUpdateRewardsParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateRewardsParamsResponse) XXX_Marshal added in v0.13.0

func (m *MsgUpdateRewardsParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateRewardsParamsResponse) XXX_Merge added in v0.13.0

func (m *MsgUpdateRewardsParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateRewardsParamsResponse) XXX_Size added in v0.13.0

func (m *MsgUpdateRewardsParamsResponse) XXX_Size() int

func (*MsgUpdateRewardsParamsResponse) XXX_Unmarshal added in v0.13.0

func (m *MsgUpdateRewardsParamsResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateStakingRewardParams added in v0.13.0

type MsgUpdateStakingRewardParams struct {
	Signer string                                           `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	Minter github_com_cosmos_cosmos_sdk_x_mint_types.Minter `protobuf:"bytes,2,opt,name=minter,proto3,customtype=github.com/cosmos/cosmos-sdk/x/mint/types.Minter" json:"minter"`
	Params github_com_cosmos_cosmos_sdk_x_mint_types.Params `protobuf:"bytes,3,opt,name=params,proto3,customtype=github.com/cosmos/cosmos-sdk/x/mint/types.Params" json:"params"`
}

func (*MsgUpdateStakingRewardParams) Descriptor added in v0.13.0

func (*MsgUpdateStakingRewardParams) Descriptor() ([]byte, []int)

func (MsgUpdateStakingRewardParams) GetSignBytes added in v0.13.0

func (m MsgUpdateStakingRewardParams) GetSignBytes() []byte

func (*MsgUpdateStakingRewardParams) GetSigner added in v0.13.0

func (m *MsgUpdateStakingRewardParams) GetSigner() string

func (MsgUpdateStakingRewardParams) GetSigners added in v0.13.0

func (m MsgUpdateStakingRewardParams) GetSigners() []sdk.AccAddress

func (*MsgUpdateStakingRewardParams) Marshal added in v0.13.0

func (m *MsgUpdateStakingRewardParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateStakingRewardParams) MarshalTo added in v0.13.0

func (m *MsgUpdateStakingRewardParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateStakingRewardParams) MarshalToSizedBuffer added in v0.13.0

func (m *MsgUpdateStakingRewardParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateStakingRewardParams) ProtoMessage added in v0.13.0

func (*MsgUpdateStakingRewardParams) ProtoMessage()

func (*MsgUpdateStakingRewardParams) Reset added in v0.13.0

func (m *MsgUpdateStakingRewardParams) Reset()

func (MsgUpdateStakingRewardParams) Route added in v0.13.0

func (*MsgUpdateStakingRewardParams) Size added in v0.13.0

func (m *MsgUpdateStakingRewardParams) Size() (n int)

func (*MsgUpdateStakingRewardParams) String added in v0.13.0

func (MsgUpdateStakingRewardParams) Type added in v0.13.0

func (*MsgUpdateStakingRewardParams) Unmarshal added in v0.13.0

func (m *MsgUpdateStakingRewardParams) Unmarshal(dAtA []byte) error

func (MsgUpdateStakingRewardParams) ValidateBasic added in v0.13.0

func (m MsgUpdateStakingRewardParams) ValidateBasic() error

func (*MsgUpdateStakingRewardParams) XXX_DiscardUnknown added in v0.13.0

func (m *MsgUpdateStakingRewardParams) XXX_DiscardUnknown()

func (*MsgUpdateStakingRewardParams) XXX_Marshal added in v0.13.0

func (m *MsgUpdateStakingRewardParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateStakingRewardParams) XXX_Merge added in v0.13.0

func (m *MsgUpdateStakingRewardParams) XXX_Merge(src proto.Message)

func (*MsgUpdateStakingRewardParams) XXX_Size added in v0.13.0

func (m *MsgUpdateStakingRewardParams) XXX_Size() int

func (*MsgUpdateStakingRewardParams) XXX_Unmarshal added in v0.13.0

func (m *MsgUpdateStakingRewardParams) XXX_Unmarshal(b []byte) error

type MsgUpdateStakingRewardParamsResponse added in v0.13.0

type MsgUpdateStakingRewardParamsResponse struct {
}

func (*MsgUpdateStakingRewardParamsResponse) Descriptor added in v0.13.0

func (*MsgUpdateStakingRewardParamsResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateStakingRewardParamsResponse) Marshal added in v0.13.0

func (m *MsgUpdateStakingRewardParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateStakingRewardParamsResponse) MarshalTo added in v0.13.0

func (m *MsgUpdateStakingRewardParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateStakingRewardParamsResponse) MarshalToSizedBuffer added in v0.13.0

func (m *MsgUpdateStakingRewardParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateStakingRewardParamsResponse) ProtoMessage added in v0.13.0

func (*MsgUpdateStakingRewardParamsResponse) ProtoMessage()

func (*MsgUpdateStakingRewardParamsResponse) Reset added in v0.13.0

func (*MsgUpdateStakingRewardParamsResponse) Size added in v0.13.0

func (*MsgUpdateStakingRewardParamsResponse) String added in v0.13.0

func (*MsgUpdateStakingRewardParamsResponse) Unmarshal added in v0.13.0

func (m *MsgUpdateStakingRewardParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateStakingRewardParamsResponse) XXX_DiscardUnknown added in v0.13.0

func (m *MsgUpdateStakingRewardParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateStakingRewardParamsResponse) XXX_Marshal added in v0.13.0

func (m *MsgUpdateStakingRewardParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateStakingRewardParamsResponse) XXX_Merge added in v0.13.0

func (*MsgUpdateStakingRewardParamsResponse) XXX_Size added in v0.13.0

func (*MsgUpdateStakingRewardParamsResponse) XXX_Unmarshal added in v0.13.0

func (m *MsgUpdateStakingRewardParamsResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateSwapFeeParamsRequest added in v1.4.0

type MsgUpdateSwapFeeParamsRequest struct {
	Signer             string                                 `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
	DefaultSwapFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 159-byte string literal not displayed */
	TokenParams        []*SwapFeeTokenParams                  `protobuf:"bytes,3,rep,name=token_params,json=tokenParams,proto3" json:"token_params,omitempty"`
}

func (*MsgUpdateSwapFeeParamsRequest) Descriptor added in v1.4.0

func (*MsgUpdateSwapFeeParamsRequest) Descriptor() ([]byte, []int)

func (MsgUpdateSwapFeeParamsRequest) GetSignBytes added in v1.4.0

func (m MsgUpdateSwapFeeParamsRequest) GetSignBytes() []byte

func (*MsgUpdateSwapFeeParamsRequest) GetSigner added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) GetSigner() string

func (MsgUpdateSwapFeeParamsRequest) GetSigners added in v1.4.0

func (m MsgUpdateSwapFeeParamsRequest) GetSigners() []sdk.AccAddress

func (*MsgUpdateSwapFeeParamsRequest) GetTokenParams added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) GetTokenParams() []*SwapFeeTokenParams

func (*MsgUpdateSwapFeeParamsRequest) Marshal added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) Marshal() (dAtA []byte, err error)

func (*MsgUpdateSwapFeeParamsRequest) MarshalTo added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateSwapFeeParamsRequest) MarshalToSizedBuffer added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateSwapFeeParamsRequest) ProtoMessage added in v1.4.0

func (*MsgUpdateSwapFeeParamsRequest) ProtoMessage()

func (*MsgUpdateSwapFeeParamsRequest) Reset added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) Reset()

func (MsgUpdateSwapFeeParamsRequest) Route added in v1.4.0

func (*MsgUpdateSwapFeeParamsRequest) Size added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) Size() (n int)

func (*MsgUpdateSwapFeeParamsRequest) String added in v1.4.0

func (MsgUpdateSwapFeeParamsRequest) Type added in v1.4.0

func (*MsgUpdateSwapFeeParamsRequest) Unmarshal added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) Unmarshal(dAtA []byte) error

func (MsgUpdateSwapFeeParamsRequest) ValidateBasic added in v1.4.0

func (m MsgUpdateSwapFeeParamsRequest) ValidateBasic() error

func (*MsgUpdateSwapFeeParamsRequest) XXX_DiscardUnknown added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) XXX_DiscardUnknown()

func (*MsgUpdateSwapFeeParamsRequest) XXX_Marshal added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateSwapFeeParamsRequest) XXX_Merge added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) XXX_Merge(src proto.Message)

func (*MsgUpdateSwapFeeParamsRequest) XXX_Size added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) XXX_Size() int

func (*MsgUpdateSwapFeeParamsRequest) XXX_Unmarshal added in v1.4.0

func (m *MsgUpdateSwapFeeParamsRequest) XXX_Unmarshal(b []byte) error

type MsgUpdateSwapFeeParamsResponse added in v1.4.0

type MsgUpdateSwapFeeParamsResponse struct {
}

func (*MsgUpdateSwapFeeParamsResponse) Descriptor added in v1.4.0

func (*MsgUpdateSwapFeeParamsResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateSwapFeeParamsResponse) Marshal added in v1.4.0

func (m *MsgUpdateSwapFeeParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateSwapFeeParamsResponse) MarshalTo added in v1.4.0

func (m *MsgUpdateSwapFeeParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateSwapFeeParamsResponse) MarshalToSizedBuffer added in v1.4.0

func (m *MsgUpdateSwapFeeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateSwapFeeParamsResponse) ProtoMessage added in v1.4.0

func (*MsgUpdateSwapFeeParamsResponse) ProtoMessage()

func (*MsgUpdateSwapFeeParamsResponse) Reset added in v1.4.0

func (m *MsgUpdateSwapFeeParamsResponse) Reset()

func (*MsgUpdateSwapFeeParamsResponse) Size added in v1.4.0

func (m *MsgUpdateSwapFeeParamsResponse) Size() (n int)

func (*MsgUpdateSwapFeeParamsResponse) String added in v1.4.0

func (*MsgUpdateSwapFeeParamsResponse) Unmarshal added in v1.4.0

func (m *MsgUpdateSwapFeeParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateSwapFeeParamsResponse) XXX_DiscardUnknown added in v1.4.0

func (m *MsgUpdateSwapFeeParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateSwapFeeParamsResponse) XXX_Marshal added in v1.4.0

func (m *MsgUpdateSwapFeeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateSwapFeeParamsResponse) XXX_Merge added in v1.4.0

func (m *MsgUpdateSwapFeeParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateSwapFeeParamsResponse) XXX_Size added in v1.4.0

func (m *MsgUpdateSwapFeeParamsResponse) XXX_Size() int

func (*MsgUpdateSwapFeeParamsResponse) XXX_Unmarshal added in v1.4.0

func (m *MsgUpdateSwapFeeParamsResponse) XXX_Unmarshal(b []byte) error

type ParamSubspace

type ParamSubspace interface {
	WithKeyTable(table paramtypes.KeyTable) paramtypes.Subspace
	Get(ctx sdk.Context, key []byte, ptr interface{})
	GetParamSet(ctx sdk.Context, ps paramtypes.ParamSet)
	SetParamSet(ctx sdk.Context, ps paramtypes.ParamSet)
}

ParamSubspace defines the expected Subspace interfacace

type Params

type Params struct {
	MinCreatePoolThreshold uint64 `` /* 132-byte string literal not displayed */
	EnableRemovalQueue     bool   `protobuf:"varint,2,opt,name=enable_removal_queue,json=enableRemovalQueue,proto3" json:"enable_removal_queue,omitempty"`
}

Params - used for initializing default parameter for clp at genesis

func DefaultParams

func DefaultParams() Params

DefaultParams defines the parameters for this module

func NewParams

func NewParams(minThreshold uint64) Params

NewParams creates a new Params object

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (Params) Equal

func (p Params) Equal(p2 Params) bool

func (*Params) GetEnableRemovalQueue added in v0.15.0

func (m *Params) GetEnableRemovalQueue() bool

func (*Params) GetMinCreatePoolThreshold

func (m *Params) GetMinCreatePoolThreshold() uint64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs - Implements params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type ParamsReq added in v0.13.0

type ParamsReq struct {
}

func (*ParamsReq) Descriptor added in v0.13.0

func (*ParamsReq) Descriptor() ([]byte, []int)

func (*ParamsReq) Marshal added in v0.13.0

func (m *ParamsReq) Marshal() (dAtA []byte, err error)

func (*ParamsReq) MarshalTo added in v0.13.0

func (m *ParamsReq) MarshalTo(dAtA []byte) (int, error)

func (*ParamsReq) MarshalToSizedBuffer added in v0.13.0

func (m *ParamsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ParamsReq) ProtoMessage added in v0.13.0

func (*ParamsReq) ProtoMessage()

func (*ParamsReq) Reset added in v0.13.0

func (m *ParamsReq) Reset()

func (*ParamsReq) Size added in v0.13.0

func (m *ParamsReq) Size() (n int)

func (*ParamsReq) String added in v0.13.0

func (m *ParamsReq) String() string

func (*ParamsReq) Unmarshal added in v0.13.0

func (m *ParamsReq) Unmarshal(dAtA []byte) error

func (*ParamsReq) XXX_DiscardUnknown added in v0.13.0

func (m *ParamsReq) XXX_DiscardUnknown()

func (*ParamsReq) XXX_Marshal added in v0.13.0

func (m *ParamsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParamsReq) XXX_Merge added in v0.13.0

func (m *ParamsReq) XXX_Merge(src proto.Message)

func (*ParamsReq) XXX_Size added in v0.13.0

func (m *ParamsReq) XXX_Size() int

func (*ParamsReq) XXX_Unmarshal added in v0.13.0

func (m *ParamsReq) XXX_Unmarshal(b []byte) error

type ParamsRes added in v0.13.0

type ParamsRes struct {
	Params                 *Params                                `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	SymmetryThreshold      github_com_cosmos_cosmos_sdk_types.Dec `` /* 152-byte string literal not displayed */
	SymmetryRatioThreshold github_com_cosmos_cosmos_sdk_types.Dec `` /* 169-byte string literal not displayed */
}

func (*ParamsRes) Descriptor added in v0.13.0

func (*ParamsRes) Descriptor() ([]byte, []int)

func (*ParamsRes) GetParams added in v0.13.0

func (m *ParamsRes) GetParams() *Params

func (*ParamsRes) Marshal added in v0.13.0

func (m *ParamsRes) Marshal() (dAtA []byte, err error)

func (*ParamsRes) MarshalTo added in v0.13.0

func (m *ParamsRes) MarshalTo(dAtA []byte) (int, error)

func (*ParamsRes) MarshalToSizedBuffer added in v0.13.0

func (m *ParamsRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ParamsRes) ProtoMessage added in v0.13.0

func (*ParamsRes) ProtoMessage()

func (*ParamsRes) Reset added in v0.13.0

func (m *ParamsRes) Reset()

func (*ParamsRes) Size added in v0.13.0

func (m *ParamsRes) Size() (n int)

func (*ParamsRes) String added in v0.13.0

func (m *ParamsRes) String() string

func (*ParamsRes) Unmarshal added in v0.13.0

func (m *ParamsRes) Unmarshal(dAtA []byte) error

func (*ParamsRes) XXX_DiscardUnknown added in v0.13.0

func (m *ParamsRes) XXX_DiscardUnknown()

func (*ParamsRes) XXX_Marshal added in v0.13.0

func (m *ParamsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParamsRes) XXX_Merge added in v0.13.0

func (m *ParamsRes) XXX_Merge(src proto.Message)

func (*ParamsRes) XXX_Size added in v0.13.0

func (m *ParamsRes) XXX_Size() int

func (*ParamsRes) XXX_Unmarshal added in v0.13.0

func (m *ParamsRes) XXX_Unmarshal(b []byte) error

type PmtpEpoch added in v0.13.0

type PmtpEpoch struct {
	EpochCounter int64 `protobuf:"varint,1,opt,name=epoch_counter,json=epochCounter,proto3" json:"epoch_counter,omitempty"`
	BlockCounter int64 `protobuf:"varint,2,opt,name=block_counter,json=blockCounter,proto3" json:"block_counter,omitempty"`
}

func (*PmtpEpoch) Descriptor added in v0.13.0

func (*PmtpEpoch) Descriptor() ([]byte, []int)

func (*PmtpEpoch) GetBlockCounter added in v0.13.0

func (m *PmtpEpoch) GetBlockCounter() int64

func (*PmtpEpoch) GetEpochCounter added in v0.13.0

func (m *PmtpEpoch) GetEpochCounter() int64

func (*PmtpEpoch) Marshal added in v0.13.0

func (m *PmtpEpoch) Marshal() (dAtA []byte, err error)

func (*PmtpEpoch) MarshalTo added in v0.13.0

func (m *PmtpEpoch) MarshalTo(dAtA []byte) (int, error)

func (*PmtpEpoch) MarshalToSizedBuffer added in v0.13.0

func (m *PmtpEpoch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PmtpEpoch) ProtoMessage added in v0.13.0

func (*PmtpEpoch) ProtoMessage()

func (*PmtpEpoch) Reset added in v0.13.0

func (m *PmtpEpoch) Reset()

func (*PmtpEpoch) Size added in v0.13.0

func (m *PmtpEpoch) Size() (n int)

func (*PmtpEpoch) String added in v0.13.0

func (m *PmtpEpoch) String() string

func (*PmtpEpoch) Unmarshal added in v0.13.0

func (m *PmtpEpoch) Unmarshal(dAtA []byte) error

func (*PmtpEpoch) XXX_DiscardUnknown added in v0.13.0

func (m *PmtpEpoch) XXX_DiscardUnknown()

func (*PmtpEpoch) XXX_Marshal added in v0.13.0

func (m *PmtpEpoch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PmtpEpoch) XXX_Merge added in v0.13.0

func (m *PmtpEpoch) XXX_Merge(src proto.Message)

func (*PmtpEpoch) XXX_Size added in v0.13.0

func (m *PmtpEpoch) XXX_Size() int

func (*PmtpEpoch) XXX_Unmarshal added in v0.13.0

func (m *PmtpEpoch) XXX_Unmarshal(b []byte) error

type PmtpParams added in v0.13.0

type PmtpParams struct {
	PmtpPeriodGovernanceRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 177-byte string literal not displayed */
	PmtpPeriodEpochLength    int64                                  `` /* 129-byte string literal not displayed */
	PmtpPeriodStartBlock     int64                                  `` /* 126-byte string literal not displayed */
	PmtpPeriodEndBlock       int64                                  `protobuf:"varint,4,opt,name=pmtp_period_end_block,json=pmtpPeriodEndBlock,proto3" json:"pmtp_period_end_block,omitempty"`
}

func GetDefaultPmtpParams added in v0.13.0

func GetDefaultPmtpParams() *PmtpParams

func (*PmtpParams) Descriptor added in v0.13.0

func (*PmtpParams) Descriptor() ([]byte, []int)

func (*PmtpParams) GetPmtpPeriodEndBlock added in v0.13.0

func (m *PmtpParams) GetPmtpPeriodEndBlock() int64

func (*PmtpParams) GetPmtpPeriodEpochLength added in v0.13.0

func (m *PmtpParams) GetPmtpPeriodEpochLength() int64

func (*PmtpParams) GetPmtpPeriodStartBlock added in v0.13.0

func (m *PmtpParams) GetPmtpPeriodStartBlock() int64

func (*PmtpParams) Marshal added in v0.13.0

func (m *PmtpParams) Marshal() (dAtA []byte, err error)

func (*PmtpParams) MarshalTo added in v0.13.0

func (m *PmtpParams) MarshalTo(dAtA []byte) (int, error)

func (*PmtpParams) MarshalToSizedBuffer added in v0.13.0

func (m *PmtpParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PmtpParams) ProtoMessage added in v0.13.0

func (*PmtpParams) ProtoMessage()

func (*PmtpParams) Reset added in v0.13.0

func (m *PmtpParams) Reset()

func (*PmtpParams) Size added in v0.13.0

func (m *PmtpParams) Size() (n int)

func (*PmtpParams) String added in v0.13.0

func (m *PmtpParams) String() string

func (*PmtpParams) Unmarshal added in v0.13.0

func (m *PmtpParams) Unmarshal(dAtA []byte) error

func (*PmtpParams) XXX_DiscardUnknown added in v0.13.0

func (m *PmtpParams) XXX_DiscardUnknown()

func (*PmtpParams) XXX_Marshal added in v0.13.0

func (m *PmtpParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PmtpParams) XXX_Merge added in v0.13.0

func (m *PmtpParams) XXX_Merge(src proto.Message)

func (*PmtpParams) XXX_Size added in v0.13.0

func (m *PmtpParams) XXX_Size() int

func (*PmtpParams) XXX_Unmarshal added in v0.13.0

func (m *PmtpParams) XXX_Unmarshal(b []byte) error

type PmtpParamsReq added in v0.13.0

type PmtpParamsReq struct {
}

func (*PmtpParamsReq) Descriptor added in v0.13.0

func (*PmtpParamsReq) Descriptor() ([]byte, []int)

func (*PmtpParamsReq) Marshal added in v0.13.0

func (m *PmtpParamsReq) Marshal() (dAtA []byte, err error)

func (*PmtpParamsReq) MarshalTo added in v0.13.0

func (m *PmtpParamsReq) MarshalTo(dAtA []byte) (int, error)

func (*PmtpParamsReq) MarshalToSizedBuffer added in v0.13.0

func (m *PmtpParamsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PmtpParamsReq) ProtoMessage added in v0.13.0

func (*PmtpParamsReq) ProtoMessage()

func (*PmtpParamsReq) Reset added in v0.13.0

func (m *PmtpParamsReq) Reset()

func (*PmtpParamsReq) Size added in v0.13.0

func (m *PmtpParamsReq) Size() (n int)

func (*PmtpParamsReq) String added in v0.13.0

func (m *PmtpParamsReq) String() string

func (*PmtpParamsReq) Unmarshal added in v0.13.0

func (m *PmtpParamsReq) Unmarshal(dAtA []byte) error

func (*PmtpParamsReq) XXX_DiscardUnknown added in v0.13.0

func (m *PmtpParamsReq) XXX_DiscardUnknown()

func (*PmtpParamsReq) XXX_Marshal added in v0.13.0

func (m *PmtpParamsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PmtpParamsReq) XXX_Merge added in v0.13.0

func (m *PmtpParamsReq) XXX_Merge(src proto.Message)

func (*PmtpParamsReq) XXX_Size added in v0.13.0

func (m *PmtpParamsReq) XXX_Size() int

func (*PmtpParamsReq) XXX_Unmarshal added in v0.13.0

func (m *PmtpParamsReq) XXX_Unmarshal(b []byte) error

type PmtpParamsRes added in v0.13.0

type PmtpParamsRes struct {
	Params         *PmtpParams     `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	PmtpRateParams *PmtpRateParams `protobuf:"bytes,2,opt,name=pmtp_rate_params,json=pmtpRateParams,proto3" json:"pmtp_rate_params,omitempty"`
	PmtpEpoch      *PmtpEpoch      `protobuf:"bytes,3,opt,name=pmtp_epoch,json=pmtpEpoch,proto3" json:"pmtp_epoch,omitempty"`
	Height         int64           `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
}

func NewPmtpParamsResponse added in v0.13.0

func NewPmtpParamsResponse(params *PmtpParams, pmtpRateParams PmtpRateParams, pmtpEpoch PmtpEpoch, height int64) PmtpParamsRes

func (*PmtpParamsRes) Descriptor added in v0.13.0

func (*PmtpParamsRes) Descriptor() ([]byte, []int)

func (*PmtpParamsRes) GetHeight added in v0.13.0

func (m *PmtpParamsRes) GetHeight() int64

func (*PmtpParamsRes) GetParams added in v0.13.0

func (m *PmtpParamsRes) GetParams() *PmtpParams

func (*PmtpParamsRes) GetPmtpEpoch added in v0.13.0

func (m *PmtpParamsRes) GetPmtpEpoch() *PmtpEpoch

func (*PmtpParamsRes) GetPmtpRateParams added in v0.13.0

func (m *PmtpParamsRes) GetPmtpRateParams() *PmtpRateParams

func (*PmtpParamsRes) Marshal added in v0.13.0

func (m *PmtpParamsRes) Marshal() (dAtA []byte, err error)

func (*PmtpParamsRes) MarshalTo added in v0.13.0

func (m *PmtpParamsRes) MarshalTo(dAtA []byte) (int, error)

func (*PmtpParamsRes) MarshalToSizedBuffer added in v0.13.0

func (m *PmtpParamsRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PmtpParamsRes) ProtoMessage added in v0.13.0

func (*PmtpParamsRes) ProtoMessage()

func (*PmtpParamsRes) Reset added in v0.13.0

func (m *PmtpParamsRes) Reset()

func (*PmtpParamsRes) Size added in v0.13.0

func (m *PmtpParamsRes) Size() (n int)

func (*PmtpParamsRes) String added in v0.13.0

func (m *PmtpParamsRes) String() string

func (*PmtpParamsRes) Unmarshal added in v0.13.0

func (m *PmtpParamsRes) Unmarshal(dAtA []byte) error

func (*PmtpParamsRes) XXX_DiscardUnknown added in v0.13.0

func (m *PmtpParamsRes) XXX_DiscardUnknown()

func (*PmtpParamsRes) XXX_Marshal added in v0.13.0

func (m *PmtpParamsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PmtpParamsRes) XXX_Merge added in v0.13.0

func (m *PmtpParamsRes) XXX_Merge(src proto.Message)

func (*PmtpParamsRes) XXX_Size added in v0.13.0

func (m *PmtpParamsRes) XXX_Size() int

func (*PmtpParamsRes) XXX_Unmarshal added in v0.13.0

func (m *PmtpParamsRes) XXX_Unmarshal(b []byte) error

type PmtpRateParams added in v0.13.0

type PmtpRateParams struct {
	PmtpPeriodBlockRate    github_com_cosmos_cosmos_sdk_types.Dec `` /* 162-byte string literal not displayed */
	PmtpCurrentRunningRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 171-byte string literal not displayed */
	PmtpInterPolicyRate    github_com_cosmos_cosmos_sdk_types.Dec `` /* 162-byte string literal not displayed */
}

These params are non-governable and are calculated on chain

func (*PmtpRateParams) Descriptor added in v0.13.0

func (*PmtpRateParams) Descriptor() ([]byte, []int)

func (*PmtpRateParams) Marshal added in v0.13.0

func (m *PmtpRateParams) Marshal() (dAtA []byte, err error)

func (*PmtpRateParams) MarshalTo added in v0.13.0

func (m *PmtpRateParams) MarshalTo(dAtA []byte) (int, error)

func (*PmtpRateParams) MarshalToSizedBuffer added in v0.13.0

func (m *PmtpRateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PmtpRateParams) ProtoMessage added in v0.13.0

func (*PmtpRateParams) ProtoMessage()

func (*PmtpRateParams) Reset added in v0.13.0

func (m *PmtpRateParams) Reset()

func (*PmtpRateParams) Size added in v0.13.0

func (m *PmtpRateParams) Size() (n int)

func (*PmtpRateParams) String added in v0.13.0

func (m *PmtpRateParams) String() string

func (*PmtpRateParams) Unmarshal added in v0.13.0

func (m *PmtpRateParams) Unmarshal(dAtA []byte) error

func (*PmtpRateParams) XXX_DiscardUnknown added in v0.13.0

func (m *PmtpRateParams) XXX_DiscardUnknown()

func (*PmtpRateParams) XXX_Marshal added in v0.13.0

func (m *PmtpRateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PmtpRateParams) XXX_Merge added in v0.13.0

func (m *PmtpRateParams) XXX_Merge(src proto.Message)

func (*PmtpRateParams) XXX_Size added in v0.13.0

func (m *PmtpRateParams) XXX_Size() int

func (*PmtpRateParams) XXX_Unmarshal added in v0.13.0

func (m *PmtpRateParams) XXX_Unmarshal(b []byte) error

type Pool

type Pool struct {
	ExternalAsset                  *Asset                                  `protobuf:"bytes,1,opt,name=external_asset,json=externalAsset,proto3" json:"external_asset,omitempty"`
	NativeAssetBalance             github_com_cosmos_cosmos_sdk_types.Uint `` /* 186-byte string literal not displayed */
	ExternalAssetBalance           github_com_cosmos_cosmos_sdk_types.Uint `` /* 194-byte string literal not displayed */
	PoolUnits                      github_com_cosmos_cosmos_sdk_types.Uint `` /* 147-byte string literal not displayed */
	SwapPriceNative                *github_com_cosmos_cosmos_sdk_types.Dec `` /* 184-byte string literal not displayed */
	SwapPriceExternal              *github_com_cosmos_cosmos_sdk_types.Dec `` /* 192-byte string literal not displayed */
	RewardPeriodNativeDistributed  github_com_cosmos_cosmos_sdk_types.Uint `` /* 233-byte string literal not displayed */
	ExternalLiabilities            github_com_cosmos_cosmos_sdk_types.Uint `` /* 159-byte string literal not displayed */
	ExternalCustody                github_com_cosmos_cosmos_sdk_types.Uint `` /* 147-byte string literal not displayed */
	NativeLiabilities              github_com_cosmos_cosmos_sdk_types.Uint `` /* 154-byte string literal not displayed */
	NativeCustody                  github_com_cosmos_cosmos_sdk_types.Uint `` /* 142-byte string literal not displayed */
	Health                         github_com_cosmos_cosmos_sdk_types.Dec  `protobuf:"bytes,12,opt,name=health,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"health"`
	InterestRate                   github_com_cosmos_cosmos_sdk_types.Dec  `` /* 138-byte string literal not displayed */
	LastHeightInterestRateComputed int64                                   `` /* 159-byte string literal not displayed */
	UnsettledExternalLiabilities   github_com_cosmos_cosmos_sdk_types.Uint `` /* 189-byte string literal not displayed */
	UnsettledNativeLiabilities     github_com_cosmos_cosmos_sdk_types.Uint `` /* 183-byte string literal not displayed */
	BlockInterestNative            github_com_cosmos_cosmos_sdk_types.Uint `` /* 162-byte string literal not displayed */
	BlockInterestExternal          github_com_cosmos_cosmos_sdk_types.Uint `` /* 168-byte string literal not displayed */
	// the amount of external asset rewards distributed to liquidity providers from reward buckets
	RewardAmountExternal github_com_cosmos_cosmos_sdk_types.Uint `` /* 195-byte string literal not displayed */
}

func NewPool

func NewPool(externalAsset *Asset, nativeAssetBalance, externalAssetBalance, poolUnits sdk.Uint) Pool

NewPool returns a new Pool

func (*Pool) Descriptor

func (*Pool) Descriptor() ([]byte, []int)

func (*Pool) ExtractDebt added in v1.4.0

func (p *Pool) ExtractDebt(X, Y sdk.Uint, toRowan bool) (sdk.Uint, sdk.Uint)

func (*Pool) ExtractValues added in v0.14.0

func (p *Pool) ExtractValues(to Asset) (sdk.Uint, sdk.Uint, bool, Asset)

func (*Pool) GetExternalAsset

func (m *Pool) GetExternalAsset() *Asset

func (*Pool) GetLastHeightInterestRateComputed added in v1.4.0

func (m *Pool) GetLastHeightInterestRateComputed() int64

func (*Pool) Marshal

func (m *Pool) Marshal() (dAtA []byte, err error)

func (*Pool) MarshalTo

func (m *Pool) MarshalTo(dAtA []byte) (int, error)

func (*Pool) MarshalToSizedBuffer

func (m *Pool) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Pool) ProtoMessage

func (*Pool) ProtoMessage()

func (*Pool) Reset

func (m *Pool) Reset()

func (*Pool) Size

func (m *Pool) Size() (n int)

func (*Pool) String

func (m *Pool) String() string

func (*Pool) Unmarshal

func (m *Pool) Unmarshal(dAtA []byte) error

func (*Pool) UpdateBalances added in v0.14.0

func (p *Pool) UpdateBalances(toRowan bool, X, x, Y, swapResult sdk.Uint)

func (Pool) Validate

func (p Pool) Validate() bool

func (*Pool) XXX_DiscardUnknown

func (m *Pool) XXX_DiscardUnknown()

func (*Pool) XXX_Marshal

func (m *Pool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pool) XXX_Merge

func (m *Pool) XXX_Merge(src proto.Message)

func (*Pool) XXX_Size

func (m *Pool) XXX_Size() int

func (*Pool) XXX_Unmarshal

func (m *Pool) XXX_Unmarshal(b []byte) error

type PoolMultiplier added in v0.13.0

type PoolMultiplier struct {
	PoolMultiplierAsset string                                  `protobuf:"bytes,1,opt,name=pool_multiplier_asset,json=poolMultiplierAsset,proto3" json:"pool_multiplier_asset,omitempty"`
	Multiplier          *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=multiplier,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"multiplier,omitempty"`
}

func (*PoolMultiplier) Descriptor added in v0.13.0

func (*PoolMultiplier) Descriptor() ([]byte, []int)

func (*PoolMultiplier) GetPoolMultiplierAsset added in v0.13.0

func (m *PoolMultiplier) GetPoolMultiplierAsset() string

func (*PoolMultiplier) Marshal added in v0.13.0

func (m *PoolMultiplier) Marshal() (dAtA []byte, err error)

func (*PoolMultiplier) MarshalTo added in v0.13.0

func (m *PoolMultiplier) MarshalTo(dAtA []byte) (int, error)

func (*PoolMultiplier) MarshalToSizedBuffer added in v0.13.0

func (m *PoolMultiplier) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolMultiplier) ProtoMessage added in v0.13.0

func (*PoolMultiplier) ProtoMessage()

func (*PoolMultiplier) Reset added in v0.13.0

func (m *PoolMultiplier) Reset()

func (*PoolMultiplier) Size added in v0.13.0

func (m *PoolMultiplier) Size() (n int)

func (*PoolMultiplier) String added in v0.13.0

func (m *PoolMultiplier) String() string

func (*PoolMultiplier) Unmarshal added in v0.13.0

func (m *PoolMultiplier) Unmarshal(dAtA []byte) error

func (*PoolMultiplier) XXX_DiscardUnknown added in v0.13.0

func (m *PoolMultiplier) XXX_DiscardUnknown()

func (*PoolMultiplier) XXX_Marshal added in v0.13.0

func (m *PoolMultiplier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolMultiplier) XXX_Merge added in v0.13.0

func (m *PoolMultiplier) XXX_Merge(src proto.Message)

func (*PoolMultiplier) XXX_Size added in v0.13.0

func (m *PoolMultiplier) XXX_Size() int

func (*PoolMultiplier) XXX_Unmarshal added in v0.13.0

func (m *PoolMultiplier) XXX_Unmarshal(b []byte) error

type PoolReq

type PoolReq struct {
	Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
}

func NewQueryReqGetPool

func NewQueryReqGetPool(symbol string) PoolReq

func (*PoolReq) Descriptor

func (*PoolReq) Descriptor() ([]byte, []int)

func (*PoolReq) Marshal

func (m *PoolReq) Marshal() (dAtA []byte, err error)

func (*PoolReq) MarshalTo

func (m *PoolReq) MarshalTo(dAtA []byte) (int, error)

func (*PoolReq) MarshalToSizedBuffer

func (m *PoolReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolReq) ProtoMessage

func (*PoolReq) ProtoMessage()

func (*PoolReq) Reset

func (m *PoolReq) Reset()

func (*PoolReq) Size

func (m *PoolReq) Size() (n int)

func (*PoolReq) String

func (m *PoolReq) String() string

func (*PoolReq) Unmarshal

func (m *PoolReq) Unmarshal(dAtA []byte) error

func (*PoolReq) XXX_DiscardUnknown

func (m *PoolReq) XXX_DiscardUnknown()

func (*PoolReq) XXX_Marshal

func (m *PoolReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolReq) XXX_Merge

func (m *PoolReq) XXX_Merge(src proto.Message)

func (*PoolReq) XXX_Size

func (m *PoolReq) XXX_Size() int

func (*PoolReq) XXX_Unmarshal

func (m *PoolReq) XXX_Unmarshal(b []byte) error

type PoolRes

type PoolRes struct {
	Pool             *Pool  `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool,omitempty"`
	ClpModuleAddress string `protobuf:"bytes,2,opt,name=clp_module_address,json=clpModuleAddress,proto3" json:"clp_module_address,omitempty"`
	Height           int64  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
}

func (*PoolRes) Descriptor

func (*PoolRes) Descriptor() ([]byte, []int)

func (*PoolRes) GetClpModuleAddress

func (m *PoolRes) GetClpModuleAddress() string

func (*PoolRes) GetHeight

func (m *PoolRes) GetHeight() int64

func (*PoolRes) GetPool

func (m *PoolRes) GetPool() *Pool

func (*PoolRes) Marshal

func (m *PoolRes) Marshal() (dAtA []byte, err error)

func (*PoolRes) MarshalTo

func (m *PoolRes) MarshalTo(dAtA []byte) (int, error)

func (*PoolRes) MarshalToSizedBuffer

func (m *PoolRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolRes) ProtoMessage

func (*PoolRes) ProtoMessage()

func (*PoolRes) Reset

func (m *PoolRes) Reset()

func (*PoolRes) Size

func (m *PoolRes) Size() (n int)

func (*PoolRes) String

func (m *PoolRes) String() string

func (*PoolRes) Unmarshal

func (m *PoolRes) Unmarshal(dAtA []byte) error

func (*PoolRes) XXX_DiscardUnknown

func (m *PoolRes) XXX_DiscardUnknown()

func (*PoolRes) XXX_Marshal

func (m *PoolRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolRes) XXX_Merge

func (m *PoolRes) XXX_Merge(src proto.Message)

func (*PoolRes) XXX_Size

func (m *PoolRes) XXX_Size() int

func (*PoolRes) XXX_Unmarshal

func (m *PoolRes) XXX_Unmarshal(b []byte) error

type PoolShareEstimateReq added in v1.4.0

type PoolShareEstimateReq struct {
	ExternalAsset       *Asset                                  `protobuf:"bytes,1,opt,name=external_asset,json=externalAsset,proto3" json:"external_asset,omitempty"`
	NativeAssetAmount   github_com_cosmos_cosmos_sdk_types.Uint `` /* 155-byte string literal not displayed */
	ExternalAssetAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 161-byte string literal not displayed */
}

func (*PoolShareEstimateReq) Descriptor added in v1.4.0

func (*PoolShareEstimateReq) Descriptor() ([]byte, []int)

func (*PoolShareEstimateReq) GetExternalAsset added in v1.4.0

func (m *PoolShareEstimateReq) GetExternalAsset() *Asset

func (*PoolShareEstimateReq) Marshal added in v1.4.0

func (m *PoolShareEstimateReq) Marshal() (dAtA []byte, err error)

func (*PoolShareEstimateReq) MarshalTo added in v1.4.0

func (m *PoolShareEstimateReq) MarshalTo(dAtA []byte) (int, error)

func (*PoolShareEstimateReq) MarshalToSizedBuffer added in v1.4.0

func (m *PoolShareEstimateReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolShareEstimateReq) ProtoMessage added in v1.4.0

func (*PoolShareEstimateReq) ProtoMessage()

func (*PoolShareEstimateReq) Reset added in v1.4.0

func (m *PoolShareEstimateReq) Reset()

func (*PoolShareEstimateReq) Size added in v1.4.0

func (m *PoolShareEstimateReq) Size() (n int)

func (*PoolShareEstimateReq) String added in v1.4.0

func (m *PoolShareEstimateReq) String() string

func (*PoolShareEstimateReq) Unmarshal added in v1.4.0

func (m *PoolShareEstimateReq) Unmarshal(dAtA []byte) error

func (*PoolShareEstimateReq) XXX_DiscardUnknown added in v1.4.0

func (m *PoolShareEstimateReq) XXX_DiscardUnknown()

func (*PoolShareEstimateReq) XXX_Marshal added in v1.4.0

func (m *PoolShareEstimateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolShareEstimateReq) XXX_Merge added in v1.4.0

func (m *PoolShareEstimateReq) XXX_Merge(src proto.Message)

func (*PoolShareEstimateReq) XXX_Size added in v1.4.0

func (m *PoolShareEstimateReq) XXX_Size() int

func (*PoolShareEstimateReq) XXX_Unmarshal added in v1.4.0

func (m *PoolShareEstimateReq) XXX_Unmarshal(b []byte) error

type PoolShareEstimateRes added in v1.4.0

type PoolShareEstimateRes struct {
	Percentage          github_com_cosmos_cosmos_sdk_types.Dec  `protobuf:"bytes,1,opt,name=percentage,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"percentage"`
	NativeAssetAmount   github_com_cosmos_cosmos_sdk_types.Uint `` /* 155-byte string literal not displayed */
	ExternalAssetAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 161-byte string literal not displayed */
	SwapInfo            SwapInfo                                `protobuf:"bytes,4,opt,name=swap_info,json=swapInfo,proto3" json:"swap_info"`
}

func (*PoolShareEstimateRes) Descriptor added in v1.4.0

func (*PoolShareEstimateRes) Descriptor() ([]byte, []int)

func (*PoolShareEstimateRes) GetSwapInfo added in v1.4.0

func (m *PoolShareEstimateRes) GetSwapInfo() SwapInfo

func (*PoolShareEstimateRes) Marshal added in v1.4.0

func (m *PoolShareEstimateRes) Marshal() (dAtA []byte, err error)

func (*PoolShareEstimateRes) MarshalTo added in v1.4.0

func (m *PoolShareEstimateRes) MarshalTo(dAtA []byte) (int, error)

func (*PoolShareEstimateRes) MarshalToSizedBuffer added in v1.4.0

func (m *PoolShareEstimateRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolShareEstimateRes) ProtoMessage added in v1.4.0

func (*PoolShareEstimateRes) ProtoMessage()

func (*PoolShareEstimateRes) Reset added in v1.4.0

func (m *PoolShareEstimateRes) Reset()

func (*PoolShareEstimateRes) Size added in v1.4.0

func (m *PoolShareEstimateRes) Size() (n int)

func (*PoolShareEstimateRes) String added in v1.4.0

func (m *PoolShareEstimateRes) String() string

func (*PoolShareEstimateRes) Unmarshal added in v1.4.0

func (m *PoolShareEstimateRes) Unmarshal(dAtA []byte) error

func (*PoolShareEstimateRes) XXX_DiscardUnknown added in v1.4.0

func (m *PoolShareEstimateRes) XXX_DiscardUnknown()

func (*PoolShareEstimateRes) XXX_Marshal added in v1.4.0

func (m *PoolShareEstimateRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolShareEstimateRes) XXX_Merge added in v1.4.0

func (m *PoolShareEstimateRes) XXX_Merge(src proto.Message)

func (*PoolShareEstimateRes) XXX_Size added in v1.4.0

func (m *PoolShareEstimateRes) XXX_Size() int

func (*PoolShareEstimateRes) XXX_Unmarshal added in v1.4.0

func (m *PoolShareEstimateRes) XXX_Unmarshal(b []byte) error

type Pools

type Pools []Pool

type PoolsReq

type PoolsReq struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*PoolsReq) Descriptor

func (*PoolsReq) Descriptor() ([]byte, []int)

func (*PoolsReq) GetPagination

func (m *PoolsReq) GetPagination() *query.PageRequest

func (*PoolsReq) Marshal

func (m *PoolsReq) Marshal() (dAtA []byte, err error)

func (*PoolsReq) MarshalTo

func (m *PoolsReq) MarshalTo(dAtA []byte) (int, error)

func (*PoolsReq) MarshalToSizedBuffer

func (m *PoolsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolsReq) ProtoMessage

func (*PoolsReq) ProtoMessage()

func (*PoolsReq) Reset

func (m *PoolsReq) Reset()

func (*PoolsReq) Size

func (m *PoolsReq) Size() (n int)

func (*PoolsReq) String

func (m *PoolsReq) String() string

func (*PoolsReq) Unmarshal

func (m *PoolsReq) Unmarshal(dAtA []byte) error

func (*PoolsReq) XXX_DiscardUnknown

func (m *PoolsReq) XXX_DiscardUnknown()

func (*PoolsReq) XXX_Marshal

func (m *PoolsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolsReq) XXX_Merge

func (m *PoolsReq) XXX_Merge(src proto.Message)

func (*PoolsReq) XXX_Size

func (m *PoolsReq) XXX_Size() int

func (*PoolsReq) XXX_Unmarshal

func (m *PoolsReq) XXX_Unmarshal(b []byte) error

type PoolsRes

type PoolsRes struct {
	Pools            []*Pool             `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"`
	ClpModuleAddress string              `protobuf:"bytes,2,opt,name=clp_module_address,json=clpModuleAddress,proto3" json:"clp_module_address,omitempty"`
	Height           int64               `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Pagination       *query.PageResponse `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*PoolsRes) Descriptor

func (*PoolsRes) Descriptor() ([]byte, []int)

func (*PoolsRes) GetClpModuleAddress

func (m *PoolsRes) GetClpModuleAddress() string

func (*PoolsRes) GetHeight

func (m *PoolsRes) GetHeight() int64

func (*PoolsRes) GetPagination

func (m *PoolsRes) GetPagination() *query.PageResponse

func (*PoolsRes) GetPools

func (m *PoolsRes) GetPools() []*Pool

func (*PoolsRes) Marshal

func (m *PoolsRes) Marshal() (dAtA []byte, err error)

func (*PoolsRes) MarshalTo

func (m *PoolsRes) MarshalTo(dAtA []byte) (int, error)

func (*PoolsRes) MarshalToSizedBuffer

func (m *PoolsRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolsRes) ProtoMessage

func (*PoolsRes) ProtoMessage()

func (*PoolsRes) Reset

func (m *PoolsRes) Reset()

func (*PoolsRes) Size

func (m *PoolsRes) Size() (n int)

func (*PoolsRes) String

func (m *PoolsRes) String() string

func (*PoolsRes) Unmarshal

func (m *PoolsRes) Unmarshal(dAtA []byte) error

func (*PoolsRes) XXX_DiscardUnknown

func (m *PoolsRes) XXX_DiscardUnknown()

func (*PoolsRes) XXX_Marshal

func (m *PoolsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolsRes) XXX_Merge

func (m *PoolsRes) XXX_Merge(src proto.Message)

func (*PoolsRes) XXX_Size

func (m *PoolsRes) XXX_Size() int

func (*PoolsRes) XXX_Unmarshal

func (m *PoolsRes) XXX_Unmarshal(b []byte) error

type ProviderDistributionParams added in v0.13.4

type ProviderDistributionParams struct {
	DistributionPeriods []*ProviderDistributionPeriod `protobuf:"bytes,1,rep,name=distribution_periods,json=distributionPeriods,proto3" json:"distribution_periods,omitempty"`
}

func (*ProviderDistributionParams) Descriptor added in v0.13.4

func (*ProviderDistributionParams) Descriptor() ([]byte, []int)

func (*ProviderDistributionParams) GetDistributionPeriods added in v0.13.4

func (m *ProviderDistributionParams) GetDistributionPeriods() []*ProviderDistributionPeriod

func (*ProviderDistributionParams) Marshal added in v0.13.4

func (m *ProviderDistributionParams) Marshal() (dAtA []byte, err error)

func (*ProviderDistributionParams) MarshalTo added in v0.13.4

func (m *ProviderDistributionParams) MarshalTo(dAtA []byte) (int, error)

func (*ProviderDistributionParams) MarshalToSizedBuffer added in v0.13.4

func (m *ProviderDistributionParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderDistributionParams) ProtoMessage added in v0.13.4

func (*ProviderDistributionParams) ProtoMessage()

func (*ProviderDistributionParams) Reset added in v0.13.4

func (m *ProviderDistributionParams) Reset()

func (*ProviderDistributionParams) Size added in v0.13.4

func (m *ProviderDistributionParams) Size() (n int)

func (*ProviderDistributionParams) String added in v0.13.4

func (m *ProviderDistributionParams) String() string

func (*ProviderDistributionParams) Unmarshal added in v0.13.4

func (m *ProviderDistributionParams) Unmarshal(dAtA []byte) error

func (*ProviderDistributionParams) XXX_DiscardUnknown added in v0.13.4

func (m *ProviderDistributionParams) XXX_DiscardUnknown()

func (*ProviderDistributionParams) XXX_Marshal added in v0.13.4

func (m *ProviderDistributionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderDistributionParams) XXX_Merge added in v0.13.4

func (m *ProviderDistributionParams) XXX_Merge(src proto.Message)

func (*ProviderDistributionParams) XXX_Size added in v0.13.4

func (m *ProviderDistributionParams) XXX_Size() int

func (*ProviderDistributionParams) XXX_Unmarshal added in v0.13.4

func (m *ProviderDistributionParams) XXX_Unmarshal(b []byte) error

type ProviderDistributionParamsReq added in v0.13.4

type ProviderDistributionParamsReq struct {
}

func (*ProviderDistributionParamsReq) Descriptor added in v0.13.4

func (*ProviderDistributionParamsReq) Descriptor() ([]byte, []int)

func (*ProviderDistributionParamsReq) Marshal added in v0.13.4

func (m *ProviderDistributionParamsReq) Marshal() (dAtA []byte, err error)

func (*ProviderDistributionParamsReq) MarshalTo added in v0.13.4

func (m *ProviderDistributionParamsReq) MarshalTo(dAtA []byte) (int, error)

func (*ProviderDistributionParamsReq) MarshalToSizedBuffer added in v0.13.4

func (m *ProviderDistributionParamsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderDistributionParamsReq) ProtoMessage added in v0.13.4

func (*ProviderDistributionParamsReq) ProtoMessage()

func (*ProviderDistributionParamsReq) Reset added in v0.13.4

func (m *ProviderDistributionParamsReq) Reset()

func (*ProviderDistributionParamsReq) Size added in v0.13.4

func (m *ProviderDistributionParamsReq) Size() (n int)

func (*ProviderDistributionParamsReq) String added in v0.13.4

func (*ProviderDistributionParamsReq) Unmarshal added in v0.13.4

func (m *ProviderDistributionParamsReq) Unmarshal(dAtA []byte) error

func (*ProviderDistributionParamsReq) XXX_DiscardUnknown added in v0.13.4

func (m *ProviderDistributionParamsReq) XXX_DiscardUnknown()

func (*ProviderDistributionParamsReq) XXX_Marshal added in v0.13.4

func (m *ProviderDistributionParamsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderDistributionParamsReq) XXX_Merge added in v0.13.4

func (m *ProviderDistributionParamsReq) XXX_Merge(src proto.Message)

func (*ProviderDistributionParamsReq) XXX_Size added in v0.13.4

func (m *ProviderDistributionParamsReq) XXX_Size() int

func (*ProviderDistributionParamsReq) XXX_Unmarshal added in v0.13.4

func (m *ProviderDistributionParamsReq) XXX_Unmarshal(b []byte) error

type ProviderDistributionParamsRes added in v0.13.4

type ProviderDistributionParamsRes struct {
	Params *ProviderDistributionParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}

func (*ProviderDistributionParamsRes) Descriptor added in v0.13.4

func (*ProviderDistributionParamsRes) Descriptor() ([]byte, []int)

func (*ProviderDistributionParamsRes) GetParams added in v0.13.4

func (*ProviderDistributionParamsRes) Marshal added in v0.13.4

func (m *ProviderDistributionParamsRes) Marshal() (dAtA []byte, err error)

func (*ProviderDistributionParamsRes) MarshalTo added in v0.13.4

func (m *ProviderDistributionParamsRes) MarshalTo(dAtA []byte) (int, error)

func (*ProviderDistributionParamsRes) MarshalToSizedBuffer added in v0.13.4

func (m *ProviderDistributionParamsRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderDistributionParamsRes) ProtoMessage added in v0.13.4

func (*ProviderDistributionParamsRes) ProtoMessage()

func (*ProviderDistributionParamsRes) Reset added in v0.13.4

func (m *ProviderDistributionParamsRes) Reset()

func (*ProviderDistributionParamsRes) Size added in v0.13.4

func (m *ProviderDistributionParamsRes) Size() (n int)

func (*ProviderDistributionParamsRes) String added in v0.13.4

func (*ProviderDistributionParamsRes) Unmarshal added in v0.13.4

func (m *ProviderDistributionParamsRes) Unmarshal(dAtA []byte) error

func (*ProviderDistributionParamsRes) XXX_DiscardUnknown added in v0.13.4

func (m *ProviderDistributionParamsRes) XXX_DiscardUnknown()

func (*ProviderDistributionParamsRes) XXX_Marshal added in v0.13.4

func (m *ProviderDistributionParamsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderDistributionParamsRes) XXX_Merge added in v0.13.4

func (m *ProviderDistributionParamsRes) XXX_Merge(src proto.Message)

func (*ProviderDistributionParamsRes) XXX_Size added in v0.13.4

func (m *ProviderDistributionParamsRes) XXX_Size() int

func (*ProviderDistributionParamsRes) XXX_Unmarshal added in v0.13.4

func (m *ProviderDistributionParamsRes) XXX_Unmarshal(b []byte) error

type ProviderDistributionPeriod added in v0.13.4

type ProviderDistributionPeriod struct {
	DistributionPeriodBlockRate  github_com_cosmos_cosmos_sdk_types.Dec `` /* 186-byte string literal not displayed */
	DistributionPeriodStartBlock uint64                                 `` /* 150-byte string literal not displayed */
	DistributionPeriodEndBlock   uint64                                 `` /* 144-byte string literal not displayed */
	DistributionPeriodMod        uint64                                 `` /* 127-byte string literal not displayed */
}

func (*ProviderDistributionPeriod) Descriptor added in v0.13.4

func (*ProviderDistributionPeriod) Descriptor() ([]byte, []int)

func (*ProviderDistributionPeriod) GetDistributionPeriodEndBlock added in v0.13.4

func (m *ProviderDistributionPeriod) GetDistributionPeriodEndBlock() uint64

func (*ProviderDistributionPeriod) GetDistributionPeriodMod added in v0.13.4

func (m *ProviderDistributionPeriod) GetDistributionPeriodMod() uint64

func (*ProviderDistributionPeriod) GetDistributionPeriodStartBlock added in v0.13.4

func (m *ProviderDistributionPeriod) GetDistributionPeriodStartBlock() uint64

func (*ProviderDistributionPeriod) Marshal added in v0.13.4

func (m *ProviderDistributionPeriod) Marshal() (dAtA []byte, err error)

func (*ProviderDistributionPeriod) MarshalTo added in v0.13.4

func (m *ProviderDistributionPeriod) MarshalTo(dAtA []byte) (int, error)

func (*ProviderDistributionPeriod) MarshalToSizedBuffer added in v0.13.4

func (m *ProviderDistributionPeriod) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderDistributionPeriod) ProtoMessage added in v0.13.4

func (*ProviderDistributionPeriod) ProtoMessage()

func (*ProviderDistributionPeriod) Reset added in v0.13.4

func (m *ProviderDistributionPeriod) Reset()

func (*ProviderDistributionPeriod) Size added in v0.13.4

func (m *ProviderDistributionPeriod) Size() (n int)

func (*ProviderDistributionPeriod) String added in v0.13.4

func (m *ProviderDistributionPeriod) String() string

func (*ProviderDistributionPeriod) Unmarshal added in v0.13.4

func (m *ProviderDistributionPeriod) Unmarshal(dAtA []byte) error

func (*ProviderDistributionPeriod) XXX_DiscardUnknown added in v0.13.4

func (m *ProviderDistributionPeriod) XXX_DiscardUnknown()

func (*ProviderDistributionPeriod) XXX_Marshal added in v0.13.4

func (m *ProviderDistributionPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderDistributionPeriod) XXX_Merge added in v0.13.4

func (m *ProviderDistributionPeriod) XXX_Merge(src proto.Message)

func (*ProviderDistributionPeriod) XXX_Size added in v0.13.4

func (m *ProviderDistributionPeriod) XXX_Size() int

func (*ProviderDistributionPeriod) XXX_Unmarshal added in v0.13.4

func (m *ProviderDistributionPeriod) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	GetPool(ctx context.Context, in *PoolReq, opts ...grpc.CallOption) (*PoolRes, error)
	GetPools(ctx context.Context, in *PoolsReq, opts ...grpc.CallOption) (*PoolsRes, error)
	GetLiquidityProvider(ctx context.Context, in *LiquidityProviderReq, opts ...grpc.CallOption) (*LiquidityProviderRes, error)
	GetLiquidityProviderData(ctx context.Context, in *LiquidityProviderDataReq, opts ...grpc.CallOption) (*LiquidityProviderDataRes, error)
	GetAssetList(ctx context.Context, in *AssetListReq, opts ...grpc.CallOption) (*AssetListRes, error)
	GetLiquidityProviders(ctx context.Context, in *LiquidityProvidersReq, opts ...grpc.CallOption) (*LiquidityProvidersRes, error)
	GetLiquidityProviderList(ctx context.Context, in *LiquidityProviderListReq, opts ...grpc.CallOption) (*LiquidityProviderListRes, error)
	GetParams(ctx context.Context, in *ParamsReq, opts ...grpc.CallOption) (*ParamsRes, error)
	GetRewardParams(ctx context.Context, in *RewardParamsReq, opts ...grpc.CallOption) (*RewardParamsRes, error)
	GetPmtpParams(ctx context.Context, in *PmtpParamsReq, opts ...grpc.CallOption) (*PmtpParamsRes, error)
	GetLiquidityProtectionParams(ctx context.Context, in *LiquidityProtectionParamsReq, opts ...grpc.CallOption) (*LiquidityProtectionParamsRes, error)
	GetProviderDistributionParams(ctx context.Context, in *ProviderDistributionParamsReq, opts ...grpc.CallOption) (*ProviderDistributionParamsRes, error)
	GetSwapFeeParams(ctx context.Context, in *SwapFeeParamsReq, opts ...grpc.CallOption) (*SwapFeeParamsRes, error)
	GetPoolShareEstimate(ctx context.Context, in *PoolShareEstimateReq, opts ...grpc.CallOption) (*PoolShareEstimateRes, error)
	// Queries a list of RewardsBucket items.
	GetRewardsBucket(ctx context.Context, in *RewardsBucketReq, opts ...grpc.CallOption) (*RewardsBucketRes, error)
	GetRewardsBucketAll(ctx context.Context, in *AllRewardsBucketReq, opts ...grpc.CallOption) (*AllRewardsBucketRes, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryServer

QueryServer is the server API for Query service.

type RemovalQueue added in v0.15.0

type RemovalQueue struct {
	Count       int64                                   `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Id          int64                                   `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	StartHeight int64                                   `protobuf:"varint,3,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
	TotalValue  github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */
}

func (*RemovalQueue) Descriptor added in v0.15.0

func (*RemovalQueue) Descriptor() ([]byte, []int)

func (*RemovalQueue) GetCount added in v0.15.0

func (m *RemovalQueue) GetCount() int64

func (*RemovalQueue) GetId added in v0.15.0

func (m *RemovalQueue) GetId() int64

func (*RemovalQueue) GetStartHeight added in v0.15.0

func (m *RemovalQueue) GetStartHeight() int64

func (*RemovalQueue) Marshal added in v0.15.0

func (m *RemovalQueue) Marshal() (dAtA []byte, err error)

func (*RemovalQueue) MarshalTo added in v0.15.0

func (m *RemovalQueue) MarshalTo(dAtA []byte) (int, error)

func (*RemovalQueue) MarshalToSizedBuffer added in v0.15.0

func (m *RemovalQueue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemovalQueue) ProtoMessage added in v0.15.0

func (*RemovalQueue) ProtoMessage()

func (*RemovalQueue) Reset added in v0.15.0

func (m *RemovalQueue) Reset()

func (*RemovalQueue) Size added in v0.15.0

func (m *RemovalQueue) Size() (n int)

func (*RemovalQueue) String added in v0.15.0

func (m *RemovalQueue) String() string

func (*RemovalQueue) Unmarshal added in v0.15.0

func (m *RemovalQueue) Unmarshal(dAtA []byte) error

func (*RemovalQueue) XXX_DiscardUnknown added in v0.15.0

func (m *RemovalQueue) XXX_DiscardUnknown()

func (*RemovalQueue) XXX_Marshal added in v0.15.0

func (m *RemovalQueue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemovalQueue) XXX_Merge added in v0.15.0

func (m *RemovalQueue) XXX_Merge(src proto.Message)

func (*RemovalQueue) XXX_Size added in v0.15.0

func (m *RemovalQueue) XXX_Size() int

func (*RemovalQueue) XXX_Unmarshal added in v0.15.0

func (m *RemovalQueue) XXX_Unmarshal(b []byte) error

type RemovalRequest added in v0.15.0

type RemovalRequest struct {
	Id    int64                                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Value github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"value"`
	Msg   *MsgRemoveLiquidity                     `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*RemovalRequest) Descriptor added in v0.15.0

func (*RemovalRequest) Descriptor() ([]byte, []int)

func (*RemovalRequest) GetId added in v0.15.0

func (m *RemovalRequest) GetId() int64

func (*RemovalRequest) GetMsg added in v0.15.0

func (m *RemovalRequest) GetMsg() *MsgRemoveLiquidity

func (*RemovalRequest) Marshal added in v0.15.0

func (m *RemovalRequest) Marshal() (dAtA []byte, err error)

func (*RemovalRequest) MarshalTo added in v0.15.0

func (m *RemovalRequest) MarshalTo(dAtA []byte) (int, error)

func (*RemovalRequest) MarshalToSizedBuffer added in v0.15.0

func (m *RemovalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemovalRequest) ProtoMessage added in v0.15.0

func (*RemovalRequest) ProtoMessage()

func (*RemovalRequest) Reset added in v0.15.0

func (m *RemovalRequest) Reset()

func (*RemovalRequest) Size added in v0.15.0

func (m *RemovalRequest) Size() (n int)

func (*RemovalRequest) String added in v0.15.0

func (m *RemovalRequest) String() string

func (*RemovalRequest) Unmarshal added in v0.15.0

func (m *RemovalRequest) Unmarshal(dAtA []byte) error

func (*RemovalRequest) XXX_DiscardUnknown added in v0.15.0

func (m *RemovalRequest) XXX_DiscardUnknown()

func (*RemovalRequest) XXX_Marshal added in v0.15.0

func (m *RemovalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemovalRequest) XXX_Merge added in v0.15.0

func (m *RemovalRequest) XXX_Merge(src proto.Message)

func (*RemovalRequest) XXX_Size added in v0.15.0

func (m *RemovalRequest) XXX_Size() int

func (*RemovalRequest) XXX_Unmarshal added in v0.15.0

func (m *RemovalRequest) XXX_Unmarshal(b []byte) error

type RewardParams added in v0.13.0

type RewardParams struct {
	LiquidityRemovalLockPeriod   uint64          `` /* 144-byte string literal not displayed */
	LiquidityRemovalCancelPeriod uint64          `` /* 150-byte string literal not displayed */
	RewardPeriods                []*RewardPeriod `protobuf:"bytes,4,rep,name=reward_periods,json=rewardPeriods,proto3" json:"reward_periods,omitempty"`
	RewardPeriodStartTime        string          `` /* 128-byte string literal not displayed */
	RewardsLockPeriod            uint64          `protobuf:"varint,6,opt,name=rewards_lock_period,json=rewardsLockPeriod,proto3" json:"rewards_lock_period,omitempty"`
	RewardsEpochIdentifier       string          `` /* 129-byte string literal not displayed */
	RewardsDistribute            bool            `protobuf:"varint,8,opt,name=rewards_distribute,json=rewardsDistribute,proto3" json:"rewards_distribute,omitempty"`
}

func GetDefaultRewardParams added in v0.13.0

func GetDefaultRewardParams() *RewardParams

func (*RewardParams) Descriptor added in v0.13.0

func (*RewardParams) Descriptor() ([]byte, []int)

func (*RewardParams) GetLiquidityRemovalCancelPeriod added in v0.13.0

func (m *RewardParams) GetLiquidityRemovalCancelPeriod() uint64

func (*RewardParams) GetLiquidityRemovalLockPeriod added in v0.13.0

func (m *RewardParams) GetLiquidityRemovalLockPeriod() uint64

func (*RewardParams) GetRewardPeriodStartTime added in v0.13.0

func (m *RewardParams) GetRewardPeriodStartTime() string

func (*RewardParams) GetRewardPeriods added in v0.13.0

func (m *RewardParams) GetRewardPeriods() []*RewardPeriod

func (*RewardParams) GetRewardsDistribute added in v1.4.0

func (m *RewardParams) GetRewardsDistribute() bool

func (*RewardParams) GetRewardsEpochIdentifier added in v1.4.0

func (m *RewardParams) GetRewardsEpochIdentifier() string

func (*RewardParams) GetRewardsLockPeriod added in v1.4.0

func (m *RewardParams) GetRewardsLockPeriod() uint64

func (*RewardParams) Marshal added in v0.13.0

func (m *RewardParams) Marshal() (dAtA []byte, err error)

func (*RewardParams) MarshalTo added in v0.13.0

func (m *RewardParams) MarshalTo(dAtA []byte) (int, error)

func (*RewardParams) MarshalToSizedBuffer added in v0.13.0

func (m *RewardParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardParams) ProtoMessage added in v0.13.0

func (*RewardParams) ProtoMessage()

func (*RewardParams) Reset added in v0.13.0

func (m *RewardParams) Reset()

func (*RewardParams) Size added in v0.13.0

func (m *RewardParams) Size() (n int)

func (*RewardParams) String added in v0.13.0

func (m *RewardParams) String() string

func (*RewardParams) Unmarshal added in v0.13.0

func (m *RewardParams) Unmarshal(dAtA []byte) error

func (*RewardParams) XXX_DiscardUnknown added in v0.13.0

func (m *RewardParams) XXX_DiscardUnknown()

func (*RewardParams) XXX_Marshal added in v0.13.0

func (m *RewardParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardParams) XXX_Merge added in v0.13.0

func (m *RewardParams) XXX_Merge(src proto.Message)

func (*RewardParams) XXX_Size added in v0.13.0

func (m *RewardParams) XXX_Size() int

func (*RewardParams) XXX_Unmarshal added in v0.13.0

func (m *RewardParams) XXX_Unmarshal(b []byte) error

type RewardParamsReq added in v0.13.0

type RewardParamsReq struct {
}

func (*RewardParamsReq) Descriptor added in v0.13.0

func (*RewardParamsReq) Descriptor() ([]byte, []int)

func (*RewardParamsReq) Marshal added in v0.13.0

func (m *RewardParamsReq) Marshal() (dAtA []byte, err error)

func (*RewardParamsReq) MarshalTo added in v0.13.0

func (m *RewardParamsReq) MarshalTo(dAtA []byte) (int, error)

func (*RewardParamsReq) MarshalToSizedBuffer added in v0.13.0

func (m *RewardParamsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardParamsReq) ProtoMessage added in v0.13.0

func (*RewardParamsReq) ProtoMessage()

func (*RewardParamsReq) Reset added in v0.13.0

func (m *RewardParamsReq) Reset()

func (*RewardParamsReq) Size added in v0.13.0

func (m *RewardParamsReq) Size() (n int)

func (*RewardParamsReq) String added in v0.13.0

func (m *RewardParamsReq) String() string

func (*RewardParamsReq) Unmarshal added in v0.13.0

func (m *RewardParamsReq) Unmarshal(dAtA []byte) error

func (*RewardParamsReq) XXX_DiscardUnknown added in v0.13.0

func (m *RewardParamsReq) XXX_DiscardUnknown()

func (*RewardParamsReq) XXX_Marshal added in v0.13.0

func (m *RewardParamsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardParamsReq) XXX_Merge added in v0.13.0

func (m *RewardParamsReq) XXX_Merge(src proto.Message)

func (*RewardParamsReq) XXX_Size added in v0.13.0

func (m *RewardParamsReq) XXX_Size() int

func (*RewardParamsReq) XXX_Unmarshal added in v0.13.0

func (m *RewardParamsReq) XXX_Unmarshal(b []byte) error

type RewardParamsRes added in v0.13.0

type RewardParamsRes struct {
	Params *RewardParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}

func (*RewardParamsRes) Descriptor added in v0.13.0

func (*RewardParamsRes) Descriptor() ([]byte, []int)

func (*RewardParamsRes) GetParams added in v0.13.0

func (m *RewardParamsRes) GetParams() *RewardParams

func (*RewardParamsRes) Marshal added in v0.13.0

func (m *RewardParamsRes) Marshal() (dAtA []byte, err error)

func (*RewardParamsRes) MarshalTo added in v0.13.0

func (m *RewardParamsRes) MarshalTo(dAtA []byte) (int, error)

func (*RewardParamsRes) MarshalToSizedBuffer added in v0.13.0

func (m *RewardParamsRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardParamsRes) ProtoMessage added in v0.13.0

func (*RewardParamsRes) ProtoMessage()

func (*RewardParamsRes) Reset added in v0.13.0

func (m *RewardParamsRes) Reset()

func (*RewardParamsRes) Size added in v0.13.0

func (m *RewardParamsRes) Size() (n int)

func (*RewardParamsRes) String added in v0.13.0

func (m *RewardParamsRes) String() string

func (*RewardParamsRes) Unmarshal added in v0.13.0

func (m *RewardParamsRes) Unmarshal(dAtA []byte) error

func (*RewardParamsRes) XXX_DiscardUnknown added in v0.13.0

func (m *RewardParamsRes) XXX_DiscardUnknown()

func (*RewardParamsRes) XXX_Marshal added in v0.13.0

func (m *RewardParamsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardParamsRes) XXX_Merge added in v0.13.0

func (m *RewardParamsRes) XXX_Merge(src proto.Message)

func (*RewardParamsRes) XXX_Size added in v0.13.0

func (m *RewardParamsRes) XXX_Size() int

func (*RewardParamsRes) XXX_Unmarshal added in v0.13.0

func (m *RewardParamsRes) XXX_Unmarshal(b []byte) error

type RewardPeriod added in v0.13.0

type RewardPeriod struct {
	RewardPeriodId                string                                   `protobuf:"bytes,1,opt,name=reward_period_id,json=rewardPeriodId,proto3" json:"reward_period_id,omitempty"`
	RewardPeriodStartBlock        uint64                                   `` /* 132-byte string literal not displayed */
	RewardPeriodEndBlock          uint64                                   `` /* 126-byte string literal not displayed */
	RewardPeriodAllocation        *github_com_cosmos_cosmos_sdk_types.Uint `` /* 180-byte string literal not displayed */
	RewardPeriodPoolMultipliers   []*PoolMultiplier                        `` /* 146-byte string literal not displayed */
	RewardPeriodDefaultMultiplier *github_com_cosmos_cosmos_sdk_types.Dec  `` /* 202-byte string literal not displayed */
	RewardPeriodDistribute        bool                                     `` /* 130-byte string literal not displayed */
	RewardPeriodMod               uint64                                   `protobuf:"varint,8,opt,name=reward_period_mod,json=rewardPeriodMod,proto3" json:"reward_period_mod,omitempty"`
}

func (*RewardPeriod) Descriptor added in v0.13.0

func (*RewardPeriod) Descriptor() ([]byte, []int)

func (*RewardPeriod) GetRewardPeriodDistribute added in v0.13.4

func (m *RewardPeriod) GetRewardPeriodDistribute() bool

func (*RewardPeriod) GetRewardPeriodEndBlock added in v0.13.0

func (m *RewardPeriod) GetRewardPeriodEndBlock() uint64

func (*RewardPeriod) GetRewardPeriodId added in v0.13.0

func (m *RewardPeriod) GetRewardPeriodId() string

func (*RewardPeriod) GetRewardPeriodMod added in v0.13.4

func (m *RewardPeriod) GetRewardPeriodMod() uint64

func (*RewardPeriod) GetRewardPeriodPoolMultipliers added in v0.13.0

func (m *RewardPeriod) GetRewardPeriodPoolMultipliers() []*PoolMultiplier

func (*RewardPeriod) GetRewardPeriodStartBlock added in v0.13.0

func (m *RewardPeriod) GetRewardPeriodStartBlock() uint64

func (*RewardPeriod) Marshal added in v0.13.0

func (m *RewardPeriod) Marshal() (dAtA []byte, err error)

func (*RewardPeriod) MarshalTo added in v0.13.0

func (m *RewardPeriod) MarshalTo(dAtA []byte) (int, error)

func (*RewardPeriod) MarshalToSizedBuffer added in v0.13.0

func (m *RewardPeriod) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardPeriod) ProtoMessage added in v0.13.0

func (*RewardPeriod) ProtoMessage()

func (*RewardPeriod) Reset added in v0.13.0

func (m *RewardPeriod) Reset()

func (*RewardPeriod) Size added in v0.13.0

func (m *RewardPeriod) Size() (n int)

func (*RewardPeriod) String added in v0.13.0

func (m *RewardPeriod) String() string

func (*RewardPeriod) Unmarshal added in v0.13.0

func (m *RewardPeriod) Unmarshal(dAtA []byte) error

func (*RewardPeriod) XXX_DiscardUnknown added in v0.13.0

func (m *RewardPeriod) XXX_DiscardUnknown()

func (*RewardPeriod) XXX_Marshal added in v0.13.0

func (m *RewardPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardPeriod) XXX_Merge added in v0.13.0

func (m *RewardPeriod) XXX_Merge(src proto.Message)

func (*RewardPeriod) XXX_Size added in v0.13.0

func (m *RewardPeriod) XXX_Size() int

func (*RewardPeriod) XXX_Unmarshal added in v0.13.0

func (m *RewardPeriod) XXX_Unmarshal(b []byte) error

type RewardsBucket added in v1.4.0

type RewardsBucket struct {
	Denom  string                                 `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount" yaml:"amount"`
}

func (*RewardsBucket) Descriptor added in v1.4.0

func (*RewardsBucket) Descriptor() ([]byte, []int)

func (*RewardsBucket) GetDenom added in v1.4.0

func (m *RewardsBucket) GetDenom() string

func (*RewardsBucket) Marshal added in v1.4.0

func (m *RewardsBucket) Marshal() (dAtA []byte, err error)

func (*RewardsBucket) MarshalTo added in v1.4.0

func (m *RewardsBucket) MarshalTo(dAtA []byte) (int, error)

func (*RewardsBucket) MarshalToSizedBuffer added in v1.4.0

func (m *RewardsBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardsBucket) ProtoMessage added in v1.4.0

func (*RewardsBucket) ProtoMessage()

func (*RewardsBucket) Reset added in v1.4.0

func (m *RewardsBucket) Reset()

func (*RewardsBucket) Size added in v1.4.0

func (m *RewardsBucket) Size() (n int)

func (*RewardsBucket) String added in v1.4.0

func (m *RewardsBucket) String() string

func (*RewardsBucket) Unmarshal added in v1.4.0

func (m *RewardsBucket) Unmarshal(dAtA []byte) error

func (*RewardsBucket) XXX_DiscardUnknown added in v1.4.0

func (m *RewardsBucket) XXX_DiscardUnknown()

func (*RewardsBucket) XXX_Marshal added in v1.4.0

func (m *RewardsBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardsBucket) XXX_Merge added in v1.4.0

func (m *RewardsBucket) XXX_Merge(src proto.Message)

func (*RewardsBucket) XXX_Size added in v1.4.0

func (m *RewardsBucket) XXX_Size() int

func (*RewardsBucket) XXX_Unmarshal added in v1.4.0

func (m *RewardsBucket) XXX_Unmarshal(b []byte) error

type RewardsBucketReq added in v1.4.0

type RewardsBucketReq struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*RewardsBucketReq) Descriptor added in v1.4.0

func (*RewardsBucketReq) Descriptor() ([]byte, []int)

func (*RewardsBucketReq) GetDenom added in v1.4.0

func (m *RewardsBucketReq) GetDenom() string

func (*RewardsBucketReq) Marshal added in v1.4.0

func (m *RewardsBucketReq) Marshal() (dAtA []byte, err error)

func (*RewardsBucketReq) MarshalTo added in v1.4.0

func (m *RewardsBucketReq) MarshalTo(dAtA []byte) (int, error)

func (*RewardsBucketReq) MarshalToSizedBuffer added in v1.4.0

func (m *RewardsBucketReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardsBucketReq) ProtoMessage added in v1.4.0

func (*RewardsBucketReq) ProtoMessage()

func (*RewardsBucketReq) Reset added in v1.4.0

func (m *RewardsBucketReq) Reset()

func (*RewardsBucketReq) Size added in v1.4.0

func (m *RewardsBucketReq) Size() (n int)

func (*RewardsBucketReq) String added in v1.4.0

func (m *RewardsBucketReq) String() string

func (*RewardsBucketReq) Unmarshal added in v1.4.0

func (m *RewardsBucketReq) Unmarshal(dAtA []byte) error

func (*RewardsBucketReq) XXX_DiscardUnknown added in v1.4.0

func (m *RewardsBucketReq) XXX_DiscardUnknown()

func (*RewardsBucketReq) XXX_Marshal added in v1.4.0

func (m *RewardsBucketReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardsBucketReq) XXX_Merge added in v1.4.0

func (m *RewardsBucketReq) XXX_Merge(src proto.Message)

func (*RewardsBucketReq) XXX_Size added in v1.4.0

func (m *RewardsBucketReq) XXX_Size() int

func (*RewardsBucketReq) XXX_Unmarshal added in v1.4.0

func (m *RewardsBucketReq) XXX_Unmarshal(b []byte) error

type RewardsBucketRes added in v1.4.0

type RewardsBucketRes struct {
	RewardsBucket RewardsBucket `protobuf:"bytes,1,opt,name=rewards_bucket,json=rewardsBucket,proto3" json:"rewards_bucket"`
}

func (*RewardsBucketRes) Descriptor added in v1.4.0

func (*RewardsBucketRes) Descriptor() ([]byte, []int)

func (*RewardsBucketRes) GetRewardsBucket added in v1.4.0

func (m *RewardsBucketRes) GetRewardsBucket() RewardsBucket

func (*RewardsBucketRes) Marshal added in v1.4.0

func (m *RewardsBucketRes) Marshal() (dAtA []byte, err error)

func (*RewardsBucketRes) MarshalTo added in v1.4.0

func (m *RewardsBucketRes) MarshalTo(dAtA []byte) (int, error)

func (*RewardsBucketRes) MarshalToSizedBuffer added in v1.4.0

func (m *RewardsBucketRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardsBucketRes) ProtoMessage added in v1.4.0

func (*RewardsBucketRes) ProtoMessage()

func (*RewardsBucketRes) Reset added in v1.4.0

func (m *RewardsBucketRes) Reset()

func (*RewardsBucketRes) Size added in v1.4.0

func (m *RewardsBucketRes) Size() (n int)

func (*RewardsBucketRes) String added in v1.4.0

func (m *RewardsBucketRes) String() string

func (*RewardsBucketRes) Unmarshal added in v1.4.0

func (m *RewardsBucketRes) Unmarshal(dAtA []byte) error

func (*RewardsBucketRes) XXX_DiscardUnknown added in v1.4.0

func (m *RewardsBucketRes) XXX_DiscardUnknown()

func (*RewardsBucketRes) XXX_Marshal added in v1.4.0

func (m *RewardsBucketRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardsBucketRes) XXX_Merge added in v1.4.0

func (m *RewardsBucketRes) XXX_Merge(src proto.Message)

func (*RewardsBucketRes) XXX_Size added in v1.4.0

func (m *RewardsBucketRes) XXX_Size() int

func (*RewardsBucketRes) XXX_Unmarshal added in v1.4.0

func (m *RewardsBucketRes) XXX_Unmarshal(b []byte) error

type SwapFeeParams added in v1.4.0

type SwapFeeParams struct {
	DefaultSwapFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 159-byte string literal not displayed */
	TokenParams        []*SwapFeeTokenParams                  `protobuf:"bytes,2,rep,name=token_params,json=tokenParams,proto3" json:"token_params,omitempty"`
}

func (*SwapFeeParams) Descriptor added in v1.4.0

func (*SwapFeeParams) Descriptor() ([]byte, []int)

func (*SwapFeeParams) GetTokenParams added in v1.4.0

func (m *SwapFeeParams) GetTokenParams() []*SwapFeeTokenParams

func (*SwapFeeParams) Marshal added in v1.4.0

func (m *SwapFeeParams) Marshal() (dAtA []byte, err error)

func (*SwapFeeParams) MarshalTo added in v1.4.0

func (m *SwapFeeParams) MarshalTo(dAtA []byte) (int, error)

func (*SwapFeeParams) MarshalToSizedBuffer added in v1.4.0

func (m *SwapFeeParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SwapFeeParams) ProtoMessage added in v1.4.0

func (*SwapFeeParams) ProtoMessage()

func (*SwapFeeParams) Reset added in v1.4.0

func (m *SwapFeeParams) Reset()

func (*SwapFeeParams) Size added in v1.4.0

func (m *SwapFeeParams) Size() (n int)

func (*SwapFeeParams) String added in v1.4.0

func (m *SwapFeeParams) String() string

func (*SwapFeeParams) Unmarshal added in v1.4.0

func (m *SwapFeeParams) Unmarshal(dAtA []byte) error

func (*SwapFeeParams) XXX_DiscardUnknown added in v1.4.0

func (m *SwapFeeParams) XXX_DiscardUnknown()

func (*SwapFeeParams) XXX_Marshal added in v1.4.0

func (m *SwapFeeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwapFeeParams) XXX_Merge added in v1.4.0

func (m *SwapFeeParams) XXX_Merge(src proto.Message)

func (*SwapFeeParams) XXX_Size added in v1.4.0

func (m *SwapFeeParams) XXX_Size() int

func (*SwapFeeParams) XXX_Unmarshal added in v1.4.0

func (m *SwapFeeParams) XXX_Unmarshal(b []byte) error

type SwapFeeParamsReq added in v1.4.0

type SwapFeeParamsReq struct {
}

func (*SwapFeeParamsReq) Descriptor added in v1.4.0

func (*SwapFeeParamsReq) Descriptor() ([]byte, []int)

func (*SwapFeeParamsReq) Marshal added in v1.4.0

func (m *SwapFeeParamsReq) Marshal() (dAtA []byte, err error)

func (*SwapFeeParamsReq) MarshalTo added in v1.4.0

func (m *SwapFeeParamsReq) MarshalTo(dAtA []byte) (int, error)

func (*SwapFeeParamsReq) MarshalToSizedBuffer added in v1.4.0

func (m *SwapFeeParamsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SwapFeeParamsReq) ProtoMessage added in v1.4.0

func (*SwapFeeParamsReq) ProtoMessage()

func (*SwapFeeParamsReq) Reset added in v1.4.0

func (m *SwapFeeParamsReq) Reset()

func (*SwapFeeParamsReq) Size added in v1.4.0

func (m *SwapFeeParamsReq) Size() (n int)

func (*SwapFeeParamsReq) String added in v1.4.0

func (m *SwapFeeParamsReq) String() string

func (*SwapFeeParamsReq) Unmarshal added in v1.4.0

func (m *SwapFeeParamsReq) Unmarshal(dAtA []byte) error

func (*SwapFeeParamsReq) XXX_DiscardUnknown added in v1.4.0

func (m *SwapFeeParamsReq) XXX_DiscardUnknown()

func (*SwapFeeParamsReq) XXX_Marshal added in v1.4.0

func (m *SwapFeeParamsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwapFeeParamsReq) XXX_Merge added in v1.4.0

func (m *SwapFeeParamsReq) XXX_Merge(src proto.Message)

func (*SwapFeeParamsReq) XXX_Size added in v1.4.0

func (m *SwapFeeParamsReq) XXX_Size() int

func (*SwapFeeParamsReq) XXX_Unmarshal added in v1.4.0

func (m *SwapFeeParamsReq) XXX_Unmarshal(b []byte) error

type SwapFeeParamsRes added in v1.4.0

type SwapFeeParamsRes struct {
	DefaultSwapFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 159-byte string literal not displayed */
	TokenParams        []*SwapFeeTokenParams                  `protobuf:"bytes,2,rep,name=token_params,json=tokenParams,proto3" json:"token_params,omitempty"`
}

func (*SwapFeeParamsRes) Descriptor added in v1.4.0

func (*SwapFeeParamsRes) Descriptor() ([]byte, []int)

func (*SwapFeeParamsRes) GetTokenParams added in v1.4.0

func (m *SwapFeeParamsRes) GetTokenParams() []*SwapFeeTokenParams

func (*SwapFeeParamsRes) Marshal added in v1.4.0

func (m *SwapFeeParamsRes) Marshal() (dAtA []byte, err error)

func (*SwapFeeParamsRes) MarshalTo added in v1.4.0

func (m *SwapFeeParamsRes) MarshalTo(dAtA []byte) (int, error)

func (*SwapFeeParamsRes) MarshalToSizedBuffer added in v1.4.0

func (m *SwapFeeParamsRes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SwapFeeParamsRes) ProtoMessage added in v1.4.0

func (*SwapFeeParamsRes) ProtoMessage()

func (*SwapFeeParamsRes) Reset added in v1.4.0

func (m *SwapFeeParamsRes) Reset()

func (*SwapFeeParamsRes) Size added in v1.4.0

func (m *SwapFeeParamsRes) Size() (n int)

func (*SwapFeeParamsRes) String added in v1.4.0

func (m *SwapFeeParamsRes) String() string

func (*SwapFeeParamsRes) Unmarshal added in v1.4.0

func (m *SwapFeeParamsRes) Unmarshal(dAtA []byte) error

func (*SwapFeeParamsRes) XXX_DiscardUnknown added in v1.4.0

func (m *SwapFeeParamsRes) XXX_DiscardUnknown()

func (*SwapFeeParamsRes) XXX_Marshal added in v1.4.0

func (m *SwapFeeParamsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwapFeeParamsRes) XXX_Merge added in v1.4.0

func (m *SwapFeeParamsRes) XXX_Merge(src proto.Message)

func (*SwapFeeParamsRes) XXX_Size added in v1.4.0

func (m *SwapFeeParamsRes) XXX_Size() int

func (*SwapFeeParamsRes) XXX_Unmarshal added in v1.4.0

func (m *SwapFeeParamsRes) XXX_Unmarshal(b []byte) error

type SwapFeeTokenParams added in v1.4.0

type SwapFeeTokenParams struct {
	Asset       string                                 `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	SwapFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 136-byte string literal not displayed */
}

func (*SwapFeeTokenParams) Descriptor added in v1.4.0

func (*SwapFeeTokenParams) Descriptor() ([]byte, []int)

func (*SwapFeeTokenParams) GetAsset added in v1.4.0

func (m *SwapFeeTokenParams) GetAsset() string

func (*SwapFeeTokenParams) Marshal added in v1.4.0

func (m *SwapFeeTokenParams) Marshal() (dAtA []byte, err error)

func (*SwapFeeTokenParams) MarshalTo added in v1.4.0

func (m *SwapFeeTokenParams) MarshalTo(dAtA []byte) (int, error)

func (*SwapFeeTokenParams) MarshalToSizedBuffer added in v1.4.0

func (m *SwapFeeTokenParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SwapFeeTokenParams) ProtoMessage added in v1.4.0

func (*SwapFeeTokenParams) ProtoMessage()

func (*SwapFeeTokenParams) Reset added in v1.4.0

func (m *SwapFeeTokenParams) Reset()

func (*SwapFeeTokenParams) Size added in v1.4.0

func (m *SwapFeeTokenParams) Size() (n int)

func (*SwapFeeTokenParams) String added in v1.4.0

func (m *SwapFeeTokenParams) String() string

func (*SwapFeeTokenParams) Unmarshal added in v1.4.0

func (m *SwapFeeTokenParams) Unmarshal(dAtA []byte) error

func (*SwapFeeTokenParams) XXX_DiscardUnknown added in v1.4.0

func (m *SwapFeeTokenParams) XXX_DiscardUnknown()

func (*SwapFeeTokenParams) XXX_Marshal added in v1.4.0

func (m *SwapFeeTokenParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwapFeeTokenParams) XXX_Merge added in v1.4.0

func (m *SwapFeeTokenParams) XXX_Merge(src proto.Message)

func (*SwapFeeTokenParams) XXX_Size added in v1.4.0

func (m *SwapFeeTokenParams) XXX_Size() int

func (*SwapFeeTokenParams) XXX_Unmarshal added in v1.4.0

func (m *SwapFeeTokenParams) XXX_Unmarshal(b []byte) error

type SwapInfo added in v1.4.0

type SwapInfo struct {
	Status  SwapStatus                              `protobuf:"varint,1,opt,name=status,proto3,enum=sifnode.clp.v1.SwapStatus" json:"status,omitempty"`
	Fee     github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"fee"`
	FeeRate github_com_cosmos_cosmos_sdk_types.Dec  `protobuf:"bytes,3,opt,name=fee_rate,json=feeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee_rate"`
	Amount  github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"`
	Result  github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,5,opt,name=result,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"result"`
}

func (*SwapInfo) Descriptor added in v1.4.0

func (*SwapInfo) Descriptor() ([]byte, []int)

func (*SwapInfo) GetStatus added in v1.4.0

func (m *SwapInfo) GetStatus() SwapStatus

func (*SwapInfo) Marshal added in v1.4.0

func (m *SwapInfo) Marshal() (dAtA []byte, err error)

func (*SwapInfo) MarshalTo added in v1.4.0

func (m *SwapInfo) MarshalTo(dAtA []byte) (int, error)

func (*SwapInfo) MarshalToSizedBuffer added in v1.4.0

func (m *SwapInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SwapInfo) ProtoMessage added in v1.4.0

func (*SwapInfo) ProtoMessage()

func (*SwapInfo) Reset added in v1.4.0

func (m *SwapInfo) Reset()

func (*SwapInfo) Size added in v1.4.0

func (m *SwapInfo) Size() (n int)

func (*SwapInfo) String added in v1.4.0

func (m *SwapInfo) String() string

func (*SwapInfo) Unmarshal added in v1.4.0

func (m *SwapInfo) Unmarshal(dAtA []byte) error

func (*SwapInfo) XXX_DiscardUnknown added in v1.4.0

func (m *SwapInfo) XXX_DiscardUnknown()

func (*SwapInfo) XXX_Marshal added in v1.4.0

func (m *SwapInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwapInfo) XXX_Merge added in v1.4.0

func (m *SwapInfo) XXX_Merge(src proto.Message)

func (*SwapInfo) XXX_Size added in v1.4.0

func (m *SwapInfo) XXX_Size() int

func (*SwapInfo) XXX_Unmarshal added in v1.4.0

func (m *SwapInfo) XXX_Unmarshal(b []byte) error

type SwapStatus added in v1.4.0

type SwapStatus int32
const (
	SwapStatus_UNSPECIFIED SwapStatus = 0
	SwapStatus_NO_SWAP     SwapStatus = 1
	SwapStatus_SELL_NATIVE SwapStatus = 2
	SwapStatus_BUY_NATIVE  SwapStatus = 3
)

func (SwapStatus) EnumDescriptor added in v1.4.0

func (SwapStatus) EnumDescriptor() ([]byte, []int)

func (SwapStatus) String added in v1.4.0

func (x SwapStatus) String() string

type TokenRegistryKeeper

type TokenRegistryKeeper interface {
	GetEntry(registry tokenregistryTypes.Registry, denom string) (*tokenregistryTypes.RegistryEntry, error)
	CheckEntryPermissions(entry *tokenregistryTypes.RegistryEntry, permissions []tokenregistryTypes.Permission) bool
	GetRegistry(ctx sdk.Context) tokenregistryTypes.Registry
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddLiquidity

func (*UnimplementedMsgServer) AddLiquidityToRewardsBucket added in v1.4.0

func (*UnimplementedMsgServer) AddProviderDistributionPeriod added in v0.13.4

func (*UnimplementedMsgServer) AddRewardPeriod added in v0.13.0

func (*UnimplementedMsgServer) CancelUnlockLiquidity added in v0.13.2

func (*UnimplementedMsgServer) CreatePool

func (*UnimplementedMsgServer) DecommissionPool

func (*UnimplementedMsgServer) ModifyLiquidityProtectionRates added in v0.13.4

func (*UnimplementedMsgServer) ModifyPmtpRates added in v0.13.0

func (*UnimplementedMsgServer) RemoveLiquidity

func (*UnimplementedMsgServer) RemoveLiquidityUnits added in v0.13.0

func (*UnimplementedMsgServer) SetSymmetryThreshold added in v0.13.1

func (*UnimplementedMsgServer) Swap

func (*UnimplementedMsgServer) UnlockLiquidity added in v0.13.0

func (*UnimplementedMsgServer) UpdateLiquidityProtectionParams added in v0.13.4

func (*UnimplementedMsgServer) UpdatePmtpParams added in v0.13.0

func (*UnimplementedMsgServer) UpdateRewardsParams added in v0.13.0

func (*UnimplementedMsgServer) UpdateStakingRewardParams added in v0.13.0

func (*UnimplementedMsgServer) UpdateSwapFeeParams added in v1.4.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetAssetList

func (*UnimplementedQueryServer) GetLiquidityProtectionParams added in v0.13.4

func (*UnimplementedQueryServer) GetLiquidityProvider

func (*UnimplementedQueryServer) GetLiquidityProviderData

func (*UnimplementedQueryServer) GetLiquidityProviderList

func (*UnimplementedQueryServer) GetLiquidityProviders

func (*UnimplementedQueryServer) GetParams added in v0.13.0

func (*UnimplementedQueryServer) GetPmtpParams added in v0.13.0

func (*UnimplementedQueryServer) GetPool

func (*UnimplementedQueryServer) GetPool(ctx context.Context, req *PoolReq) (*PoolRes, error)

func (*UnimplementedQueryServer) GetPoolShareEstimate added in v1.4.0

func (*UnimplementedQueryServer) GetPools

func (*UnimplementedQueryServer) GetProviderDistributionParams added in v0.13.4

func (*UnimplementedQueryServer) GetRewardParams added in v0.13.0

func (*UnimplementedQueryServer) GetRewardsBucket added in v1.4.0

func (*UnimplementedQueryServer) GetRewardsBucketAll added in v1.4.0

func (*UnimplementedQueryServer) GetSwapFeeParams added in v1.4.0

type WhiteList

type WhiteList struct {
	ValidatorList []string `protobuf:"bytes,1,rep,name=validator_list,json=validatorList,proto3" json:"validator_list,omitempty"`
}

func (*WhiteList) Descriptor

func (*WhiteList) Descriptor() ([]byte, []int)

func (*WhiteList) GetValidatorList

func (m *WhiteList) GetValidatorList() []string

func (*WhiteList) Marshal

func (m *WhiteList) Marshal() (dAtA []byte, err error)

func (*WhiteList) MarshalTo

func (m *WhiteList) MarshalTo(dAtA []byte) (int, error)

func (*WhiteList) MarshalToSizedBuffer

func (m *WhiteList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WhiteList) ProtoMessage

func (*WhiteList) ProtoMessage()

func (*WhiteList) Reset

func (m *WhiteList) Reset()

func (*WhiteList) Size

func (m *WhiteList) Size() (n int)

func (*WhiteList) String

func (m *WhiteList) String() string

func (*WhiteList) Unmarshal

func (m *WhiteList) Unmarshal(dAtA []byte) error

func (*WhiteList) XXX_DiscardUnknown

func (m *WhiteList) XXX_DiscardUnknown()

func (*WhiteList) XXX_Marshal

func (m *WhiteList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WhiteList) XXX_Merge

func (m *WhiteList) XXX_Merge(src proto.Message)

func (*WhiteList) XXX_Size

func (m *WhiteList) XXX_Size() int

func (*WhiteList) XXX_Unmarshal

func (m *WhiteList) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL