types

package
v17.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	TypeEvtSetSuperfluidAsset                           = "set_superfluid_asset"
	TypeEvtRemoveSuperfluidAsset                        = "remove_superfluid_asset"
	TypeEvtSuperfluidDelegate                           = "superfluid_delegate"
	TypeEvtSuperfluidIncreaseDelegation                 = "superfluid_increase_delegation"
	TypeEvtSuperfluidUndelegate                         = "superfluid_undelegate"
	TypeEvtSuperfluidUnbondLock                         = "superfluid_unbond_lock"
	TypeEvtSuperfluidUndelegateAndUnbondLock            = "superfluid_undelegate_and_unbond_lock"
	TypeEvtAddToConcentratedLiquiditySuperfluidPosition = "add_to_concentrated_liquidity_superfluid_position"

	TypeEvtUnpoolId     = "unpool_pool_id"
	AttributeNewLockIds = "new_lock_ids"

	TypeEvtUnlockAndMigrateShares               = "unlock_and_migrate_shares"
	TypeEvtCreateFullRangePositionAndSFDelegate = "full_range_position_and_delegate"
	AttributeKeyPoolIdEntering                  = "pool_id_entering"
	AttributeKeyPoolIdLeaving                   = "pool_id_leaving"
	AttributeGammLockId                         = "gamm_lock_id"
	AttributeConcentratedLockId                 = "concentrated_lock_id"
	AttributeKeyPoolId                          = "pool_id"
	AttributePositionId                         = "position_id"
	AttributeNewPositionId                      = "new_position_id"
	AttributeAmount0                            = "amount0"
	AttributeAmount1                            = "amount1"
	AttributeLiquidity                          = "liquidity"

	AttributeDenom               = "denom"
	AttributeSuperfluidAssetType = "superfluid_asset_type"
	AttributeLockId              = "lock_id"
	AttributeValidator           = "validator"
	AttributeAmount              = "amount"
)

event types.

View Source
const (
	ProposalTypeSetSuperfluidAssets    = "SetSuperfluidAssets"
	ProposalTypeRemoveSuperfluidAssets = "RemoveSuperfluidAssets"
	ProposalTypeUpdateUnpoolWhitelist  = "UpdateUnpoolWhitelist"
)
View Source
const (
	TypeMsgSuperfluidDelegate                           = "superfluid_delegate"
	TypeMsgSuperfluidUndelegate                         = "superfluid_undelegate"
	TypeMsgSuperfluidRedelegate                         = "superfluid_redelegate"
	TypeMsgSuperfluidUnbondLock                         = "superfluid_unbond_underlying_lock"
	TypeMsgSuperfluidUndeledgateAndUnbondLock           = "superfluid_undelegate_and_unbond_lock"
	TypeMsgLockAndSuperfluidDelegate                    = "lock_and_superfluid_delegate"
	TypeMsgUnPoolWhitelistedPool                        = "unpool_whitelisted_pool"
	TypeMsgUnlockAndMigrateShares                       = "unlock_and_migrate_shares"
	TypeMsgCreateFullRangePositionAndSuperfluidDelegate = "create_full_range_position_and_delegate"
	TypeMsgAddToConcentratedLiquiditySuperfluidPosition = "add_to_concentrated_liquidity_superfluid_position"
	TypeMsgUnbondConvertAndStake                        = "add_to_concentrated_liquidity_superfluid_position"
)

constants.

View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index.

Variables

View Source
var (
	ErrMultipleCoinsLockupNotSupported = errorsmod.Register(ModuleName, 1, "multiple coins lockup is not supported")
	ErrUnbondingLockupNotSupported     = errorsmod.Register(ModuleName, 2, "unbonding lockup is not allowed to participate in superfluid staking")
	ErrNotEnoughLockupDuration         = errorsmod.Register(ModuleName, 3, "lockup does not have enough lock duration")
	ErrOsmoEquivalentZeroNotAllowed    = errorsmod.Register(ModuleName, 4, "not able to do superfluid staking for zero osmo equivalent")
	ErrNotSuperfluidUsedLockup         = errorsmod.Register(ModuleName, 5, "lockup is not used for superfluid staking")
	ErrSameValidatorRedelegation       = errorsmod.Register(ModuleName, 6, "redelegation to the same validator is not allowed")
	ErrAlreadyUsedSuperfluidLockup     = errorsmod.Register(ModuleName, 7, "lockup is already being used for superfluid staking")
	ErrUnbondingSyntheticLockupExists  = errorsmod.Register(ModuleName, 8, "unbonding synthetic lockup exists on the validator")
	ErrBondingLockupNotSupported       = errorsmod.Register(ModuleName, 9, "bonded superfluid stake is not allowed to have underlying lock unlocked")

	ErrNonSuperfluidAsset = errorsmod.Register(ModuleName, 10, "provided asset is not supported for superfluid staking")

	ErrPoolNotWhitelisted   = errorsmod.Register(ModuleName, 41, "pool not whitelisted to unpool")
	ErrLockUnpoolNotAllowed = errorsmod.Register(ModuleName, 42, "lock not eligible for unpooling")
	ErrLockLengthMismatch   = errorsmod.Register(ModuleName, 43, "lock has more than one asset")
)

x/superfluid module errors.

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 (
	ErrInvalidLengthGov        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGov          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// ModuleName defines the module name.
	ModuleName = "superfluid"

	// StoreKey defines the primary module store key.
	StoreKey = ModuleName

	// RouterKey is the message route for slashing.
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key.
	QuerierRoute = ModuleName

	// KeyPrefixSuperfluidAsset defines prefix key for superfluid asset.
	KeyPrefixSuperfluidAsset = []byte{0x01}

	// KeyPrefixTokenMultiplier defines prefix key per epoch.
	KeyPrefixTokenMultiplier = []byte{0x03}

	// KeyPrefixIntermediaryAccount defines prefix to set intermediary account struct to its address.
	KeyPrefixIntermediaryAccount = []byte{0x04}

	// KeyPrefixLockIntermediaryAccAddr defines prefix to connect lockId and intermediary account address.
	KeyPrefixLockIntermediaryAccAddr = []byte{0x05}

	// KeyUnpoolAllowedPools defines key to unpool allowed pools.
	KeyUnpoolAllowedPools = []byte{0x06}
)
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 (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSuperfluid        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSuperfluid          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSuperfluid = 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 (
	KeyMinimumRiskFactor = []byte("MinimumRiskFactor")
)

Parameter store keys.

View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)
View Source
var SuperfluidAssetType_name = map[int32]string{
	0: "SuperfluidAssetTypeNative",
	1: "SuperfluidAssetTypeLPShare",
	2: "SuperfluidAssetTypeConcentratedShare",
}
View Source
var SuperfluidAssetType_value = map[string]int32{
	"SuperfluidAssetTypeNative":            0,
	"SuperfluidAssetTypeLPShare":           1,
	"SuperfluidAssetTypeConcentratedShare": 2,
}

Functions

func GetSuperfluidIntermediaryAccountAddr

func GetSuperfluidIntermediaryAccountAddr(denom, valAddr string) sdk.AccAddress

func NewRemoveSuperfluidAssetsProposal

func NewRemoveSuperfluidAssetsProposal(title, description string, denoms []string) govtypes.Content

func NewSetSuperfluidAssetsProposal

func NewSetSuperfluidAssetsProposal(title, description string, assets []SuperfluidAsset) govtypes.Content

func NewUpdateUnpoolWhitelistProposal

func NewUpdateUnpoolWhitelistProposal(title, description string, poolIds []uint64, isOverwrite bool) govtypes.Content

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamTable for minting module.

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

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 to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateMinimumRiskFactor

func ValidateMinimumRiskFactor(i interface{}) error

func ValidateUnbondingDuration

func ValidateUnbondingDuration(i interface{}) error

Types

type AllAssetsRequest

type AllAssetsRequest struct {
}

func (*AllAssetsRequest) Descriptor

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

func (*AllAssetsRequest) Marshal

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

func (*AllAssetsRequest) MarshalTo

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

func (*AllAssetsRequest) MarshalToSizedBuffer

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

func (*AllAssetsRequest) ProtoMessage

func (*AllAssetsRequest) ProtoMessage()

func (*AllAssetsRequest) Reset

func (m *AllAssetsRequest) Reset()

func (*AllAssetsRequest) Size

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

func (*AllAssetsRequest) String

func (m *AllAssetsRequest) String() string

func (*AllAssetsRequest) Unmarshal

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

func (*AllAssetsRequest) XXX_DiscardUnknown

func (m *AllAssetsRequest) XXX_DiscardUnknown()

func (*AllAssetsRequest) XXX_Marshal

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

func (*AllAssetsRequest) XXX_Merge

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

func (*AllAssetsRequest) XXX_Size

func (m *AllAssetsRequest) XXX_Size() int

func (*AllAssetsRequest) XXX_Unmarshal

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

type AllAssetsResponse

type AllAssetsResponse struct {
	Assets []SuperfluidAsset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets"`
}

func (*AllAssetsResponse) Descriptor

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

func (*AllAssetsResponse) GetAssets

func (m *AllAssetsResponse) GetAssets() []SuperfluidAsset

func (*AllAssetsResponse) Marshal

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

func (*AllAssetsResponse) MarshalTo

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

func (*AllAssetsResponse) MarshalToSizedBuffer

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

func (*AllAssetsResponse) ProtoMessage

func (*AllAssetsResponse) ProtoMessage()

func (*AllAssetsResponse) Reset

func (m *AllAssetsResponse) Reset()

func (*AllAssetsResponse) Size

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

func (*AllAssetsResponse) String

func (m *AllAssetsResponse) String() string

func (*AllAssetsResponse) Unmarshal

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

func (*AllAssetsResponse) XXX_DiscardUnknown

func (m *AllAssetsResponse) XXX_DiscardUnknown()

func (*AllAssetsResponse) XXX_Marshal

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

func (*AllAssetsResponse) XXX_Merge

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

func (*AllAssetsResponse) XXX_Size

func (m *AllAssetsResponse) XXX_Size() int

func (*AllAssetsResponse) XXX_Unmarshal

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

type AllIntermediaryAccountsRequest

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

func (*AllIntermediaryAccountsRequest) Descriptor

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

func (*AllIntermediaryAccountsRequest) GetPagination

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

func (*AllIntermediaryAccountsRequest) Marshal

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

func (*AllIntermediaryAccountsRequest) MarshalTo

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

func (*AllIntermediaryAccountsRequest) MarshalToSizedBuffer

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

func (*AllIntermediaryAccountsRequest) ProtoMessage

func (*AllIntermediaryAccountsRequest) ProtoMessage()

func (*AllIntermediaryAccountsRequest) Reset

func (m *AllIntermediaryAccountsRequest) Reset()

func (*AllIntermediaryAccountsRequest) Size

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

func (*AllIntermediaryAccountsRequest) String

func (*AllIntermediaryAccountsRequest) Unmarshal

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

func (*AllIntermediaryAccountsRequest) XXX_DiscardUnknown

func (m *AllIntermediaryAccountsRequest) XXX_DiscardUnknown()

func (*AllIntermediaryAccountsRequest) XXX_Marshal

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

func (*AllIntermediaryAccountsRequest) XXX_Merge

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

func (*AllIntermediaryAccountsRequest) XXX_Size

func (m *AllIntermediaryAccountsRequest) XXX_Size() int

func (*AllIntermediaryAccountsRequest) XXX_Unmarshal

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

type AllIntermediaryAccountsResponse

type AllIntermediaryAccountsResponse struct {
	Accounts   []SuperfluidIntermediaryAccountInfo `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts"`
	Pagination *query.PageResponse                 `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*AllIntermediaryAccountsResponse) Descriptor

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

func (*AllIntermediaryAccountsResponse) GetAccounts

func (*AllIntermediaryAccountsResponse) GetPagination

func (*AllIntermediaryAccountsResponse) Marshal

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

func (*AllIntermediaryAccountsResponse) MarshalTo

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

func (*AllIntermediaryAccountsResponse) MarshalToSizedBuffer

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

func (*AllIntermediaryAccountsResponse) ProtoMessage

func (*AllIntermediaryAccountsResponse) ProtoMessage()

func (*AllIntermediaryAccountsResponse) Reset

func (*AllIntermediaryAccountsResponse) Size

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

func (*AllIntermediaryAccountsResponse) String

func (*AllIntermediaryAccountsResponse) Unmarshal

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

func (*AllIntermediaryAccountsResponse) XXX_DiscardUnknown

func (m *AllIntermediaryAccountsResponse) XXX_DiscardUnknown()

func (*AllIntermediaryAccountsResponse) XXX_Marshal

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

func (*AllIntermediaryAccountsResponse) XXX_Merge

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

func (*AllIntermediaryAccountsResponse) XXX_Size

func (m *AllIntermediaryAccountsResponse) XXX_Size() int

func (*AllIntermediaryAccountsResponse) XXX_Unmarshal

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

type AssetMultiplierRequest

type AssetMultiplierRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*AssetMultiplierRequest) Descriptor

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

func (*AssetMultiplierRequest) GetDenom

func (m *AssetMultiplierRequest) GetDenom() string

func (*AssetMultiplierRequest) Marshal

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

func (*AssetMultiplierRequest) MarshalTo

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

func (*AssetMultiplierRequest) MarshalToSizedBuffer

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

func (*AssetMultiplierRequest) ProtoMessage

func (*AssetMultiplierRequest) ProtoMessage()

func (*AssetMultiplierRequest) Reset

func (m *AssetMultiplierRequest) Reset()

func (*AssetMultiplierRequest) Size

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

func (*AssetMultiplierRequest) String

func (m *AssetMultiplierRequest) String() string

func (*AssetMultiplierRequest) Unmarshal

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

func (*AssetMultiplierRequest) XXX_DiscardUnknown

func (m *AssetMultiplierRequest) XXX_DiscardUnknown()

func (*AssetMultiplierRequest) XXX_Marshal

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

func (*AssetMultiplierRequest) XXX_Merge

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

func (*AssetMultiplierRequest) XXX_Size

func (m *AssetMultiplierRequest) XXX_Size() int

func (*AssetMultiplierRequest) XXX_Unmarshal

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

type AssetMultiplierResponse

type AssetMultiplierResponse struct {
	OsmoEquivalentMultiplier *OsmoEquivalentMultiplierRecord `` /* 135-byte string literal not displayed */
}

func (*AssetMultiplierResponse) Descriptor

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

func (*AssetMultiplierResponse) GetOsmoEquivalentMultiplier

func (m *AssetMultiplierResponse) GetOsmoEquivalentMultiplier() *OsmoEquivalentMultiplierRecord

func (*AssetMultiplierResponse) Marshal

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

func (*AssetMultiplierResponse) MarshalTo

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

func (*AssetMultiplierResponse) MarshalToSizedBuffer

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

func (*AssetMultiplierResponse) ProtoMessage

func (*AssetMultiplierResponse) ProtoMessage()

func (*AssetMultiplierResponse) Reset

func (m *AssetMultiplierResponse) Reset()

func (*AssetMultiplierResponse) Size

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

func (*AssetMultiplierResponse) String

func (m *AssetMultiplierResponse) String() string

func (*AssetMultiplierResponse) Unmarshal

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

func (*AssetMultiplierResponse) XXX_DiscardUnknown

func (m *AssetMultiplierResponse) XXX_DiscardUnknown()

func (*AssetMultiplierResponse) XXX_Marshal

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

func (*AssetMultiplierResponse) XXX_Merge

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

func (*AssetMultiplierResponse) XXX_Size

func (m *AssetMultiplierResponse) XXX_Size() int

func (*AssetMultiplierResponse) XXX_Unmarshal

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

type AssetTypeRequest

type AssetTypeRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*AssetTypeRequest) Descriptor

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

func (*AssetTypeRequest) GetDenom

func (m *AssetTypeRequest) GetDenom() string

func (*AssetTypeRequest) Marshal

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

func (*AssetTypeRequest) MarshalTo

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

func (*AssetTypeRequest) MarshalToSizedBuffer

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

func (*AssetTypeRequest) ProtoMessage

func (*AssetTypeRequest) ProtoMessage()

func (*AssetTypeRequest) Reset

func (m *AssetTypeRequest) Reset()

func (*AssetTypeRequest) Size

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

func (*AssetTypeRequest) String

func (m *AssetTypeRequest) String() string

func (*AssetTypeRequest) Unmarshal

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

func (*AssetTypeRequest) XXX_DiscardUnknown

func (m *AssetTypeRequest) XXX_DiscardUnknown()

func (*AssetTypeRequest) XXX_Marshal

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

func (*AssetTypeRequest) XXX_Merge

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

func (*AssetTypeRequest) XXX_Size

func (m *AssetTypeRequest) XXX_Size() int

func (*AssetTypeRequest) XXX_Unmarshal

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

type AssetTypeResponse

type AssetTypeResponse struct {
	AssetType SuperfluidAssetType `` /* 133-byte string literal not displayed */
}

func (*AssetTypeResponse) Descriptor

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

func (*AssetTypeResponse) GetAssetType

func (m *AssetTypeResponse) GetAssetType() SuperfluidAssetType

func (*AssetTypeResponse) Marshal

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

func (*AssetTypeResponse) MarshalTo

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

func (*AssetTypeResponse) MarshalToSizedBuffer

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

func (*AssetTypeResponse) ProtoMessage

func (*AssetTypeResponse) ProtoMessage()

func (*AssetTypeResponse) Reset

func (m *AssetTypeResponse) Reset()

func (*AssetTypeResponse) Size

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

func (*AssetTypeResponse) String

func (m *AssetTypeResponse) String() string

func (*AssetTypeResponse) Unmarshal

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

func (*AssetTypeResponse) XXX_DiscardUnknown

func (m *AssetTypeResponse) XXX_DiscardUnknown()

func (*AssetTypeResponse) XXX_Marshal

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

func (*AssetTypeResponse) XXX_Merge

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

func (*AssetTypeResponse) XXX_Size

func (m *AssetTypeResponse) XXX_Size() int

func (*AssetTypeResponse) XXX_Unmarshal

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

type BankKeeper

type BankKeeper interface {
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amounts sdk.Coins) error
	AddSupplyOffset(ctx sdk.Context, denom string, offsetAmount sdk.Int)
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
}

type CommunityPoolKeeper

type CommunityPoolKeeper interface {
	WithdrawDelegationRewards(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (sdk.Coins, error)
}

CommunityPoolKeeper expected distribution keeper.

type ConcentratedKeeper

type ConcentratedKeeper interface {
	GetPosition(ctx sdk.Context, positionId uint64) (model.Position, error)
	SetPosition(ctx sdk.Context, poolId uint64, owner sdk.AccAddress, lowerTick, upperTick int64, joinTime time.Time, liquidity sdk.Dec, positionId uint64, underlyingLockId uint64) error
	UpdatePosition(ctx sdk.Context, poolId uint64, owner sdk.AccAddress, lowerTick, upperTick int64, liquidityDelta sdk.Dec, joinTime time.Time, positionId uint64) (cltypes.UpdatePositionData, error)
	GetConcentratedPoolById(ctx sdk.Context, poolId uint64) (cltypes.ConcentratedPoolExtension, error)
	CreateFullRangePositionLocked(ctx sdk.Context, clPoolId uint64, owner sdk.AccAddress, coins sdk.Coins, remainingLockDuration time.Duration) (positionData cltypes.CreateFullRangePositionData, concentratedLockID uint64, err error)
	CreateFullRangePositionUnlocking(ctx sdk.Context, clPoolId uint64, owner sdk.AccAddress, coins sdk.Coins, remainingLockDuration time.Duration) (positionData cltypes.CreateFullRangePositionData, concentratedLockID uint64, err error)
	GetPositionIdToLockId(ctx sdk.Context, underlyingLockId uint64) (uint64, error)
	GetFullRangeLiquidityInPool(ctx sdk.Context, poolId uint64) (sdk.Dec, error)
	PositionHasActiveUnderlyingLock(ctx sdk.Context, positionId uint64) (bool, uint64, error)
	HasAnyPositionForPool(ctx sdk.Context, poolId uint64) (bool, error)
	WithdrawPosition(ctx sdk.Context, owner sdk.AccAddress, positionId uint64, requestedLiquidityAmountToWithdraw sdk.Dec) (amtDenom0, amtDenom1 sdk.Int, err error)
	GetUserPositions(ctx sdk.Context, addr sdk.AccAddress, poolId uint64) ([]model.Position, error)
	GetLockIdFromPositionId(ctx sdk.Context, positionId uint64) (uint64, error)
}

type ConcentratedPoolUserPositionRecord

type ConcentratedPoolUserPositionRecord struct {
	ValidatorAddress       string               `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	PositionId             uint64               `protobuf:"varint,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"`
	LockId                 uint64               `protobuf:"varint,3,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
	SyntheticLock          types1.SyntheticLock `protobuf:"bytes,4,opt,name=synthetic_lock,json=syntheticLock,proto3" json:"synthetic_lock"`
	DelegationAmount       types.Coin           `` /* 152-byte string literal not displayed */
	EquivalentStakedAmount *types.Coin          `` /* 182-byte string literal not displayed */
}

func (*ConcentratedPoolUserPositionRecord) Descriptor

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

func (*ConcentratedPoolUserPositionRecord) GetDelegationAmount

func (m *ConcentratedPoolUserPositionRecord) GetDelegationAmount() types.Coin

func (*ConcentratedPoolUserPositionRecord) GetEquivalentStakedAmount

func (m *ConcentratedPoolUserPositionRecord) GetEquivalentStakedAmount() *types.Coin

func (*ConcentratedPoolUserPositionRecord) GetLockId

func (*ConcentratedPoolUserPositionRecord) GetPositionId

func (m *ConcentratedPoolUserPositionRecord) GetPositionId() uint64

func (*ConcentratedPoolUserPositionRecord) GetSyntheticLock

func (*ConcentratedPoolUserPositionRecord) GetValidatorAddress

func (m *ConcentratedPoolUserPositionRecord) GetValidatorAddress() string

func (*ConcentratedPoolUserPositionRecord) Marshal

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

func (*ConcentratedPoolUserPositionRecord) MarshalTo

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

func (*ConcentratedPoolUserPositionRecord) MarshalToSizedBuffer

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

func (*ConcentratedPoolUserPositionRecord) ProtoMessage

func (*ConcentratedPoolUserPositionRecord) ProtoMessage()

func (*ConcentratedPoolUserPositionRecord) Reset

func (*ConcentratedPoolUserPositionRecord) Size

func (*ConcentratedPoolUserPositionRecord) String

func (*ConcentratedPoolUserPositionRecord) Unmarshal

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

func (*ConcentratedPoolUserPositionRecord) XXX_DiscardUnknown

func (m *ConcentratedPoolUserPositionRecord) XXX_DiscardUnknown()

func (*ConcentratedPoolUserPositionRecord) XXX_Marshal

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

func (*ConcentratedPoolUserPositionRecord) XXX_Merge

func (*ConcentratedPoolUserPositionRecord) XXX_Size

func (*ConcentratedPoolUserPositionRecord) XXX_Unmarshal

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

type ConcentratedTickRangeNotFullError

type ConcentratedTickRangeNotFullError struct {
	ActualLowerTick int64
	ActualUpperTick int64
}

func (ConcentratedTickRangeNotFullError) Error

type ConnectedIntermediaryAccountRequest

type ConnectedIntermediaryAccountRequest struct {
	LockId uint64 `protobuf:"varint,1,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
}

