types

package
v21.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Overview

#nosec G101

#nosec G101

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	DymensionChainId                   = "dymension_1100-1"
	StrideToDymensionTransferChannelId = "channel-197"
	DymensionNativeTokenDenom          = "adym"
	DymensionNativeTokenIBCDenom       = "ibc/E1C22332C083574F3418481359733BA8887D171E76C80AD9237422AEABB66018" // #nosec G101

	DelegationAddressOnDymension = "dym1gl9j2hyyukqvlmzzcxl99mqfgu4y4frgzlv3zz" // C0
	RewardAddressOnDymension     = "dym1ww3m6h5e3dk2musft9w8f2zu4rkuxgh6zwu0d0" // C1

	DepositAddress    = "stride1e7j8d6sdq272fqe2jfxjpgcagn04j75w9695fj" // S4
	RedemptionAddress = "stride1jpsnc0ynufa2aheflj6mxzzzsu7nlwqk7ff69n" // S5
	ClaimAddress      = "stride1q8juddwptg5yxyghh3n243pp4w8ctpvpmf6ras" // S6

	SafeAddressOnStride             = "stride1sj8gyqeqecqhqu7em67hn2tjzhpkdf8wz5plh7" // S7
	OperatorAddressOnStride         = "stride1ghhu67ttgmxrsyxljfl2tysyayswklvxs7pepw" // OP-STRIDE
	DymensionUnbondingPeriodSeconds = uint64(21 * 24 * 60 * 60)                       // 21 days
)
View Source
const (
	EventTypeLiquidStakeRequest        = "liquid_stake"
	EventTypeRedeemStakeRequest        = "redeem_stake"
	EventTypeConfirmDelegationResponse = "confirm_delegation"
	EventTypeConfirmUnbondedTokenSweep = "confirm_unbonded_token_sweep"
	EventTypeConfirmUndelegation       = "confirm_undelegation"

	AttributeKeyHostZone              = "host_zone"
	AttributeKeyRedemptionRate        = "redemption_rate"
	AttributeKeyLiquidStaker          = "liquid_staker"
	AttributeKeyRedeemer              = "redeemer"
	AttributeKeyNativeBaseDenom       = "native_base_denom"
	AttributeKeyNativeIBCDenom        = "native_ibc_denom"
	AttributeKeyNativeAmount          = "native_amount"
	AttributeKeyStTokenAmount         = "sttoken_amount"
	AttributeRecordId                 = "record_id"
	AttributeDelegationNativeAmount   = "delegation_native_amount"
	AttributeUndelegationNativeAmount = "undelegation_native_amount"
	AttributeTxHash                   = "tx_hash"
	AttributeSender                   = "sender"
	EventTypeHostZoneHalt             = "host_zone_halt"
)
View Source
const (
	ModuleName = "stakedym"

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

	// RouterKey defines the routing key
	RouterKey = ModuleName

	// Module Account for Fee Collection
	FeeAddress = "stakedym_fee_address"
)
View Source
const (
	TypeMsgLiquidStake                     = "liquid_stake"
	TypeMsgRedeemStake                     = "redeem_stake"
	TypeMsgConfirmDelegation               = "confirm_delegation"
	TypeMsgConfirmUndelegation             = "confirm_undelegation"
	TypeMsgConfirmUnbondedTokenSweep       = "confirm_unbonded_token_sweep"
	TypeMsgAdjustDelegatedBalance          = "adjust_delegated_balance"
	TypeMsgUpdateInnerRedemptionRateBounds = "redemption_rate_bounds"
	TypeMsgResumeHostZone                  = "resume_host_zone"
	TypeMsgRefreshRedemptionRate           = "refresh_redemption_rate"
	TypeMsgOverwriteDelegationRecord       = "overwrite_delegation_record"
	TypeMsgOverwriteUnbondingRecord        = "overwrite_unbonding_record"
	TypeMsgOverwriteRedemptionRecord       = "overwrite_redemption_record"
	TypeMsgSetOperatorAddress              = "set_operator_address"
)

Variables

View Source
var (
	ErrHostZoneNotFound                  = errorsmod.Register(ModuleName, 1901, "host zone not found")
	ErrInvalidHostZone                   = errorsmod.Register(ModuleName, 1902, "invalid host zone during genesis")
	ErrHostZoneHalted                    = errorsmod.Register(ModuleName, 1903, "host zone is halted")
	ErrHostZoneNotHalted                 = errorsmod.Register(ModuleName, 1904, "host zone is not halted")
	ErrInvalidBounds                     = errorsmod.Register(ModuleName, 1905, "invalid inner bounds")
	ErrRedemptionRateOutsideSafetyBounds = errorsmod.Register(ModuleName, 1906, "host zone redemption rate outside safety bounds")
	ErrInvalidRedemptionRateBounds       = errorsmod.Register(ModuleName, 1907, "invalid host zone redemption rate inner bounds")
	ErrDelegationRecordNotFound          = errorsmod.Register(ModuleName, 1908, "delegation record not found")
	ErrDelegationRecordInvalidState      = errorsmod.Register(ModuleName, 1909, "delegation record in incorrect state")
	ErrDelegationRecordAlreadyExists     = errorsmod.Register(ModuleName, 1910, "delegation record already exists")
	ErrUnbondingRecordNotFound           = errorsmod.Register(ModuleName, 1911, "unbonding record not found")
	ErrUnbondingRecordAlreadyExists      = errorsmod.Register(ModuleName, 1912, "unbonding record already exists")
	ErrBrokenUnbondingRecordInvariant    = errorsmod.Register(ModuleName, 1913, "broken unbonding record invariant")
	ErrInvalidUnbondingRecord            = errorsmod.Register(ModuleName, 1914, "unbonding record in incorrect state")
	ErrRedemptionRecordNotFound          = errorsmod.Register(ModuleName, 1915, "redemption record not found")
	ErrUnbondAmountToLarge               = errorsmod.Register(ModuleName, 1916, "unbonding more than exists on host zone")
	ErrInvalidAmountBelowMinimum         = errorsmod.Register(ModuleName, 1917, "amount provided is too small")
	ErrNegativeNotAllowed                = errorsmod.Register(ModuleName, 1918, "negative value not allowed")
	ErrInsufficientFunds                 = errorsmod.Register(ModuleName, 1919, "not enough funds")
	ErrInvalidTxHash                     = errorsmod.Register(ModuleName, 1920, "tx hash is invalid")
	ErrInvalidAdmin                      = errorsmod.Register(ModuleName, 1921, "signer is not an admin")
	ErrInvalidArgument                   = errorsmod.Register(ModuleName, 1922, "argument is not valid")
	ErrInvariantBroken                   = errorsmod.Register(ModuleName, 1923, "invariant broken")
	ErrDivisionByZero                    = errorsmod.Register(ModuleName, 1924, "division by zero")
	ErrInvalidRecordType                 = errorsmod.Register(ModuleName, 1925, "invalid record type")
	ErrInvalidGenesisRecords             = errorsmod.Register(ModuleName, 1926, "invalid records during genesis")
)
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 (
	// Prefix store keys
	HostZoneKey                         = []byte("host-zone")
	DelegationRecordsKeyPrefix          = []byte("delegation-records-active")
	DelegationRecordsArchiveKeyPrefix   = []byte("delegation-records-archive")
	UnbondingRecordsKeyPrefix           = []byte("unbonding-records-active")
	UnbondingRecordsArchiveKeyPrefix    = []byte("unbonding-records-archive")
	RedemptionRecordsKeyPrefix          = []byte("redemption-records")
	SlashRecordsKeyPrefix               = []byte("slash-records")
	SlashRecordStoreKeyPrefix           = []byte("slash-record-id")
	TransferInProgressRecordIdKeyPrefix = []byte("transfer-in-progress")

	ChannelIdBufferFixedLength int = 16
)
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 (
	ErrInvalidLengthStakedym        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStakedym          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStakedym = 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 DelegationRecordStatus_name = map[int32]string{
	0: "TRANSFER_IN_PROGRESS",
	1: "TRANSFER_FAILED",
	2: "DELEGATION_QUEUE",
	3: "DELEGATION_COMPLETE",
}
View Source
var DelegationRecordStatus_value = map[string]int32{
	"TRANSFER_IN_PROGRESS": 0,
	"TRANSFER_FAILED":      1,
	"DELEGATION_QUEUE":     2,
	"DELEGATION_COMPLETE":  3,
}
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)
View Source
var OverwritableRecordType_name = map[int32]string{
	0: "RECORD_TYPE_DELEGATION",
	1: "RECORD_TYPE_UNBONDING",
	2: "RECORD_TYPE_REDEMPTION",
}
View Source
var OverwritableRecordType_value = map[string]int32{
	"RECORD_TYPE_DELEGATION": 0,
	"RECORD_TYPE_UNBONDING":  1,
	"RECORD_TYPE_REDEMPTION": 2,
}
View Source
var UnbondingRecordStatus_name = map[int32]string{
	0: "ACCUMULATING_REDEMPTIONS",
	1: "UNBONDING_QUEUE",
	2: "UNBONDING_IN_PROGRESS",
	3: "UNBONDED",
	4: "CLAIMABLE",
	5: "CLAIMED",
}
View Source
var UnbondingRecordStatus_value = map[string]int32{
	"ACCUMULATING_REDEMPTIONS": 0,
	"UNBONDING_QUEUE":          1,
	"UNBONDING_IN_PROGRESS":    2,
	"UNBONDED":                 3,
	"CLAIMABLE":                4,
	"CLAIMED":                  5,
}

Functions

func IntKey

func IntKey(i uint64) []byte

Serializes an int to use as a prefix when needed

func RedemptionRecordKey

func RedemptionRecordKey(unbondingRecordId uint64, redeemerAddress string) []byte

Builds the redemption record key from an unbonding record ID and address

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func StringKey

func StringKey(p string) []byte

Serializes an string to use as a prefix when needed

func TransferInProgressRecordKey

func TransferInProgressRecordKey(channelId string, sequence uint64) []byte

Builds the transfer-in-progress record key from the channelId and sequence number

func ValidateDelegationRecordGenesis

func ValidateDelegationRecordGenesis(delegationRecords []DelegationRecord) error

Confirm there are no duplicate delegation record Ids and that the amounts are not nil

func ValidateRedemptionRecordGenesis

func ValidateRedemptionRecordGenesis(redemptionRecords []RedemptionRecord) error

Confirm there are no duplicate slash record Ids and that the amounts are not nil

func ValidateSlashRecordGenesis

func ValidateSlashRecordGenesis(slashRecords []SlashRecord) error

Confirm there are no duplicate slash record Ids and that the amounts are not nil

func ValidateUnbondingRecordGenesis

func ValidateUnbondingRecordGenesis(unbondingRecords []UnbondingRecord) error

Confirm there are no duplicate unbonding record Ids and that the amounts are not nil

Types

type AccountKeeper

type AccountKeeper interface {
	GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI
	GetModuleAddress(name string) sdk.AccAddress
}

Required AccountKeeper functions

type BankKeeper

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

Required BankKeeper functions

type DelegationRecord

type DelegationRecord struct {
	// Deposit record unique ID
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The amount of native tokens that should be delegated
	NativeAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */
	// The status indicating the point in the delegation's lifecycle
	Status DelegationRecordStatus `protobuf:"varint,3,opt,name=status,proto3,enum=stride.stakedym.DelegationRecordStatus" json:"status,omitempty"`
	// The tx hash of the delegation on the host zone
	TxHash string `protobuf:"bytes,4,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
}

DelegationRecords track the aggregate liquid stakes and delegations for a given epoch Note: There is an important assumption here that tokens in the deposit account should not be tracked by these records. The record is created as soon as the tokens leave stride

func (*DelegationRecord) Descriptor

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

func (*DelegationRecord) GetId

func (m *DelegationRecord) GetId() uint64

func (*DelegationRecord) GetStatus

func (*DelegationRecord) GetTxHash

func (m *DelegationRecord) GetTxHash() string

func (*DelegationRecord) Marshal

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

func (*DelegationRecord) MarshalTo

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

func (*DelegationRecord) MarshalToSizedBuffer

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

func (*DelegationRecord) ProtoMessage

func (*DelegationRecord) ProtoMessage()

func (*DelegationRecord) Reset

func (m *DelegationRecord) Reset()

func (*DelegationRecord) Size

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

func (*DelegationRecord) String

func (m *DelegationRecord) String() string

func (*DelegationRecord) Unmarshal

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

func (*DelegationRecord) XXX_DiscardUnknown

func (m *DelegationRecord) XXX_DiscardUnknown()

func (*DelegationRecord) XXX_Marshal

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

func (*DelegationRecord) XXX_Merge

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

func (*DelegationRecord) XXX_Size

func (m *DelegationRecord) XXX_Size() int

func (*DelegationRecord) XXX_Unmarshal

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

type DelegationRecordStatus

type DelegationRecordStatus int32

Status fields for a delegation record Note: There is an important assumption here that tokens in the deposit account should not be tracked by these records. The record is created as soon as the tokens leave stride Additionally, the GetActiveDelegationRecords query filters for records that are either TRANSFER_IN_PROGERSS or DELEGATION_QUEUE. If a new active status is added, the keeper must be modified

const (
	// TRANSFER_IN_PROGRESS indicates the native tokens are being sent from the
	// deposit account to the delegation account
	TRANSFER_IN_PROGRESS DelegationRecordStatus = 0
	// TRANSFER_FAILED indicates that the transfer either timed out or was an ack
	// failure
	TRANSFER_FAILED DelegationRecordStatus = 1
	// DELEGATION_QUEUE indicates the tokens have landed on the host zone and are
	// ready to be delegated
	DELEGATION_QUEUE DelegationRecordStatus = 2
	// DELEGATION_COMPLETE indicates the delegation has been completed
	DELEGATION_COMPLETE DelegationRecordStatus = 3
)

func (DelegationRecordStatus) EnumDescriptor

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

func (DelegationRecordStatus) String

func (x DelegationRecordStatus) String() string

type GenesisState

type GenesisState struct {
	Params                      Params                        `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"`
	HostZone                    HostZone                      `protobuf:"bytes,2,opt,name=host_zone,json=hostZone,proto3" json:"host_zone"`
	DelegationRecords           []DelegationRecord            `protobuf:"bytes,3,rep,name=delegation_records,json=delegationRecords,proto3" json:"delegation_records"`
	UnbondingRecords            []UnbondingRecord             `protobuf:"bytes,4,rep,name=unbonding_records,json=unbondingRecords,proto3" json:"unbonding_records"`
	RedemptionRecords           []RedemptionRecord            `protobuf:"bytes,5,rep,name=redemption_records,json=redemptionRecords,proto3" json:"redemption_records"`
	SlashRecords                []SlashRecord                 `protobuf:"bytes,6,rep,name=slash_records,json=slashRecords,proto3" json:"slash_records"`
	TransferInProgressRecordIds []TransferInProgressRecordIds `` /* 138-byte string literal not displayed */
}

