Documentation
¶
Index ¶
- Variables
- type DelegationRecord
- func (*DelegationRecord) Descriptor() ([]byte, []int)
- func (m *DelegationRecord) GetId() uint64
- func (m *DelegationRecord) GetStatus() DelegationRecordStatus
- func (m *DelegationRecord) GetTxHash() string
- func (m *DelegationRecord) Marshal() (dAtA []byte, err error)
- func (m *DelegationRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegationRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegationRecord) ProtoMessage()
- func (m *DelegationRecord) Reset()
- func (m *DelegationRecord) Size() (n int)
- func (m *DelegationRecord) String() string
- func (m *DelegationRecord) Unmarshal(dAtA []byte) error
- func (m *DelegationRecord) XXX_DiscardUnknown()
- func (m *DelegationRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegationRecord) XXX_Merge(src proto.Message)
- func (m *DelegationRecord) XXX_Size() int
- func (m *DelegationRecord) XXX_Unmarshal(b []byte) error
- type DelegationRecordStatus
- type HostZone
- func (*HostZone) Descriptor() ([]byte, []int)
- func (m *HostZone) GetChainId() string
- func (m *HostZone) GetClaimAddress() string
- func (m *HostZone) GetDelegationAddress() string
- func (m *HostZone) GetDepositAddress() string
- func (m *HostZone) GetHalted() bool
- func (m *HostZone) GetNativeTokenDenom() string
- func (m *HostZone) GetNativeTokenIbcDenom() string
- func (m *HostZone) GetOperatorAddressOnStride() string
- func (m *HostZone) GetRedemptionAddress() string
- func (m *HostZone) GetRewardAddress() string
- func (m *HostZone) GetSafeAddressOnStride() string
- func (m *HostZone) GetTransferChannelId() string
- func (m *HostZone) GetUnbondingPeriodSeconds() uint64
- func (m *HostZone) Marshal() (dAtA []byte, err error)
- func (m *HostZone) MarshalTo(dAtA []byte) (int, error)
- func (m *HostZone) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HostZone) ProtoMessage()
- func (m *HostZone) Reset()
- func (m *HostZone) Size() (n int)
- func (m *HostZone) String() string
- func (m *HostZone) Unmarshal(dAtA []byte) error
- func (m *HostZone) XXX_DiscardUnknown()
- func (m *HostZone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HostZone) XXX_Merge(src proto.Message)
- func (m *HostZone) XXX_Size() int
- func (m *HostZone) XXX_Unmarshal(b []byte) error
- type RedemptionRecord
- func (*RedemptionRecord) Descriptor() ([]byte, []int)
- func (m *RedemptionRecord) GetRedeemer() string
- func (m *RedemptionRecord) GetUnbondingRecordId() uint64
- func (m *RedemptionRecord) Marshal() (dAtA []byte, err error)
- func (m *RedemptionRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *RedemptionRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RedemptionRecord) ProtoMessage()
- func (m *RedemptionRecord) Reset()
- func (m *RedemptionRecord) Size() (n int)
- func (m *RedemptionRecord) String() string
- func (m *RedemptionRecord) Unmarshal(dAtA []byte) error
- func (m *RedemptionRecord) XXX_DiscardUnknown()
- func (m *RedemptionRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedemptionRecord) XXX_Merge(src proto.Message)
- func (m *RedemptionRecord) XXX_Size() int
- func (m *RedemptionRecord) XXX_Unmarshal(b []byte) error
- type SlashRecord
- func (*SlashRecord) Descriptor() ([]byte, []int)
- func (m *SlashRecord) GetId() uint64
- func (m *SlashRecord) GetTime() uint64
- func (m *SlashRecord) GetValidatorAddress() string
- func (m *SlashRecord) Marshal() (dAtA []byte, err error)
- func (m *SlashRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *SlashRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SlashRecord) ProtoMessage()
- func (m *SlashRecord) Reset()
- func (m *SlashRecord) Size() (n int)
- func (m *SlashRecord) String() string
- func (m *SlashRecord) Unmarshal(dAtA []byte) error
- func (m *SlashRecord) XXX_DiscardUnknown()
- func (m *SlashRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SlashRecord) XXX_Merge(src proto.Message)
- func (m *SlashRecord) XXX_Size() int
- func (m *SlashRecord) XXX_Unmarshal(b []byte) error
- type UnbondingRecord
- func (*UnbondingRecord) Descriptor() ([]byte, []int)
- func (m *UnbondingRecord) GetId() uint64
- func (m *UnbondingRecord) GetStatus() UnbondingRecordStatus
- func (m *UnbondingRecord) GetUnbondedTokenSweepTxHash() string
- func (m *UnbondingRecord) GetUnbondingCompletionTimeSeconds() uint64
- func (m *UnbondingRecord) GetUndelegationTxHash() string
- func (m *UnbondingRecord) Marshal() (dAtA []byte, err error)
- func (m *UnbondingRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondingRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondingRecord) ProtoMessage()
- func (m *UnbondingRecord) Reset()
- func (m *UnbondingRecord) Size() (n int)
- func (m *UnbondingRecord) String() string
- func (m *UnbondingRecord) Unmarshal(dAtA []byte) error
- func (m *UnbondingRecord) XXX_DiscardUnknown()
- func (m *UnbondingRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondingRecord) XXX_Merge(src proto.Message)
- func (m *UnbondingRecord) XXX_Size() int
- func (m *UnbondingRecord) XXX_Unmarshal(b []byte) error
- type UnbondingRecordStatus
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthStaketia = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowStaketia = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupStaketia = fmt.Errorf("proto: unexpected end of group") )
var DelegationRecordStatus_name = map[int32]string{
0: "TRANSFER_IN_PROGRESS",
1: "TRANSFER_FAILED",
2: "DELEGATION_QUEUE",
3: "DELEGATION_COMPLETE",
}
var DelegationRecordStatus_value = map[string]int32{
"TRANSFER_IN_PROGRESS": 0,
"TRANSFER_FAILED": 1,
"DELEGATION_QUEUE": 2,
"DELEGATION_COMPLETE": 3,
}
var UnbondingRecordStatus_name = map[int32]string{
0: "ACCUMULATING_REDEMPTIONS",
1: "UNBONDING_QUEUE",
2: "UNBONDING_IN_PROGRESS",
3: "UNBONDED",
4: "CLAIMABLE",
5: "CLAIMED",
}
var UnbondingRecordStatus_value = map[string]int32{
"ACCUMULATING_REDEMPTIONS": 0,
"UNBONDING_QUEUE": 1,
"UNBONDING_IN_PROGRESS": 2,
"UNBONDED": 3,
"CLAIMABLE": 4,
"CLAIMED": 5,
}
Functions ¶
This section is empty.
Types ¶
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.staketia.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 (m *DelegationRecord) GetStatus() DelegationRecordStatus
func (*DelegationRecord) GetTxHash ¶
func (m *DelegationRecord) GetTxHash() string
func (*DelegationRecord) Marshal ¶
func (m *DelegationRecord) Marshal() (dAtA []byte, err 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 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. utia)
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 Celestia 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) GetChainId ¶
func (*HostZone) GetClaimAddress ¶
func (*HostZone) GetDelegationAddress ¶
func (*HostZone) GetDepositAddress ¶
func (*HostZone) GetNativeTokenDenom ¶
func (*HostZone) GetNativeTokenIbcDenom ¶
func (*HostZone) GetOperatorAddressOnStride ¶
func (*HostZone) GetRedemptionAddress ¶
func (*HostZone) GetRewardAddress ¶
func (*HostZone) GetSafeAddressOnStride ¶
func (*HostZone) GetTransferChannelId ¶
func (*HostZone) GetUnbondingPeriodSeconds ¶
func (*HostZone) MarshalToSizedBuffer ¶
func (*HostZone) ProtoMessage ¶
func (*HostZone) ProtoMessage()
func (*HostZone) XXX_DiscardUnknown ¶
func (m *HostZone) XXX_DiscardUnknown()
func (*HostZone) XXX_Marshal ¶
func (*HostZone) XXX_Unmarshal ¶
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) 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 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) 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 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.staketia.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) 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