func (*ConnectedIntermediaryAccountRequest) Descriptor

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

func (*ConnectedIntermediaryAccountRequest) GetLockId

func (*ConnectedIntermediaryAccountRequest) Marshal

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

func (*ConnectedIntermediaryAccountRequest) MarshalTo

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

func (*ConnectedIntermediaryAccountRequest) MarshalToSizedBuffer

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

func (*ConnectedIntermediaryAccountRequest) ProtoMessage

func (*ConnectedIntermediaryAccountRequest) ProtoMessage()

func (*ConnectedIntermediaryAccountRequest) Reset

func (*ConnectedIntermediaryAccountRequest) Size

func (*ConnectedIntermediaryAccountRequest) String

func (*ConnectedIntermediaryAccountRequest) Unmarshal

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

func (*ConnectedIntermediaryAccountRequest) XXX_DiscardUnknown

func (m *ConnectedIntermediaryAccountRequest) XXX_DiscardUnknown()

func (*ConnectedIntermediaryAccountRequest) XXX_Marshal

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

func (*ConnectedIntermediaryAccountRequest) XXX_Merge

func (*ConnectedIntermediaryAccountRequest) XXX_Size

func (*ConnectedIntermediaryAccountRequest) XXX_Unmarshal

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

type ConnectedIntermediaryAccountResponse

type ConnectedIntermediaryAccountResponse struct {
	Account *SuperfluidIntermediaryAccountInfo `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}

func (*ConnectedIntermediaryAccountResponse) Descriptor

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

func (*ConnectedIntermediaryAccountResponse) GetAccount

func (*ConnectedIntermediaryAccountResponse) Marshal

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

func (*ConnectedIntermediaryAccountResponse) MarshalTo

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

func (*ConnectedIntermediaryAccountResponse) MarshalToSizedBuffer

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

func (*ConnectedIntermediaryAccountResponse) ProtoMessage

func (*ConnectedIntermediaryAccountResponse) ProtoMessage()

func (*ConnectedIntermediaryAccountResponse) Reset

func (*ConnectedIntermediaryAccountResponse) Size

func (*ConnectedIntermediaryAccountResponse) String

func (*ConnectedIntermediaryAccountResponse) Unmarshal

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

func (*ConnectedIntermediaryAccountResponse) XXX_DiscardUnknown

func (m *ConnectedIntermediaryAccountResponse) XXX_DiscardUnknown()

func (*ConnectedIntermediaryAccountResponse) XXX_Marshal

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

func (*ConnectedIntermediaryAccountResponse) XXX_Merge

func (*ConnectedIntermediaryAccountResponse) XXX_Size

func (*ConnectedIntermediaryAccountResponse) XXX_Unmarshal

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

type Delegations

type Delegations struct {
	ValAddr        string                                 `protobuf:"bytes,1,opt,name=val_addr,json=valAddr,proto3" json:"val_addr,omitempty"`
	AmountSfsd     github_com_cosmos_cosmos_sdk_types.Int `` /* 150-byte string literal not displayed */
	OsmoEquivalent github_com_cosmos_cosmos_sdk_types.Int `` /* 166-byte string literal not displayed */
}

func (*Delegations) Descriptor

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

func (*Delegations) GetValAddr

func (m *Delegations) GetValAddr() string

func (*Delegations) Marshal

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

func (*Delegations) MarshalTo

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

func (*Delegations) MarshalToSizedBuffer

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

func (*Delegations) ProtoMessage

func (*Delegations) ProtoMessage()

func (*Delegations) Reset

func (m *Delegations) Reset()

func (*Delegations) Size

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

func (*Delegations) String

func (m *Delegations) String() string

func (*Delegations) Unmarshal

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

func (*Delegations) XXX_DiscardUnknown

func (m *Delegations) XXX_DiscardUnknown()

func (*Delegations) XXX_Marshal

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

func (*Delegations) XXX_Merge

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

func (*Delegations) XXX_Size

func (m *Delegations) XXX_Size() int

func (*Delegations) XXX_Unmarshal

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

type EpochKeeper

type EpochKeeper interface {
	GetEpochInfo(ctx sdk.Context, identifier string) epochstypes.EpochInfo
	NumBlocksSinceEpochStart(ctx sdk.Context, identifier string) (int64, error)
}

type EstimateSuperfluidDelegatedAmountByValidatorDenomRequest

type EstimateSuperfluidDelegatedAmountByValidatorDenomRequest struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Denom            string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) Descriptor

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) GetDenom

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) GetValidatorAddress

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) Marshal

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) MarshalTo

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) MarshalToSizedBuffer

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

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) ProtoMessage

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) Reset

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) Size

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) String

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) Unmarshal

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) XXX_DiscardUnknown

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) XXX_Marshal

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

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) XXX_Merge

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) XXX_Size

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) XXX_Unmarshal

type EstimateSuperfluidDelegatedAmountByValidatorDenomResponse

type EstimateSuperfluidDelegatedAmountByValidatorDenomResponse struct {
	TotalDelegatedCoins github_com_cosmos_cosmos_sdk_types.Coins `` /* 164-byte string literal not displayed */
}

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) Descriptor

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) GetTotalDelegatedCoins

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) Marshal

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) MarshalTo

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) MarshalToSizedBuffer

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

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) ProtoMessage

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) Reset

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) Size

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) String

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) Unmarshal

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) XXX_DiscardUnknown

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) XXX_Marshal

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

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) XXX_Merge

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) XXX_Size

func (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) XXX_Unmarshal

type GammKeeper

type GammKeeper interface {
	GetPoolAndPoke(ctx sdk.Context, poolId uint64) (gammtypes.CFMMPoolI, error)
	GetPoolsAndPoke(ctx sdk.Context) (res []gammtypes.CFMMPoolI, err error)
	ExitPool(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, shareInAmount sdk.Int, tokenOutMins sdk.Coins) (exitCoins sdk.Coins, err error)
	GetAllMigrationInfo(ctx sdk.Context) (gammmigration.MigrationRecords, error)
	GetLinkedConcentratedPoolID(ctx sdk.Context, poolIdLeaving uint64) (poolIdEntering uint64, err error)
	MigrateUnlockedPositionFromBalancerToConcentrated(ctx sdk.Context, sender sdk.AccAddress, sharesToMigrate sdk.Coin, tokenOutMins sdk.Coins) (positionData cltypes.CreateFullRangePositionData, migratedPoolIDs MigrationPoolIDs, err error)
}

GammKeeper defines the expected interface needed for superfluid module.

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// superfluid_assets defines the registered superfluid assets that have been
	// registered via governance.
	SuperfluidAssets []SuperfluidAsset `protobuf:"bytes,2,rep,name=superfluid_assets,json=superfluidAssets,proto3" json:"superfluid_assets"`
	// osmo_equivalent_multipliers is the records of osmo equivalent amount of
	// each superfluid registered pool, updated every epoch.
	OsmoEquivalentMultipliers []OsmoEquivalentMultiplierRecord `` /* 128-byte string literal not displayed */
	// intermediary_accounts is a secondary account for superfluid staking that
	// plays an intermediary role between validators and the delegators.
	IntermediaryAccounts          []SuperfluidIntermediaryAccount       `protobuf:"bytes,4,rep,name=intermediary_accounts,json=intermediaryAccounts,proto3" json:"intermediary_accounts"`
	IntemediaryAccountConnections []LockIdIntermediaryAccountConnection `` /* 140-byte string literal not displayed */
}

GenesisState defines the module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state.

func GetGenesisStateFromAppState

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

GetGenesisStateFromAppState returns x/incentives GenesisState given raw application genesis state.

func (*GenesisState) Descriptor

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

func (*GenesisState) GetIntemediaryAccountConnections

func (m *GenesisState) GetIntemediaryAccountConnections() []LockIdIntermediaryAccountConnection

func (*GenesisState) GetIntermediaryAccounts

func (m *GenesisState) GetIntermediaryAccounts() []SuperfluidIntermediaryAccount

func (*GenesisState) GetOsmoEquivalentMultipliers

func (m *GenesisState) GetOsmoEquivalentMultipliers() []OsmoEquivalentMultiplierRecord

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetSuperfluidAssets

func (m *GenesisState) GetSuperfluidAssets() []SuperfluidAsset

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

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 IncentivesKeeper

type IncentivesKeeper interface {
	CreateGauge(ctx sdk.Context, isPerpetual bool, owner sdk.AccAddress, coins sdk.Coins, distrTo lockuptypes.QueryCondition, startTime time.Time, numEpochsPaidOver uint64, poolId uint64) (uint64, error)
	AddToGaugeRewards(ctx sdk.Context, owner sdk.AccAddress, coins sdk.Coins, gaugeID uint64) error

	GetActiveGauges(ctx sdk.Context) []incentivestypes.Gauge
	Distribute(ctx sdk.Context, gauges []incentivestypes.Gauge) (sdk.Coins, error)

	GetParams(ctx sdk.Context) incentivestypes.Params
}

IncentivesKeeper expected incentives keeper.

type LockIdIntermediaryAccountConnection

type LockIdIntermediaryAccountConnection struct {
	LockId              uint64 `protobuf:"varint,1,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
	IntermediaryAccount string `protobuf:"bytes,2,opt,name=intermediary_account,json=intermediaryAccount,proto3" json:"intermediary_account,omitempty"`
}

LockIdIntermediaryAccountConnection is a struct used to indicate the relationship between the underlying lock id and superfluid delegation done via lp shares.

func (*LockIdIntermediaryAccountConnection) Descriptor

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

func (*LockIdIntermediaryAccountConnection) GetIntermediaryAccount

func (m *LockIdIntermediaryAccountConnection) GetIntermediaryAccount() string

func (*LockIdIntermediaryAccountConnection) GetLockId

func (*LockIdIntermediaryAccountConnection) Marshal

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

func (*LockIdIntermediaryAccountConnection) MarshalTo

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

func (*LockIdIntermediaryAccountConnection) MarshalToSizedBuffer

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

func (*LockIdIntermediaryAccountConnection) ProtoMessage

func (*LockIdIntermediaryAccountConnection) ProtoMessage()

func (*LockIdIntermediaryAccountConnection) Reset

func (*LockIdIntermediaryAccountConnection) Size

func (*LockIdIntermediaryAccountConnection) String

func (*LockIdIntermediaryAccountConnection) Unmarshal

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

func (*LockIdIntermediaryAccountConnection) XXX_DiscardUnknown

func (m *LockIdIntermediaryAccountConnection) XXX_DiscardUnknown()

func (*LockIdIntermediaryAccountConnection) XXX_Marshal

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

func (*LockIdIntermediaryAccountConnection) XXX_Merge

func (*LockIdIntermediaryAccountConnection) XXX_Size

func (*LockIdIntermediaryAccountConnection) XXX_Unmarshal

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

type LockImproperStateError

type LockImproperStateError struct {
	LockId            uint64
	UnbondingDuration string
}

func (LockImproperStateError) Error

func (e LockImproperStateError) Error() string

type LockOwnerMismatchError

type LockOwnerMismatchError struct {
	LockId        uint64
	LockOwner     string
	ProvidedOwner string
}

func (LockOwnerMismatchError) Error

func (e LockOwnerMismatchError) Error() string

type LockupKeeper