GenesisState defines the stakedym module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state Only the host zone and accumulator record are needed at default genesis, other record should be empty

func (*GenesisState) Descriptor

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

func (*GenesisState) GetDelegationRecords

func (m *GenesisState) GetDelegationRecords() []DelegationRecord

func (*GenesisState) GetHostZone

func (m *GenesisState) GetHostZone() HostZone

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetRedemptionRecords

func (m *GenesisState) GetRedemptionRecords() []RedemptionRecord

func (*GenesisState) GetSlashRecords

func (m *GenesisState) GetSlashRecords() []SlashRecord

func (*GenesisState) GetTransferInProgressRecordIds

func (m *GenesisState) GetTransferInProgressRecordIds() []TransferInProgressRecordIds

func (*GenesisState) GetUnbondingRecords

func (m *GenesisState) GetUnbondingRecords() []UnbondingRecord

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

Validates the host zone and records in the genesis state

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 HostZone

type HostZone struct {
	// Chain ID
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Native token denom on the host zone (e.g. adym)
	NativeTokenDenom string `protobuf:"bytes,2,opt,name=native_token_denom,json=nativeTokenDenom,proto3" json:"native_token_denom,omitempty"`
	// IBC denom of the native token as it lives on stride (e.g. ibc/...)
	NativeTokenIbcDenom string `protobuf:"bytes,3,opt,name=native_token_ibc_denom,json=nativeTokenIbcDenom,proto3" json:"native_token_ibc_denom,omitempty"`
	// Transfer channel ID from stride to the host zone
	TransferChannelId string `protobuf:"bytes,4,opt,name=transfer_channel_id,json=transferChannelId,proto3" json:"transfer_channel_id,omitempty"`
	// Operator controlled delegation address on the host zone
	DelegationAddress string `protobuf:"bytes,5,opt,name=delegation_address,json=delegationAddress,proto3" json:"delegation_address,omitempty"`
	// Operator controlled reward address on the host zone
	RewardAddress string `protobuf:"bytes,6,opt,name=reward_address,json=rewardAddress,proto3" json:"reward_address,omitempty"`
	// Deposit address on stride
	DepositAddress string `protobuf:"bytes,7,opt,name=deposit_address,json=depositAddress,proto3" json:"deposit_address,omitempty"`
	// Redemption address on stride
	RedemptionAddress string `protobuf:"bytes,8,opt,name=redemption_address,json=redemptionAddress,proto3" json:"redemption_address,omitempty"`
	// Claim address on stride
	ClaimAddress string `protobuf:"bytes,9,opt,name=claim_address,json=claimAddress,proto3" json:"claim_address,omitempty"`
	// operator address set by safe, on stride
	OperatorAddressOnStride string `` /* 135-byte string literal not displayed */
	// admin address set upon host zone creation,  on stride
	SafeAddressOnStride string `protobuf:"bytes,11,opt,name=safe_address_on_stride,json=safeAddressOnStride,proto3" json:"safe_address_on_stride,omitempty"`
	// Previous redemption rate
	LastRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	// Current redemption rate
	RedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 144-byte string literal not displayed */
	// Min outer redemption rate - adjusted by governance
	MinRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 155-byte string literal not displayed */
	// Max outer redemption rate - adjusted by governance
	MaxRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 155-byte string literal not displayed */
	// Min inner redemption rate - adjusted by controller
	MinInnerRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 172-byte string literal not displayed */
	// Max inner redemption rate - adjusted by controller
	MaxInnerRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 172-byte string literal not displayed */
	// Total delegated balance on the host zone delegation account
	DelegatedBalance github_com_cosmos_cosmos_sdk_types.Int `` /* 150-byte string literal not displayed */
	// The undelegation period for Dymension in days
	UnbondingPeriodSeconds uint64 `` /* 131-byte string literal not displayed */
	// Indicates whether the host zone has been halted
	Halted bool `protobuf:"varint,20,opt,name=halted,proto3" json:"halted,omitempty"`
}

func (*HostZone) Descriptor

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

func (*HostZone) GetChainId

func (m *HostZone) GetChainId() string

func (*HostZone) GetClaimAddress

func (m *HostZone) GetClaimAddress() string

func (*HostZone) GetDelegationAddress

func (m *HostZone) GetDelegationAddress() string

func (*HostZone) GetDepositAddress

func (m *HostZone) GetDepositAddress() string

func (*HostZone) GetHalted

func (m *HostZone) GetHalted() bool

func (*HostZone) GetNativeTokenDenom

func (m *HostZone) GetNativeTokenDenom() string

func (*HostZone) GetNativeTokenIbcDenom

func (m *HostZone) GetNativeTokenIbcDenom() string

func (*HostZone) GetOperatorAddressOnStride

func (m *HostZone) GetOperatorAddressOnStride() string

func (*HostZone) GetRedemptionAddress

func (m *HostZone) GetRedemptionAddress() string

func (*HostZone) GetRewardAddress

func (m *HostZone) GetRewardAddress() string

func (*HostZone) GetSafeAddressOnStride

func (m *HostZone) GetSafeAddressOnStride() string

func (*HostZone) GetTransferChannelId

func (m *HostZone) GetTransferChannelId() string

func (*HostZone) GetUnbondingPeriodSeconds

func (m *HostZone) GetUnbondingPeriodSeconds() uint64

func (*HostZone) Marshal

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

func (*HostZone) MarshalTo

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

func (*HostZone) MarshalToSizedBuffer

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

func (*HostZone) ProtoMessage

func (*HostZone) ProtoMessage()

func (*HostZone) Reset

func (m *HostZone) Reset()

func (*HostZone) Size

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

func (*HostZone) String

func (m *HostZone) String() string

func (*HostZone) Unmarshal

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

func (HostZone) ValidateGenesis

func (h HostZone) ValidateGenesis() error

Helper fucntion to validate a host zone is properly initialized during genesis

func (HostZone) ValidateRedemptionRateBoundsInitalized

func (h HostZone) ValidateRedemptionRateBoundsInitalized() error

Verify the redemption rate bounds are set properly on the host zone

func (*HostZone) XXX_DiscardUnknown

func (m *HostZone) XXX_DiscardUnknown()

func (*HostZone) XXX_Marshal

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

func (*HostZone) XXX_Merge

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

func (*HostZone) XXX_Size

func (m *HostZone) XXX_Size() int

func (*HostZone) XXX_Unmarshal

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

type ICAOracleKeeper

type ICAOracleKeeper interface {
	QueueMetricUpdate(ctx sdk.Context, key, value, metricType, attributes string)
}

Required ICAOracleKeeper functions

type MsgAdjustDelegatedBalance

