types

package
v8.0.0-...-2960480 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 37 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"

	TypeEvtUnpoolId     = "unpool_pool_id"
	AttributeNewLockIds = "new_lock_ids"

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

event types.

View Source
const (
	ProposalTypeSetSuperfluidAssets    = "SetSuperfluidAssets"
	ProposalTypeRemoveSuperfluidAssets = "RemoveSuperfluidAssets"
)
View Source
const (
	TypeMsgSuperfluidDelegate        = "superfluid_delegate"
	TypeMsgSuperfluidUndelegate      = "superfluid_undelegate"
	TypeMsgSuperfluidRedelegate      = "superfluid_redelegate"
	TypeMsgSuperfluidUnbondLock      = "superfluid_unbond_underlying_lock"
	TypeMsgLockAndSuperfluidDelegate = "lock_and_superfluid_delegate"
	TypeMsgUnPoolWhitelistedPool     = "unpool_whitelisted_pool"
)

constants.

View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index.

Variables

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

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

	ErrPoolNotWhitelisted   = sdkerrors.Register(ModuleName, 41, "pool not whitelisted to unpool")
	ErrLockUnpoolNotAllowed = sdkerrors.Register(ModuleName, 42, "lock not eligible for unpooling")
	ErrLockLengthMismatch   = sdkerrors.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",
}
View Source
var SuperfluidAssetType_value = map[string]int32{
	"SuperfluidAssetTypeNative":  0,
	"SuperfluidAssetTypeLPShare": 1,
}

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 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 (such as grpc.SendHeader, etc) 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
	GetSupplyOffset(ctx sdk.Context, denom string) sdk.Int
	AddSupplyOffset(ctx sdk.Context, denom string, offsetAmount sdk.Int)
	GetSupplyWithOffset(ctx sdk.Context, denom string) sdk.Coin
	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 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 DistrKeeper

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