type LockupKeeper interface {
	GetLocksLongerThanDurationDenom(ctx sdk.Context, denom string, duration time.Duration) []lockuptypes.PeriodLock
	GetAccountLockedLongerDurationDenom(ctx sdk.Context, addr sdk.AccAddress, denom string, duration time.Duration) []lockuptypes.PeriodLock
	GetAccountLockedLongerDurationDenomNotUnlockingOnly(ctx sdk.Context, addr sdk.AccAddress, denom string, duration time.Duration) []lockuptypes.PeriodLock
	GetPeriodLocksAccumulation(ctx sdk.Context, query lockuptypes.QueryCondition) sdk.Int
	GetAccountPeriodLocks(ctx sdk.Context, addr sdk.AccAddress) []lockuptypes.PeriodLock
	GetPeriodLocks(ctx sdk.Context) ([]lockuptypes.PeriodLock, error)
	GetLockByID(ctx sdk.Context, lockID uint64) (*lockuptypes.PeriodLock, error)
	// Despite the name, BeginForceUnlock is really BeginUnlock
	// TODO: Fix this in future code update
	BeginForceUnlock(ctx sdk.Context, lockID uint64, coins sdk.Coins) (uint64, error)
	ForceUnlock(ctx sdk.Context, lock lockuptypes.PeriodLock) error
	PartialForceUnlock(ctx sdk.Context, lock lockuptypes.PeriodLock, coins sdk.Coins) error
	SplitLock(ctx sdk.Context, lock lockuptypes.PeriodLock, coins sdk.Coins, forceUnlock bool) (lockuptypes.PeriodLock, error)

	CreateLock(ctx sdk.Context, owner sdk.AccAddress, coins sdk.Coins, duration time.Duration) (lockuptypes.PeriodLock, error)

	SlashTokensFromLockByID(ctx sdk.Context, lockID uint64, coins sdk.Coins) (*lockuptypes.PeriodLock, error)
	SlashTokensFromLockByIDSendUnderlyingAndBurn(ctx sdk.Context, lockID uint64, liquiditySharesInLock, underlyingPositionAssets sdk.Coins, poolAddress sdk.AccAddress) (*lockuptypes.PeriodLock, error)

	GetSyntheticLockup(ctx sdk.Context, lockID uint64, suffix string) (*lockuptypes.SyntheticLock, error)
	GetAllSyntheticLockupsByAddr(ctx sdk.Context, owner sdk.AccAddress) []lockuptypes.SyntheticLock
	GetAllSyntheticLockups(ctx sdk.Context) []lockuptypes.SyntheticLock
	CreateSyntheticLockup(ctx sdk.Context, lockID uint64, suffix string, unlockDuration time.Duration, isUnlocking bool) error
	DeleteSyntheticLockup(ctx sdk.Context, lockID uint64, suffix string) error
	GetSyntheticLockupByUnderlyingLockId(ctx sdk.Context, lockID uint64) (lockuptypes.SyntheticLock, bool, error)
}

LockupKeeper defines the expected interface needed to retrieve locks.

type LockupMsgServer

type LockupMsgServer interface {
	LockTokens(goCtx context.Context, msg *lockuptypes.MsgLockTokens) (*lockuptypes.MsgLockTokensResponse, error)
}

type MigrateMoreSharesThanLockHasError

type MigrateMoreSharesThanLockHasError struct {
	SharesToMigrate string
	SharesInLock    string
}

func (MigrateMoreSharesThanLockHasError) Error

type MigratePartialSharesError

type MigratePartialSharesError struct {
	SharesToMigrate string
	SharesInLock    string
}

func (MigratePartialSharesError) Error

type MigrationPoolIDs

type MigrationPoolIDs struct {
	LeavingID  uint64
	EnteringID uint64
}

type MsgAddToConcentratedLiquiditySuperfluidPosition

type MsgAddToConcentratedLiquiditySuperfluidPosition struct {
	PositionId    uint64     `protobuf:"varint,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty" yaml:"position_id"`
	Sender        string     `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	TokenDesired0 types.Coin `protobuf:"bytes,3,opt,name=token_desired0,json=tokenDesired0,proto3" json:"token_desired0" yaml:"token_desired0"`
	TokenDesired1 types.Coin `protobuf:"bytes,4,opt,name=token_desired1,json=tokenDesired1,proto3" json:"token_desired1" yaml:"token_desired1"`
}

===================== MsgAddToConcentratedLiquiditySuperfluidPosition

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) Descriptor

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) GetPositionId

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) GetSender

func (MsgAddToConcentratedLiquiditySuperfluidPosition) GetSignBytes

func (MsgAddToConcentratedLiquiditySuperfluidPosition) GetSigners

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) GetTokenDesired0

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) GetTokenDesired1

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) Marshal

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

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) MarshalTo

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) MarshalToSizedBuffer

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

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) ProtoMessage

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) Reset

func (MsgAddToConcentratedLiquiditySuperfluidPosition) Route

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) Size

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) String

func (MsgAddToConcentratedLiquiditySuperfluidPosition) Type

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) Unmarshal

func (MsgAddToConcentratedLiquiditySuperfluidPosition) ValidateBasic

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) XXX_DiscardUnknown

func (m *MsgAddToConcentratedLiquiditySuperfluidPosition) XXX_DiscardUnknown()

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) XXX_Marshal

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

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) XXX_Merge

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) XXX_Size

func (*MsgAddToConcentratedLiquiditySuperfluidPosition) XXX_Unmarshal

type MsgAddToConcentratedLiquiditySuperfluidPositionResponse

type MsgAddToConcentratedLiquiditySuperfluidPositionResponse struct {
	PositionId uint64                                 `protobuf:"varint,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty" yaml:"position_id"`
	Amount0    github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount0,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount0" yaml:"amount0"`
	Amount1    github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount1,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount1" yaml:"amount1"`
	// new_liquidity is the final liquidity after the add.
	// It includes the liquidity that existed before in the position
	// and the new liquidity that was added to the position.
	NewLiquidity github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	LockId       uint64                                 `protobuf:"varint,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty" yaml:"lock_id"`
}

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) Descriptor

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) GetLockId

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) GetPositionId

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) Marshal

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) MarshalTo

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) MarshalToSizedBuffer

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

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) ProtoMessage

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) Reset

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) Size

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) String

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) Unmarshal

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) XXX_DiscardUnknown

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) XXX_Marshal

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

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) XXX_Merge

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) XXX_Size

func (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse) XXX_Unmarshal

type MsgClient

type MsgClient interface {
	// Execute superfluid delegation for a lockup
	SuperfluidDelegate(ctx context.Context, in *MsgSuperfluidDelegate, opts ...grpc.CallOption) (*MsgSuperfluidDelegateResponse, error)
	// Execute superfluid undelegation for a lockup
	SuperfluidUndelegate(ctx context.Context, in *MsgSuperfluidUndelegate, opts ...grpc.CallOption) (*MsgSuperfluidUndelegateResponse, error)
	// For a given lock that is being superfluidly undelegated,
	// also unbond the underlying lock.
	SuperfluidUnbondLock(ctx context.Context, in *MsgSuperfluidUnbondLock, opts ...grpc.CallOption) (*MsgSuperfluidUnbondLockResponse, error)
	// Superfluid undelegate and unbond partial amount of the underlying lock.
	SuperfluidUndelegateAndUnbondLock(ctx context.Context, in *MsgSuperfluidUndelegateAndUnbondLock, opts ...grpc.CallOption) (*MsgSuperfluidUndelegateAndUnbondLockResponse, error)
	// Execute lockup lock and superfluid delegation in a single msg
	LockAndSuperfluidDelegate(ctx context.Context, in *MsgLockAndSuperfluidDelegate, opts ...grpc.CallOption) (*MsgLockAndSuperfluidDelegateResponse, error)
	CreateFullRangePositionAndSuperfluidDelegate(ctx context.Context, in *MsgCreateFullRangePositionAndSuperfluidDelegate, opts ...grpc.CallOption) (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse, error)
	UnPoolWhitelistedPool(ctx context.Context, in *MsgUnPoolWhitelistedPool, opts ...grpc.CallOption) (*MsgUnPoolWhitelistedPoolResponse, error)
	UnlockAndMigrateSharesToFullRangeConcentratedPosition(ctx context.Context, in *MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition, opts ...grpc.CallOption) (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse, error)
	AddToConcentratedLiquiditySuperfluidPosition(ctx context.Context, in *MsgAddToConcentratedLiquiditySuperfluidPosition, opts ...grpc.CallOption) (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse, error)
	// UnbondConvertAndStake breaks all locks / superfluid staked assets,
	// converts them to osmo then stakes the osmo to the designated validator.
	UnbondConvertAndStake(ctx context.Context, in *MsgUnbondConvertAndStake, opts ...grpc.CallOption) (*MsgUnbondConvertAndStakeResponse, 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 MsgCreateFullRangePositionAndSuperfluidDelegate

type MsgCreateFullRangePositionAndSuperfluidDelegate struct {
	Sender  string                                   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	Coins   github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
	ValAddr string                                   `protobuf:"bytes,3,opt,name=val_addr,json=valAddr,proto3" json:"val_addr,omitempty"`
	PoolId  uint64                                   `protobuf:"varint,4,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
}

MsgCreateFullRangePositionAndSuperfluidDelegate creates a full range position in a concentrated liquidity pool, then superfluid delegates.

func NewMsgCreateFullRangePositionAndSuperfluidDelegate

func NewMsgCreateFullRangePositionAndSuperfluidDelegate(sender sdk.AccAddress, coins sdk.Coins, valAddr string, poolId uint64) *MsgCreateFullRangePositionAndSuperfluidDelegate

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) Descriptor

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) GetCoins

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) GetPoolId

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) GetSender

func (MsgCreateFullRangePositionAndSuperfluidDelegate) GetSignBytes

func (MsgCreateFullRangePositionAndSuperfluidDelegate) GetSigners

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) GetValAddr

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) Marshal

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

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) MarshalTo

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) MarshalToSizedBuffer

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

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) ProtoMessage

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) Reset

func (MsgCreateFullRangePositionAndSuperfluidDelegate) Route

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) Size

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) String

func (MsgCreateFullRangePositionAndSuperfluidDelegate) Type

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) Unmarshal

func (MsgCreateFullRangePositionAndSuperfluidDelegate) ValidateBasic

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) XXX_DiscardUnknown

func (m *MsgCreateFullRangePositionAndSuperfluidDelegate) XXX_DiscardUnknown()

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) XXX_Marshal

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

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) XXX_Merge

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) XXX_Size

func (*MsgCreateFullRangePositionAndSuperfluidDelegate) XXX_Unmarshal

type MsgCreateFullRangePositionAndSuperfluidDelegateResponse

type MsgCreateFullRangePositionAndSuperfluidDelegateResponse struct {
	LockID     uint64 `protobuf:"varint,1,opt,name=lockID,proto3" json:"lockID,omitempty"`
	PositionID uint64 `protobuf:"varint,2,opt,name=positionID,proto3" json:"positionID,omitempty"`
}

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) Descriptor

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) GetLockID

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) GetPositionID

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) Marshal

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) MarshalTo

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) MarshalToSizedBuffer

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

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) ProtoMessage

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) Reset

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) Size

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) String

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) Unmarshal

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) XXX_DiscardUnknown

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) XXX_Marshal

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

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) XXX_Merge

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) XXX_Size

func (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse) XXX_Unmarshal

type MsgLockAndSuperfluidDelegate

type MsgLockAndSuperfluidDelegate struct {
	Sender  string                                   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	Coins   github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
	ValAddr string                                   `protobuf:"bytes,3,opt,name=val_addr,json=valAddr,proto3" json:"val_addr,omitempty"`
}

MsgLockAndSuperfluidDelegate locks coins with the unbonding period duration, and then does a superfluid lock from the newly created lockup, to the specified validator addr.

func NewMsgLockAndSuperfluidDelegate

func NewMsgLockAndSuperfluidDelegate(sender sdk.AccAddress, coins sdk.Coins, valAddr sdk.ValAddress) *MsgLockAndSuperfluidDelegate

NewMsgLockAndSuperfluidDelegate creates a message to create a lockup lock and superfluid delegation.

func (*MsgLockAndSuperfluidDelegate) Descriptor

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

func (*MsgLockAndSuperfluidDelegate) GetCoins

func (*MsgLockAndSuperfluidDelegate) GetSender

func (m *MsgLockAndSuperfluidDelegate) GetSender() string

func (MsgLockAndSuperfluidDelegate) GetSignBytes

func (m MsgLockAndSuperfluidDelegate) GetSignBytes() []byte

func (MsgLockAndSuperfluidDelegate) GetSigners

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

func (*MsgLockAndSuperfluidDelegate) GetValAddr

func (m *MsgLockAndSuperfluidDelegate) GetValAddr() string

func (*MsgLockAndSuperfluidDelegate) Marshal

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

func (*MsgLockAndSuperfluidDelegate) MarshalTo

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

func (*MsgLockAndSuperfluidDelegate) MarshalToSizedBuffer

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

func (*MsgLockAndSuperfluidDelegate) ProtoMessage

func (*MsgLockAndSuperfluidDelegate) ProtoMessage()

func (*MsgLockAndSuperfluidDelegate) Reset

func (m *MsgLockAndSuperfluidDelegate) Reset()

func (MsgLockAndSuperfluidDelegate) Route

func (*MsgLockAndSuperfluidDelegate) Size

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

func (*MsgLockAndSuperfluidDelegate) String

func (MsgLockAndSuperfluidDelegate) Type

func (*MsgLockAndSuperfluidDelegate) Unmarshal

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

func (MsgLockAndSuperfluidDelegate) ValidateBasic

func (m MsgLockAndSuperfluidDelegate) ValidateBasic() error

func (*MsgLockAndSuperfluidDelegate) XXX_DiscardUnknown

func (m *MsgLockAndSuperfluidDelegate) XXX_DiscardUnknown()

func (*MsgLockAndSuperfluidDelegate) XXX_Marshal

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

func (*MsgLockAndSuperfluidDelegate) XXX_Merge

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

func (*MsgLockAndSuperfluidDelegate) XXX_Size

func (m *MsgLockAndSuperfluidDelegate) XXX_Size() int

func (*MsgLockAndSuperfluidDelegate) XXX_Unmarshal

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

type MsgLockAndSuperfluidDelegateResponse

type MsgLockAndSuperfluidDelegateResponse struct {
	ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*MsgLockAndSuperfluidDelegateResponse) Descriptor

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

func (*MsgLockAndSuperfluidDelegateResponse) GetID

func (*MsgLockAndSuperfluidDelegateResponse) Marshal

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

func (*MsgLockAndSuperfluidDelegateResponse) MarshalTo

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

func (*MsgLockAndSuperfluidDelegateResponse) MarshalToSizedBuffer

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

func (*MsgLockAndSuperfluidDelegateResponse) ProtoMessage

func (*MsgLockAndSuperfluidDelegateResponse) ProtoMessage()

func (*MsgLockAndSuperfluidDelegateResponse) Reset

func (*MsgLockAndSuperfluidDelegateResponse) Size

func (*MsgLockAndSuperfluidDelegateResponse) String

func (*MsgLockAndSuperfluidDelegateResponse) Unmarshal

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

func (*MsgLockAndSuperfluidDelegateResponse) XXX_DiscardUnknown

func (m *MsgLockAndSuperfluidDelegateResponse) XXX_DiscardUnknown()

func (*MsgLockAndSuperfluidDelegateResponse) XXX_Marshal

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

func (*MsgLockAndSuperfluidDelegateResponse) XXX_Merge

func (*MsgLockAndSuperfluidDelegateResponse) XXX_Size

func (*MsgLockAndSuperfluidDelegateResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// Execute superfluid delegation for a lockup
	SuperfluidDelegate(context.Context, *MsgSuperfluidDelegate) (*MsgSuperfluidDelegateResponse, error)
	// Execute superfluid undelegation for a lockup
	SuperfluidUndelegate(context.Context, *MsgSuperfluidUndelegate) (*MsgSuperfluidUndelegateResponse, error)
	// For a given lock that is being superfluidly undelegated,
	// also unbond the underlying lock.
	SuperfluidUnbondLock(context.Context, *MsgSuperfluidUnbondLock) (*MsgSuperfluidUnbondLockResponse, error)
	// Superfluid undelegate and unbond partial amount of the underlying lock.
	SuperfluidUndelegateAndUnbondLock(context.Context, *MsgSuperfluidUndelegateAndUnbondLock) (*MsgSuperfluidUndelegateAndUnbondLockResponse, error)
	// Execute lockup lock and superfluid delegation in a single msg
	LockAndSuperfluidDelegate(context.Context, *MsgLockAndSuperfluidDelegate) (*MsgLockAndSuperfluidDelegateResponse, error)
	CreateFullRangePositionAndSuperfluidDelegate(context.Context, *MsgCreateFullRangePositionAndSuperfluidDelegate) (*MsgCreateFullRangePositionAndSuperfluidDelegateResponse, error)
	UnPoolWhitelistedPool(context.Context, *MsgUnPoolWhitelistedPool) (*MsgUnPoolWhitelistedPoolResponse, error)
	UnlockAndMigrateSharesToFullRangeConcentratedPosition(context.Context, *MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse, error)
	AddToConcentratedLiquiditySuperfluidPosition(context.Context, *MsgAddToConcentratedLiquiditySuperfluidPosition) (*MsgAddToConcentratedLiquiditySuperfluidPositionResponse, error)
	// UnbondConvertAndStake breaks all locks / superfluid staked assets,
	// converts them to osmo then stakes the osmo to the designated validator.
	UnbondConvertAndStake(context.Context, *MsgUnbondConvertAndStake) (*MsgUnbondConvertAndStakeResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSuperfluidDelegate

type MsgSuperfluidDelegate struct {
	Sender  string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	LockId  uint64 `protobuf:"varint,2,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
	ValAddr string `protobuf:"bytes,3,opt,name=val_addr,json=valAddr,proto3" json:"val_addr,omitempty"`
}

func NewMsgSuperfluidDelegate

func NewMsgSuperfluidDelegate(sender sdk.AccAddress, lockId uint64, valAddr sdk.ValAddress) *MsgSuperfluidDelegate

NewMsgSuperfluidDelegate creates a message to do superfluid delegation.

func (*MsgSuperfluidDelegate) Descriptor

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

func (*MsgSuperfluidDelegate) GetLockId

func (m *MsgSuperfluidDelegate) GetLockId() uint64

func (*MsgSuperfluidDelegate) GetSender

func (m *MsgSuperfluidDelegate) GetSender() string

func (MsgSuperfluidDelegate) GetSignBytes

func (m MsgSuperfluidDelegate) GetSignBytes() []byte

func (MsgSuperfluidDelegate) GetSigners

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

func (*MsgSuperfluidDelegate) GetValAddr

func (m *MsgSuperfluidDelegate) GetValAddr() string

func (*MsgSuperfluidDelegate) Marshal

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

func (*MsgSuperfluidDelegate) MarshalTo

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

func (*MsgSuperfluidDelegate) MarshalToSizedBuffer

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

func (*MsgSuperfluidDelegate) ProtoMessage

func (*MsgSuperfluidDelegate) ProtoMessage()

func (*MsgSuperfluidDelegate) Reset

func (m *MsgSuperfluidDelegate) Reset()

func (MsgSuperfluidDelegate) Route

func (m MsgSuperfluidDelegate) Route() string

func (*MsgSuperfluidDelegate) Size

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

func (*MsgSuperfluidDelegate) String

func (m *MsgSuperfluidDelegate) String() string

func (MsgSuperfluidDelegate) Type

func (m MsgSuperfluidDelegate) Type() string

func (*MsgSuperfluidDelegate) Unmarshal

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

func (MsgSuperfluidDelegate) ValidateBasic

func (m MsgSuperfluidDelegate) ValidateBasic() error

func (*MsgSuperfluidDelegate) XXX_DiscardUnknown

func (m *MsgSuperfluidDelegate) XXX_DiscardUnknown()

func (*MsgSuperfluidDelegate) XXX_Marshal

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

func (*MsgSuperfluidDelegate) XXX_Merge

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

func (*MsgSuperfluidDelegate) XXX_Size

func (m *MsgSuperfluidDelegate) XXX_Size() int

func (*MsgSuperfluidDelegate) XXX_Unmarshal

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

type MsgSuperfluidDelegateResponse

type MsgSuperfluidDelegateResponse struct {
}

func (*MsgSuperfluidDelegateResponse) Descriptor

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

func (*MsgSuperfluidDelegateResponse) Marshal

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

func (*MsgSuperfluidDelegateResponse) MarshalTo

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

func (*MsgSuperfluidDelegateResponse) MarshalToSizedBuffer

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

func (*MsgSuperfluidDelegateResponse) ProtoMessage

func (*MsgSuperfluidDelegateResponse) ProtoMessage()

func (*MsgSuperfluidDelegateResponse) Reset

func (m *MsgSuperfluidDelegateResponse) Reset()

func (*MsgSuperfluidDelegateResponse) Size

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

func (*MsgSuperfluidDelegateResponse) String

func (*MsgSuperfluidDelegateResponse) Unmarshal

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

func (*MsgSuperfluidDelegateResponse) XXX_DiscardUnknown

func (m *MsgSuperfluidDelegateResponse) XXX_DiscardUnknown()

func (*MsgSuperfluidDelegateResponse) XXX_Marshal

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

func (*MsgSuperfluidDelegateResponse) XXX_Merge

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

func (*MsgSuperfluidDelegateResponse) XXX_Size

func (m *MsgSuperfluidDelegateResponse) XXX_Size() int

func (*MsgSuperfluidDelegateResponse) XXX_Unmarshal

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

type MsgSuperfluidUnbondLock

type MsgSuperfluidUnbondLock struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	LockId uint64 `protobuf:"varint,2,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
}

func NewMsgSuperfluidUnbondLock

func NewMsgSuperfluidUnbondLock(sender sdk.AccAddress, lockID uint64) *MsgSuperfluidUnbondLock

MsgSuperfluidUnbondLock creates a message to unbond a lock underlying a superfluid undelegation position.

func (*MsgSuperfluidUnbondLock) Descriptor

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

func (*MsgSuperfluidUnbondLock) GetLockId

func (m *MsgSuperfluidUnbondLock) GetLockId() uint64

func (*MsgSuperfluidUnbondLock) GetSender

func (m *MsgSuperfluidUnbondLock) GetSender() string

func (MsgSuperfluidUnbondLock) GetSignBytes

func (m MsgSuperfluidUnbondLock) GetSignBytes() []byte

func (MsgSuperfluidUnbondLock) GetSigners

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

func (*MsgSuperfluidUnbondLock) Marshal

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

func (*MsgSuperfluidUnbondLock) MarshalTo

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

func (*MsgSuperfluidUnbondLock) MarshalToSizedBuffer

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

func (*MsgSuperfluidUnbondLock) ProtoMessage

func (*MsgSuperfluidUnbondLock) ProtoMessage()

func (*MsgSuperfluidUnbondLock) Reset

func (m *MsgSuperfluidUnbondLock) Reset()

func (MsgSuperfluidUnbondLock) Route

func (m MsgSuperfluidUnbondLock) Route() string

func (*MsgSuperfluidUnbondLock) Size

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

func (*MsgSuperfluidUnbondLock) String

func (m *MsgSuperfluidUnbondLock) String() string

func (MsgSuperfluidUnbondLock) Type

func (*MsgSuperfluidUnbondLock) Unmarshal

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

func (MsgSuperfluidUnbondLock) ValidateBasic

func (m MsgSuperfluidUnbondLock) ValidateBasic() error

func (*MsgSuperfluidUnbondLock) XXX_DiscardUnknown

func (m *MsgSuperfluidUnbondLock) XXX_DiscardUnknown()

func (*MsgSuperfluidUnbondLock) XXX_Marshal

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

func (*MsgSuperfluidUnbondLock) XXX_Merge

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

func (*MsgSuperfluidUnbondLock) XXX_Size

func (m *MsgSuperfluidUnbondLock) XXX_Size() int

func (*MsgSuperfluidUnbondLock) XXX_Unmarshal

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

type MsgSuperfluidUnbondLockResponse

type MsgSuperfluidUnbondLockResponse struct {
}

func (*MsgSuperfluidUnbondLockResponse) Descriptor

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

func (*MsgSuperfluidUnbondLockResponse) Marshal

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

func (*MsgSuperfluidUnbondLockResponse) MarshalTo

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

func (*MsgSuperfluidUnbondLockResponse) MarshalToSizedBuffer

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

func (*MsgSuperfluidUnbondLockResponse) ProtoMessage

func (*MsgSuperfluidUnbondLockResponse) ProtoMessage()

func (*MsgSuperfluidUnbondLockResponse) Reset

func (*MsgSuperfluidUnbondLockResponse) Size

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

func (*MsgSuperfluidUnbondLockResponse) String

func (*MsgSuperfluidUnbondLockResponse) Unmarshal

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

func (*MsgSuperfluidUnbondLockResponse) XXX_DiscardUnknown

func (m *MsgSuperfluidUnbondLockResponse) XXX_DiscardUnknown()

func (*MsgSuperfluidUnbondLockResponse) XXX_Marshal

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

func (*MsgSuperfluidUnbondLockResponse) XXX_Merge

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

func (*MsgSuperfluidUnbondLockResponse) XXX_Size

func (m *MsgSuperfluidUnbondLockResponse) XXX_Size() int

func (*MsgSuperfluidUnbondLockResponse) XXX_Unmarshal

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

type MsgSuperfluidUndelegate

type MsgSuperfluidUndelegate struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	LockId uint64 `protobuf:"varint,2,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
}

func NewMsgSuperfluidUndelegate

func NewMsgSuperfluidUndelegate(sender sdk.AccAddress, lockId uint64) *MsgSuperfluidUndelegate

NewMsgSuperfluidUndelegate creates a message to do superfluid undelegation.

func (*MsgSuperfluidUndelegate) Descriptor

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

func (*MsgSuperfluidUndelegate) GetLockId

func (m *MsgSuperfluidUndelegate) GetLockId() uint64

func (*MsgSuperfluidUndelegate) GetSender

func (m *MsgSuperfluidUndelegate) GetSender() string

func (MsgSuperfluidUndelegate) GetSignBytes

func (m MsgSuperfluidUndelegate) GetSignBytes() []byte

func (MsgSuperfluidUndelegate) GetSigners

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

func (*MsgSuperfluidUndelegate) Marshal

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

func (*MsgSuperfluidUndelegate) MarshalTo

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

func (*MsgSuperfluidUndelegate) MarshalToSizedBuffer

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

func (*MsgSuperfluidUndelegate) ProtoMessage

func (*MsgSuperfluidUndelegate) ProtoMessage()

func (*MsgSuperfluidUndelegate) Reset

func (m *MsgSuperfluidUndelegate) Reset()

func (MsgSuperfluidUndelegate) Route

func (m MsgSuperfluidUndelegate) Route() string

func (*MsgSuperfluidUndelegate) Size

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

func (*MsgSuperfluidUndelegate) String

func (m *MsgSuperfluidUndelegate) String() string

func (MsgSuperfluidUndelegate) Type

func (*MsgSuperfluidUndelegate) Unmarshal

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

func (MsgSuperfluidUndelegate) ValidateBasic

func (m MsgSuperfluidUndelegate) ValidateBasic() error

func (*MsgSuperfluidUndelegate) XXX_DiscardUnknown

func (m *MsgSuperfluidUndelegate) XXX_DiscardUnknown()

func (*MsgSuperfluidUndelegate) XXX_Marshal

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

func (*MsgSuperfluidUndelegate) XXX_Merge

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

func (*MsgSuperfluidUndelegate) XXX_Size

func (m *MsgSuperfluidUndelegate) XXX_Size() int

func (*MsgSuperfluidUndelegate) XXX_Unmarshal

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

type MsgSuperfluidUndelegateAndUnbondLock

type MsgSuperfluidUndelegateAndUnbondLock struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	LockId uint64 `protobuf:"varint,2,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
	// Amount of unlocking coin.
	Coin types.Coin `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin" yaml:"coin"`
}