type MsgAdjustDelegatedBalance struct {
	Operator         string                                 `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	DelegationOffset github_com_cosmos_cosmos_sdk_types.Int `` /* 149-byte string literal not displayed */
	ValidatorAddress string                                 `protobuf:"bytes,3,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

AdjustDelegatedBalance

func NewMsgAdjustDelegatedBalance

func NewMsgAdjustDelegatedBalance(operator string, delegationOffset sdkmath.Int, validatorAddress string) *MsgAdjustDelegatedBalance

func (*MsgAdjustDelegatedBalance) Descriptor

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

func (*MsgAdjustDelegatedBalance) GetOperator

func (m *MsgAdjustDelegatedBalance) GetOperator() string

func (*MsgAdjustDelegatedBalance) GetSignBytes

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

func (*MsgAdjustDelegatedBalance) GetSigners

func (msg *MsgAdjustDelegatedBalance) GetSigners() []sdk.AccAddress

func (*MsgAdjustDelegatedBalance) GetValidatorAddress

func (m *MsgAdjustDelegatedBalance) GetValidatorAddress() string

func (*MsgAdjustDelegatedBalance) Marshal

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

func (*MsgAdjustDelegatedBalance) MarshalTo

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

func (*MsgAdjustDelegatedBalance) MarshalToSizedBuffer

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

func (*MsgAdjustDelegatedBalance) ProtoMessage

func (*MsgAdjustDelegatedBalance) ProtoMessage()

func (*MsgAdjustDelegatedBalance) Reset

func (m *MsgAdjustDelegatedBalance) Reset()

func (MsgAdjustDelegatedBalance) Route

func (msg MsgAdjustDelegatedBalance) Route() string

func (*MsgAdjustDelegatedBalance) Size

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

func (*MsgAdjustDelegatedBalance) String

func (m *MsgAdjustDelegatedBalance) String() string

func (MsgAdjustDelegatedBalance) Type

func (msg MsgAdjustDelegatedBalance) Type() string

func (*MsgAdjustDelegatedBalance) Unmarshal

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

func (*MsgAdjustDelegatedBalance) ValidateBasic

func (msg *MsgAdjustDelegatedBalance) ValidateBasic() error

func (*MsgAdjustDelegatedBalance) XXX_DiscardUnknown

func (m *MsgAdjustDelegatedBalance) XXX_DiscardUnknown()

func (*MsgAdjustDelegatedBalance) XXX_Marshal

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

func (*MsgAdjustDelegatedBalance) XXX_Merge

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

func (*MsgAdjustDelegatedBalance) XXX_Size

func (m *MsgAdjustDelegatedBalance) XXX_Size() int

func (*MsgAdjustDelegatedBalance) XXX_Unmarshal

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

type MsgAdjustDelegatedBalanceResponse

type MsgAdjustDelegatedBalanceResponse struct {
}

func (*MsgAdjustDelegatedBalanceResponse) Descriptor

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

func (*MsgAdjustDelegatedBalanceResponse) Marshal

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

func (*MsgAdjustDelegatedBalanceResponse) MarshalTo

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

func (*MsgAdjustDelegatedBalanceResponse) MarshalToSizedBuffer

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

func (*MsgAdjustDelegatedBalanceResponse) ProtoMessage

func (*MsgAdjustDelegatedBalanceResponse) ProtoMessage()

func (*MsgAdjustDelegatedBalanceResponse) Reset

func (*MsgAdjustDelegatedBalanceResponse) Size

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

func (*MsgAdjustDelegatedBalanceResponse) String

func (*MsgAdjustDelegatedBalanceResponse) Unmarshal

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

func (*MsgAdjustDelegatedBalanceResponse) XXX_DiscardUnknown

func (m *MsgAdjustDelegatedBalanceResponse) XXX_DiscardUnknown()

func (*MsgAdjustDelegatedBalanceResponse) XXX_Marshal

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

func (*MsgAdjustDelegatedBalanceResponse) XXX_Merge

func (*MsgAdjustDelegatedBalanceResponse) XXX_Size

func (m *MsgAdjustDelegatedBalanceResponse) XXX_Size() int

func (*MsgAdjustDelegatedBalanceResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// User transaction to liquid stake native tokens into stTokens
	LiquidStake(ctx context.Context, in *MsgLiquidStake, opts ...grpc.CallOption) (*MsgLiquidStakeResponse, error)
	// User transaction to redeem stake stTokens into native tokens
	RedeemStake(ctx context.Context, in *MsgRedeemStake, opts ...grpc.CallOption) (*MsgRedeemStakeResponse, error)
	// Operator transaction to confirm a delegation was submitted
	// on the host chain
	ConfirmDelegation(ctx context.Context, in *MsgConfirmDelegation, opts ...grpc.CallOption) (*MsgConfirmDelegationResponse, error)
	// Operator transaction to confirm an undelegation was submitted
	// on the host chain
	ConfirmUndelegation(ctx context.Context, in *MsgConfirmUndelegation, opts ...grpc.CallOption) (*MsgConfirmUndelegationResponse, error)
	// Operator transaction to confirm unbonded tokens were transferred back to
	// stride
	ConfirmUnbondedTokenSweep(ctx context.Context, in *MsgConfirmUnbondedTokenSweep, opts ...grpc.CallOption) (*MsgConfirmUnbondedTokenSweepResponse, error)
	// Operator transaction to adjust the delegated balance after a validator was
	// slashed
	AdjustDelegatedBalance(ctx context.Context, in *MsgAdjustDelegatedBalance, opts ...grpc.CallOption) (*MsgAdjustDelegatedBalanceResponse, error)
	// Adjusts the inner redemption rate bounds on the host zone
	UpdateInnerRedemptionRateBounds(ctx context.Context, in *MsgUpdateInnerRedemptionRateBounds, opts ...grpc.CallOption) (*MsgUpdateInnerRedemptionRateBoundsResponse, error)
	// Unhalts the host zone if redemption rates were exceeded
	ResumeHostZone(ctx context.Context, in *MsgResumeHostZone, opts ...grpc.CallOption) (*MsgResumeHostZoneResponse, error)
	// Trigger updating the redemption rate
	RefreshRedemptionRate(ctx context.Context, in *MsgRefreshRedemptionRate, opts ...grpc.CallOption) (*MsgRefreshRedemptionRateResponse, error)
	// Overwrites a delegation record
	OverwriteDelegationRecord(ctx context.Context, in *MsgOverwriteDelegationRecord, opts ...grpc.CallOption) (*MsgOverwriteDelegationRecordResponse, error)
	// Overwrites a unbonding record
	OverwriteUnbondingRecord(ctx context.Context, in *MsgOverwriteUnbondingRecord, opts ...grpc.CallOption) (*MsgOverwriteUnbondingRecordResponse, error)
	// Overwrites a redemption record
	OverwriteRedemptionRecord(ctx context.Context, in *MsgOverwriteRedemptionRecord, opts ...grpc.CallOption) (*MsgOverwriteRedemptionRecordResponse, error)
	// Sets the operator address
	SetOperatorAddress(ctx context.Context, in *MsgSetOperatorAddress, opts ...grpc.CallOption) (*MsgSetOperatorAddressResponse, 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 MsgConfirmDelegation

type MsgConfirmDelegation struct {
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	RecordId uint64 `protobuf:"varint,2,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"`
	TxHash   string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
}

ConfirmDelegation

func NewMsgConfirmDelegation

func NewMsgConfirmDelegation(operator string, recordId uint64, txHash string) *MsgConfirmDelegation

func (*MsgConfirmDelegation) Descriptor

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

func (*MsgConfirmDelegation) GetOperator

func (m *MsgConfirmDelegation) GetOperator() string

func (*MsgConfirmDelegation) GetRecordId

func (m *MsgConfirmDelegation) GetRecordId() uint64

func (*MsgConfirmDelegation) GetSignBytes

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

func (*MsgConfirmDelegation) GetSigners

func (msg *MsgConfirmDelegation) GetSigners() []sdk.AccAddress

func (*MsgConfirmDelegation) GetTxHash

func (m *MsgConfirmDelegation) GetTxHash() string

func (*MsgConfirmDelegation) Marshal

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

func (*MsgConfirmDelegation) MarshalTo

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

func (*MsgConfirmDelegation) MarshalToSizedBuffer

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

func (*MsgConfirmDelegation) ProtoMessage

func (*MsgConfirmDelegation) ProtoMessage()

func (*MsgConfirmDelegation) Reset

func (m *MsgConfirmDelegation) Reset()

func (MsgConfirmDelegation) Route

func (msg MsgConfirmDelegation) Route() string

func (*MsgConfirmDelegation) Size

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

func (*MsgConfirmDelegation) String

func (m *MsgConfirmDelegation) String() string

func (MsgConfirmDelegation) Type

func (msg MsgConfirmDelegation) Type() string

func (*MsgConfirmDelegation) Unmarshal

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

func (*MsgConfirmDelegation) ValidateBasic

func (msg *MsgConfirmDelegation) ValidateBasic() error

func (*MsgConfirmDelegation) XXX_DiscardUnknown

func (m *MsgConfirmDelegation) XXX_DiscardUnknown()

func (*MsgConfirmDelegation) XXX_Marshal

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

func (*MsgConfirmDelegation) XXX_Merge

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

func (*MsgConfirmDelegation) XXX_Size

func (m *MsgConfirmDelegation) XXX_Size() int

func (*MsgConfirmDelegation) XXX_Unmarshal

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

type MsgConfirmDelegationResponse

type MsgConfirmDelegationResponse struct {
}

func (*MsgConfirmDelegationResponse) Descriptor

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

func (*MsgConfirmDelegationResponse) Marshal

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

func (*MsgConfirmDelegationResponse) MarshalTo

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

func (*MsgConfirmDelegationResponse) MarshalToSizedBuffer

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

func (*MsgConfirmDelegationResponse) ProtoMessage

func (*MsgConfirmDelegationResponse) ProtoMessage()

func (*MsgConfirmDelegationResponse) Reset

func (m *MsgConfirmDelegationResponse) Reset()

func (*MsgConfirmDelegationResponse) Size

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

func (*MsgConfirmDelegationResponse) String

func (*MsgConfirmDelegationResponse) Unmarshal

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

func (*MsgConfirmDelegationResponse) XXX_DiscardUnknown

func (m *MsgConfirmDelegationResponse) XXX_DiscardUnknown()

func (*MsgConfirmDelegationResponse) XXX_Marshal

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

func (*MsgConfirmDelegationResponse) XXX_Merge

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

func (*MsgConfirmDelegationResponse) XXX_Size

func (m *MsgConfirmDelegationResponse) XXX_Size() int

func (*MsgConfirmDelegationResponse) XXX_Unmarshal

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

type MsgConfirmUnbondedTokenSweep

type MsgConfirmUnbondedTokenSweep struct {
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	RecordId uint64 `protobuf:"varint,2,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"`
	TxHash   string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
}

ConfirmUnbondedTokenSweep

func NewMsgConfirmUnbondedTokenSweep

func NewMsgConfirmUnbondedTokenSweep(operator string, recordId uint64, txHash string) *MsgConfirmUnbondedTokenSweep

func (*MsgConfirmUnbondedTokenSweep) Descriptor

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

func (*MsgConfirmUnbondedTokenSweep) GetOperator

func (m *MsgConfirmUnbondedTokenSweep) GetOperator() string

func (*MsgConfirmUnbondedTokenSweep) GetRecordId

func (m *MsgConfirmUnbondedTokenSweep) GetRecordId() uint64

func (*MsgConfirmUnbondedTokenSweep) GetSignBytes

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

func (*MsgConfirmUnbondedTokenSweep) GetSigners

func (msg *MsgConfirmUnbondedTokenSweep) GetSigners() []sdk.AccAddress

func (*MsgConfirmUnbondedTokenSweep) GetTxHash

func (m *MsgConfirmUnbondedTokenSweep) GetTxHash() string

func (*MsgConfirmUnbondedTokenSweep) Marshal

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

func (*MsgConfirmUnbondedTokenSweep) MarshalTo

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

func (*MsgConfirmUnbondedTokenSweep) MarshalToSizedBuffer

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

func (*MsgConfirmUnbondedTokenSweep) ProtoMessage

func (*MsgConfirmUnbondedTokenSweep) ProtoMessage()

func (*MsgConfirmUnbondedTokenSweep) Reset

func (m *MsgConfirmUnbondedTokenSweep) Reset()

func (MsgConfirmUnbondedTokenSweep) Route

func (*MsgConfirmUnbondedTokenSweep) Size

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

func (*MsgConfirmUnbondedTokenSweep) String

func (MsgConfirmUnbondedTokenSweep) Type

func (*MsgConfirmUnbondedTokenSweep) Unmarshal

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

func (*MsgConfirmUnbondedTokenSweep) ValidateBasic

func (msg *MsgConfirmUnbondedTokenSweep) ValidateBasic() error

func (*MsgConfirmUnbondedTokenSweep) XXX_DiscardUnknown

func (m *MsgConfirmUnbondedTokenSweep) XXX_DiscardUnknown()

func (*MsgConfirmUnbondedTokenSweep) XXX_Marshal

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

func (*MsgConfirmUnbondedTokenSweep) XXX_Merge

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

func (*MsgConfirmUnbondedTokenSweep) XXX_Size

func (m *MsgConfirmUnbondedTokenSweep) XXX_Size() int

func (*MsgConfirmUnbondedTokenSweep) XXX_Unmarshal

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

type MsgConfirmUnbondedTokenSweepResponse

type MsgConfirmUnbondedTokenSweepResponse struct {
}

func (*MsgConfirmUnbondedTokenSweepResponse) Descriptor

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

func (*MsgConfirmUnbondedTokenSweepResponse) Marshal

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

func (*MsgConfirmUnbondedTokenSweepResponse) MarshalTo

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

func (*MsgConfirmUnbondedTokenSweepResponse) MarshalToSizedBuffer

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

func (*MsgConfirmUnbondedTokenSweepResponse) ProtoMessage

func (*MsgConfirmUnbondedTokenSweepResponse) ProtoMessage()

func (*MsgConfirmUnbondedTokenSweepResponse) Reset

func (*MsgConfirmUnbondedTokenSweepResponse) Size

func (*MsgConfirmUnbondedTokenSweepResponse) String

func (*MsgConfirmUnbondedTokenSweepResponse) Unmarshal

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

func (*MsgConfirmUnbondedTokenSweepResponse) XXX_DiscardUnknown

func (m *MsgConfirmUnbondedTokenSweepResponse) XXX_DiscardUnknown()

func (*MsgConfirmUnbondedTokenSweepResponse) XXX_Marshal

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

func (*MsgConfirmUnbondedTokenSweepResponse) XXX_Merge

func (*MsgConfirmUnbondedTokenSweepResponse) XXX_Size

func (*MsgConfirmUnbondedTokenSweepResponse) XXX_Unmarshal

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

type MsgConfirmUndelegation

type MsgConfirmUndelegation struct {
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	RecordId uint64 `protobuf:"varint,2,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"`
	TxHash   string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
}

ConfirmUndelegation

func NewMsgConfirmUndelegation

func NewMsgConfirmUndelegation(operator string, recordId uint64, txHash string) *MsgConfirmUndelegation

func (*MsgConfirmUndelegation) Descriptor

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

func (*MsgConfirmUndelegation) GetOperator

func (m *MsgConfirmUndelegation) GetOperator() string

func (*MsgConfirmUndelegation) GetRecordId

func (m *MsgConfirmUndelegation) GetRecordId() uint64

func (*MsgConfirmUndelegation) GetSignBytes

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

func (*MsgConfirmUndelegation) GetSigners

func (msg *MsgConfirmUndelegation) GetSigners() []sdk.AccAddress

func (*MsgConfirmUndelegation) GetTxHash

func (m *MsgConfirmUndelegation) GetTxHash() string

func (*MsgConfirmUndelegation) Marshal

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

func (*MsgConfirmUndelegation) MarshalTo

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

func (*MsgConfirmUndelegation) MarshalToSizedBuffer

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

func (*MsgConfirmUndelegation) ProtoMessage

func (*MsgConfirmUndelegation) ProtoMessage()

func (*MsgConfirmUndelegation) Reset

func (m *MsgConfirmUndelegation) Reset()

func (MsgConfirmUndelegation) Route

func (msg MsgConfirmUndelegation) Route() string

func (*MsgConfirmUndelegation) Size

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

func (*MsgConfirmUndelegation) String

func (m *MsgConfirmUndelegation) String() string

func (MsgConfirmUndelegation) Type

func (msg MsgConfirmUndelegation) Type() string

func (*MsgConfirmUndelegation) Unmarshal

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

func (*MsgConfirmUndelegation) ValidateBasic

func (msg *MsgConfirmUndelegation) ValidateBasic() error

func (*MsgConfirmUndelegation) XXX_DiscardUnknown

func (m *MsgConfirmUndelegation) XXX_DiscardUnknown()

func (*MsgConfirmUndelegation) XXX_Marshal

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

func (*MsgConfirmUndelegation) XXX_Merge

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

func (*MsgConfirmUndelegation) XXX_Size

func (m *MsgConfirmUndelegation) XXX_Size() int

func (*MsgConfirmUndelegation) XXX_Unmarshal

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

type MsgConfirmUndelegationResponse

type MsgConfirmUndelegationResponse struct {
}

func (*MsgConfirmUndelegationResponse) Descriptor

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

func (*MsgConfirmUndelegationResponse) Marshal

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

func (*MsgConfirmUndelegationResponse) MarshalTo

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

func (*MsgConfirmUndelegationResponse) MarshalToSizedBuffer

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

func (*MsgConfirmUndelegationResponse) ProtoMessage

func (*MsgConfirmUndelegationResponse) ProtoMessage()

func (*MsgConfirmUndelegationResponse) Reset

func (m *MsgConfirmUndelegationResponse) Reset()

func (*MsgConfirmUndelegationResponse) Size

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

func (*MsgConfirmUndelegationResponse) String

func (*MsgConfirmUndelegationResponse) Unmarshal

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

func (*MsgConfirmUndelegationResponse) XXX_DiscardUnknown

func (m *MsgConfirmUndelegationResponse) XXX_DiscardUnknown()

func (*MsgConfirmUndelegationResponse) XXX_Marshal

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

func (*MsgConfirmUndelegationResponse) XXX_Merge

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

func (*MsgConfirmUndelegationResponse) XXX_Size

func (m *MsgConfirmUndelegationResponse) XXX_Size() int

func (*MsgConfirmUndelegationResponse) XXX_Unmarshal

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

type MsgLiquidStake

type MsgLiquidStake struct {
	Staker       string                                 `protobuf:"bytes,1,opt,name=staker,proto3" json:"staker,omitempty"`
	NativeAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */
}

LiquidStake

func NewMsgLiquidStake

func NewMsgLiquidStake(staker string, nativeAmount sdkmath.Int) *MsgLiquidStake

func (*MsgLiquidStake) Descriptor

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

func (*MsgLiquidStake) GetSignBytes

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

func (*MsgLiquidStake) GetSigners

func (msg *MsgLiquidStake) GetSigners() []sdk.AccAddress

func (*MsgLiquidStake) GetStaker

func (m *MsgLiquidStake) GetStaker() string

func (*MsgLiquidStake) Marshal

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

func (*MsgLiquidStake) MarshalTo

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

func (*MsgLiquidStake) MarshalToSizedBuffer

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

func (*MsgLiquidStake) ProtoMessage

func (*MsgLiquidStake) ProtoMessage()

func (*MsgLiquidStake) Reset

func (m *MsgLiquidStake) Reset()

func (MsgLiquidStake) Route

func (msg MsgLiquidStake) Route() string

func (*MsgLiquidStake) Size

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

func (*MsgLiquidStake) String

func (m *MsgLiquidStake) String() string

func (MsgLiquidStake) Type

func (msg MsgLiquidStake) Type() string

func (*MsgLiquidStake) Unmarshal

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

func (*MsgLiquidStake) ValidateBasic

func (msg *MsgLiquidStake) ValidateBasic() error

func (*MsgLiquidStake) XXX_DiscardUnknown

func (m *MsgLiquidStake) XXX_DiscardUnknown()

func (*MsgLiquidStake) XXX_Marshal

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

func (*MsgLiquidStake) XXX_Merge

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

func (*MsgLiquidStake) XXX_Size

func (m *MsgLiquidStake) XXX_Size() int

func (*MsgLiquidStake) XXX_Unmarshal

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

type MsgLiquidStakeResponse

type MsgLiquidStakeResponse struct {
	StToken types.Coin `` /* 126-byte string literal not displayed */
}

func (*MsgLiquidStakeResponse) Descriptor

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

func (*MsgLiquidStakeResponse) GetStToken

func (m *MsgLiquidStakeResponse) GetStToken() types.Coin

func (*MsgLiquidStakeResponse) Marshal

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

func (*MsgLiquidStakeResponse) MarshalTo

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

func (*MsgLiquidStakeResponse) MarshalToSizedBuffer

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

func (*MsgLiquidStakeResponse) ProtoMessage

func (*MsgLiquidStakeResponse) ProtoMessage()

func (*MsgLiquidStakeResponse) Reset

func (m *MsgLiquidStakeResponse) Reset()

func (*MsgLiquidStakeResponse) Size

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

func (*MsgLiquidStakeResponse) String

func (m *MsgLiquidStakeResponse) String() string

func (*MsgLiquidStakeResponse) Unmarshal

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

func (*MsgLiquidStakeResponse) XXX_DiscardUnknown

func (m *MsgLiquidStakeResponse) XXX_DiscardUnknown()

func (*MsgLiquidStakeResponse) XXX_Marshal

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

func (*MsgLiquidStakeResponse) XXX_Merge

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

func (*MsgLiquidStakeResponse) XXX_Size

func (m *MsgLiquidStakeResponse) XXX_Size() int

func (*MsgLiquidStakeResponse) XXX_Unmarshal

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

type MsgOverwriteDelegationRecord

type MsgOverwriteDelegationRecord struct {
	Creator          string            `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	DelegationRecord *DelegationRecord `protobuf:"bytes,2,opt,name=delegation_record,json=delegationRecord,proto3" json:"delegation_record,omitempty"`
}

OverwriteDelegationRecord

func NewMsgOverwriteDelegationRecord

func NewMsgOverwriteDelegationRecord(creator string, delegationRecord DelegationRecord) *MsgOverwriteDelegationRecord

func (*MsgOverwriteDelegationRecord) Descriptor

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

func (*MsgOverwriteDelegationRecord) GetCreator

func (m *MsgOverwriteDelegationRecord) GetCreator() string

func (*MsgOverwriteDelegationRecord) GetDelegationRecord

func (m *MsgOverwriteDelegationRecord) GetDelegationRecord() *DelegationRecord

func (*MsgOverwriteDelegationRecord) GetSignBytes

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

func (*MsgOverwriteDelegationRecord) GetSigners

func (msg *MsgOverwriteDelegationRecord) GetSigners() []sdk.AccAddress

func (*MsgOverwriteDelegationRecord) Marshal

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

func (*MsgOverwriteDelegationRecord) MarshalTo

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

func (*MsgOverwriteDelegationRecord) MarshalToSizedBuffer

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

func (*MsgOverwriteDelegationRecord) ProtoMessage

func (*MsgOverwriteDelegationRecord) ProtoMessage()

func (*MsgOverwriteDelegationRecord) Reset

func (m *MsgOverwriteDelegationRecord) Reset()

func (MsgOverwriteDelegationRecord) Route

func (*MsgOverwriteDelegationRecord) Size

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

func (*MsgOverwriteDelegationRecord) String

func (MsgOverwriteDelegationRecord) Type

func (*MsgOverwriteDelegationRecord) Unmarshal

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

func (*MsgOverwriteDelegationRecord) ValidateBasic

func (msg *MsgOverwriteDelegationRecord) ValidateBasic() error

func (*MsgOverwriteDelegationRecord) XXX_DiscardUnknown

func (m *MsgOverwriteDelegationRecord) XXX_DiscardUnknown()

func (*MsgOverwriteDelegationRecord) XXX_Marshal

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

func (*MsgOverwriteDelegationRecord) XXX_Merge

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

func (*MsgOverwriteDelegationRecord) XXX_Size

func (m *MsgOverwriteDelegationRecord) XXX_Size() int

func (*MsgOverwriteDelegationRecord) XXX_Unmarshal

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

type MsgOverwriteDelegationRecordResponse

type MsgOverwriteDelegationRecordResponse struct {
}

func (*MsgOverwriteDelegationRecordResponse) Descriptor

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

func (*MsgOverwriteDelegationRecordResponse) Marshal

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

func (*MsgOverwriteDelegationRecordResponse) MarshalTo

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

func (*MsgOverwriteDelegationRecordResponse) MarshalToSizedBuffer

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

func (*MsgOverwriteDelegationRecordResponse) ProtoMessage

func (*MsgOverwriteDelegationRecordResponse) ProtoMessage()

func (*MsgOverwriteDelegationRecordResponse) Reset

func (*MsgOverwriteDelegationRecordResponse) Size

func (*MsgOverwriteDelegationRecordResponse) String

func (*MsgOverwriteDelegationRecordResponse) Unmarshal

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

func (*MsgOverwriteDelegationRecordResponse) XXX_DiscardUnknown

func (m *MsgOverwriteDelegationRecordResponse) XXX_DiscardUnknown()

func (*MsgOverwriteDelegationRecordResponse) XXX_Marshal

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

func (*MsgOverwriteDelegationRecordResponse) XXX_Merge

func (*MsgOverwriteDelegationRecordResponse) XXX_Size

func (*MsgOverwriteDelegationRecordResponse) XXX_Unmarshal

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

type MsgOverwriteRedemptionRecord

type MsgOverwriteRedemptionRecord struct {
	Creator          string            `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	RedemptionRecord *RedemptionRecord `protobuf:"bytes,2,opt,name=redemption_record,json=redemptionRecord,proto3" json:"redemption_record,omitempty"`
}

OverwriteRedemptionRecord

func NewMsgOverwriteRedemptionRecord

func NewMsgOverwriteRedemptionRecord(creator string, redemptionRecord RedemptionRecord) *MsgOverwriteRedemptionRecord

func (*MsgOverwriteRedemptionRecord) Descriptor

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

func (*MsgOverwriteRedemptionRecord) GetCreator

func (m *MsgOverwriteRedemptionRecord) GetCreator() string

func (*MsgOverwriteRedemptionRecord) GetRedemptionRecord

func (m *MsgOverwriteRedemptionRecord) GetRedemptionRecord() *RedemptionRecord

func (*MsgOverwriteRedemptionRecord) GetSignBytes

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

func (*MsgOverwriteRedemptionRecord) GetSigners

func (msg *MsgOverwriteRedemptionRecord) GetSigners() []sdk.AccAddress

func (*MsgOverwriteRedemptionRecord) Marshal

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

func (*MsgOverwriteRedemptionRecord) MarshalTo

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

func (*MsgOverwriteRedemptionRecord) MarshalToSizedBuffer

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

func (*MsgOverwriteRedemptionRecord) ProtoMessage

func (*MsgOverwriteRedemptionRecord) ProtoMessage()

func (*MsgOverwriteRedemptionRecord) Reset

func (m *MsgOverwriteRedemptionRecord) Reset()

func (MsgOverwriteRedemptionRecord) Route

func (*MsgOverwriteRedemptionRecord) Size

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

func (*MsgOverwriteRedemptionRecord) String

func (MsgOverwriteRedemptionRecord) Type

func (*MsgOverwriteRedemptionRecord) Unmarshal

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

func (*MsgOverwriteRedemptionRecord) ValidateBasic

func (msg *MsgOverwriteRedemptionRecord) ValidateBasic() error

func (*MsgOverwriteRedemptionRecord) XXX_DiscardUnknown

func (m *MsgOverwriteRedemptionRecord) XXX_DiscardUnknown()

func (*MsgOverwriteRedemptionRecord) XXX_Marshal

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

func (*MsgOverwriteRedemptionRecord) XXX_Merge

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

func (*MsgOverwriteRedemptionRecord) XXX_Size

func (m *MsgOverwriteRedemptionRecord) XXX_Size() int

func (*MsgOverwriteRedemptionRecord) XXX_Unmarshal

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

type MsgOverwriteRedemptionRecordResponse

type MsgOverwriteRedemptionRecordResponse struct {
}

func (*MsgOverwriteRedemptionRecordResponse) Descriptor

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

func (*MsgOverwriteRedemptionRecordResponse) Marshal

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

func (*MsgOverwriteRedemptionRecordResponse) MarshalTo

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

func (*MsgOverwriteRedemptionRecordResponse) MarshalToSizedBuffer

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

func (*MsgOverwriteRedemptionRecordResponse) ProtoMessage

func (*MsgOverwriteRedemptionRecordResponse) ProtoMessage()

func (*MsgOverwriteRedemptionRecordResponse) Reset

func (*MsgOverwriteRedemptionRecordResponse) Size

func (*MsgOverwriteRedemptionRecordResponse) String

func (*MsgOverwriteRedemptionRecordResponse) Unmarshal

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

func (*MsgOverwriteRedemptionRecordResponse) XXX_DiscardUnknown

func (m *MsgOverwriteRedemptionRecordResponse) XXX_DiscardUnknown()

func (*MsgOverwriteRedemptionRecordResponse) XXX_Marshal

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

func (*MsgOverwriteRedemptionRecordResponse) XXX_Merge

func (*MsgOverwriteRedemptionRecordResponse) XXX_Size

func (*MsgOverwriteRedemptionRecordResponse) XXX_Unmarshal

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

type MsgOverwriteUnbondingRecord

type MsgOverwriteUnbondingRecord struct {
	Creator         string           `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	UnbondingRecord *UnbondingRecord `protobuf:"bytes,2,opt,name=unbonding_record,json=unbondingRecord,proto3" json:"unbonding_record,omitempty"`
}

OverwriteUnbondingRecord

func NewMsgOverwriteUnbondingRecord

func NewMsgOverwriteUnbondingRecord(creator string, unbondingRecord UnbondingRecord) *MsgOverwriteUnbondingRecord

func (*MsgOverwriteUnbondingRecord) Descriptor

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

func (*MsgOverwriteUnbondingRecord) GetCreator

func (m *MsgOverwriteUnbondingRecord) GetCreator() string

func (*MsgOverwriteUnbondingRecord) GetSignBytes

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

func (*MsgOverwriteUnbondingRecord) GetSigners

func (msg *MsgOverwriteUnbondingRecord) GetSigners() []sdk.AccAddress

func (*MsgOverwriteUnbondingRecord) GetUnbondingRecord

func (m *MsgOverwriteUnbondingRecord) GetUnbondingRecord() *UnbondingRecord

func (*MsgOverwriteUnbondingRecord) Marshal

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

func (*MsgOverwriteUnbondingRecord) MarshalTo

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

func (*MsgOverwriteUnbondingRecord) MarshalToSizedBuffer

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

func (*MsgOverwriteUnbondingRecord) ProtoMessage

func (*MsgOverwriteUnbondingRecord) ProtoMessage()

func (*MsgOverwriteUnbondingRecord) Reset

func (m *MsgOverwriteUnbondingRecord) Reset()

func (MsgOverwriteUnbondingRecord) Route

func (msg MsgOverwriteUnbondingRecord) Route() string

func (*MsgOverwriteUnbondingRecord) Size

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

func (*MsgOverwriteUnbondingRecord) String

func (m *MsgOverwriteUnbondingRecord) String() string

func (MsgOverwriteUnbondingRecord) Type

func (*MsgOverwriteUnbondingRecord) Unmarshal

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

func (*MsgOverwriteUnbondingRecord) ValidateBasic

func (msg *MsgOverwriteUnbondingRecord) ValidateBasic() error

func (*MsgOverwriteUnbondingRecord) XXX_DiscardUnknown

func (m *MsgOverwriteUnbondingRecord) XXX_DiscardUnknown()

func (*MsgOverwriteUnbondingRecord) XXX_Marshal

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

func (*MsgOverwriteUnbondingRecord) XXX_Merge

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

func (*MsgOverwriteUnbondingRecord) XXX_Size

func (m *MsgOverwriteUnbondingRecord) XXX_Size() int

func (*MsgOverwriteUnbondingRecord) XXX_Unmarshal

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

type MsgOverwriteUnbondingRecordResponse

type MsgOverwriteUnbondingRecordResponse struct {
}

func (*MsgOverwriteUnbondingRecordResponse) Descriptor

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

func (*MsgOverwriteUnbondingRecordResponse) Marshal

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

func (*MsgOverwriteUnbondingRecordResponse) MarshalTo

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

func (*MsgOverwriteUnbondingRecordResponse) MarshalToSizedBuffer

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

func (*MsgOverwriteUnbondingRecordResponse) ProtoMessage

func (*MsgOverwriteUnbondingRecordResponse) ProtoMessage()

func (*MsgOverwriteUnbondingRecordResponse) Reset

func (*MsgOverwriteUnbondingRecordResponse) Size

func (*MsgOverwriteUnbondingRecordResponse) String

func (*MsgOverwriteUnbondingRecordResponse) Unmarshal

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

func (*MsgOverwriteUnbondingRecordResponse) XXX_DiscardUnknown

func (m *MsgOverwriteUnbondingRecordResponse) XXX_DiscardUnknown()

func (*MsgOverwriteUnbondingRecordResponse) XXX_Marshal

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

func (*MsgOverwriteUnbondingRecordResponse) XXX_Merge

func (*MsgOverwriteUnbondingRecordResponse) XXX_Size

func (*MsgOverwriteUnbondingRecordResponse) XXX_Unmarshal

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

type MsgRedeemStake

type MsgRedeemStake struct {
	Redeemer      string                                 `protobuf:"bytes,1,opt,name=redeemer,proto3" json:"redeemer,omitempty"`
	StTokenAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
}

RedeemStake

func NewMsgRedeemStake

func NewMsgRedeemStake(redeemer string, stTokenAmount sdkmath.Int) *MsgRedeemStake

func (*MsgRedeemStake) Descriptor

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

func (*MsgRedeemStake) GetRedeemer

func (m *MsgRedeemStake) GetRedeemer() string

func (*MsgRedeemStake) GetSignBytes

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

func (*MsgRedeemStake) GetSigners

func (msg *MsgRedeemStake) GetSigners() []sdk.AccAddress

func (*MsgRedeemStake) Marshal

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

func (*MsgRedeemStake) MarshalTo

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

func (*MsgRedeemStake) MarshalToSizedBuffer

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

func (*MsgRedeemStake) ProtoMessage

func (*MsgRedeemStake) ProtoMessage()

func (*MsgRedeemStake) Reset

func (m *MsgRedeemStake) Reset()

func (MsgRedeemStake) Route

func (msg MsgRedeemStake) Route() string

func (*MsgRedeemStake) Size

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

func (*MsgRedeemStake) String

func (m *MsgRedeemStake) String() string

func (MsgRedeemStake) Type

func (msg MsgRedeemStake) Type() string

func (*MsgRedeemStake) Unmarshal

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

func (*MsgRedeemStake) ValidateBasic

func (msg *MsgRedeemStake) ValidateBasic() error

func (*MsgRedeemStake) XXX_DiscardUnknown

func (m *MsgRedeemStake) XXX_DiscardUnknown()

func (*MsgRedeemStake) XXX_Marshal

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

func (*MsgRedeemStake) XXX_Merge

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

func (*MsgRedeemStake) XXX_Size

func (m *MsgRedeemStake) XXX_Size() int

func (*MsgRedeemStake) XXX_Unmarshal

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

type MsgRedeemStakeResponse

type MsgRedeemStakeResponse struct {
	NativeToken types.Coin `` /* 138-byte string literal not displayed */
}

func (*MsgRedeemStakeResponse) Descriptor

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

func (*MsgRedeemStakeResponse) GetNativeToken

func (m *MsgRedeemStakeResponse) GetNativeToken() types.Coin

func (*MsgRedeemStakeResponse) Marshal

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

func (*MsgRedeemStakeResponse) MarshalTo

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

func (*MsgRedeemStakeResponse) MarshalToSizedBuffer

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

func (*MsgRedeemStakeResponse) ProtoMessage

func (*MsgRedeemStakeResponse) ProtoMessage()

func (*MsgRedeemStakeResponse) Reset

func (m *MsgRedeemStakeResponse) Reset()

func (*MsgRedeemStakeResponse) Size

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

func (*MsgRedeemStakeResponse) String

func (m *MsgRedeemStakeResponse) String() string

func (*MsgRedeemStakeResponse) Unmarshal

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

func (*MsgRedeemStakeResponse) XXX_DiscardUnknown

func (m *MsgRedeemStakeResponse) XXX_DiscardUnknown()

func (*MsgRedeemStakeResponse) XXX_Marshal

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

func (*MsgRedeemStakeResponse) XXX_Merge

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

func (*MsgRedeemStakeResponse) XXX_Size

func (m *MsgRedeemStakeResponse) XXX_Size() int

func (*MsgRedeemStakeResponse) XXX_Unmarshal

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

type MsgRefreshRedemptionRate

type MsgRefreshRedemptionRate struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}

RefreshRedemptionRate

func NewMsgRefreshRedemptionRate

func NewMsgRefreshRedemptionRate(creator string) *MsgRefreshRedemptionRate

func (*MsgRefreshRedemptionRate) Descriptor

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

func (*MsgRefreshRedemptionRate) GetCreator

func (m *MsgRefreshRedemptionRate) GetCreator() string

func (*MsgRefreshRedemptionRate) GetSignBytes

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

func (*MsgRefreshRedemptionRate) GetSigners

func (msg *MsgRefreshRedemptionRate) GetSigners() []sdk.AccAddress

func (*MsgRefreshRedemptionRate) Marshal

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

func (*MsgRefreshRedemptionRate) MarshalTo

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

func (*MsgRefreshRedemptionRate) MarshalToSizedBuffer

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

func (*MsgRefreshRedemptionRate) ProtoMessage

func (*MsgRefreshRedemptionRate) ProtoMessage()

func (*MsgRefreshRedemptionRate) Reset

func (m *MsgRefreshRedemptionRate) Reset()

func (MsgRefreshRedemptionRate) Route

func (msg MsgRefreshRedemptionRate) Route() string

func (*MsgRefreshRedemptionRate) Size

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

func (*MsgRefreshRedemptionRate) String

func (m *MsgRefreshRedemptionRate) String() string

func (MsgRefreshRedemptionRate) Type

func (msg MsgRefreshRedemptionRate) Type() string

func (*MsgRefreshRedemptionRate) Unmarshal

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

func (*MsgRefreshRedemptionRate) ValidateBasic

func (msg *MsgRefreshRedemptionRate) ValidateBasic() error

func (*MsgRefreshRedemptionRate) XXX_DiscardUnknown

func (m *MsgRefreshRedemptionRate) XXX_DiscardUnknown()

func (*MsgRefreshRedemptionRate) XXX_Marshal

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

func (*MsgRefreshRedemptionRate) XXX_Merge

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

func (*MsgRefreshRedemptionRate) XXX_Size

func (m *MsgRefreshRedemptionRate) XXX_Size() int

func (*MsgRefreshRedemptionRate) XXX_Unmarshal

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

type MsgRefreshRedemptionRateResponse

type MsgRefreshRedemptionRateResponse struct {
}

func (*MsgRefreshRedemptionRateResponse) Descriptor

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

func (*MsgRefreshRedemptionRateResponse) Marshal

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

func (*MsgRefreshRedemptionRateResponse) MarshalTo

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

func (*MsgRefreshRedemptionRateResponse) MarshalToSizedBuffer

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

func (*MsgRefreshRedemptionRateResponse) ProtoMessage

func (*MsgRefreshRedemptionRateResponse) ProtoMessage()

func (*MsgRefreshRedemptionRateResponse) Reset

func (*MsgRefreshRedemptionRateResponse) Size

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

func (*MsgRefreshRedemptionRateResponse) String

func (*MsgRefreshRedemptionRateResponse) Unmarshal

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

func (*MsgRefreshRedemptionRateResponse) XXX_DiscardUnknown

func (m *MsgRefreshRedemptionRateResponse) XXX_DiscardUnknown()

func (*MsgRefreshRedemptionRateResponse) XXX_Marshal

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

func (*MsgRefreshRedemptionRateResponse) XXX_Merge

func (*MsgRefreshRedemptionRateResponse) XXX_Size

func (m *MsgRefreshRedemptionRateResponse) XXX_Size() int

func (*MsgRefreshRedemptionRateResponse) XXX_Unmarshal

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

type MsgResumeHostZone

type MsgResumeHostZone struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}

ResumeHostZone

func NewMsgResumeHostZone

func NewMsgResumeHostZone(creator string) *MsgResumeHostZone

func (*MsgResumeHostZone) Descriptor

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

func (*MsgResumeHostZone) GetCreator

func (m *MsgResumeHostZone) GetCreator() string

func (*MsgResumeHostZone) GetSignBytes

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

func (*MsgResumeHostZone) GetSigners

func (msg *MsgResumeHostZone) GetSigners() []sdk.AccAddress

func (*MsgResumeHostZone) Marshal

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

func (*MsgResumeHostZone) MarshalTo

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

func (*MsgResumeHostZone) MarshalToSizedBuffer

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

func (*MsgResumeHostZone) ProtoMessage

func (*MsgResumeHostZone) ProtoMessage()

func (*MsgResumeHostZone) Reset

func (m *MsgResumeHostZone) Reset()

func (MsgResumeHostZone) Route

func (msg MsgResumeHostZone) Route() string

func (*MsgResumeHostZone) Size

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

func (*MsgResumeHostZone) String

func (m *MsgResumeHostZone) String() string

func (MsgResumeHostZone) Type

func (msg MsgResumeHostZone) Type() string

func (*MsgResumeHostZone) Unmarshal

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

func (*MsgResumeHostZone) ValidateBasic

func (msg *MsgResumeHostZone) ValidateBasic() error

func (*MsgResumeHostZone) XXX_DiscardUnknown

func (m *MsgResumeHostZone) XXX_DiscardUnknown()

func (*MsgResumeHostZone) XXX_Marshal

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

func (*MsgResumeHostZone) XXX_Merge

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

func (*MsgResumeHostZone) XXX_Size

func (m *MsgResumeHostZone) XXX_Size() int

func (*MsgResumeHostZone) XXX_Unmarshal

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

type MsgResumeHostZoneResponse

type MsgResumeHostZoneResponse struct {
}

func (*MsgResumeHostZoneResponse) Descriptor

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

func (*MsgResumeHostZoneResponse) Marshal

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

func (*MsgResumeHostZoneResponse) MarshalTo

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

func (*MsgResumeHostZoneResponse) MarshalToSizedBuffer

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

func (*MsgResumeHostZoneResponse) ProtoMessage

func (*MsgResumeHostZoneResponse) ProtoMessage()

func (*MsgResumeHostZoneResponse) Reset

func (m *MsgResumeHostZoneResponse) Reset()

func (*MsgResumeHostZoneResponse) Size

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

func (*MsgResumeHostZoneResponse) String

func (m *MsgResumeHostZoneResponse) String() string

func (*MsgResumeHostZoneResponse) Unmarshal

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

func (*MsgResumeHostZoneResponse) XXX_DiscardUnknown

func (m *MsgResumeHostZoneResponse) XXX_DiscardUnknown()

func (*MsgResumeHostZoneResponse) XXX_Marshal

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

func (*MsgResumeHostZoneResponse) XXX_Merge

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

func (*MsgResumeHostZoneResponse) XXX_Size

func (m *MsgResumeHostZoneResponse) XXX_Size() int

func (*MsgResumeHostZoneResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// User transaction to liquid stake native tokens into stTokens
	LiquidStake(context.Context, *MsgLiquidStake) (*MsgLiquidStakeResponse, error)
	// User transaction to redeem stake stTokens into native tokens
	RedeemStake(context.Context, *MsgRedeemStake) (*MsgRedeemStakeResponse, error)
	// Operator transaction to confirm a delegation was submitted
	// on the host chain
	ConfirmDelegation(context.Context, *MsgConfirmDelegation) (*MsgConfirmDelegationResponse, error)
	// Operator transaction to confirm an undelegation was submitted
	// on the host chain
	ConfirmUndelegation(context.Context, *MsgConfirmUndelegation) (*MsgConfirmUndelegationResponse, error)
	// Operator transaction to confirm unbonded tokens were transferred back to
	// stride
	ConfirmUnbondedTokenSweep(context.Context, *MsgConfirmUnbondedTokenSweep) (*MsgConfirmUnbondedTokenSweepResponse, error)
	// Operator transaction to adjust the delegated balance after a validator was
	// slashed
	AdjustDelegatedBalance(context.Context, *MsgAdjustDelegatedBalance) (*MsgAdjustDelegatedBalanceResponse, error)
	// Adjusts the inner redemption rate bounds on the host zone
	UpdateInnerRedemptionRateBounds(context.Context, *MsgUpdateInnerRedemptionRateBounds) (*MsgUpdateInnerRedemptionRateBoundsResponse, error)
	// Unhalts the host zone if redemption rates were exceeded
	ResumeHostZone(context.Context, *MsgResumeHostZone) (*MsgResumeHostZoneResponse, error)
	// Trigger updating the redemption rate
	RefreshRedemptionRate(context.Context, *MsgRefreshRedemptionRate) (*MsgRefreshRedemptionRateResponse, error)
	// Overwrites a delegation record
	OverwriteDelegationRecord(context.Context, *MsgOverwriteDelegationRecord) (*MsgOverwriteDelegationRecordResponse, error)
	// Overwrites a unbonding record
	OverwriteUnbondingRecord(context.Context, *MsgOverwriteUnbondingRecord) (*MsgOverwriteUnbondingRecordResponse, error)
	// Overwrites a redemption record
	OverwriteRedemptionRecord(context.Context, *MsgOverwriteRedemptionRecord) (*MsgOverwriteRedemptionRecordResponse, error)
	// Sets the operator address
	SetOperatorAddress(context.Context, *MsgSetOperatorAddress) (*MsgSetOperatorAddressResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetOperatorAddress

type MsgSetOperatorAddress struct {
	Signer   string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
}

SetOperatorAddress

func NewMsgSetOperatorAddress

func NewMsgSetOperatorAddress(signer string, operator string) *MsgSetOperatorAddress

func (*MsgSetOperatorAddress) Descriptor

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

func (*MsgSetOperatorAddress) GetOperator

func (m *MsgSetOperatorAddress) GetOperator() string

func (*MsgSetOperatorAddress) GetSignBytes

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

func (*MsgSetOperatorAddress) GetSigner

func (m *MsgSetOperatorAddress) GetSigner() string

func (*MsgSetOperatorAddress) GetSigners

func (msg *MsgSetOperatorAddress) GetSigners() []sdk.AccAddress

func (*MsgSetOperatorAddress) Marshal

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

func (*MsgSetOperatorAddress) MarshalTo

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

func (*MsgSetOperatorAddress) MarshalToSizedBuffer

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

func (*MsgSetOperatorAddress) ProtoMessage

func (*MsgSetOperatorAddress) ProtoMessage()

func (*MsgSetOperatorAddress) Reset

func (m *MsgSetOperatorAddress) Reset()

func (MsgSetOperatorAddress) Route

func (msg MsgSetOperatorAddress) Route() string

func (*MsgSetOperatorAddress) Size

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

func (*MsgSetOperatorAddress) String

func (m *MsgSetOperatorAddress) String() string

func (MsgSetOperatorAddress) Type

func (msg MsgSetOperatorAddress) Type() string

func (*MsgSetOperatorAddress) Unmarshal

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

func (*MsgSetOperatorAddress) ValidateBasic

func (msg *MsgSetOperatorAddress) ValidateBasic() error

func (*MsgSetOperatorAddress) XXX_DiscardUnknown

func (m *MsgSetOperatorAddress) XXX_DiscardUnknown()

func (*MsgSetOperatorAddress) XXX_Marshal

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

func (*MsgSetOperatorAddress) XXX_Merge

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

func (*MsgSetOperatorAddress) XXX_Size

func (m *MsgSetOperatorAddress) XXX_Size() int

func (*MsgSetOperatorAddress) XXX_Unmarshal

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

type MsgSetOperatorAddressResponse

type MsgSetOperatorAddressResponse struct {
}

func (*MsgSetOperatorAddressResponse) Descriptor

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

func (*MsgSetOperatorAddressResponse) Marshal

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

func (*MsgSetOperatorAddressResponse) MarshalTo

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

func (*MsgSetOperatorAddressResponse) MarshalToSizedBuffer

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

func (*MsgSetOperatorAddressResponse) ProtoMessage

func (*MsgSetOperatorAddressResponse) ProtoMessage()

func (*MsgSetOperatorAddressResponse) Reset

func (m *MsgSetOperatorAddressResponse) Reset()

func (*MsgSetOperatorAddressResponse) Size

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

func (*MsgSetOperatorAddressResponse) String

func (*MsgSetOperatorAddressResponse) Unmarshal

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

func (*MsgSetOperatorAddressResponse) XXX_DiscardUnknown

func (m *MsgSetOperatorAddressResponse) XXX_DiscardUnknown()

func (*MsgSetOperatorAddressResponse) XXX_Marshal

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

func (*MsgSetOperatorAddressResponse) XXX_Merge

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

func (*MsgSetOperatorAddressResponse) XXX_Size

func (m *MsgSetOperatorAddressResponse) XXX_Size() int

func (*MsgSetOperatorAddressResponse) XXX_Unmarshal

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

type MsgUpdateInnerRedemptionRateBounds

type MsgUpdateInnerRedemptionRateBounds struct {
	Creator                string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	MinInnerRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 171-byte string literal not displayed */
	MaxInnerRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 171-byte string literal not displayed */
}

UpdateInnerRedemptionRate

func NewMsgUpdateInnerRedemptionRateBounds

func NewMsgUpdateInnerRedemptionRateBounds(creator string, minRedemptionRate, maxRedemptionRate sdk.Dec) *MsgUpdateInnerRedemptionRateBounds

func (*MsgUpdateInnerRedemptionRateBounds) Descriptor

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

func (*MsgUpdateInnerRedemptionRateBounds) GetCreator

func (*MsgUpdateInnerRedemptionRateBounds) GetSignBytes

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

func (*MsgUpdateInnerRedemptionRateBounds) GetSigners

func (*MsgUpdateInnerRedemptionRateBounds) Marshal

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

func (*MsgUpdateInnerRedemptionRateBounds) MarshalTo

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

func (*MsgUpdateInnerRedemptionRateBounds) MarshalToSizedBuffer

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

func (*MsgUpdateInnerRedemptionRateBounds) ProtoMessage

func (*MsgUpdateInnerRedemptionRateBounds) ProtoMessage()

func (*MsgUpdateInnerRedemptionRateBounds) Reset

func (MsgUpdateInnerRedemptionRateBounds) Route

func (*MsgUpdateInnerRedemptionRateBounds) Size

func (*MsgUpdateInnerRedemptionRateBounds) String

func (MsgUpdateInnerRedemptionRateBounds) Type

func (*MsgUpdateInnerRedemptionRateBounds) Unmarshal

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

func (*MsgUpdateInnerRedemptionRateBounds) ValidateBasic

func (msg *MsgUpdateInnerRedemptionRateBounds) ValidateBasic() error

func (*MsgUpdateInnerRedemptionRateBounds) XXX_DiscardUnknown

func (m *MsgUpdateInnerRedemptionRateBounds) XXX_DiscardUnknown()

func (*MsgUpdateInnerRedemptionRateBounds) XXX_Marshal

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

func (*MsgUpdateInnerRedemptionRateBounds) XXX_Merge

func (*MsgUpdateInnerRedemptionRateBounds) XXX_Size

func (*MsgUpdateInnerRedemptionRateBounds) XXX_Unmarshal

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

type MsgUpdateInnerRedemptionRateBoundsResponse

type MsgUpdateInnerRedemptionRateBoundsResponse struct {
}

func (*MsgUpdateInnerRedemptionRateBoundsResponse) Descriptor

func (*MsgUpdateInnerRedemptionRateBoundsResponse) Marshal

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

func (*MsgUpdateInnerRedemptionRateBoundsResponse) MarshalTo

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

func (*MsgUpdateInnerRedemptionRateBoundsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateInnerRedemptionRateBoundsResponse) ProtoMessage

func (*MsgUpdateInnerRedemptionRateBoundsResponse) Reset

func (*MsgUpdateInnerRedemptionRateBoundsResponse) Size

func (*MsgUpdateInnerRedemptionRateBoundsResponse) String

func (*MsgUpdateInnerRedemptionRateBoundsResponse) Unmarshal

func (*MsgUpdateInnerRedemptionRateBoundsResponse) XXX_DiscardUnknown

func (m *MsgUpdateInnerRedemptionRateBoundsResponse) XXX_DiscardUnknown()

func (*MsgUpdateInnerRedemptionRateBoundsResponse) XXX_Marshal

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

func (*MsgUpdateInnerRedemptionRateBoundsResponse) XXX_Merge

func (*MsgUpdateInnerRedemptionRateBoundsResponse) XXX_Size

func (*MsgUpdateInnerRedemptionRateBoundsResponse) XXX_Unmarshal

type OverwritableRecordType

type OverwritableRecordType int32
const (
	RECORD_TYPE_DELEGATION OverwritableRecordType = 0
	RECORD_TYPE_UNBONDING  OverwritableRecordType = 1
	RECORD_TYPE_REDEMPTION OverwritableRecordType = 2
)

func (OverwritableRecordType) EnumDescriptor

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

func (OverwritableRecordType) String

func (x OverwritableRecordType) String() string

type Params

type Params struct {
}

Params defines the stakedym module parameters.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

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) 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 validates the set of 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 {
	// Queries the host zone struct
	HostZone(ctx context.Context, in *QueryHostZoneRequest, opts ...grpc.CallOption) (*QueryHostZoneResponse, error)
	// Queries the delegation records with an optional to include archived records
	// Ex:
	// - /delegation_records
	// - /delegation_records?include_archived=true
	DelegationRecords(ctx context.Context, in *QueryDelegationRecordsRequest, opts ...grpc.CallOption) (*QueryDelegationRecordsResponse, error)
	// Queries the unbonding records with an optional to include archived records
	// Ex:
	// - /unbonding_records
	// - /unbonding_records?include_archived=true
	UnbondingRecords(ctx context.Context, in *QueryUnbondingRecordsRequest, opts ...grpc.CallOption) (*QueryUnbondingRecordsResponse, error)
	// Queries a single user redemption record
	RedemptionRecord(ctx context.Context, in *QueryRedemptionRecordRequest, opts ...grpc.CallOption) (*QueryRedemptionRecordResponse, error)
	// Queries all redemption records with optional filters
	// Ex:
	// - /redemption_records
	// - /redemption_records?address=strideXXX
	// - /redemption_records?unbonding_record_id=100
	RedemptionRecords(ctx context.Context, in *QueryRedemptionRecordsRequest, opts ...grpc.CallOption) (*QueryRedemptionRecordsResponse, error)
	// Queries slash records
	SlashRecords(ctx context.Context, in *QuerySlashRecordsRequest, opts ...grpc.CallOption) (*QuerySlashRecordsResponse, 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 QueryDelegationRecordsRequest

type QueryDelegationRecordsRequest struct {
	IncludeArchived bool `protobuf:"varint,1,opt,name=include_archived,json=includeArchived,proto3" json:"include_archived,omitempty"`
}

All Delegation Records

func (*QueryDelegationRecordsRequest) Descriptor

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

func (*QueryDelegationRecordsRequest) GetIncludeArchived

func (m *QueryDelegationRecordsRequest) GetIncludeArchived() bool

func (*QueryDelegationRecordsRequest) Marshal

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

func (*QueryDelegationRecordsRequest) MarshalTo

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

func (*QueryDelegationRecordsRequest) MarshalToSizedBuffer

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

func (*QueryDelegationRecordsRequest) ProtoMessage

func (*QueryDelegationRecordsRequest) ProtoMessage()

func (*QueryDelegationRecordsRequest) Reset

func (m *QueryDelegationRecordsRequest) Reset()

func (*QueryDelegationRecordsRequest) Size

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

func (*QueryDelegationRecordsRequest) String

func (*QueryDelegationRecordsRequest) Unmarshal

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

func (*QueryDelegationRecordsRequest) XXX_DiscardUnknown

func (m *QueryDelegationRecordsRequest) XXX_DiscardUnknown()

func (*QueryDelegationRecordsRequest) XXX_Marshal

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

func (*QueryDelegationRecordsRequest) XXX_Merge

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

func (*QueryDelegationRecordsRequest) XXX_Size

func (m *QueryDelegationRecordsRequest) XXX_Size() int

func (*QueryDelegationRecordsRequest) XXX_Unmarshal

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

type QueryDelegationRecordsResponse

type QueryDelegationRecordsResponse struct {
	DelegationRecords []DelegationRecord `protobuf:"bytes,1,rep,name=delegation_records,json=delegationRecords,proto3" json:"delegation_records"`
}

func (*QueryDelegationRecordsResponse) Descriptor

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

func (*QueryDelegationRecordsResponse) GetDelegationRecords

func (m *QueryDelegationRecordsResponse) GetDelegationRecords() []DelegationRecord

func (*QueryDelegationRecordsResponse) Marshal

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

func (*QueryDelegationRecordsResponse) MarshalTo

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

func (*QueryDelegationRecordsResponse) MarshalToSizedBuffer

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

func (*QueryDelegationRecordsResponse) ProtoMessage

func (*QueryDelegationRecordsResponse) ProtoMessage()

func (*QueryDelegationRecordsResponse) Reset

func (m *QueryDelegationRecordsResponse) Reset()

func (*QueryDelegationRecordsResponse) Size

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

func (*QueryDelegationRecordsResponse) String

func (*QueryDelegationRecordsResponse) Unmarshal

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

func (*QueryDelegationRecordsResponse) XXX_DiscardUnknown

func (m *QueryDelegationRecordsResponse) XXX_DiscardUnknown()

func (*QueryDelegationRecordsResponse) XXX_Marshal

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

func (*QueryDelegationRecordsResponse) XXX_Merge

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

func (*QueryDelegationRecordsResponse) XXX_Size

func (m *QueryDelegationRecordsResponse) XXX_Size() int

func (*QueryDelegationRecordsResponse) XXX_Unmarshal

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

type QueryHostZoneRequest

type QueryHostZoneRequest struct {
}

Host Zone

func (*QueryHostZoneRequest) Descriptor

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

func (*QueryHostZoneRequest) Marshal

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

func (*QueryHostZoneRequest) MarshalTo

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

func (*QueryHostZoneRequest) MarshalToSizedBuffer

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

func (*QueryHostZoneRequest) ProtoMessage

func (*QueryHostZoneRequest) ProtoMessage()

func (*QueryHostZoneRequest) Reset

func (m *QueryHostZoneRequest) Reset()

func (*QueryHostZoneRequest) Size

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

func (*QueryHostZoneRequest) String

func (m *QueryHostZoneRequest) String() string

func (*QueryHostZoneRequest) Unmarshal

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

func (*QueryHostZoneRequest) XXX_DiscardUnknown

func (m *QueryHostZoneRequest) XXX_DiscardUnknown()

func (*QueryHostZoneRequest) XXX_Marshal

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

func (*QueryHostZoneRequest) XXX_Merge

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

func (*QueryHostZoneRequest) XXX_Size

func (m *QueryHostZoneRequest) XXX_Size() int

func (*QueryHostZoneRequest) XXX_Unmarshal

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

type QueryHostZoneResponse

type QueryHostZoneResponse struct {
	HostZone *HostZone `protobuf:"bytes,1,opt,name=host_zone,json=hostZone,proto3" json:"host_zone,omitempty"`
}

func (*QueryHostZoneResponse) Descriptor

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

func (*QueryHostZoneResponse) GetHostZone

func (m *QueryHostZoneResponse) GetHostZone() *HostZone

func (*QueryHostZoneResponse) Marshal

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

func (*QueryHostZoneResponse) MarshalTo

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

func (*QueryHostZoneResponse) MarshalToSizedBuffer

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

func (*QueryHostZoneResponse) ProtoMessage

func (*QueryHostZoneResponse) ProtoMessage()

func (*QueryHostZoneResponse) Reset

func (m *QueryHostZoneResponse) Reset()

func (*QueryHostZoneResponse) Size

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

func (*QueryHostZoneResponse) String

func (m *QueryHostZoneResponse) String() string

func (*QueryHostZoneResponse) Unmarshal

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

func (*QueryHostZoneResponse) XXX_DiscardUnknown

func (m *QueryHostZoneResponse) XXX_DiscardUnknown()

func (*QueryHostZoneResponse) XXX_Marshal

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

func (*QueryHostZoneResponse) XXX_Merge

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

func (*QueryHostZoneResponse) XXX_Size

func (m *QueryHostZoneResponse) XXX_Size() int

func (*QueryHostZoneResponse) XXX_Unmarshal

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

type QueryRedemptionRecordRequest

type QueryRedemptionRecordRequest struct {
	UnbondingRecordId uint64 `protobuf:"varint,1,opt,name=unbonding_record_id,json=unbondingRecordId,proto3" json:"unbonding_record_id,omitempty"`
	Address           string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

Single Redemption Record

func (*QueryRedemptionRecordRequest) Descriptor

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

func (*QueryRedemptionRecordRequest) GetAddress

func (m *QueryRedemptionRecordRequest) GetAddress() string

func (*QueryRedemptionRecordRequest) GetUnbondingRecordId

func (m *QueryRedemptionRecordRequest) GetUnbondingRecordId() uint64

func (*QueryRedemptionRecordRequest) Marshal

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

func (*QueryRedemptionRecordRequest) MarshalTo

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

func (*QueryRedemptionRecordRequest) MarshalToSizedBuffer

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

func (*QueryRedemptionRecordRequest) ProtoMessage

func (*QueryRedemptionRecordRequest) ProtoMessage()

func (*QueryRedemptionRecordRequest) Reset

func (m *QueryRedemptionRecordRequest) Reset()

func (*QueryRedemptionRecordRequest) Size

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

func (*QueryRedemptionRecordRequest) String

func (*QueryRedemptionRecordRequest) Unmarshal

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

func (*QueryRedemptionRecordRequest) XXX_DiscardUnknown

func (m *QueryRedemptionRecordRequest) XXX_DiscardUnknown()

func (*QueryRedemptionRecordRequest) XXX_Marshal

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

func (*QueryRedemptionRecordRequest) XXX_Merge

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

func (*QueryRedemptionRecordRequest) XXX_Size

func (m *QueryRedemptionRecordRequest) XXX_Size() int

func (*QueryRedemptionRecordRequest) XXX_Unmarshal

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

type QueryRedemptionRecordResponse

type QueryRedemptionRecordResponse struct {
	RedemptionRecordResponse *RedemptionRecordResponse `` /* 135-byte string literal not displayed */
}

func (*QueryRedemptionRecordResponse) Descriptor

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

func (*QueryRedemptionRecordResponse) GetRedemptionRecordResponse

func (m *QueryRedemptionRecordResponse) GetRedemptionRecordResponse() *RedemptionRecordResponse

func (*QueryRedemptionRecordResponse) Marshal

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

func (*QueryRedemptionRecordResponse) MarshalTo

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

func (*QueryRedemptionRecordResponse) MarshalToSizedBuffer

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

func (*QueryRedemptionRecordResponse) ProtoMessage

func (*QueryRedemptionRecordResponse) ProtoMessage()

func (*QueryRedemptionRecordResponse) Reset

func (m *QueryRedemptionRecordResponse) Reset()

func (*QueryRedemptionRecordResponse) Size

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

func (*QueryRedemptionRecordResponse) String

func (*QueryRedemptionRecordResponse) Unmarshal

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

func (*QueryRedemptionRecordResponse) XXX_DiscardUnknown

func (m *QueryRedemptionRecordResponse) XXX_DiscardUnknown()

func (*QueryRedemptionRecordResponse) XXX_Marshal

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

func (*QueryRedemptionRecordResponse) XXX_Merge

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

func (*QueryRedemptionRecordResponse) XXX_Size

func (m *QueryRedemptionRecordResponse) XXX_Size() int

func (*QueryRedemptionRecordResponse) XXX_Unmarshal

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

type QueryRedemptionRecordsRequest

type QueryRedemptionRecordsRequest struct {
	Address           string             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	UnbondingRecordId uint64             `protobuf:"varint,2,opt,name=unbonding_record_id,json=unbondingRecordId,proto3" json:"unbonding_record_id,omitempty"`
	Pagination        *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

All Redemption Records

func (*QueryRedemptionRecordsRequest) Descriptor

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

func (*QueryRedemptionRecordsRequest) GetAddress

func (m *QueryRedemptionRecordsRequest) GetAddress() string

func (*QueryRedemptionRecordsRequest) GetPagination

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

func (*QueryRedemptionRecordsRequest) GetUnbondingRecordId

func (m *QueryRedemptionRecordsRequest) GetUnbondingRecordId() uint64

func (*QueryRedemptionRecordsRequest) Marshal

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

func (*QueryRedemptionRecordsRequest) MarshalTo

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

func (*QueryRedemptionRecordsRequest) MarshalToSizedBuffer

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

func (*QueryRedemptionRecordsRequest) ProtoMessage

func (*QueryRedemptionRecordsRequest) ProtoMessage()

func (*QueryRedemptionRecordsRequest) Reset

func (m *QueryRedemptionRecordsRequest) Reset()

func (*QueryRedemptionRecordsRequest) Size

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

func (*QueryRedemptionRecordsRequest) String

func (*QueryRedemptionRecordsRequest) Unmarshal

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

func (*QueryRedemptionRecordsRequest) XXX_DiscardUnknown

func (m *QueryRedemptionRecordsRequest) XXX_DiscardUnknown()

func (*QueryRedemptionRecordsRequest) XXX_Marshal

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

func (*QueryRedemptionRecordsRequest) XXX_Merge

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

func (*QueryRedemptionRecordsRequest) XXX_Size

func (m *QueryRedemptionRecordsRequest) XXX_Size() int

func (*QueryRedemptionRecordsRequest) XXX_Unmarshal

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

type QueryRedemptionRecordsResponse

type QueryRedemptionRecordsResponse struct {
	RedemptionRecordResponses []RedemptionRecordResponse `` /* 128-byte string literal not displayed */
	Pagination                *query.PageResponse        `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryRedemptionRecordsResponse) Descriptor

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

func (*QueryRedemptionRecordsResponse) GetPagination

func (*QueryRedemptionRecordsResponse) GetRedemptionRecordResponses

func (m *QueryRedemptionRecordsResponse) GetRedemptionRecordResponses() []RedemptionRecordResponse

func (*QueryRedemptionRecordsResponse) Marshal

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

func (*QueryRedemptionRecordsResponse) MarshalTo

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

func (*QueryRedemptionRecordsResponse) MarshalToSizedBuffer

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

func (*QueryRedemptionRecordsResponse) ProtoMessage

func (*QueryRedemptionRecordsResponse) ProtoMessage()

func (*QueryRedemptionRecordsResponse) Reset

func (m *QueryRedemptionRecordsResponse) Reset()

func (*QueryRedemptionRecordsResponse) Size

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

func (*QueryRedemptionRecordsResponse) String

func (*QueryRedemptionRecordsResponse) Unmarshal

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

func (*QueryRedemptionRecordsResponse) XXX_DiscardUnknown

func (m *QueryRedemptionRecordsResponse) XXX_DiscardUnknown()

func (*QueryRedemptionRecordsResponse) XXX_Marshal

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

func (*QueryRedemptionRecordsResponse) XXX_Merge

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

func (*QueryRedemptionRecordsResponse) XXX_Size

func (m *QueryRedemptionRecordsResponse) XXX_Size() int

func (*QueryRedemptionRecordsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Queries the host zone struct
	HostZone(context.Context, *QueryHostZoneRequest) (*QueryHostZoneResponse, error)
	// Queries the delegation records with an optional to include archived records
	// Ex:
	// - /delegation_records
	// - /delegation_records?include_archived=true
	DelegationRecords(context.Context, *QueryDelegationRecordsRequest) (*QueryDelegationRecordsResponse, error)
	// Queries the unbonding records with an optional to include archived records
	// Ex:
	// - /unbonding_records
	// - /unbonding_records?include_archived=true
	UnbondingRecords(context.Context, *QueryUnbondingRecordsRequest) (*QueryUnbondingRecordsResponse, error)
	// Queries a single user redemption record
	RedemptionRecord(context.Context, *QueryRedemptionRecordRequest) (*QueryRedemptionRecordResponse, error)
	// Queries all redemption records with optional filters
	// Ex:
	// - /redemption_records
	// - /redemption_records?address=strideXXX
	// - /redemption_records?unbonding_record_id=100
	RedemptionRecords(context.Context, *QueryRedemptionRecordsRequest) (*QueryRedemptionRecordsResponse, error)
	// Queries slash records
	SlashRecords(context.Context, *QuerySlashRecordsRequest) (*QuerySlashRecordsResponse, error)
}

QueryServer is the server API for Query service.

type QuerySlashRecordsRequest

type QuerySlashRecordsRequest struct {
}

All Slash Records

func (*QuerySlashRecordsRequest) Descriptor

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

func (*QuerySlashRecordsRequest) Marshal

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

func (*QuerySlashRecordsRequest) MarshalTo

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

func (*QuerySlashRecordsRequest) MarshalToSizedBuffer

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

func (*QuerySlashRecordsRequest) ProtoMessage

func (*QuerySlashRecordsRequest) ProtoMessage()

func (*QuerySlashRecordsRequest) Reset

func (m *QuerySlashRecordsRequest) Reset()

func (*QuerySlashRecordsRequest) Size

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

func (*QuerySlashRecordsRequest) String

func (m *QuerySlashRecordsRequest) String() string

func (*QuerySlashRecordsRequest) Unmarshal

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

func (*QuerySlashRecordsRequest) XXX_DiscardUnknown

func (m *QuerySlashRecordsRequest) XXX_DiscardUnknown()

func (*QuerySlashRecordsRequest) XXX_Marshal

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

func (*QuerySlashRecordsRequest) XXX_Merge

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

func (*QuerySlashRecordsRequest) XXX_Size

func (m *QuerySlashRecordsRequest) XXX_Size() int

func (*QuerySlashRecordsRequest) XXX_Unmarshal

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

type QuerySlashRecordsResponse

type QuerySlashRecordsResponse struct {
	SlashRecords []SlashRecord `protobuf:"bytes,1,rep,name=slash_records,json=slashRecords,proto3" json:"slash_records"`
}

func (*QuerySlashRecordsResponse) Descriptor

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

func (*QuerySlashRecordsResponse) GetSlashRecords

func (m *QuerySlashRecordsResponse) GetSlashRecords() []SlashRecord

func (*QuerySlashRecordsResponse) Marshal

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

func (*QuerySlashRecordsResponse) MarshalTo

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

func (*QuerySlashRecordsResponse) MarshalToSizedBuffer

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

func (*QuerySlashRecordsResponse) ProtoMessage

func (*QuerySlashRecordsResponse) ProtoMessage()

func (*QuerySlashRecordsResponse) Reset

func (m *QuerySlashRecordsResponse) Reset()

func (*QuerySlashRecordsResponse) Size

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

func (*QuerySlashRecordsResponse) String

func (m *QuerySlashRecordsResponse) String() string

func (*QuerySlashRecordsResponse) Unmarshal

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

func (*QuerySlashRecordsResponse) XXX_DiscardUnknown

func (m *QuerySlashRecordsResponse) XXX_DiscardUnknown()

func (*QuerySlashRecordsResponse) XXX_Marshal

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

func (*QuerySlashRecordsResponse) XXX_Merge

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

func (*QuerySlashRecordsResponse) XXX_Size

func (m *QuerySlashRecordsResponse) XXX_Size() int

func (*QuerySlashRecordsResponse) XXX_Unmarshal

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

type QueryUnbondingRecordsRequest

type QueryUnbondingRecordsRequest struct {
	IncludeArchived bool `protobuf:"varint,1,opt,name=include_archived,json=includeArchived,proto3" json:"include_archived,omitempty"`
}

All Unbonding Records

func (*QueryUnbondingRecordsRequest) Descriptor

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

func (*QueryUnbondingRecordsRequest) GetIncludeArchived

func (m *QueryUnbondingRecordsRequest) GetIncludeArchived() bool

func (*QueryUnbondingRecordsRequest) Marshal

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

func (*QueryUnbondingRecordsRequest) MarshalTo

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

func (*QueryUnbondingRecordsRequest) MarshalToSizedBuffer

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

func (*QueryUnbondingRecordsRequest) ProtoMessage

func (*QueryUnbondingRecordsRequest) ProtoMessage()

func (*QueryUnbondingRecordsRequest) Reset

func (m *QueryUnbondingRecordsRequest) Reset()

func (*QueryUnbondingRecordsRequest) Size

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

func (*QueryUnbondingRecordsRequest) String

func (*QueryUnbondingRecordsRequest) Unmarshal

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

func (*QueryUnbondingRecordsRequest) XXX_DiscardUnknown

func (m *QueryUnbondingRecordsRequest) XXX_DiscardUnknown()

func (*QueryUnbondingRecordsRequest) XXX_Marshal

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

func (*QueryUnbondingRecordsRequest) XXX_Merge

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

func (*QueryUnbondingRecordsRequest) XXX_Size

func (m *QueryUnbondingRecordsRequest) XXX_Size() int

func (*QueryUnbondingRecordsRequest) XXX_Unmarshal

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

type QueryUnbondingRecordsResponse

type QueryUnbondingRecordsResponse struct {
	UnbondingRecords []UnbondingRecord `protobuf:"bytes,1,rep,name=unbonding_records,json=unbondingRecords,proto3" json:"unbonding_records"`
}

func (*QueryUnbondingRecordsResponse) Descriptor

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

func (*QueryUnbondingRecordsResponse) GetUnbondingRecords

func (m *QueryUnbondingRecordsResponse) GetUnbondingRecords() []UnbondingRecord

func (*QueryUnbondingRecordsResponse) Marshal

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

func (*QueryUnbondingRecordsResponse) MarshalTo

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

func (*QueryUnbondingRecordsResponse) MarshalToSizedBuffer

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

func (*QueryUnbondingRecordsResponse) ProtoMessage

func (*QueryUnbondingRecordsResponse) ProtoMessage()

func (*QueryUnbondingRecordsResponse) Reset

func (m *QueryUnbondingRecordsResponse) Reset()

func (*QueryUnbondingRecordsResponse) Size

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

func (*QueryUnbondingRecordsResponse) String

func (*QueryUnbondingRecordsResponse) Unmarshal

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

func (*QueryUnbondingRecordsResponse) XXX_DiscardUnknown

func (m *QueryUnbondingRecordsResponse) XXX_DiscardUnknown()

func (*QueryUnbondingRecordsResponse) XXX_Marshal

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

func (*QueryUnbondingRecordsResponse) XXX_Merge

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

func (*QueryUnbondingRecordsResponse) XXX_Size

func (m *QueryUnbondingRecordsResponse) XXX_Size() int

func (*QueryUnbondingRecordsResponse) XXX_Unmarshal

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

type RatelimitKeeper

type RatelimitKeeper interface {
	AddDenomToBlacklist(ctx sdk.Context, denom string)
	RemoveDenomFromBlacklist(ctx sdk.Context, denom string)
}

Required RatelimitKeeper functions

type RedemptionRecord

type RedemptionRecord struct {
	// Unbonding record ID
	UnbondingRecordId uint64 `protobuf:"varint,1,opt,name=unbonding_record_id,json=unbondingRecordId,proto3" json:"unbonding_record_id,omitempty"`
	// Redeemer
	Redeemer string `protobuf:"bytes,2,opt,name=redeemer,proto3" json:"redeemer,omitempty"`
	// The amount of stTokens that were redeemed
	StTokenAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
	// The corresponding amount of native tokens that should be unbonded
	NativeAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */
}

RedemptionRecords track an individual user's redemption claims

func (*RedemptionRecord) Descriptor

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

func (*RedemptionRecord) GetRedeemer

func (m *RedemptionRecord) GetRedeemer() string

func (*RedemptionRecord) GetUnbondingRecordId

func (m *RedemptionRecord) GetUnbondingRecordId() uint64

func (*RedemptionRecord) Marshal

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

func (*RedemptionRecord) MarshalTo

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

func (*RedemptionRecord) MarshalToSizedBuffer

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

func (*RedemptionRecord) ProtoMessage

func (*RedemptionRecord) ProtoMessage()

func (*RedemptionRecord) Reset

func (m *RedemptionRecord) Reset()

func (*RedemptionRecord) Size

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

func (*RedemptionRecord) String

func (m *RedemptionRecord) String() string

func (*RedemptionRecord) Unmarshal

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

func (*RedemptionRecord) XXX_DiscardUnknown

func (m *RedemptionRecord) XXX_DiscardUnknown()

func (*RedemptionRecord) XXX_Marshal

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

func (*RedemptionRecord) XXX_Merge

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

func (*RedemptionRecord) XXX_Size

func (m *RedemptionRecord) XXX_Size() int

func (*RedemptionRecord) XXX_Unmarshal

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

type RedemptionRecordResponse

type RedemptionRecordResponse struct {
	// Redemption record
	RedemptionRecord *RedemptionRecord `protobuf:"bytes,1,opt,name=redemption_record,json=redemptionRecord,proto3" json:"redemption_record,omitempty"`
	// The Unix timestamp (in seconds) at which the unbonding for the UR
	// associated with this RR completes
	UnbondingCompletionTimeSeconds uint64 `` /* 156-byte string literal not displayed */
}

Data structure for frontend to consume

func NewRedemptionRecordResponse

func NewRedemptionRecordResponse(redemptionRecord RedemptionRecord, unbondingTime uint64) RedemptionRecordResponse

Returns a RedemptionRecordResponse, which is a RedemptionRecord with the unbonding time

func (*RedemptionRecordResponse) Descriptor

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

func (*RedemptionRecordResponse) GetRedemptionRecord

func (m *RedemptionRecordResponse) GetRedemptionRecord() *RedemptionRecord

func (*RedemptionRecordResponse) GetUnbondingCompletionTimeSeconds

func (m *RedemptionRecordResponse) GetUnbondingCompletionTimeSeconds() uint64

func (*RedemptionRecordResponse) Marshal

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

func (*RedemptionRecordResponse) MarshalTo

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

func (*RedemptionRecordResponse) MarshalToSizedBuffer

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

func (*RedemptionRecordResponse) ProtoMessage

func (*RedemptionRecordResponse) ProtoMessage()

func (*RedemptionRecordResponse) Reset

func (m *RedemptionRecordResponse) Reset()

func (*RedemptionRecordResponse) Size

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

func (*RedemptionRecordResponse) String

func (m *RedemptionRecordResponse) String() string

func (*RedemptionRecordResponse) Unmarshal

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

func (*RedemptionRecordResponse) XXX_DiscardUnknown

func (m *RedemptionRecordResponse) XXX_DiscardUnknown()

func (*RedemptionRecordResponse) XXX_Marshal

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

func (*RedemptionRecordResponse) XXX_Merge

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

func (*RedemptionRecordResponse) XXX_Size

func (m *RedemptionRecordResponse) XXX_Size() int

func (*RedemptionRecordResponse) XXX_Unmarshal

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

type SlashRecord

type SlashRecord struct {
	// The slash record monotonically increasing ID
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The Unix timestamp (in seconds) when the slash adjustment was processed on
	// stride
	Time uint64 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	// The delta by which the total delegated amount changed from slash
	NativeAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */
	// The address (or addresses) of the validator that was slashed
	ValidatorAddress string `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

SlashRecords log adjustments to the delegated balance

func (*SlashRecord) Descriptor

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

func (*SlashRecord) GetId

func (m *SlashRecord) GetId() uint64

func (*SlashRecord) GetTime

func (m *SlashRecord) GetTime() uint64

func (*SlashRecord) GetValidatorAddress

func (m *SlashRecord) GetValidatorAddress() string

func (*SlashRecord) Marshal

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

func (*SlashRecord) MarshalTo

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

func (*SlashRecord) MarshalToSizedBuffer

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

func (*SlashRecord) ProtoMessage

func (*SlashRecord) ProtoMessage()

func (*SlashRecord) Reset

func (m *SlashRecord) Reset()

func (*SlashRecord) Size

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

func (*SlashRecord) String

func (m *SlashRecord) String() string

func (*SlashRecord) Unmarshal

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

func (*SlashRecord) XXX_DiscardUnknown

func (m *SlashRecord) XXX_DiscardUnknown()

func (*SlashRecord) XXX_Marshal

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

func (*SlashRecord) XXX_Merge

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

func (*SlashRecord) XXX_Size

func (m *SlashRecord) XXX_Size() int

func (*SlashRecord) XXX_Unmarshal

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

type TransferInProgressRecordIds

type TransferInProgressRecordIds struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Sequence  uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	RecordId  uint64 `protobuf:"varint,3,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"`
}

TransferInProgressRecordIds stores record IDs for delegation records that have a transfer in progress

func (*TransferInProgressRecordIds) Descriptor

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

func (*TransferInProgressRecordIds) GetChannelId

func (m *TransferInProgressRecordIds) GetChannelId() string

func (*TransferInProgressRecordIds) GetRecordId

func (m *TransferInProgressRecordIds) GetRecordId() uint64

func (*TransferInProgressRecordIds) GetSequence

func (m *TransferInProgressRecordIds) GetSequence() uint64

func (*TransferInProgressRecordIds) Marshal

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

func (*TransferInProgressRecordIds) MarshalTo

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

func (*TransferInProgressRecordIds) MarshalToSizedBuffer

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

func (*TransferInProgressRecordIds) ProtoMessage

func (*TransferInProgressRecordIds) ProtoMessage()

func (*TransferInProgressRecordIds) Reset

func (m *TransferInProgressRecordIds) Reset()

func (*TransferInProgressRecordIds) Size

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

func (*TransferInProgressRecordIds) String

func (m *TransferInProgressRecordIds) String() string

func (*TransferInProgressRecordIds) Unmarshal

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

func (*TransferInProgressRecordIds) XXX_DiscardUnknown

func (m *TransferInProgressRecordIds) XXX_DiscardUnknown()

func (*TransferInProgressRecordIds) XXX_Marshal

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

func (*TransferInProgressRecordIds) XXX_Merge

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

func (*TransferInProgressRecordIds) XXX_Size

func (m *TransferInProgressRecordIds) XXX_Size() int

func (*TransferInProgressRecordIds) XXX_Unmarshal

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

type TransferKeeper

type TransferKeeper interface {
	Transfer(goCtx context.Context, msg *transfertypes.MsgTransfer) (*transfertypes.MsgTransferResponse, error)
}

Required TransferKeeper functions

type UnbondingRecord

type UnbondingRecord struct {
	// Unbonding record ID
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The status indicating the point in the delegation's lifecycle
	Status UnbondingRecordStatus `protobuf:"varint,2,opt,name=status,proto3,enum=stride.stakedym.UnbondingRecordStatus" json:"status,omitempty"`
	// The amount of stTokens that were redeemed
	StTokenAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
	// The corresponding amount of native tokens that should be unbonded
	NativeAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */
	// The Unix timestamp (in seconds) at which the unbonding completes
	UnbondingCompletionTimeSeconds uint64 `` /* 156-byte string literal not displayed */
	// The tx hash of the undelegation on the host zone
	UndelegationTxHash string `protobuf:"bytes,6,opt,name=undelegation_tx_hash,json=undelegationTxHash,proto3" json:"undelegation_tx_hash,omitempty"`
	// The tx hash of the unbonded token sweep on the host zone
	UnbondedTokenSweepTxHash string `` /* 139-byte string literal not displayed */
}

UnbondingRecords track the aggregate unbondings across an epoch

func (*UnbondingRecord) Descriptor

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

func (*UnbondingRecord) GetId

func (m *UnbondingRecord) GetId() uint64

func (*UnbondingRecord) GetStatus

func (m *UnbondingRecord) GetStatus() UnbondingRecordStatus

func (*UnbondingRecord) GetUnbondedTokenSweepTxHash

func (m *UnbondingRecord) GetUnbondedTokenSweepTxHash() string

func (*UnbondingRecord) GetUnbondingCompletionTimeSeconds

func (m *UnbondingRecord) GetUnbondingCompletionTimeSeconds() uint64

func (*UnbondingRecord) GetUndelegationTxHash

func (m *UnbondingRecord) GetUndelegationTxHash() string

func (*UnbondingRecord) Marshal

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

func (*UnbondingRecord) MarshalTo

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

func (*UnbondingRecord) MarshalToSizedBuffer

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

func (*UnbondingRecord) ProtoMessage

func (*UnbondingRecord) ProtoMessage()

func (*UnbondingRecord) Reset

func (m *UnbondingRecord) Reset()

func (*UnbondingRecord) Size

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

func (*UnbondingRecord) String

func (m *UnbondingRecord) String() string

func (*UnbondingRecord) Unmarshal

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

func (*UnbondingRecord) XXX_DiscardUnknown

func (m *UnbondingRecord) XXX_DiscardUnknown()

func (*UnbondingRecord) XXX_Marshal

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

func (*UnbondingRecord) XXX_Merge

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

func (*UnbondingRecord) XXX_Size

func (m *UnbondingRecord) XXX_Size() int

func (*UnbondingRecord) XXX_Unmarshal

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

type UnbondingRecordStatus

type UnbondingRecordStatus int32

Status fields for an unbonding record

const (
	// ACCUMULATING_REDEMPTIONS indicates redemptions are still being accumulated
	// on this record
	ACCUMULATING_REDEMPTIONS UnbondingRecordStatus = 0
	// UNBONDING_QUEUE indicates the unbond amount for this epoch has been froze
	// and the tokens are ready to be unbonded on the host zone
	UNBONDING_QUEUE UnbondingRecordStatus = 1
	// UNBONDING_IN_PROGRESS indicates the unbonding is currently in progress on
	// the host zone
	UNBONDING_IN_PROGRESS UnbondingRecordStatus = 2
	// UNBONDED indicates the unbonding is finished on the host zone and the
	// tokens are still in the delegation account
	UNBONDED UnbondingRecordStatus = 3
	// CLAIMABLE indicates the unbonded tokens have been swept to stride and are
	// ready to be distributed to users
	CLAIMABLE UnbondingRecordStatus = 4
	// CLAIMED indicates the full unbonding cycle has been completed
	CLAIMED UnbondingRecordStatus = 5
)

func (UnbondingRecordStatus) EnumDescriptor

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

func (UnbondingRecordStatus) String

func (x UnbondingRecordStatus) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AdjustDelegatedBalance

func (*UnimplementedMsgServer) ConfirmDelegation

func (*UnimplementedMsgServer) ConfirmUnbondedTokenSweep

func (*UnimplementedMsgServer) ConfirmUndelegation

func (*UnimplementedMsgServer) LiquidStake

func (*UnimplementedMsgServer) OverwriteDelegationRecord

func (*UnimplementedMsgServer) OverwriteRedemptionRecord

func (*UnimplementedMsgServer) OverwriteUnbondingRecord

func (*UnimplementedMsgServer) RedeemStake

func (*UnimplementedMsgServer) RefreshRedemptionRate

func (*UnimplementedMsgServer) ResumeHostZone

func (*UnimplementedMsgServer) SetOperatorAddress

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) DelegationRecords

func (*UnimplementedQueryServer) HostZone

func (*UnimplementedQueryServer) RedemptionRecord

func (*UnimplementedQueryServer) RedemptionRecords

func (*UnimplementedQueryServer) SlashRecords

func (*UnimplementedQueryServer) UnbondingRecords

Jump to

Keyboard shortcuts

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