DistrKeeper expected distribution keeper.

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 {
	CalculateSpotPrice(ctx sdk.Context, poolId uint64, tokenInDenom, tokenOutDenom string) (sdk.Dec, error)
	GetPoolAndPoke(ctx sdk.Context, poolId uint64) (gammtypes.PoolI, error)
	GetPoolsAndPoke(ctx sdk.Context) (res []gammtypes.PoolI, err error)
	ExitPool(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, shareInAmount sdk.Int, tokenOutMins sdk.Coins) (exitCoins sdk.Coins, 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"`
	SuperfluidAssets              []SuperfluidAsset                     `protobuf:"bytes,2,rep,name=superfluid_assets,json=superfluidAssets,proto3" json:"superfluid_assets"`
	OsmoEquivalentMultipliers     []OsmoEquivalentMultiplierRecord      `` /* 128-byte string literal not displayed */
	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) (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"`
}

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 LockupKeeper

type LockupKeeper interface {
	GetLocksPastTimeDenom(ctx sdk.Context, denom string, timestamp time.Time) []lockuptypes.PeriodLock
	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) error
	ForceUnlock(ctx sdk.Context, lock 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)

	GetSyntheticLockup(ctx sdk.Context, lockID uint64, suffix string) (*lockuptypes.SyntheticLock, error)
	GetAllSyntheticLockupsByAddr(ctx sdk.Context, owner sdk.AccAddress) []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
	GetAllSyntheticLockupsByLockup(ctx sdk.Context, lockID uint64) []lockuptypes.SyntheticLock
}

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 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)
	// Execute lockup lock and superfluid delegation in a single msg
	LockAndSuperfluidDelegate(ctx context.Context, in *MsgLockAndSuperfluidDelegate, opts ...grpc.CallOption) (*MsgLockAndSuperfluidDelegateResponse, error)
	UnPoolWhitelistedPool(ctx context.Context, in *MsgUnPoolWhitelistedPool, opts ...grpc.CallOption) (*MsgUnPoolWhitelistedPoolResponse, 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 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)
	// Execute lockup lock and superfluid delegation in a single msg
	LockAndSuperfluidDelegate(context.Context, *MsgLockAndSuperfluidDelegate) (*MsgLockAndSuperfluidDelegateResponse, error)
	UnPoolWhitelistedPool(context.Context, *MsgUnPoolWhitelistedPool) (*MsgUnPoolWhitelistedPoolResponse, 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 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=exitedLockIds,proto3" json:"exitedLockIds,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 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 {
	// the risk_factor is to be cut on OSMO equivalent value of lp tokens for
	// superfluid staking, default: 5%
	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 QueryClient

type QueryClient interface {
	// Params returns the total set of minting parameters.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Returns superfluid asset type
	AssetType(ctx context.Context, in *AssetTypeRequest, opts ...grpc.CallOption) (*AssetTypeResponse, error)
	// Returns all superfluid asset types
	AllAssets(ctx context.Context, in *AllAssetsRequest, opts ...grpc.CallOption) (*AllAssetsResponse, error)
	// Returns superfluid asset Multiplier
	AssetMultiplier(ctx context.Context, in *AssetMultiplierRequest, opts ...grpc.CallOption) (*AssetMultiplierResponse, error)
	// Returns all superfluid intermediary account
	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 total amount of osmo superfluidly staked
	// response denominated in uosmo
	TotalSuperfluidDelegations(ctx context.Context, in *TotalSuperfluidDelegationsRequest, opts ...grpc.CallOption) (*TotalSuperfluidDelegationsResponse, error)
	// Returns the coins superfluid delegated for a delegator, validator, denom
	// triplet
	SuperfluidDelegationAmount(ctx context.Context, in *SuperfluidDelegationAmountRequest, opts ...grpc.CallOption) (*SuperfluidDelegationAmountResponse, error)
	// Returns all the superfluid poistions for a specific delegator
	SuperfluidDelegationsByDelegator(ctx context.Context, in *SuperfluidDelegationsByDelegatorRequest, opts ...grpc.CallOption) (*SuperfluidDelegationsByDelegatorResponse, error)
	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)
}

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 minting parameters.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Returns superfluid asset type
	AssetType(context.Context, *AssetTypeRequest) (*AssetTypeResponse, error)
	// Returns all superfluid asset types
	AllAssets(context.Context, *AllAssetsRequest) (*AllAssetsResponse, error)
	// Returns superfluid asset Multiplier
	AssetMultiplier(context.Context, *AssetMultiplierRequest) (*AssetMultiplierResponse, error)
	// Returns all superfluid intermediary account
	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 total amount of osmo superfluidly staked
	// response denominated in uosmo
	TotalSuperfluidDelegations(context.Context, *TotalSuperfluidDelegationsRequest) (*TotalSuperfluidDelegationsResponse, error)
	// Returns the coins superfluid delegated for a delegator, validator, denom
	// triplet
	SuperfluidDelegationAmount(context.Context, *SuperfluidDelegationAmountRequest) (*SuperfluidDelegationAmountResponse, error)
	// Returns all the superfluid poistions for a specific delegator
	SuperfluidDelegationsByDelegator(context.Context, *SuperfluidDelegationsByDelegatorRequest) (*SuperfluidDelegationsByDelegatorResponse, error)
	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)
}

QueryServer is the server API for Query service.

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 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)
	Unbond(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress, shares sdk.Dec) (amount sdk.Int, err error)
	Undelegate(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress, sharesAmount sdk.Dec) (time.Time, 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)
	GetUnbondingDelegation(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (ubd stakingtypes.UnbondingDelegation, 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 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
const (
	SuperfluidAssetTypeNative  SuperfluidAssetType = 0
	SuperfluidAssetTypeLPShare SuperfluidAssetType = 1
)

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 */
}

SuperfluidDelegationRecord takes the role of intermediary between LP token and OSMO tokens for superfluid staking

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) 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 */
}

func (*SuperfluidDelegationsByDelegatorResponse) Descriptor

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

func (*SuperfluidDelegationsByDelegatorResponse) GetSuperfluidDelegationRecords

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

func (*SuperfluidDelegationsByDelegatorResponse) GetTotalDelegatedCoins

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   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

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 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 `` /* 161-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 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

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

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

Jump to

Keyboard shortcuts

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