func NewMsgSuperfluidUndelegateAndUnbondLock

func NewMsgSuperfluidUndelegateAndUnbondLock(sender sdk.AccAddress, lockID uint64, coin sdk.Coin) *MsgSuperfluidUndelegateAndUnbondLock

MsgSuperfluidUndelegateAndUnbondLock creates a message to unbond a lock underlying a superfluid undelegation position. Amount to unbond can be less than or equal to the amount locked.

func (*MsgSuperfluidUndelegateAndUnbondLock) Descriptor

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

func (*MsgSuperfluidUndelegateAndUnbondLock) GetCoin

func (*MsgSuperfluidUndelegateAndUnbondLock) GetLockId

func (*MsgSuperfluidUndelegateAndUnbondLock) GetSender

func (MsgSuperfluidUndelegateAndUnbondLock) GetSignBytes

func (m MsgSuperfluidUndelegateAndUnbondLock) GetSignBytes() []byte

func (MsgSuperfluidUndelegateAndUnbondLock) GetSigners

func (*MsgSuperfluidUndelegateAndUnbondLock) Marshal

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

func (*MsgSuperfluidUndelegateAndUnbondLock) MarshalTo

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

func (*MsgSuperfluidUndelegateAndUnbondLock) MarshalToSizedBuffer

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

func (*MsgSuperfluidUndelegateAndUnbondLock) ProtoMessage

func (*MsgSuperfluidUndelegateAndUnbondLock) ProtoMessage()

func (*MsgSuperfluidUndelegateAndUnbondLock) Reset

func (MsgSuperfluidUndelegateAndUnbondLock) Route

func (*MsgSuperfluidUndelegateAndUnbondLock) Size

func (*MsgSuperfluidUndelegateAndUnbondLock) String

func (MsgSuperfluidUndelegateAndUnbondLock) Type

func (*MsgSuperfluidUndelegateAndUnbondLock) Unmarshal

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

func (MsgSuperfluidUndelegateAndUnbondLock) ValidateBasic

func (m MsgSuperfluidUndelegateAndUnbondLock) ValidateBasic() error

func (*MsgSuperfluidUndelegateAndUnbondLock) XXX_DiscardUnknown

func (m *MsgSuperfluidUndelegateAndUnbondLock) XXX_DiscardUnknown()

func (*MsgSuperfluidUndelegateAndUnbondLock) XXX_Marshal

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

func (*MsgSuperfluidUndelegateAndUnbondLock) XXX_Merge

func (*MsgSuperfluidUndelegateAndUnbondLock) XXX_Size

func (*MsgSuperfluidUndelegateAndUnbondLock) XXX_Unmarshal

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

type MsgSuperfluidUndelegateAndUnbondLockResponse

type MsgSuperfluidUndelegateAndUnbondLockResponse struct {
	// lock id of the new lock created for the remaining amount.
	// returns the original lockid if the unlocked amount is equal to the
	// original lock's amount.
	LockId uint64 `protobuf:"varint,1,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
}

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) Descriptor

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) GetLockId

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) Marshal

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

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) MarshalTo

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) MarshalToSizedBuffer

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

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) ProtoMessage

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) Reset

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) Size

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) String

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) Unmarshal

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) XXX_DiscardUnknown

func (m *MsgSuperfluidUndelegateAndUnbondLockResponse) XXX_DiscardUnknown()

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) XXX_Marshal

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

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) XXX_Merge

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) XXX_Size

func (*MsgSuperfluidUndelegateAndUnbondLockResponse) XXX_Unmarshal

type MsgSuperfluidUndelegateResponse

type MsgSuperfluidUndelegateResponse struct {
}

func (*MsgSuperfluidUndelegateResponse) Descriptor

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

func (*MsgSuperfluidUndelegateResponse) Marshal

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

func (*MsgSuperfluidUndelegateResponse) MarshalTo

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

func (*MsgSuperfluidUndelegateResponse) MarshalToSizedBuffer

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

func (*MsgSuperfluidUndelegateResponse) ProtoMessage

func (*MsgSuperfluidUndelegateResponse) ProtoMessage()

func (*MsgSuperfluidUndelegateResponse) Reset

func (*MsgSuperfluidUndelegateResponse) Size

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

func (*MsgSuperfluidUndelegateResponse) String

func (*MsgSuperfluidUndelegateResponse) Unmarshal

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

func (*MsgSuperfluidUndelegateResponse) XXX_DiscardUnknown

func (m *MsgSuperfluidUndelegateResponse) XXX_DiscardUnknown()

func (*MsgSuperfluidUndelegateResponse) XXX_Marshal

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

func (*MsgSuperfluidUndelegateResponse) XXX_Merge

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

func (*MsgSuperfluidUndelegateResponse) XXX_Size

func (m *MsgSuperfluidUndelegateResponse) XXX_Size() int

func (*MsgSuperfluidUndelegateResponse) XXX_Unmarshal

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

type MsgUnPoolWhitelistedPool

type MsgUnPoolWhitelistedPool struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
}

MsgUnPoolWhitelistedPool Unpools every lock the sender has, that is associated with pool pool_id. If pool_id is not approved for unpooling by governance, this is a no-op. Unpooling takes the locked gamm shares, and runs "ExitPool" on it, to get the constituent tokens. e.g. z gamm/pool/1 tokens ExitPools into constituent tokens x uatom, y uosmo. Then it creates a new lock for every constituent token, with the duration associated with the lock. If the lock was unbonding, the new lockup durations should be the time left until unbond completion.

func NewMsgUnPoolWhitelistedPool

func NewMsgUnPoolWhitelistedPool(sender sdk.AccAddress, poolID uint64) *MsgUnPoolWhitelistedPool

NewMsgUnPoolWhitelistedPool creates a message to create a lockup lock and superfluid delegation

func (*MsgUnPoolWhitelistedPool) Descriptor

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

func (*MsgUnPoolWhitelistedPool) GetPoolId

func (m *MsgUnPoolWhitelistedPool) GetPoolId() uint64

func (*MsgUnPoolWhitelistedPool) GetSender

func (m *MsgUnPoolWhitelistedPool) GetSender() string

func (MsgUnPoolWhitelistedPool) GetSignBytes

func (msg MsgUnPoolWhitelistedPool) GetSignBytes() []byte

func (MsgUnPoolWhitelistedPool) GetSigners

func (msg MsgUnPoolWhitelistedPool) GetSigners() []sdk.AccAddress

func (*MsgUnPoolWhitelistedPool) Marshal

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

func (*MsgUnPoolWhitelistedPool) MarshalTo

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

func (*MsgUnPoolWhitelistedPool) MarshalToSizedBuffer

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

func (*MsgUnPoolWhitelistedPool) ProtoMessage

func (*MsgUnPoolWhitelistedPool) ProtoMessage()

func (*MsgUnPoolWhitelistedPool) Reset

func (m *MsgUnPoolWhitelistedPool) Reset()

func (MsgUnPoolWhitelistedPool) Route

func (msg MsgUnPoolWhitelistedPool) Route() string

func (*MsgUnPoolWhitelistedPool) Size

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

func (*MsgUnPoolWhitelistedPool) String

func (m *MsgUnPoolWhitelistedPool) String() string

func (MsgUnPoolWhitelistedPool) Type

func (msg MsgUnPoolWhitelistedPool) Type() string

func (*MsgUnPoolWhitelistedPool) Unmarshal

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

func (MsgUnPoolWhitelistedPool) ValidateBasic

func (msg MsgUnPoolWhitelistedPool) ValidateBasic() error

func (*MsgUnPoolWhitelistedPool) XXX_DiscardUnknown

func (m *MsgUnPoolWhitelistedPool) XXX_DiscardUnknown()

func (*MsgUnPoolWhitelistedPool) XXX_Marshal

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

func (*MsgUnPoolWhitelistedPool) XXX_Merge

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

func (*MsgUnPoolWhitelistedPool) XXX_Size

func (m *MsgUnPoolWhitelistedPool) XXX_Size() int

func (*MsgUnPoolWhitelistedPool) XXX_Unmarshal

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

type MsgUnPoolWhitelistedPoolResponse

type MsgUnPoolWhitelistedPoolResponse struct {
	ExitedLockIds []uint64 `protobuf:"varint,1,rep,packed,name=exited_lock_ids,json=exitedLockIds,proto3" json:"exited_lock_ids,omitempty"`
}

func (*MsgUnPoolWhitelistedPoolResponse) Descriptor

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

func (*MsgUnPoolWhitelistedPoolResponse) GetExitedLockIds

func (m *MsgUnPoolWhitelistedPoolResponse) GetExitedLockIds() []uint64

func (*MsgUnPoolWhitelistedPoolResponse) Marshal

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

func (*MsgUnPoolWhitelistedPoolResponse) MarshalTo

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

func (*MsgUnPoolWhitelistedPoolResponse) MarshalToSizedBuffer

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

func (*MsgUnPoolWhitelistedPoolResponse) ProtoMessage

func (*MsgUnPoolWhitelistedPoolResponse) ProtoMessage()

func (*MsgUnPoolWhitelistedPoolResponse) Reset

func (*MsgUnPoolWhitelistedPoolResponse) Size

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

func (*MsgUnPoolWhitelistedPoolResponse) String

func (*MsgUnPoolWhitelistedPoolResponse) Unmarshal

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

func (*MsgUnPoolWhitelistedPoolResponse) XXX_DiscardUnknown

func (m *MsgUnPoolWhitelistedPoolResponse) XXX_DiscardUnknown()

func (*MsgUnPoolWhitelistedPoolResponse) XXX_Marshal

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

func (*MsgUnPoolWhitelistedPoolResponse) XXX_Merge

func (*MsgUnPoolWhitelistedPoolResponse) XXX_Size

func (m *MsgUnPoolWhitelistedPoolResponse) XXX_Size() int

func (*MsgUnPoolWhitelistedPoolResponse) XXX_Unmarshal

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

type MsgUnbondConvertAndStake

type MsgUnbondConvertAndStake struct {
	// lock ID to convert and stake.
	// lock id with 0 should be provided if converting liquid gamm shares to stake
	LockId uint64 `protobuf:"varint,1,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty" yaml:"lock_id"`
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	// validator address to delegate to.
	// If provided empty string, we use the validators returned from
	// valset-preference module.
	ValAddr string `protobuf:"bytes,3,opt,name=val_addr,json=valAddr,proto3" json:"val_addr,omitempty"`
	// min_amt_to_stake indicates the minimum amount to stake after conversion
	MinAmtToStake github_com_cosmos_cosmos_sdk_types.Int `` /* 168-byte string literal not displayed */
	// shares_to_convert indicates shares wanted to stake.
	// Note that this field is only used for liquid(unlocked) gamm shares.
	// For all other cases, this field would be disregarded.
	SharesToConvert types.Coin `` /* 176-byte string literal not displayed */
}

===================== MsgUnbondConvertAndStake

func NewMsgUnbondConvertAndStake

func NewMsgUnbondConvertAndStake(sender sdk.AccAddress, lockId uint64, valAddr string, minAmtToStake sdk.Int, sharesToConvert sdk.Coin) *MsgUnbondConvertAndStake

func (*MsgUnbondConvertAndStake) Descriptor

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

func (*MsgUnbondConvertAndStake) GetLockId

func (m *MsgUnbondConvertAndStake) GetLockId() uint64

func (*MsgUnbondConvertAndStake) GetSender

func (m *MsgUnbondConvertAndStake) GetSender() string

func (*MsgUnbondConvertAndStake) GetSharesToConvert

func (m *MsgUnbondConvertAndStake) GetSharesToConvert() types.Coin

func (MsgUnbondConvertAndStake) GetSignBytes

func (msg MsgUnbondConvertAndStake) GetSignBytes() []byte

func (MsgUnbondConvertAndStake) GetSigners

func (msg MsgUnbondConvertAndStake) GetSigners() []sdk.AccAddress

func (*MsgUnbondConvertAndStake) GetValAddr

func (m *MsgUnbondConvertAndStake) GetValAddr() string

func (*MsgUnbondConvertAndStake) Marshal

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

func (*MsgUnbondConvertAndStake) MarshalTo

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

func (*MsgUnbondConvertAndStake) MarshalToSizedBuffer

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

func (*MsgUnbondConvertAndStake) ProtoMessage

func (*MsgUnbondConvertAndStake) ProtoMessage()

func (*MsgUnbondConvertAndStake) Reset

func (m *MsgUnbondConvertAndStake) Reset()

func (MsgUnbondConvertAndStake) Route

func (msg MsgUnbondConvertAndStake) Route() string

func (*MsgUnbondConvertAndStake) Size

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

func (*MsgUnbondConvertAndStake) String

func (m *MsgUnbondConvertAndStake) String() string

func (MsgUnbondConvertAndStake) Type

func (msg MsgUnbondConvertAndStake) Type() string

func (*MsgUnbondConvertAndStake) Unmarshal

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

func (MsgUnbondConvertAndStake) ValidateBasic

func (msg MsgUnbondConvertAndStake) ValidateBasic() error

func (*MsgUnbondConvertAndStake) XXX_DiscardUnknown

func (m *MsgUnbondConvertAndStake) XXX_DiscardUnknown()

func (*MsgUnbondConvertAndStake) XXX_Marshal

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

func (*MsgUnbondConvertAndStake) XXX_Merge

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

func (*MsgUnbondConvertAndStake) XXX_Size

func (m *MsgUnbondConvertAndStake) XXX_Size() int

func (*MsgUnbondConvertAndStake) XXX_Unmarshal

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

type MsgUnbondConvertAndStakeResponse

type MsgUnbondConvertAndStakeResponse struct {
	TotalAmtStaked github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */
}

func (*MsgUnbondConvertAndStakeResponse) Descriptor

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

func (*MsgUnbondConvertAndStakeResponse) Marshal

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

func (*MsgUnbondConvertAndStakeResponse) MarshalTo

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

func (*MsgUnbondConvertAndStakeResponse) MarshalToSizedBuffer

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

func (*MsgUnbondConvertAndStakeResponse) ProtoMessage

func (*MsgUnbondConvertAndStakeResponse) ProtoMessage()

func (*MsgUnbondConvertAndStakeResponse) Reset

func (*MsgUnbondConvertAndStakeResponse) Size

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

func (*MsgUnbondConvertAndStakeResponse) String

func (*MsgUnbondConvertAndStakeResponse) Unmarshal

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

func (*MsgUnbondConvertAndStakeResponse) XXX_DiscardUnknown

func (m *MsgUnbondConvertAndStakeResponse) XXX_DiscardUnknown()

func (*MsgUnbondConvertAndStakeResponse) XXX_Marshal

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

func (*MsgUnbondConvertAndStakeResponse) XXX_Merge

func (*MsgUnbondConvertAndStakeResponse) XXX_Size

func (m *MsgUnbondConvertAndStakeResponse) XXX_Size() int

func (*MsgUnbondConvertAndStakeResponse) XXX_Unmarshal

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

type MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition

type MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition struct {
	Sender          string     `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	LockId          int64      `protobuf:"varint,2,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty" yaml:"lock_id"`
	SharesToMigrate types.Coin `protobuf:"bytes,3,opt,name=shares_to_migrate,json=sharesToMigrate,proto3" json:"shares_to_migrate" yaml:"shares_to_migrate"`
	// token_out_mins indicates minimum token to exit Balancer pool with.
	TokenOutMins github_com_cosmos_cosmos_sdk_types.Coins `` /* 165-byte string literal not displayed */
}

===================== MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition

func NewMsgUnlockAndMigrateSharesToFullRangeConcentratedPosition

func NewMsgUnlockAndMigrateSharesToFullRangeConcentratedPosition(sender sdk.AccAddress, lockId int64, sharesToMigrate sdk.Coin) *MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) Descriptor

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) GetLockId

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) GetSender

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) GetSharesToMigrate

func (MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) GetSignBytes

func (MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) GetSigners

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) GetTokenOutMins

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) Marshal

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) MarshalTo

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) MarshalToSizedBuffer

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

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) ProtoMessage

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) Reset

func (MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) Route

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) Size

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) String

func (MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) Type

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) Unmarshal

func (MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) ValidateBasic

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) XXX_DiscardUnknown

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) XXX_Marshal

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

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) XXX_Merge

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) XXX_Size

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition) XXX_Unmarshal

type MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse

type MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse struct {
	Amount0          github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount0,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount0" yaml:"amount0"`
	Amount1          github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount1,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount1" yaml:"amount1"`
	LiquidityCreated github_com_cosmos_cosmos_sdk_types.Dec `` /* 174-byte string literal not displayed */
	JoinTime         time.Time                              `protobuf:"bytes,4,opt,name=join_time,json=joinTime,proto3,stdtime" json:"join_time" yaml:"join_time"`
}

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) Descriptor

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) GetJoinTime

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) Marshal

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) MarshalTo

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) MarshalToSizedBuffer

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) ProtoMessage

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) Reset

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) Size

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) String

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) Unmarshal

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) XXX_DiscardUnknown

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) XXX_Marshal

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) XXX_Merge

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) XXX_Size

func (*MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse) XXX_Unmarshal

type NegativeDurationError

type NegativeDurationError struct {
	Duration time.Duration
}

func (NegativeDurationError) Error

func (e NegativeDurationError) Error() string

type OsmoEquivalentMultiplierRecord

type OsmoEquivalentMultiplierRecord struct {
	EpochNumber int64 `protobuf:"varint,1,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	// superfluid asset denom, can be LP token or native token
	Denom      string                                 `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Multiplier github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
}

The Osmo-Equivalent-Multiplier Record for epoch N refers to the osmo worth we treat an LP share as having, for all of epoch N. Eventually this is intended to be set as the Time-weighted-average-osmo-backing for the entire duration of epoch N-1. (Thereby locking whats in use for epoch N as based on the prior epochs rewards) However for now, this is not the TWAP but instead the spot price at the boundary. For different types of assets in the future, it could change.

func (*OsmoEquivalentMultiplierRecord) Descriptor

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

func (*OsmoEquivalentMultiplierRecord) GetDenom

func (m *OsmoEquivalentMultiplierRecord) GetDenom() string

func (*OsmoEquivalentMultiplierRecord) GetEpochNumber

func (m *OsmoEquivalentMultiplierRecord) GetEpochNumber() int64

func (*OsmoEquivalentMultiplierRecord) Marshal

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

func (*OsmoEquivalentMultiplierRecord) MarshalTo

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

func (*OsmoEquivalentMultiplierRecord) MarshalToSizedBuffer

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

func (*OsmoEquivalentMultiplierRecord) ProtoMessage

func (*OsmoEquivalentMultiplierRecord) ProtoMessage()

func (*OsmoEquivalentMultiplierRecord) Reset

func (m *OsmoEquivalentMultiplierRecord) Reset()

func (*OsmoEquivalentMultiplierRecord) Size

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

func (*OsmoEquivalentMultiplierRecord) String

func (*OsmoEquivalentMultiplierRecord) Unmarshal

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

func (*OsmoEquivalentMultiplierRecord) XXX_DiscardUnknown

func (m *OsmoEquivalentMultiplierRecord) XXX_DiscardUnknown()

func (*OsmoEquivalentMultiplierRecord) XXX_Marshal

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

func (*OsmoEquivalentMultiplierRecord) XXX_Merge

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

func (*OsmoEquivalentMultiplierRecord) XXX_Size

func (m *OsmoEquivalentMultiplierRecord) XXX_Size() int

func (*OsmoEquivalentMultiplierRecord) XXX_Unmarshal

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

type Params

type Params struct {
	// minimum_risk_factor is to be cut on OSMO equivalent value of lp tokens for
	// superfluid staking, default: 5%. The minimum risk factor works
	// to counter-balance the staked amount on chain's exposure to various asset
	// volatilities, and have base staking be 'resistant' to volatility.
	MinimumRiskFactor github_com_cosmos_cosmos_sdk_types.Dec `` /* 181-byte string literal not displayed */
}

Params holds parameters for the superfluid module

func DefaultParams

func DefaultParams() Params

default minting module parameters.

func NewParams

func NewParams(minimumRiskFactor sdk.Dec) Params

func (*Params) Descriptor

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

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

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

validate params.

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 PoolManagerKeeper

type PoolManagerKeeper interface {
	SwapExactAmountIn(
		ctx sdk.Context,
		sender sdk.AccAddress,
		poolId uint64,
		tokenIn sdk.Coin,
		tokenOutDenom string,
		tokenOutMinAmount sdk.Int,
	) (sdk.Int, error)
}

type PositionNotSuperfluidStakedError

type PositionNotSuperfluidStakedError struct {
	PositionId uint64
}

func (PositionNotSuperfluidStakedError) Error

type QueryClient

type QueryClient interface {
	// Params returns the total set of superfluid parameters.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Returns superfluid asset type, whether if it's a native asset or an lp
	// share.
	AssetType(ctx context.Context, in *AssetTypeRequest, opts ...grpc.CallOption) (*AssetTypeResponse, error)
	// Returns all registered superfluid assets.
	AllAssets(ctx context.Context, in *AllAssetsRequest, opts ...grpc.CallOption) (*AllAssetsResponse, error)
	// Returns the osmo equivalent multiplier used in the most recent epoch.
	AssetMultiplier(ctx context.Context, in *AssetMultiplierRequest, opts ...grpc.CallOption) (*AssetMultiplierResponse, error)
	// Returns all superfluid intermediary accounts.
	AllIntermediaryAccounts(ctx context.Context, in *AllIntermediaryAccountsRequest, opts ...grpc.CallOption) (*AllIntermediaryAccountsResponse, error)
	// Returns intermediary account connected to a superfluid staked lock by id
	ConnectedIntermediaryAccount(ctx context.Context, in *ConnectedIntermediaryAccountRequest, opts ...grpc.CallOption) (*ConnectedIntermediaryAccountResponse, error)
	// Returns the amount of delegations of specific denom for all validators
	TotalDelegationByValidatorForDenom(ctx context.Context, in *QueryTotalDelegationByValidatorForDenomRequest, opts ...grpc.CallOption) (*QueryTotalDelegationByValidatorForDenomResponse, error)
	// Returns the total amount of osmo superfluidly staked.
	// Response is denominated in uosmo.
	TotalSuperfluidDelegations(ctx context.Context, in *TotalSuperfluidDelegationsRequest, opts ...grpc.CallOption) (*TotalSuperfluidDelegationsResponse, error)
	// Returns the coins superfluid delegated for the delegator, validator, denom
	// triplet
	SuperfluidDelegationAmount(ctx context.Context, in *SuperfluidDelegationAmountRequest, opts ...grpc.CallOption) (*SuperfluidDelegationAmountResponse, error)
	// Returns all the delegated superfluid poistions for a specific delegator.
	SuperfluidDelegationsByDelegator(ctx context.Context, in *SuperfluidDelegationsByDelegatorRequest, opts ...grpc.CallOption) (*SuperfluidDelegationsByDelegatorResponse, error)
	// Returns all the undelegating superfluid poistions for a specific delegator.
	SuperfluidUndelegationsByDelegator(ctx context.Context, in *SuperfluidUndelegationsByDelegatorRequest, opts ...grpc.CallOption) (*SuperfluidUndelegationsByDelegatorResponse, error)
	// Returns all the superfluid positions of a specific denom delegated to one
	// validator
	SuperfluidDelegationsByValidatorDenom(ctx context.Context, in *SuperfluidDelegationsByValidatorDenomRequest, opts ...grpc.CallOption) (*SuperfluidDelegationsByValidatorDenomResponse, error)
	// Returns the amount of a specific denom delegated to a specific validator
	// This is labeled an estimate, because the way it calculates the amount can
	// lead rounding errors from the true delegated amount
	EstimateSuperfluidDelegatedAmountByValidatorDenom(ctx context.Context, in *EstimateSuperfluidDelegatedAmountByValidatorDenomRequest, opts ...grpc.CallOption) (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse, error)
	// Returns the specified delegations for a specific delegator
	TotalDelegationByDelegator(ctx context.Context, in *QueryTotalDelegationByDelegatorRequest, opts ...grpc.CallOption) (*QueryTotalDelegationByDelegatorResponse, error)
	// Returns a list of whitelisted pool ids to unpool.
	UnpoolWhitelist(ctx context.Context, in *QueryUnpoolWhitelistRequest, opts ...grpc.CallOption) (*QueryUnpoolWhitelistResponse, error)
	// Returns all of a user's full range CL positions that are superfluid staked.
	UserConcentratedSuperfluidPositionsDelegated(ctx context.Context, in *UserConcentratedSuperfluidPositionsDelegatedRequest, opts ...grpc.CallOption) (*UserConcentratedSuperfluidPositionsDelegatedResponse, error)
	UserConcentratedSuperfluidPositionsUndelegating(ctx context.Context, in *UserConcentratedSuperfluidPositionsUndelegatingRequest, opts ...grpc.CallOption) (*UserConcentratedSuperfluidPositionsUndelegatingResponse, 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 QueryParamsRequest

type QueryParamsRequest struct {
}

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params defines the parameters of the module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Params returns the total set of superfluid parameters.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Returns superfluid asset type, whether if it's a native asset or an lp
	// share.
	AssetType(context.Context, *AssetTypeRequest) (*AssetTypeResponse, error)
	// Returns all registered superfluid assets.
	AllAssets(context.Context, *AllAssetsRequest) (*AllAssetsResponse, error)
	// Returns the osmo equivalent multiplier used in the most recent epoch.
	AssetMultiplier(context.Context, *AssetMultiplierRequest) (*AssetMultiplierResponse, error)
	// Returns all superfluid intermediary accounts.
	AllIntermediaryAccounts(context.Context, *AllIntermediaryAccountsRequest) (*AllIntermediaryAccountsResponse, error)
	// Returns intermediary account connected to a superfluid staked lock by id
	ConnectedIntermediaryAccount(context.Context, *ConnectedIntermediaryAccountRequest) (*ConnectedIntermediaryAccountResponse, error)
	// Returns the amount of delegations of specific denom for all validators
	TotalDelegationByValidatorForDenom(context.Context, *QueryTotalDelegationByValidatorForDenomRequest) (*QueryTotalDelegationByValidatorForDenomResponse, error)
	// Returns the total amount of osmo superfluidly staked.
	// Response is denominated in uosmo.
	TotalSuperfluidDelegations(context.Context, *TotalSuperfluidDelegationsRequest) (*TotalSuperfluidDelegationsResponse, error)
	// Returns the coins superfluid delegated for the delegator, validator, denom
	// triplet
	SuperfluidDelegationAmount(context.Context, *SuperfluidDelegationAmountRequest) (*SuperfluidDelegationAmountResponse, error)
	// Returns all the delegated superfluid poistions for a specific delegator.
	SuperfluidDelegationsByDelegator(context.Context, *SuperfluidDelegationsByDelegatorRequest) (*SuperfluidDelegationsByDelegatorResponse, error)
	// Returns all the undelegating superfluid poistions for a specific delegator.
	SuperfluidUndelegationsByDelegator(context.Context, *SuperfluidUndelegationsByDelegatorRequest) (*SuperfluidUndelegationsByDelegatorResponse, error)
	// Returns all the superfluid positions of a specific denom delegated to one
	// validator
	SuperfluidDelegationsByValidatorDenom(context.Context, *SuperfluidDelegationsByValidatorDenomRequest) (*SuperfluidDelegationsByValidatorDenomResponse, error)
	// Returns the amount of a specific denom delegated to a specific validator
	// This is labeled an estimate, because the way it calculates the amount can
	// lead rounding errors from the true delegated amount
	EstimateSuperfluidDelegatedAmountByValidatorDenom(context.Context, *EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) (*EstimateSuperfluidDelegatedAmountByValidatorDenomResponse, error)
	// Returns the specified delegations for a specific delegator
	TotalDelegationByDelegator(context.Context, *QueryTotalDelegationByDelegatorRequest) (*QueryTotalDelegationByDelegatorResponse, error)
	// Returns a list of whitelisted pool ids to unpool.
	UnpoolWhitelist(context.Context, *QueryUnpoolWhitelistRequest) (*QueryUnpoolWhitelistResponse, error)
	// Returns all of a user's full range CL positions that are superfluid staked.
	UserConcentratedSuperfluidPositionsDelegated(context.Context, *UserConcentratedSuperfluidPositionsDelegatedRequest) (*UserConcentratedSuperfluidPositionsDelegatedResponse, error)
	UserConcentratedSuperfluidPositionsUndelegating(context.Context, *UserConcentratedSuperfluidPositionsUndelegatingRequest) (*UserConcentratedSuperfluidPositionsUndelegatingResponse, error)
}

QueryServer is the server API for Query service.

type QueryTotalDelegationByDelegatorRequest

type QueryTotalDelegationByDelegatorRequest struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

func (*QueryTotalDelegationByDelegatorRequest) Descriptor

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

func (*QueryTotalDelegationByDelegatorRequest) GetDelegatorAddress

func (m *QueryTotalDelegationByDelegatorRequest) GetDelegatorAddress() string

func (*QueryTotalDelegationByDelegatorRequest) Marshal

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

func (*QueryTotalDelegationByDelegatorRequest) MarshalTo

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

func (*QueryTotalDelegationByDelegatorRequest) MarshalToSizedBuffer

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

func (*QueryTotalDelegationByDelegatorRequest) ProtoMessage

func (*QueryTotalDelegationByDelegatorRequest) Reset

func (*QueryTotalDelegationByDelegatorRequest) Size

func (*QueryTotalDelegationByDelegatorRequest) String

func (*QueryTotalDelegationByDelegatorRequest) Unmarshal

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

func (*QueryTotalDelegationByDelegatorRequest) XXX_DiscardUnknown

func (m *QueryTotalDelegationByDelegatorRequest) XXX_DiscardUnknown()

func (*QueryTotalDelegationByDelegatorRequest) XXX_Marshal

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

func (*QueryTotalDelegationByDelegatorRequest) XXX_Merge

func (*QueryTotalDelegationByDelegatorRequest) XXX_Size

func (*QueryTotalDelegationByDelegatorRequest) XXX_Unmarshal

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

type QueryTotalDelegationByDelegatorResponse

type QueryTotalDelegationByDelegatorResponse struct {
	SuperfluidDelegationRecords []SuperfluidDelegationRecord             `` /* 134-byte string literal not displayed */
	DelegationResponse          []types2.DelegationResponse              `protobuf:"bytes,2,rep,name=delegation_response,json=delegationResponse,proto3" json:"delegation_response"`
	TotalDelegatedCoins         github_com_cosmos_cosmos_sdk_types.Coins `` /* 164-byte string literal not displayed */
	TotalEquivalentStakedAmount types.Coin                               `` /* 189-byte string literal not displayed */
}

func (*QueryTotalDelegationByDelegatorResponse) Descriptor

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

func (*QueryTotalDelegationByDelegatorResponse) GetDelegationResponse

func (*QueryTotalDelegationByDelegatorResponse) GetSuperfluidDelegationRecords

func (m *QueryTotalDelegationByDelegatorResponse) GetSuperfluidDelegationRecords() []SuperfluidDelegationRecord

func (*QueryTotalDelegationByDelegatorResponse) GetTotalDelegatedCoins

func (*QueryTotalDelegationByDelegatorResponse) GetTotalEquivalentStakedAmount

func (m *QueryTotalDelegationByDelegatorResponse) GetTotalEquivalentStakedAmount() types.Coin

func (*QueryTotalDelegationByDelegatorResponse) Marshal

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

func (*QueryTotalDelegationByDelegatorResponse) MarshalTo

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

func (*QueryTotalDelegationByDelegatorResponse) MarshalToSizedBuffer

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

func (*QueryTotalDelegationByDelegatorResponse) ProtoMessage

func (*QueryTotalDelegationByDelegatorResponse) Reset

func (*QueryTotalDelegationByDelegatorResponse) Size

func (*QueryTotalDelegationByDelegatorResponse) String

func (*QueryTotalDelegationByDelegatorResponse) Unmarshal

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

func (*QueryTotalDelegationByDelegatorResponse) XXX_DiscardUnknown

func (m *QueryTotalDelegationByDelegatorResponse) XXX_DiscardUnknown()

func (*QueryTotalDelegationByDelegatorResponse) XXX_Marshal

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

func (*QueryTotalDelegationByDelegatorResponse) XXX_Merge

func (*QueryTotalDelegationByDelegatorResponse) XXX_Size

func (*QueryTotalDelegationByDelegatorResponse) XXX_Unmarshal

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

type QueryTotalDelegationByValidatorForDenomRequest

type QueryTotalDelegationByValidatorForDenomRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*QueryTotalDelegationByValidatorForDenomRequest) Descriptor

func (*QueryTotalDelegationByValidatorForDenomRequest) GetDenom

func (*QueryTotalDelegationByValidatorForDenomRequest) Marshal

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

func (*QueryTotalDelegationByValidatorForDenomRequest) MarshalTo

func (*QueryTotalDelegationByValidatorForDenomRequest) MarshalToSizedBuffer

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

func (*QueryTotalDelegationByValidatorForDenomRequest) ProtoMessage

func (*QueryTotalDelegationByValidatorForDenomRequest) Reset

func (*QueryTotalDelegationByValidatorForDenomRequest) Size

func (*QueryTotalDelegationByValidatorForDenomRequest) String

func (*QueryTotalDelegationByValidatorForDenomRequest) Unmarshal

func (*QueryTotalDelegationByValidatorForDenomRequest) XXX_DiscardUnknown

func (m *QueryTotalDelegationByValidatorForDenomRequest) XXX_DiscardUnknown()

func (*QueryTotalDelegationByValidatorForDenomRequest) XXX_Marshal

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

func (*QueryTotalDelegationByValidatorForDenomRequest) XXX_Merge

func (*QueryTotalDelegationByValidatorForDenomRequest) XXX_Size

func (*QueryTotalDelegationByValidatorForDenomRequest) XXX_Unmarshal

type QueryTotalDelegationByValidatorForDenomResponse

type QueryTotalDelegationByValidatorForDenomResponse struct {
	Assets []Delegations `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets"`
}

func (*QueryTotalDelegationByValidatorForDenomResponse) Descriptor

func (*QueryTotalDelegationByValidatorForDenomResponse) GetAssets

func (*QueryTotalDelegationByValidatorForDenomResponse) Marshal

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

func (*QueryTotalDelegationByValidatorForDenomResponse) MarshalTo

func (*QueryTotalDelegationByValidatorForDenomResponse) MarshalToSizedBuffer

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

func (*QueryTotalDelegationByValidatorForDenomResponse) ProtoMessage

func (*QueryTotalDelegationByValidatorForDenomResponse) Reset

func (*QueryTotalDelegationByValidatorForDenomResponse) Size

func (*QueryTotalDelegationByValidatorForDenomResponse) String

func (*QueryTotalDelegationByValidatorForDenomResponse) Unmarshal

func (*QueryTotalDelegationByValidatorForDenomResponse) XXX_DiscardUnknown

func (m *QueryTotalDelegationByValidatorForDenomResponse) XXX_DiscardUnknown()

func (*QueryTotalDelegationByValidatorForDenomResponse) XXX_Marshal

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

func (*QueryTotalDelegationByValidatorForDenomResponse) XXX_Merge

func (*QueryTotalDelegationByValidatorForDenomResponse) XXX_Size

func (*QueryTotalDelegationByValidatorForDenomResponse) XXX_Unmarshal

type QueryUnpoolWhitelistRequest

type QueryUnpoolWhitelistRequest struct {
}

func (*QueryUnpoolWhitelistRequest) Descriptor

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

func (*QueryUnpoolWhitelistRequest) Marshal

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

func (*QueryUnpoolWhitelistRequest) MarshalTo

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

func (*QueryUnpoolWhitelistRequest) MarshalToSizedBuffer

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

func (*QueryUnpoolWhitelistRequest) ProtoMessage

func (*QueryUnpoolWhitelistRequest) ProtoMessage()

func (*QueryUnpoolWhitelistRequest) Reset

func (m *QueryUnpoolWhitelistRequest) Reset()

func (*QueryUnpoolWhitelistRequest) Size

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

func (*QueryUnpoolWhitelistRequest) String

func (m *QueryUnpoolWhitelistRequest) String() string

func (*QueryUnpoolWhitelistRequest) Unmarshal

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

func (*QueryUnpoolWhitelistRequest) XXX_DiscardUnknown

func (m *QueryUnpoolWhitelistRequest) XXX_DiscardUnknown()

func (*QueryUnpoolWhitelistRequest) XXX_Marshal

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

func (*QueryUnpoolWhitelistRequest) XXX_Merge

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

func (*QueryUnpoolWhitelistRequest) XXX_Size

func (m *QueryUnpoolWhitelistRequest) XXX_Size() int

func (*QueryUnpoolWhitelistRequest) XXX_Unmarshal

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

type QueryUnpoolWhitelistResponse

type QueryUnpoolWhitelistResponse struct {
	PoolIds []uint64 `protobuf:"varint,1,rep,packed,name=pool_ids,json=poolIds,proto3" json:"pool_ids,omitempty"`
}

func (*QueryUnpoolWhitelistResponse) Descriptor

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

func (*QueryUnpoolWhitelistResponse) GetPoolIds

func (m *QueryUnpoolWhitelistResponse) GetPoolIds() []uint64

func (*QueryUnpoolWhitelistResponse) Marshal

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

func (*QueryUnpoolWhitelistResponse) MarshalTo

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

func (*QueryUnpoolWhitelistResponse) MarshalToSizedBuffer

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

func (*QueryUnpoolWhitelistResponse) ProtoMessage

func (*QueryUnpoolWhitelistResponse) ProtoMessage()

func (*QueryUnpoolWhitelistResponse) Reset

func (m *QueryUnpoolWhitelistResponse) Reset()

func (*QueryUnpoolWhitelistResponse) Size

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

func (*QueryUnpoolWhitelistResponse) String

func (*QueryUnpoolWhitelistResponse) Unmarshal

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

func (*QueryUnpoolWhitelistResponse) XXX_DiscardUnknown

func (m *QueryUnpoolWhitelistResponse) XXX_DiscardUnknown()

func (*QueryUnpoolWhitelistResponse) XXX_Marshal

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

func (*QueryUnpoolWhitelistResponse) XXX_Merge

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

func (*QueryUnpoolWhitelistResponse) XXX_Size

func (m *QueryUnpoolWhitelistResponse) XXX_Size() int

func (*QueryUnpoolWhitelistResponse) XXX_Unmarshal

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

type RemoveSuperfluidAssetsProposal

type RemoveSuperfluidAssetsProposal struct {
	Title                 string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description           string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	SuperfluidAssetDenoms []string `` /* 126-byte string literal not displayed */
}

RemoveSuperfluidAssetsProposal is a gov Content type to remove the superfluid assets by denom

func (*RemoveSuperfluidAssetsProposal) Descriptor

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

func (*RemoveSuperfluidAssetsProposal) Equal

func (this *RemoveSuperfluidAssetsProposal) Equal(that interface{}) bool

func (*RemoveSuperfluidAssetsProposal) GetDescription

func (p *RemoveSuperfluidAssetsProposal) GetDescription() string

func (*RemoveSuperfluidAssetsProposal) GetTitle

func (p *RemoveSuperfluidAssetsProposal) GetTitle() string

func (*RemoveSuperfluidAssetsProposal) Marshal

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

func (*RemoveSuperfluidAssetsProposal) MarshalTo

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

func (*RemoveSuperfluidAssetsProposal) MarshalToSizedBuffer

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

func (*RemoveSuperfluidAssetsProposal) ProposalRoute

func (p *RemoveSuperfluidAssetsProposal) ProposalRoute() string

func (*RemoveSuperfluidAssetsProposal) ProposalType

func (p *RemoveSuperfluidAssetsProposal) ProposalType() string

func (*RemoveSuperfluidAssetsProposal) ProtoMessage

func (*RemoveSuperfluidAssetsProposal) ProtoMessage()

func (*RemoveSuperfluidAssetsProposal) Reset

func (m *RemoveSuperfluidAssetsProposal) Reset()

func (*RemoveSuperfluidAssetsProposal) Size

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

func (RemoveSuperfluidAssetsProposal) String

func (*RemoveSuperfluidAssetsProposal) Unmarshal

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

func (*RemoveSuperfluidAssetsProposal) ValidateBasic

func (p *RemoveSuperfluidAssetsProposal) ValidateBasic() error

func (*RemoveSuperfluidAssetsProposal) XXX_DiscardUnknown

func (m *RemoveSuperfluidAssetsProposal) XXX_DiscardUnknown()

func (*RemoveSuperfluidAssetsProposal) XXX_Marshal

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

func (*RemoveSuperfluidAssetsProposal) XXX_Merge

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

func (*RemoveSuperfluidAssetsProposal) XXX_Size

func (m *RemoveSuperfluidAssetsProposal) XXX_Size() int

func (*RemoveSuperfluidAssetsProposal) XXX_Unmarshal

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

type SetSuperfluidAssetsProposal

type SetSuperfluidAssetsProposal struct {
	Title       string            `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string            `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Assets      []SuperfluidAsset `protobuf:"bytes,3,rep,name=assets,proto3" json:"assets"`
}

SetSuperfluidAssetsProposal is a gov Content type to update the superfluid assets

func (*SetSuperfluidAssetsProposal) Descriptor

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

func (*SetSuperfluidAssetsProposal) Equal

func (this *SetSuperfluidAssetsProposal) Equal(that interface{}) bool

func (*SetSuperfluidAssetsProposal) GetDescription

func (p *SetSuperfluidAssetsProposal) GetDescription() string

func (*SetSuperfluidAssetsProposal) GetTitle

func (p *SetSuperfluidAssetsProposal) GetTitle() string

func (*SetSuperfluidAssetsProposal) Marshal

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

func (*SetSuperfluidAssetsProposal) MarshalTo

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

func (*SetSuperfluidAssetsProposal) MarshalToSizedBuffer

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

func (*SetSuperfluidAssetsProposal) ProposalRoute

func (p *SetSuperfluidAssetsProposal) ProposalRoute() string

func (*SetSuperfluidAssetsProposal) ProposalType

func (p *SetSuperfluidAssetsProposal) ProposalType() string

func (*SetSuperfluidAssetsProposal) ProtoMessage

func (*SetSuperfluidAssetsProposal) ProtoMessage()

func (*SetSuperfluidAssetsProposal) Reset

func (m *SetSuperfluidAssetsProposal) Reset()

func (*SetSuperfluidAssetsProposal) Size

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

func (SetSuperfluidAssetsProposal) String

func (*SetSuperfluidAssetsProposal) Unmarshal

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

func (*SetSuperfluidAssetsProposal) ValidateBasic

func (p *SetSuperfluidAssetsProposal) ValidateBasic() error

func (*SetSuperfluidAssetsProposal) XXX_DiscardUnknown

func (m *SetSuperfluidAssetsProposal) XXX_DiscardUnknown()

func (*SetSuperfluidAssetsProposal) XXX_Marshal

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

func (*SetSuperfluidAssetsProposal) XXX_Merge

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

func (*SetSuperfluidAssetsProposal) XXX_Size

func (m *SetSuperfluidAssetsProposal) XXX_Size() int

func (*SetSuperfluidAssetsProposal) XXX_Unmarshal

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

type SharesToMigrateDenomPrefixError

type SharesToMigrateDenomPrefixError struct {
	Denom               string
	ExpectedDenomPrefix string
}

func (SharesToMigrateDenomPrefixError) Error

type StakingKeeper

type StakingKeeper interface {
	BondDenom(ctx sdk.Context) string
	GetAllValidators(ctx sdk.Context) (validators []stakingtypes.Validator)
	GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool)
	ValidateUnbondAmount(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress, amt sdk.Int) (shares sdk.Dec, err error)
	Delegate(ctx sdk.Context, delAddr sdk.AccAddress, bondAmt sdk.Int, tokenSrc stakingtypes.BondStatus, validator stakingtypes.Validator, subtractAccount bool) (newShares sdk.Dec, err error)
	InstantUndelegate(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress, sharesAmount sdk.Dec) (sdk.Coins, error)
	GetDelegation(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (delegation stakingtypes.Delegation, found bool)
	UnbondingTime(ctx sdk.Context) time.Duration
	GetParams(ctx sdk.Context) stakingtypes.Params

	IterateBondedValidatorsByPower(ctx sdk.Context, fn func(int64, stakingtypes.ValidatorI) bool)
	TotalBondedTokens(ctx sdk.Context) sdk.Int
	IterateDelegations(ctx sdk.Context, delegator sdk.AccAddress, fn func(int64, stakingtypes.DelegationI) bool)
}

StakingKeeper expected staking keeper.

type SuperfluidAsset

type SuperfluidAsset struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// AssetType indicates whether the superfluid asset is a native token or an lp
	// share
	AssetType SuperfluidAssetType `` /* 133-byte string literal not displayed */
}

SuperfluidAsset stores the pair of superfluid asset type and denom pair

func NewSuperfluidAsset

func NewSuperfluidAsset(assetType SuperfluidAssetType, denom string) SuperfluidAsset

NewSuperfluidAsset returns a new instance of SuperfluidAsset.

func (*SuperfluidAsset) Descriptor

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

func (*SuperfluidAsset) Equal

func (this *SuperfluidAsset) Equal(that interface{}) bool

func (*SuperfluidAsset) Marshal

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

func (*SuperfluidAsset) MarshalTo

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

func (*SuperfluidAsset) MarshalToSizedBuffer

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

func (*SuperfluidAsset) ProtoMessage

func (*SuperfluidAsset) ProtoMessage()

func (*SuperfluidAsset) Reset

func (m *SuperfluidAsset) Reset()

func (*SuperfluidAsset) Size

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

func (*SuperfluidAsset) String

func (m *SuperfluidAsset) String() string

func (*SuperfluidAsset) Unmarshal

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

func (*SuperfluidAsset) XXX_DiscardUnknown

func (m *SuperfluidAsset) XXX_DiscardUnknown()

func (*SuperfluidAsset) XXX_Marshal

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

func (*SuperfluidAsset) XXX_Merge

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

func (*SuperfluidAsset) XXX_Size

func (m *SuperfluidAsset) XXX_Size() int

func (*SuperfluidAsset) XXX_Unmarshal

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

type SuperfluidAssetType

type SuperfluidAssetType int32

SuperfluidAssetType indicates whether the superfluid asset is a native token, lp share of a pool, or concentrated share of a pool

const (
	SuperfluidAssetTypeNative            SuperfluidAssetType = 0
	SuperfluidAssetTypeLPShare           SuperfluidAssetType = 1
	SuperfluidAssetTypeConcentratedShare SuperfluidAssetType = 2
)

func (SuperfluidAssetType) EnumDescriptor

func (SuperfluidAssetType) EnumDescriptor() ([]byte, []int)

func (SuperfluidAssetType) String

func (x SuperfluidAssetType) String() string

type SuperfluidDelegationAmountRequest

type SuperfluidDelegationAmountRequest struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Denom            string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*SuperfluidDelegationAmountRequest) Descriptor

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

func (*SuperfluidDelegationAmountRequest) GetDelegatorAddress

func (m *SuperfluidDelegationAmountRequest) GetDelegatorAddress() string

func (*SuperfluidDelegationAmountRequest) GetDenom

func (*SuperfluidDelegationAmountRequest) GetValidatorAddress

func (m *SuperfluidDelegationAmountRequest) GetValidatorAddress() string

func (*SuperfluidDelegationAmountRequest) Marshal

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

func (*SuperfluidDelegationAmountRequest) MarshalTo

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

func (*SuperfluidDelegationAmountRequest) MarshalToSizedBuffer

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

func (*SuperfluidDelegationAmountRequest) ProtoMessage

func (*SuperfluidDelegationAmountRequest) ProtoMessage()

func (*SuperfluidDelegationAmountRequest) Reset

func (*SuperfluidDelegationAmountRequest) Size

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

func (*SuperfluidDelegationAmountRequest) String

func (*SuperfluidDelegationAmountRequest) Unmarshal

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

func (*SuperfluidDelegationAmountRequest) XXX_DiscardUnknown

func (m *SuperfluidDelegationAmountRequest) XXX_DiscardUnknown()

func (*SuperfluidDelegationAmountRequest) XXX_Marshal

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

func (*SuperfluidDelegationAmountRequest) XXX_Merge

func (*SuperfluidDelegationAmountRequest) XXX_Size

func (m *SuperfluidDelegationAmountRequest) XXX_Size() int

func (*SuperfluidDelegationAmountRequest) XXX_Unmarshal

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

type SuperfluidDelegationAmountResponse

type SuperfluidDelegationAmountResponse struct {
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

func (*SuperfluidDelegationAmountResponse) Descriptor

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

func (*SuperfluidDelegationAmountResponse) GetAmount

func (*SuperfluidDelegationAmountResponse) Marshal

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

func (*SuperfluidDelegationAmountResponse) MarshalTo

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

func (*SuperfluidDelegationAmountResponse) MarshalToSizedBuffer

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

func (*SuperfluidDelegationAmountResponse) ProtoMessage

func (*SuperfluidDelegationAmountResponse) ProtoMessage()

func (*SuperfluidDelegationAmountResponse) Reset

func (*SuperfluidDelegationAmountResponse) Size

func (*SuperfluidDelegationAmountResponse) String

func (*SuperfluidDelegationAmountResponse) Unmarshal

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

func (*SuperfluidDelegationAmountResponse) XXX_DiscardUnknown

func (m *SuperfluidDelegationAmountResponse) XXX_DiscardUnknown()

func (*SuperfluidDelegationAmountResponse) XXX_Marshal

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

func (*SuperfluidDelegationAmountResponse) XXX_Merge

func (*SuperfluidDelegationAmountResponse) XXX_Size

func (*SuperfluidDelegationAmountResponse) XXX_Unmarshal

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

type SuperfluidDelegationRecord

type SuperfluidDelegationRecord struct {
	DelegatorAddress       string      `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress       string      `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	DelegationAmount       types.Coin  `` /* 152-byte string literal not displayed */
	EquivalentStakedAmount *types.Coin `` /* 182-byte string literal not displayed */
}

SuperfluidDelegationRecord is a struct used to indicate superfluid delegations of an account in the state machine in a user friendly form.

func (*SuperfluidDelegationRecord) Descriptor

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

func (*SuperfluidDelegationRecord) GetDelegationAmount

func (m *SuperfluidDelegationRecord) GetDelegationAmount() types.Coin

func (*SuperfluidDelegationRecord) GetDelegatorAddress

func (m *SuperfluidDelegationRecord) GetDelegatorAddress() string

func (*SuperfluidDelegationRecord) GetEquivalentStakedAmount

func (m *SuperfluidDelegationRecord) GetEquivalentStakedAmount() *types.Coin

func (*SuperfluidDelegationRecord) GetValidatorAddress

func (m *SuperfluidDelegationRecord) GetValidatorAddress() string

func (*SuperfluidDelegationRecord) Marshal

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

func (*SuperfluidDelegationRecord) MarshalTo

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

func (*SuperfluidDelegationRecord) MarshalToSizedBuffer

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

func (*SuperfluidDelegationRecord) ProtoMessage

func (*SuperfluidDelegationRecord) ProtoMessage()

func (*SuperfluidDelegationRecord) Reset

func (m *SuperfluidDelegationRecord) Reset()

func (*SuperfluidDelegationRecord) Size

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

func (*SuperfluidDelegationRecord) String

func (m *SuperfluidDelegationRecord) String() string

func (*SuperfluidDelegationRecord) Unmarshal

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

func (*SuperfluidDelegationRecord) XXX_DiscardUnknown

func (m *SuperfluidDelegationRecord) XXX_DiscardUnknown()

func (*SuperfluidDelegationRecord) XXX_Marshal

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

func (*SuperfluidDelegationRecord) XXX_Merge

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

func (*SuperfluidDelegationRecord) XXX_Size

func (m *SuperfluidDelegationRecord) XXX_Size() int

func (*SuperfluidDelegationRecord) XXX_Unmarshal

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

type SuperfluidDelegationsByDelegatorRequest

type SuperfluidDelegationsByDelegatorRequest struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

func (*SuperfluidDelegationsByDelegatorRequest) Descriptor

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

func (*SuperfluidDelegationsByDelegatorRequest) GetDelegatorAddress

func (m *SuperfluidDelegationsByDelegatorRequest) GetDelegatorAddress() string

func (*SuperfluidDelegationsByDelegatorRequest) Marshal

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

func (*SuperfluidDelegationsByDelegatorRequest) MarshalTo

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

func (*SuperfluidDelegationsByDelegatorRequest) MarshalToSizedBuffer

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

func (*SuperfluidDelegationsByDelegatorRequest) ProtoMessage

func (*SuperfluidDelegationsByDelegatorRequest) Reset

func (*SuperfluidDelegationsByDelegatorRequest) Size

func (*SuperfluidDelegationsByDelegatorRequest) String

func (*SuperfluidDelegationsByDelegatorRequest) Unmarshal

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

func (*SuperfluidDelegationsByDelegatorRequest) XXX_DiscardUnknown

func (m *SuperfluidDelegationsByDelegatorRequest) XXX_DiscardUnknown()

func (*SuperfluidDelegationsByDelegatorRequest) XXX_Marshal

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

func (*SuperfluidDelegationsByDelegatorRequest) XXX_Merge

func (*SuperfluidDelegationsByDelegatorRequest) XXX_Size

func (*SuperfluidDelegationsByDelegatorRequest) XXX_Unmarshal

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

type SuperfluidDelegationsByDelegatorResponse

type SuperfluidDelegationsByDelegatorResponse struct {
	SuperfluidDelegationRecords []SuperfluidDelegationRecord             `` /* 134-byte string literal not displayed */
	TotalDelegatedCoins         github_com_cosmos_cosmos_sdk_types.Coins `` /* 164-byte string literal not displayed */
	TotalEquivalentStakedAmount types.Coin                               `` /* 189-byte string literal not displayed */
}

func (*SuperfluidDelegationsByDelegatorResponse) Descriptor

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

func (*SuperfluidDelegationsByDelegatorResponse) GetSuperfluidDelegationRecords

func (m *SuperfluidDelegationsByDelegatorResponse) GetSuperfluidDelegationRecords() []SuperfluidDelegationRecord

func (*SuperfluidDelegationsByDelegatorResponse) GetTotalDelegatedCoins

func (*SuperfluidDelegationsByDelegatorResponse) GetTotalEquivalentStakedAmount

func (m *SuperfluidDelegationsByDelegatorResponse) GetTotalEquivalentStakedAmount() types.Coin

func (*SuperfluidDelegationsByDelegatorResponse) Marshal

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

func (*SuperfluidDelegationsByDelegatorResponse) MarshalTo

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

func (*SuperfluidDelegationsByDelegatorResponse) MarshalToSizedBuffer

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

func (*SuperfluidDelegationsByDelegatorResponse) ProtoMessage

func (*SuperfluidDelegationsByDelegatorResponse) Reset

func (*SuperfluidDelegationsByDelegatorResponse) Size

func (*SuperfluidDelegationsByDelegatorResponse) String

func (*SuperfluidDelegationsByDelegatorResponse) Unmarshal

func (*SuperfluidDelegationsByDelegatorResponse) XXX_DiscardUnknown

func (m *SuperfluidDelegationsByDelegatorResponse) XXX_DiscardUnknown()

func (*SuperfluidDelegationsByDelegatorResponse) XXX_Marshal

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

func (*SuperfluidDelegationsByDelegatorResponse) XXX_Merge

func (*SuperfluidDelegationsByDelegatorResponse) XXX_Size

func (*SuperfluidDelegationsByDelegatorResponse) XXX_Unmarshal

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

type SuperfluidDelegationsByValidatorDenomRequest

type SuperfluidDelegationsByValidatorDenomRequest struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Denom            string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*SuperfluidDelegationsByValidatorDenomRequest) Descriptor

func (*SuperfluidDelegationsByValidatorDenomRequest) GetDenom

func (*SuperfluidDelegationsByValidatorDenomRequest) GetValidatorAddress

func (m *SuperfluidDelegationsByValidatorDenomRequest) GetValidatorAddress() string

func (*SuperfluidDelegationsByValidatorDenomRequest) Marshal

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

func (*SuperfluidDelegationsByValidatorDenomRequest) MarshalTo

func (*SuperfluidDelegationsByValidatorDenomRequest) MarshalToSizedBuffer

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

func (*SuperfluidDelegationsByValidatorDenomRequest) ProtoMessage

func (*SuperfluidDelegationsByValidatorDenomRequest) Reset

func (*SuperfluidDelegationsByValidatorDenomRequest) Size

func (*SuperfluidDelegationsByValidatorDenomRequest) String

func (*SuperfluidDelegationsByValidatorDenomRequest) Unmarshal

func (*SuperfluidDelegationsByValidatorDenomRequest) XXX_DiscardUnknown

func (m *SuperfluidDelegationsByValidatorDenomRequest) XXX_DiscardUnknown()

func (*SuperfluidDelegationsByValidatorDenomRequest) XXX_Marshal

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

func (*SuperfluidDelegationsByValidatorDenomRequest) XXX_Merge

func (*SuperfluidDelegationsByValidatorDenomRequest) XXX_Size

func (*SuperfluidDelegationsByValidatorDenomRequest) XXX_Unmarshal

type SuperfluidDelegationsByValidatorDenomResponse

type SuperfluidDelegationsByValidatorDenomResponse struct {
	SuperfluidDelegationRecords []SuperfluidDelegationRecord `` /* 134-byte string literal not displayed */
}

func (*SuperfluidDelegationsByValidatorDenomResponse) Descriptor

func (*SuperfluidDelegationsByValidatorDenomResponse) GetSuperfluidDelegationRecords

func (m *SuperfluidDelegationsByValidatorDenomResponse) GetSuperfluidDelegationRecords() []SuperfluidDelegationRecord

func (*SuperfluidDelegationsByValidatorDenomResponse) Marshal

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

func (*SuperfluidDelegationsByValidatorDenomResponse) MarshalTo

func (*SuperfluidDelegationsByValidatorDenomResponse) MarshalToSizedBuffer

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

func (*SuperfluidDelegationsByValidatorDenomResponse) ProtoMessage

func (*SuperfluidDelegationsByValidatorDenomResponse) Reset

func (*SuperfluidDelegationsByValidatorDenomResponse) Size

func (*SuperfluidDelegationsByValidatorDenomResponse) String

func (*SuperfluidDelegationsByValidatorDenomResponse) Unmarshal

func (*SuperfluidDelegationsByValidatorDenomResponse) XXX_DiscardUnknown

func (m *SuperfluidDelegationsByValidatorDenomResponse) XXX_DiscardUnknown()

func (*SuperfluidDelegationsByValidatorDenomResponse) XXX_Marshal

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

func (*SuperfluidDelegationsByValidatorDenomResponse) XXX_Merge

func (*SuperfluidDelegationsByValidatorDenomResponse) XXX_Size

func (*SuperfluidDelegationsByValidatorDenomResponse) XXX_Unmarshal

type SuperfluidIntermediaryAccount

type SuperfluidIntermediaryAccount struct {
	// Denom indicates the denom of the superfluid asset.
	Denom   string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	ValAddr string `protobuf:"bytes,2,opt,name=val_addr,json=valAddr,proto3" json:"val_addr,omitempty"`
	// perpetual gauge for rewards distribution
	GaugeId uint64 `protobuf:"varint,3,opt,name=gauge_id,json=gaugeId,proto3" json:"gauge_id,omitempty"`
}

SuperfluidIntermediaryAccount takes the role of intermediary between LP token and OSMO tokens for superfluid staking. The intermediary account is the actual account responsible for delegation, not the validator account itself.

func NewSuperfluidIntermediaryAccount

func NewSuperfluidIntermediaryAccount(denom string, valAddr string, gaugeId uint64) SuperfluidIntermediaryAccount

func (*SuperfluidIntermediaryAccount) Descriptor

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

func (SuperfluidIntermediaryAccount) Empty

func (SuperfluidIntermediaryAccount) GetAccAddress

func (a SuperfluidIntermediaryAccount) GetAccAddress() sdk.AccAddress

func (*SuperfluidIntermediaryAccount) GetDenom

func (m *SuperfluidIntermediaryAccount) GetDenom() string

func (*SuperfluidIntermediaryAccount) GetGaugeId

func (m *SuperfluidIntermediaryAccount) GetGaugeId() uint64

func (*SuperfluidIntermediaryAccount) GetValAddr

func (m *SuperfluidIntermediaryAccount) GetValAddr() string

func (*SuperfluidIntermediaryAccount) Marshal

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

func (*SuperfluidIntermediaryAccount) MarshalTo

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

func (*SuperfluidIntermediaryAccount) MarshalToSizedBuffer

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

func (*SuperfluidIntermediaryAccount) ProtoMessage

func (*SuperfluidIntermediaryAccount) ProtoMessage()

func (*SuperfluidIntermediaryAccount) Reset

func (m *SuperfluidIntermediaryAccount) Reset()

func (*SuperfluidIntermediaryAccount) Size

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

func (*SuperfluidIntermediaryAccount) String

func (*SuperfluidIntermediaryAccount) Unmarshal

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

func (*SuperfluidIntermediaryAccount) XXX_DiscardUnknown

func (m *SuperfluidIntermediaryAccount) XXX_DiscardUnknown()

func (*SuperfluidIntermediaryAccount) XXX_Marshal

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

func (*SuperfluidIntermediaryAccount) XXX_Merge

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

func (*SuperfluidIntermediaryAccount) XXX_Size

func (m *SuperfluidIntermediaryAccount) XXX_Size() int

func (*SuperfluidIntermediaryAccount) XXX_Unmarshal

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

type SuperfluidIntermediaryAccountInfo

type SuperfluidIntermediaryAccountInfo struct {
	Denom   string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	ValAddr string `protobuf:"bytes,2,opt,name=val_addr,json=valAddr,proto3" json:"val_addr,omitempty"`
	GaugeId uint64 `protobuf:"varint,3,opt,name=gauge_id,json=gaugeId,proto3" json:"gauge_id,omitempty"`
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
}

func (*SuperfluidIntermediaryAccountInfo) Descriptor

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

func (*SuperfluidIntermediaryAccountInfo) GetAddress

func (m *SuperfluidIntermediaryAccountInfo) GetAddress() string

func (*SuperfluidIntermediaryAccountInfo) GetDenom

func (*SuperfluidIntermediaryAccountInfo) GetGaugeId

func (m *SuperfluidIntermediaryAccountInfo) GetGaugeId() uint64

func (*SuperfluidIntermediaryAccountInfo) GetValAddr

func (m *SuperfluidIntermediaryAccountInfo) GetValAddr() string

func (*SuperfluidIntermediaryAccountInfo) Marshal

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

func (*SuperfluidIntermediaryAccountInfo) MarshalTo

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

func (*SuperfluidIntermediaryAccountInfo) MarshalToSizedBuffer

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

func (*SuperfluidIntermediaryAccountInfo) ProtoMessage

func (*SuperfluidIntermediaryAccountInfo) ProtoMessage()

func (*SuperfluidIntermediaryAccountInfo) Reset

func (*SuperfluidIntermediaryAccountInfo) Size

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

func (*SuperfluidIntermediaryAccountInfo) String

func (*SuperfluidIntermediaryAccountInfo) Unmarshal

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

func (*SuperfluidIntermediaryAccountInfo) XXX_DiscardUnknown

func (m *SuperfluidIntermediaryAccountInfo) XXX_DiscardUnknown()

func (*SuperfluidIntermediaryAccountInfo) XXX_Marshal

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

func (*SuperfluidIntermediaryAccountInfo) XXX_Merge

func (*SuperfluidIntermediaryAccountInfo) XXX_Size

func (m *SuperfluidIntermediaryAccountInfo) XXX_Size() int

func (*SuperfluidIntermediaryAccountInfo) XXX_Unmarshal

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

type SuperfluidUndelegationsByDelegatorRequest

type SuperfluidUndelegationsByDelegatorRequest struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	Denom            string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*SuperfluidUndelegationsByDelegatorRequest) Descriptor

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

func (*SuperfluidUndelegationsByDelegatorRequest) GetDelegatorAddress

func (m *SuperfluidUndelegationsByDelegatorRequest) GetDelegatorAddress() string

func (*SuperfluidUndelegationsByDelegatorRequest) GetDenom

func (*SuperfluidUndelegationsByDelegatorRequest) Marshal

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

func (*SuperfluidUndelegationsByDelegatorRequest) MarshalTo

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

func (*SuperfluidUndelegationsByDelegatorRequest) MarshalToSizedBuffer

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

func (*SuperfluidUndelegationsByDelegatorRequest) ProtoMessage

func (*SuperfluidUndelegationsByDelegatorRequest) Reset

func (*SuperfluidUndelegationsByDelegatorRequest) Size

func (*SuperfluidUndelegationsByDelegatorRequest) String

func (*SuperfluidUndelegationsByDelegatorRequest) Unmarshal

func (*SuperfluidUndelegationsByDelegatorRequest) XXX_DiscardUnknown

func (m *SuperfluidUndelegationsByDelegatorRequest) XXX_DiscardUnknown()

func (*SuperfluidUndelegationsByDelegatorRequest) XXX_Marshal

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

func (*SuperfluidUndelegationsByDelegatorRequest) XXX_Merge

func (*SuperfluidUndelegationsByDelegatorRequest) XXX_Size

func (*SuperfluidUndelegationsByDelegatorRequest) XXX_Unmarshal

type SuperfluidUndelegationsByDelegatorResponse

type SuperfluidUndelegationsByDelegatorResponse struct {
	SuperfluidDelegationRecords []SuperfluidDelegationRecord             `` /* 134-byte string literal not displayed */
	TotalUndelegatedCoins       github_com_cosmos_cosmos_sdk_types.Coins `` /* 170-byte string literal not displayed */
	SyntheticLocks              []types1.SyntheticLock                   `protobuf:"bytes,3,rep,name=synthetic_locks,json=syntheticLocks,proto3" json:"synthetic_locks"`
}

func (*SuperfluidUndelegationsByDelegatorResponse) Descriptor

func (*SuperfluidUndelegationsByDelegatorResponse) GetSuperfluidDelegationRecords

func (m *SuperfluidUndelegationsByDelegatorResponse) GetSuperfluidDelegationRecords() []SuperfluidDelegationRecord

func (*SuperfluidUndelegationsByDelegatorResponse) GetSyntheticLocks

func (*SuperfluidUndelegationsByDelegatorResponse) GetTotalUndelegatedCoins

func (*SuperfluidUndelegationsByDelegatorResponse) Marshal

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

func (*SuperfluidUndelegationsByDelegatorResponse) MarshalTo

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

func (*SuperfluidUndelegationsByDelegatorResponse) MarshalToSizedBuffer

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

func (*SuperfluidUndelegationsByDelegatorResponse) ProtoMessage

func (*SuperfluidUndelegationsByDelegatorResponse) Reset

func (*SuperfluidUndelegationsByDelegatorResponse) Size

func (*SuperfluidUndelegationsByDelegatorResponse) String

func (*SuperfluidUndelegationsByDelegatorResponse) Unmarshal

func (*SuperfluidUndelegationsByDelegatorResponse) XXX_DiscardUnknown

func (m *SuperfluidUndelegationsByDelegatorResponse) XXX_DiscardUnknown()

func (*SuperfluidUndelegationsByDelegatorResponse) XXX_Marshal

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

func (*SuperfluidUndelegationsByDelegatorResponse) XXX_Merge

func (*SuperfluidUndelegationsByDelegatorResponse) XXX_Size

func (*SuperfluidUndelegationsByDelegatorResponse) XXX_Unmarshal

type TokenConvertedLessThenDesiredStakeError

type TokenConvertedLessThenDesiredStakeError struct {
	ActualTotalAmtToStake   sdk.Int
	ExpectedTotalAmtToStake sdk.Int
}

func (TokenConvertedLessThenDesiredStakeError) Error

type TotalSuperfluidDelegationsRequest

type TotalSuperfluidDelegationsRequest struct {
}

func (*TotalSuperfluidDelegationsRequest) Descriptor

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

func (*TotalSuperfluidDelegationsRequest) Marshal

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

func (*TotalSuperfluidDelegationsRequest) MarshalTo

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

func (*TotalSuperfluidDelegationsRequest) MarshalToSizedBuffer

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

func (*TotalSuperfluidDelegationsRequest) ProtoMessage

func (*TotalSuperfluidDelegationsRequest) ProtoMessage()

func (*TotalSuperfluidDelegationsRequest) Reset

func (*TotalSuperfluidDelegationsRequest) Size

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

func (*TotalSuperfluidDelegationsRequest) String

func (*TotalSuperfluidDelegationsRequest) Unmarshal

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

func (*TotalSuperfluidDelegationsRequest) XXX_DiscardUnknown

func (m *TotalSuperfluidDelegationsRequest) XXX_DiscardUnknown()

func (*TotalSuperfluidDelegationsRequest) XXX_Marshal

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

func (*TotalSuperfluidDelegationsRequest) XXX_Merge

func (*TotalSuperfluidDelegationsRequest) XXX_Size

func (m *TotalSuperfluidDelegationsRequest) XXX_Size() int

func (*TotalSuperfluidDelegationsRequest) XXX_Unmarshal

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

type TotalSuperfluidDelegationsResponse

type TotalSuperfluidDelegationsResponse struct {
	TotalDelegations github_com_cosmos_cosmos_sdk_types.Int `` /* 185-byte string literal not displayed */
}

func (*TotalSuperfluidDelegationsResponse) Descriptor

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

func (*TotalSuperfluidDelegationsResponse) Marshal

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

func (*TotalSuperfluidDelegationsResponse) MarshalTo

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

func (*TotalSuperfluidDelegationsResponse) MarshalToSizedBuffer

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

func (*TotalSuperfluidDelegationsResponse) ProtoMessage

func (*TotalSuperfluidDelegationsResponse) ProtoMessage()

func (*TotalSuperfluidDelegationsResponse) Reset

func (*TotalSuperfluidDelegationsResponse) Size

func (*TotalSuperfluidDelegationsResponse) String

func (*TotalSuperfluidDelegationsResponse) Unmarshal

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

func (*TotalSuperfluidDelegationsResponse) XXX_DiscardUnknown

func (m *TotalSuperfluidDelegationsResponse) XXX_DiscardUnknown()

func (*TotalSuperfluidDelegationsResponse) XXX_Marshal

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

func (*TotalSuperfluidDelegationsResponse) XXX_Merge

func (*TotalSuperfluidDelegationsResponse) XXX_Size

func (*TotalSuperfluidDelegationsResponse) XXX_Unmarshal

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

type TwoTokenBalancerPoolError

type TwoTokenBalancerPoolError struct {
	NumberOfTokens int
}

func (TwoTokenBalancerPoolError) Error

type UnexpectedDenomError

type UnexpectedDenomError struct {
	ExpectedDenom string
	ProvidedDenom string
}

func (UnexpectedDenomError) Error

func (e UnexpectedDenomError) Error() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) LockAndSuperfluidDelegate

func (*UnimplementedMsgServer) SuperfluidDelegate

func (*UnimplementedMsgServer) SuperfluidUnbondLock

func (*UnimplementedMsgServer) SuperfluidUndelegate

func (*UnimplementedMsgServer) UnPoolWhitelistedPool

func (*UnimplementedMsgServer) UnbondConvertAndStake

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllAssets

func (*UnimplementedQueryServer) AllIntermediaryAccounts

func (*UnimplementedQueryServer) AssetMultiplier

func (*UnimplementedQueryServer) AssetType

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) SuperfluidDelegationAmount

func (*UnimplementedQueryServer) TotalSuperfluidDelegations

func (*UnimplementedQueryServer) UnpoolWhitelist

type UnpoolWhitelistedPools

type UnpoolWhitelistedPools struct {
	Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
}

func (*UnpoolWhitelistedPools) Descriptor

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

func (*UnpoolWhitelistedPools) GetIds

func (m *UnpoolWhitelistedPools) GetIds() []uint64

func (*UnpoolWhitelistedPools) Marshal

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

func (*UnpoolWhitelistedPools) MarshalTo

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

func (*UnpoolWhitelistedPools) MarshalToSizedBuffer

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

func (*UnpoolWhitelistedPools) ProtoMessage

func (*UnpoolWhitelistedPools) ProtoMessage()

func (*UnpoolWhitelistedPools) Reset

func (m *UnpoolWhitelistedPools) Reset()

func (*UnpoolWhitelistedPools) Size

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

func (*UnpoolWhitelistedPools) String

func (m *UnpoolWhitelistedPools) String() string

func (*UnpoolWhitelistedPools) Unmarshal

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

func (*UnpoolWhitelistedPools) XXX_DiscardUnknown

func (m *UnpoolWhitelistedPools) XXX_DiscardUnknown()

func (*UnpoolWhitelistedPools) XXX_Marshal

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

func (*UnpoolWhitelistedPools) XXX_Merge

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

func (*UnpoolWhitelistedPools) XXX_Size

func (m *UnpoolWhitelistedPools) XXX_Size() int

func (*UnpoolWhitelistedPools) XXX_Unmarshal

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

type UpdateUnpoolWhiteListProposal

type UpdateUnpoolWhiteListProposal struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Ids         []uint64 `protobuf:"varint,3,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	IsOverwrite bool     `protobuf:"varint,4,opt,name=is_overwrite,json=isOverwrite,proto3" json:"is_overwrite,omitempty"`
}

UpdateUnpoolWhiteListProposal is a gov Content type to update the allowed list of pool ids.

func (*UpdateUnpoolWhiteListProposal) Descriptor

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

func (*UpdateUnpoolWhiteListProposal) Equal

func (this *UpdateUnpoolWhiteListProposal) Equal(that interface{}) bool

func (*UpdateUnpoolWhiteListProposal) GetDescription

func (p *UpdateUnpoolWhiteListProposal) GetDescription() string

func (*UpdateUnpoolWhiteListProposal) GetTitle

func (p *UpdateUnpoolWhiteListProposal) GetTitle() string

func (*UpdateUnpoolWhiteListProposal) Marshal

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

func (*UpdateUnpoolWhiteListProposal) MarshalTo

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

func (*UpdateUnpoolWhiteListProposal) MarshalToSizedBuffer

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

func (*UpdateUnpoolWhiteListProposal) ProposalRoute

func (p *UpdateUnpoolWhiteListProposal) ProposalRoute() string

func (*UpdateUnpoolWhiteListProposal) ProposalType

func (p *UpdateUnpoolWhiteListProposal) ProposalType() string

func (*UpdateUnpoolWhiteListProposal) ProtoMessage

func (*UpdateUnpoolWhiteListProposal) ProtoMessage()

func (*UpdateUnpoolWhiteListProposal) Reset

func (m *UpdateUnpoolWhiteListProposal) Reset()

func (*UpdateUnpoolWhiteListProposal) Size

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

func (UpdateUnpoolWhiteListProposal) String

func (*UpdateUnpoolWhiteListProposal) Unmarshal

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

func (*UpdateUnpoolWhiteListProposal) ValidateBasic

func (p *UpdateUnpoolWhiteListProposal) ValidateBasic() error

func (*UpdateUnpoolWhiteListProposal) XXX_DiscardUnknown

func (m *UpdateUnpoolWhiteListProposal) XXX_DiscardUnknown()

func (*UpdateUnpoolWhiteListProposal) XXX_Marshal

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

func (*UpdateUnpoolWhiteListProposal) XXX_Merge

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

func (*UpdateUnpoolWhiteListProposal) XXX_Size

func (m *UpdateUnpoolWhiteListProposal) XXX_Size() int

func (*UpdateUnpoolWhiteListProposal) XXX_Unmarshal

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

type UserConcentratedSuperfluidPositionsDelegatedRequest

type UserConcentratedSuperfluidPositionsDelegatedRequest struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) Descriptor

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) GetDelegatorAddress

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) Marshal

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) MarshalTo

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) MarshalToSizedBuffer

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

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) ProtoMessage

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) Reset

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) Size

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) String

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) Unmarshal

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) XXX_DiscardUnknown

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) XXX_Marshal

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

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) XXX_Merge

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) XXX_Size

func (*UserConcentratedSuperfluidPositionsDelegatedRequest) XXX_Unmarshal

type UserConcentratedSuperfluidPositionsDelegatedResponse

type UserConcentratedSuperfluidPositionsDelegatedResponse struct {
	ClPoolUserPositionRecords []ConcentratedPoolUserPositionRecord `` /* 132-byte string literal not displayed */
}

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) Descriptor

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) GetClPoolUserPositionRecords

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) Marshal

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) MarshalTo

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) MarshalToSizedBuffer

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

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) ProtoMessage

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) Reset

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) Size

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) String

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) Unmarshal

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) XXX_DiscardUnknown

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) XXX_Marshal

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

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) XXX_Merge

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) XXX_Size

func (*UserConcentratedSuperfluidPositionsDelegatedResponse) XXX_Unmarshal

type UserConcentratedSuperfluidPositionsUndelegatingRequest

type UserConcentratedSuperfluidPositionsUndelegatingRequest struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) Descriptor

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) GetDelegatorAddress

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) Marshal

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) MarshalTo

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) MarshalToSizedBuffer

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

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) ProtoMessage

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) Reset

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) Size

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) String

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) Unmarshal

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) XXX_DiscardUnknown

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) XXX_Marshal

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

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) XXX_Merge

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) XXX_Size

func (*UserConcentratedSuperfluidPositionsUndelegatingRequest) XXX_Unmarshal

type UserConcentratedSuperfluidPositionsUndelegatingResponse

type UserConcentratedSuperfluidPositionsUndelegatingResponse struct {
	ClPoolUserPositionRecords []ConcentratedPoolUserPositionRecord `` /* 132-byte string literal not displayed */
}

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) Descriptor

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) GetClPoolUserPositionRecords

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) Marshal

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) MarshalTo

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) MarshalToSizedBuffer

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

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) ProtoMessage

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) Reset

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) Size

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) String

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) Unmarshal

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) XXX_DiscardUnknown

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) XXX_Marshal

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

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) XXX_Merge

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) XXX_Size

func (*UserConcentratedSuperfluidPositionsUndelegatingResponse) XXX_Unmarshal

type ValSetPreferenceKeeper

type ValSetPreferenceKeeper interface {
	DelegateToValidatorSet(ctx sdk.Context, delegatorAddr string, coin sdk.Coin) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL