Documentation ¶
Index ¶
- Variables
- type ClaimCallback
- func (*ClaimCallback) Descriptor() ([]byte, []int)
- func (m *ClaimCallback) GetChainId() string
- func (m *ClaimCallback) GetEpochNumber() uint64
- func (m *ClaimCallback) GetUserRedemptionRecordId() string
- func (m *ClaimCallback) Marshal() (dAtA []byte, err error)
- func (m *ClaimCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimCallback) ProtoMessage()
- func (m *ClaimCallback) Reset()
- func (m *ClaimCallback) Size() (n int)
- func (m *ClaimCallback) String() string
- func (m *ClaimCallback) Unmarshal(dAtA []byte) error
- func (m *ClaimCallback) XXX_DiscardUnknown()
- func (m *ClaimCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimCallback) XXX_Merge(src proto.Message)
- func (m *ClaimCallback) XXX_Size() int
- func (m *ClaimCallback) XXX_Unmarshal(b []byte) error
- type DelegateCallback
- func (*DelegateCallback) Descriptor() ([]byte, []int)
- func (m *DelegateCallback) GetDepositRecordId() uint64
- func (m *DelegateCallback) GetHostZoneId() string
- func (m *DelegateCallback) GetSplitDelegations() []*SplitDelegation
- func (m *DelegateCallback) Marshal() (dAtA []byte, err error)
- func (m *DelegateCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegateCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegateCallback) ProtoMessage()
- func (m *DelegateCallback) Reset()
- func (m *DelegateCallback) Size() (n int)
- func (m *DelegateCallback) String() string
- func (m *DelegateCallback) Unmarshal(dAtA []byte) error
- func (m *DelegateCallback) XXX_DiscardUnknown()
- func (m *DelegateCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegateCallback) XXX_Merge(src proto.Message)
- func (m *DelegateCallback) XXX_Size() int
- func (m *DelegateCallback) XXX_Unmarshal(b []byte) error
- type HostZone
- func (*HostZone) Descriptor() ([]byte, []int)
- func (m *HostZone) GetAddress() string
- func (m *HostZone) GetBech32Prefix() string
- func (m *HostZone) GetBlacklistedValidators() []*Validator
- func (m *HostZone) GetChainId() string
- func (m *HostZone) GetConnectionId() string
- func (m *HostZone) GetDelegationAccount() *ICAAccount
- func (m *HostZone) GetFeeAccount() *ICAAccount
- func (m *HostZone) GetHostDenom() string
- func (m *HostZone) GetIbcDenom() string
- func (m *HostZone) GetRedemptionAccount() *ICAAccount
- func (m *HostZone) GetStakedBal() uint64
- func (m *HostZone) GetTransferChannelId() string
- func (m *HostZone) GetUnbondingFrequency() uint64
- func (m *HostZone) GetValidators() []*Validator
- func (m *HostZone) GetWithdrawalAccount() *ICAAccount
- 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 ICAAccount
- func (*ICAAccount) Descriptor() ([]byte, []int)
- func (m *ICAAccount) GetAddress() string
- func (m *ICAAccount) GetTarget() ICAAccountType
- func (m *ICAAccount) Marshal() (dAtA []byte, err error)
- func (m *ICAAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *ICAAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ICAAccount) ProtoMessage()
- func (m *ICAAccount) Reset()
- func (m *ICAAccount) Size() (n int)
- func (m *ICAAccount) String() string
- func (m *ICAAccount) Unmarshal(dAtA []byte) error
- func (m *ICAAccount) XXX_DiscardUnknown()
- func (m *ICAAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ICAAccount) XXX_Merge(src proto.Message)
- func (m *ICAAccount) XXX_Size() int
- func (m *ICAAccount) XXX_Unmarshal(b []byte) error
- type ICAAccountType
- type RebalanceCallback
- func (*RebalanceCallback) Descriptor() ([]byte, []int)
- func (m *RebalanceCallback) GetHostZoneId() string
- func (m *RebalanceCallback) GetRebalancings() []*Rebalancing
- func (m *RebalanceCallback) Marshal() (dAtA []byte, err error)
- func (m *RebalanceCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *RebalanceCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RebalanceCallback) ProtoMessage()
- func (m *RebalanceCallback) Reset()
- func (m *RebalanceCallback) Size() (n int)
- func (m *RebalanceCallback) String() string
- func (m *RebalanceCallback) Unmarshal(dAtA []byte) error
- func (m *RebalanceCallback) XXX_DiscardUnknown()
- func (m *RebalanceCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RebalanceCallback) XXX_Merge(src proto.Message)
- func (m *RebalanceCallback) XXX_Size() int
- func (m *RebalanceCallback) XXX_Unmarshal(b []byte) error
- type Rebalancing
- func (*Rebalancing) Descriptor() ([]byte, []int)
- func (m *Rebalancing) GetAmt() uint64
- func (m *Rebalancing) GetDstValidator() string
- func (m *Rebalancing) GetSrcValidator() string
- func (m *Rebalancing) Marshal() (dAtA []byte, err error)
- func (m *Rebalancing) MarshalTo(dAtA []byte) (int, error)
- func (m *Rebalancing) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Rebalancing) ProtoMessage()
- func (m *Rebalancing) Reset()
- func (m *Rebalancing) Size() (n int)
- func (m *Rebalancing) String() string
- func (m *Rebalancing) Unmarshal(dAtA []byte) error
- func (m *Rebalancing) XXX_DiscardUnknown()
- func (m *Rebalancing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Rebalancing) XXX_Merge(src proto.Message)
- func (m *Rebalancing) XXX_Size() int
- func (m *Rebalancing) XXX_Unmarshal(b []byte) error
- type RedemptionCallback
- func (*RedemptionCallback) Descriptor() ([]byte, []int)
- func (m *RedemptionCallback) GetEpochUnbondingRecordIds() []uint64
- func (m *RedemptionCallback) GetHostZoneId() string
- func (m *RedemptionCallback) Marshal() (dAtA []byte, err error)
- func (m *RedemptionCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *RedemptionCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RedemptionCallback) ProtoMessage()
- func (m *RedemptionCallback) Reset()
- func (m *RedemptionCallback) Size() (n int)
- func (m *RedemptionCallback) String() string
- func (m *RedemptionCallback) Unmarshal(dAtA []byte) error
- func (m *RedemptionCallback) XXX_DiscardUnknown()
- func (m *RedemptionCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedemptionCallback) XXX_Merge(src proto.Message)
- func (m *RedemptionCallback) XXX_Size() int
- func (m *RedemptionCallback) XXX_Unmarshal(b []byte) error
- type ReinvestCallback
- func (*ReinvestCallback) Descriptor() ([]byte, []int)
- func (m *ReinvestCallback) GetHostZoneId() string
- func (m *ReinvestCallback) GetReinvestAmount() types.Coin
- func (m *ReinvestCallback) Marshal() (dAtA []byte, err error)
- func (m *ReinvestCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *ReinvestCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReinvestCallback) ProtoMessage()
- func (m *ReinvestCallback) Reset()
- func (m *ReinvestCallback) Size() (n int)
- func (m *ReinvestCallback) String() string
- func (m *ReinvestCallback) Unmarshal(dAtA []byte) error
- func (m *ReinvestCallback) XXX_DiscardUnknown()
- func (m *ReinvestCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReinvestCallback) XXX_Merge(src proto.Message)
- func (m *ReinvestCallback) XXX_Size() int
- func (m *ReinvestCallback) XXX_Unmarshal(b []byte) error
- type SplitDelegation
- func (*SplitDelegation) Descriptor() ([]byte, []int)
- func (m *SplitDelegation) GetAmount() uint64
- func (m *SplitDelegation) GetValidator() string
- func (m *SplitDelegation) Marshal() (dAtA []byte, err error)
- func (m *SplitDelegation) MarshalTo(dAtA []byte) (int, error)
- func (m *SplitDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SplitDelegation) ProtoMessage()
- func (m *SplitDelegation) Reset()
- func (m *SplitDelegation) Size() (n int)
- func (m *SplitDelegation) String() string
- func (m *SplitDelegation) Unmarshal(dAtA []byte) error
- func (m *SplitDelegation) XXX_DiscardUnknown()
- func (m *SplitDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SplitDelegation) XXX_Merge(src proto.Message)
- func (m *SplitDelegation) XXX_Size() int
- func (m *SplitDelegation) XXX_Unmarshal(b []byte) error
- type UndelegateCallback
- func (*UndelegateCallback) Descriptor() ([]byte, []int)
- func (m *UndelegateCallback) GetEpochUnbondingRecordIds() []uint64
- func (m *UndelegateCallback) GetHostZoneId() string
- func (m *UndelegateCallback) GetSplitDelegations() []*SplitDelegation
- func (m *UndelegateCallback) Marshal() (dAtA []byte, err error)
- func (m *UndelegateCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *UndelegateCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UndelegateCallback) ProtoMessage()
- func (m *UndelegateCallback) Reset()
- func (m *UndelegateCallback) Size() (n int)
- func (m *UndelegateCallback) String() string
- func (m *UndelegateCallback) Unmarshal(dAtA []byte) error
- func (m *UndelegateCallback) XXX_DiscardUnknown()
- func (m *UndelegateCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UndelegateCallback) XXX_Merge(src proto.Message)
- func (m *UndelegateCallback) XXX_Size() int
- func (m *UndelegateCallback) XXX_Unmarshal(b []byte) error
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetAddress() string
- func (m *Validator) GetCommissionRate() uint64
- func (m *Validator) GetDelegationAmt() uint64
- func (m *Validator) GetInternalExchangeRate() *ValidatorExchangeRate
- func (m *Validator) GetName() string
- func (m *Validator) GetStatus() Validator_ValidatorStatus
- func (m *Validator) GetWeight() uint64
- func (m *Validator) Marshal() (dAtA []byte, err error)
- func (m *Validator) MarshalTo(dAtA []byte) (int, error)
- func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) Size() (n int)
- func (m *Validator) String() string
- func (m *Validator) Unmarshal(dAtA []byte) error
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
- type ValidatorExchangeRate
- func (*ValidatorExchangeRate) Descriptor() ([]byte, []int)
- func (m *ValidatorExchangeRate) GetEpochNumber() uint64
- func (m *ValidatorExchangeRate) Marshal() (dAtA []byte, err error)
- func (m *ValidatorExchangeRate) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorExchangeRate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorExchangeRate) ProtoMessage()
- func (m *ValidatorExchangeRate) Reset()
- func (m *ValidatorExchangeRate) Size() (n int)
- func (m *ValidatorExchangeRate) String() string
- func (m *ValidatorExchangeRate) Unmarshal(dAtA []byte) error
- func (m *ValidatorExchangeRate) XXX_DiscardUnknown()
- func (m *ValidatorExchangeRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorExchangeRate) XXX_Merge(src proto.Message)
- func (m *ValidatorExchangeRate) XXX_Size() int
- func (m *ValidatorExchangeRate) XXX_Unmarshal(b []byte) error
- type Validator_ValidatorStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthCallbacks = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCallbacks = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCallbacks = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthHostZone = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHostZone = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupHostZone = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthIcaAccount = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIcaAccount = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupIcaAccount = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthValidator = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowValidator = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupValidator = fmt.Errorf("proto: unexpected end of group") )
View Source
var ICAAccountType_name = map[int32]string{
0: "DELEGATION",
1: "FEE",
2: "WITHDRAWAL",
3: "REDEMPTION",
}
View Source
var ICAAccountType_value = map[string]int32{
"DELEGATION": 0,
"FEE": 1,
"WITHDRAWAL": 2,
"REDEMPTION": 3,
}
View Source
var Validator_ValidatorStatus_name = map[int32]string{
0: "ACTIVE",
1: "INACTIVE",
}
View Source
var Validator_ValidatorStatus_value = map[string]int32{
"ACTIVE": 0,
"INACTIVE": 1,
}
Functions ¶
This section is empty.
Types ¶
type ClaimCallback ¶
type ClaimCallback struct { UserRedemptionRecordId string `` /* 131-byte string literal not displayed */ ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` EpochNumber uint64 `protobuf:"varint,3,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"` }
func (*ClaimCallback) Descriptor ¶
func (*ClaimCallback) Descriptor() ([]byte, []int)
func (*ClaimCallback) GetChainId ¶
func (m *ClaimCallback) GetChainId() string
func (*ClaimCallback) GetEpochNumber ¶
func (m *ClaimCallback) GetEpochNumber() uint64
func (*ClaimCallback) GetUserRedemptionRecordId ¶
func (m *ClaimCallback) GetUserRedemptionRecordId() string
func (*ClaimCallback) Marshal ¶
func (m *ClaimCallback) Marshal() (dAtA []byte, err error)
func (*ClaimCallback) MarshalToSizedBuffer ¶
func (m *ClaimCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimCallback) ProtoMessage ¶
func (*ClaimCallback) ProtoMessage()
func (*ClaimCallback) Reset ¶
func (m *ClaimCallback) Reset()
func (*ClaimCallback) Size ¶
func (m *ClaimCallback) Size() (n int)
func (*ClaimCallback) String ¶
func (m *ClaimCallback) String() string
func (*ClaimCallback) Unmarshal ¶
func (m *ClaimCallback) Unmarshal(dAtA []byte) error
func (*ClaimCallback) XXX_DiscardUnknown ¶
func (m *ClaimCallback) XXX_DiscardUnknown()
func (*ClaimCallback) XXX_Marshal ¶
func (m *ClaimCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimCallback) XXX_Merge ¶
func (m *ClaimCallback) XXX_Merge(src proto.Message)
func (*ClaimCallback) XXX_Size ¶
func (m *ClaimCallback) XXX_Size() int
func (*ClaimCallback) XXX_Unmarshal ¶
func (m *ClaimCallback) XXX_Unmarshal(b []byte) error
type DelegateCallback ¶
type DelegateCallback struct { HostZoneId string `protobuf:"bytes,1,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"` DepositRecordId uint64 `protobuf:"varint,2,opt,name=deposit_record_id,json=depositRecordId,proto3" json:"deposit_record_id,omitempty"` SplitDelegations []*SplitDelegation `protobuf:"bytes,3,rep,name=split_delegations,json=splitDelegations,proto3" json:"split_delegations,omitempty"` }
func (*DelegateCallback) Descriptor ¶
func (*DelegateCallback) Descriptor() ([]byte, []int)
func (*DelegateCallback) GetDepositRecordId ¶
func (m *DelegateCallback) GetDepositRecordId() uint64
func (*DelegateCallback) GetHostZoneId ¶
func (m *DelegateCallback) GetHostZoneId() string
func (*DelegateCallback) GetSplitDelegations ¶
func (m *DelegateCallback) GetSplitDelegations() []*SplitDelegation
func (*DelegateCallback) Marshal ¶
func (m *DelegateCallback) Marshal() (dAtA []byte, err error)
func (*DelegateCallback) MarshalToSizedBuffer ¶
func (m *DelegateCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegateCallback) ProtoMessage ¶
func (*DelegateCallback) ProtoMessage()
func (*DelegateCallback) Reset ¶
func (m *DelegateCallback) Reset()
func (*DelegateCallback) Size ¶
func (m *DelegateCallback) Size() (n int)
func (*DelegateCallback) String ¶
func (m *DelegateCallback) String() string
func (*DelegateCallback) Unmarshal ¶
func (m *DelegateCallback) Unmarshal(dAtA []byte) error
func (*DelegateCallback) XXX_DiscardUnknown ¶
func (m *DelegateCallback) XXX_DiscardUnknown()
func (*DelegateCallback) XXX_Marshal ¶
func (m *DelegateCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegateCallback) XXX_Merge ¶
func (m *DelegateCallback) XXX_Merge(src proto.Message)
func (*DelegateCallback) XXX_Size ¶
func (m *DelegateCallback) XXX_Size() int
func (*DelegateCallback) XXX_Unmarshal ¶
func (m *DelegateCallback) XXX_Unmarshal(b []byte) error
type HostZone ¶
type HostZone struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Bech32Prefix string `protobuf:"bytes,17,opt,name=bech32prefix,proto3" json:"bech32prefix,omitempty"` TransferChannelId string `protobuf:"bytes,12,opt,name=transfer_channel_id,json=transferChannelId,proto3" json:"transfer_channel_id,omitempty"` Validators []*Validator `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators,omitempty"` BlacklistedValidators []*Validator `protobuf:"bytes,4,rep,name=blacklisted_validators,json=blacklistedValidators,proto3" json:"blacklisted_validators,omitempty"` WithdrawalAccount *ICAAccount `protobuf:"bytes,5,opt,name=withdrawal_account,json=withdrawalAccount,proto3" json:"withdrawal_account,omitempty"` FeeAccount *ICAAccount `protobuf:"bytes,6,opt,name=fee_account,json=feeAccount,proto3" json:"fee_account,omitempty"` DelegationAccount *ICAAccount `protobuf:"bytes,7,opt,name=delegation_account,json=delegationAccount,proto3" json:"delegation_account,omitempty"` RedemptionAccount *ICAAccount `protobuf:"bytes,16,opt,name=redemption_account,json=redemptionAccount,proto3" json:"redemption_account,omitempty"` // ibc denom on stride IbcDenom string `protobuf:"bytes,8,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty"` // native denom on host zone HostDenom string `protobuf:"bytes,9,opt,name=host_denom,json=hostDenom,proto3" json:"host_denom,omitempty"` // TODO(TEST-68): Should we make this an array and store the last n redemption // rates then calculate a TWARR? LastRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */ RedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 144-byte string literal not displayed */ // stores how many days we should wait before issuing unbondings UnbondingFrequency uint64 `protobuf:"varint,14,opt,name=unbonding_frequency,json=unbondingFrequency,proto3" json:"unbonding_frequency,omitempty"` // TODO(TEST-101) int to dec StakedBal uint64 `protobuf:"varint,13,opt,name=staked_bal,json=stakedBal,proto3" json:"staked_bal,omitempty"` Address string `protobuf:"bytes,18,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` }
next id: 19
func (*HostZone) Descriptor ¶
func (*HostZone) GetAddress ¶
func (*HostZone) GetBech32Prefix ¶
func (*HostZone) GetBlacklistedValidators ¶
func (*HostZone) GetChainId ¶
func (*HostZone) GetConnectionId ¶
func (*HostZone) GetDelegationAccount ¶
func (m *HostZone) GetDelegationAccount() *ICAAccount
func (*HostZone) GetFeeAccount ¶
func (m *HostZone) GetFeeAccount() *ICAAccount
func (*HostZone) GetHostDenom ¶
func (*HostZone) GetIbcDenom ¶
func (*HostZone) GetRedemptionAccount ¶
func (m *HostZone) GetRedemptionAccount() *ICAAccount
func (*HostZone) GetStakedBal ¶
func (*HostZone) GetTransferChannelId ¶
func (*HostZone) GetUnbondingFrequency ¶
func (*HostZone) GetValidators ¶
func (*HostZone) GetWithdrawalAccount ¶
func (m *HostZone) GetWithdrawalAccount() *ICAAccount
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 ICAAccount ¶
type ICAAccount struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Target ICAAccountType `protobuf:"varint,3,opt,name=target,proto3,enum=stride.stakeibc.ICAAccountType" json:"target,omitempty"` }
TODO(TEST-XX): Update these fields to be more useful (e.g. balances should be coins, maybe store port name directly)
func (*ICAAccount) Descriptor ¶
func (*ICAAccount) Descriptor() ([]byte, []int)
func (*ICAAccount) GetAddress ¶
func (m *ICAAccount) GetAddress() string
func (*ICAAccount) GetTarget ¶
func (m *ICAAccount) GetTarget() ICAAccountType
func (*ICAAccount) Marshal ¶
func (m *ICAAccount) Marshal() (dAtA []byte, err error)
func (*ICAAccount) MarshalToSizedBuffer ¶
func (m *ICAAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ICAAccount) ProtoMessage ¶
func (*ICAAccount) ProtoMessage()
func (*ICAAccount) Reset ¶
func (m *ICAAccount) Reset()
func (*ICAAccount) Size ¶
func (m *ICAAccount) Size() (n int)
func (*ICAAccount) String ¶
func (m *ICAAccount) String() string
func (*ICAAccount) Unmarshal ¶
func (m *ICAAccount) Unmarshal(dAtA []byte) error
func (*ICAAccount) XXX_DiscardUnknown ¶
func (m *ICAAccount) XXX_DiscardUnknown()
func (*ICAAccount) XXX_Marshal ¶
func (m *ICAAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ICAAccount) XXX_Merge ¶
func (m *ICAAccount) XXX_Merge(src proto.Message)
func (*ICAAccount) XXX_Size ¶
func (m *ICAAccount) XXX_Size() int
func (*ICAAccount) XXX_Unmarshal ¶
func (m *ICAAccount) XXX_Unmarshal(b []byte) error
type ICAAccountType ¶
type ICAAccountType int32
const ( ICAAccountType_DELEGATION ICAAccountType = 0 ICAAccountType_FEE ICAAccountType = 1 ICAAccountType_WITHDRAWAL ICAAccountType = 2 ICAAccountType_REDEMPTION ICAAccountType = 3 )
func (ICAAccountType) EnumDescriptor ¶
func (ICAAccountType) EnumDescriptor() ([]byte, []int)
func (ICAAccountType) String ¶
func (x ICAAccountType) String() string
type RebalanceCallback ¶
type RebalanceCallback struct { HostZoneId string `protobuf:"bytes,1,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"` Rebalancings []*Rebalancing `protobuf:"bytes,2,rep,name=rebalancings,proto3" json:"rebalancings,omitempty"` }
func (*RebalanceCallback) Descriptor ¶
func (*RebalanceCallback) Descriptor() ([]byte, []int)
func (*RebalanceCallback) GetHostZoneId ¶
func (m *RebalanceCallback) GetHostZoneId() string
func (*RebalanceCallback) GetRebalancings ¶
func (m *RebalanceCallback) GetRebalancings() []*Rebalancing
func (*RebalanceCallback) Marshal ¶
func (m *RebalanceCallback) Marshal() (dAtA []byte, err error)
func (*RebalanceCallback) MarshalTo ¶
func (m *RebalanceCallback) MarshalTo(dAtA []byte) (int, error)
func (*RebalanceCallback) MarshalToSizedBuffer ¶
func (m *RebalanceCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RebalanceCallback) ProtoMessage ¶
func (*RebalanceCallback) ProtoMessage()
func (*RebalanceCallback) Reset ¶
func (m *RebalanceCallback) Reset()
func (*RebalanceCallback) Size ¶
func (m *RebalanceCallback) Size() (n int)
func (*RebalanceCallback) String ¶
func (m *RebalanceCallback) String() string
func (*RebalanceCallback) Unmarshal ¶
func (m *RebalanceCallback) Unmarshal(dAtA []byte) error
func (*RebalanceCallback) XXX_DiscardUnknown ¶
func (m *RebalanceCallback) XXX_DiscardUnknown()
func (*RebalanceCallback) XXX_Marshal ¶
func (m *RebalanceCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RebalanceCallback) XXX_Merge ¶
func (m *RebalanceCallback) XXX_Merge(src proto.Message)
func (*RebalanceCallback) XXX_Size ¶
func (m *RebalanceCallback) XXX_Size() int
func (*RebalanceCallback) XXX_Unmarshal ¶
func (m *RebalanceCallback) XXX_Unmarshal(b []byte) error
type Rebalancing ¶
type Rebalancing struct { SrcValidator string `protobuf:"bytes,1,opt,name=src_validator,json=srcValidator,proto3" json:"src_validator,omitempty"` DstValidator string `protobuf:"bytes,2,opt,name=dst_validator,json=dstValidator,proto3" json:"dst_validator,omitempty"` Amt uint64 `protobuf:"varint,3,opt,name=amt,proto3" json:"amt,omitempty"` }
func (*Rebalancing) Descriptor ¶
func (*Rebalancing) Descriptor() ([]byte, []int)
func (*Rebalancing) GetAmt ¶
func (m *Rebalancing) GetAmt() uint64
func (*Rebalancing) GetDstValidator ¶
func (m *Rebalancing) GetDstValidator() string
func (*Rebalancing) GetSrcValidator ¶
func (m *Rebalancing) GetSrcValidator() string
func (*Rebalancing) Marshal ¶
func (m *Rebalancing) Marshal() (dAtA []byte, err error)
func (*Rebalancing) MarshalToSizedBuffer ¶
func (m *Rebalancing) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Rebalancing) ProtoMessage ¶
func (*Rebalancing) ProtoMessage()
func (*Rebalancing) Reset ¶
func (m *Rebalancing) Reset()
func (*Rebalancing) Size ¶
func (m *Rebalancing) Size() (n int)
func (*Rebalancing) String ¶
func (m *Rebalancing) String() string
func (*Rebalancing) Unmarshal ¶
func (m *Rebalancing) Unmarshal(dAtA []byte) error
func (*Rebalancing) XXX_DiscardUnknown ¶
func (m *Rebalancing) XXX_DiscardUnknown()
func (*Rebalancing) XXX_Marshal ¶
func (m *Rebalancing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Rebalancing) XXX_Merge ¶
func (m *Rebalancing) XXX_Merge(src proto.Message)
func (*Rebalancing) XXX_Size ¶
func (m *Rebalancing) XXX_Size() int
func (*Rebalancing) XXX_Unmarshal ¶
func (m *Rebalancing) XXX_Unmarshal(b []byte) error
type RedemptionCallback ¶
type RedemptionCallback struct { HostZoneId string `protobuf:"bytes,1,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"` EpochUnbondingRecordIds []uint64 `` /* 142-byte string literal not displayed */ }
---------------------- Redemption Callbacks ---------------------- //
func (*RedemptionCallback) Descriptor ¶
func (*RedemptionCallback) Descriptor() ([]byte, []int)
func (*RedemptionCallback) GetEpochUnbondingRecordIds ¶
func (m *RedemptionCallback) GetEpochUnbondingRecordIds() []uint64
func (*RedemptionCallback) GetHostZoneId ¶
func (m *RedemptionCallback) GetHostZoneId() string
func (*RedemptionCallback) Marshal ¶
func (m *RedemptionCallback) Marshal() (dAtA []byte, err error)
func (*RedemptionCallback) MarshalTo ¶
func (m *RedemptionCallback) MarshalTo(dAtA []byte) (int, error)
func (*RedemptionCallback) MarshalToSizedBuffer ¶
func (m *RedemptionCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RedemptionCallback) ProtoMessage ¶
func (*RedemptionCallback) ProtoMessage()
func (*RedemptionCallback) Reset ¶
func (m *RedemptionCallback) Reset()
func (*RedemptionCallback) Size ¶
func (m *RedemptionCallback) Size() (n int)
func (*RedemptionCallback) String ¶
func (m *RedemptionCallback) String() string
func (*RedemptionCallback) Unmarshal ¶
func (m *RedemptionCallback) Unmarshal(dAtA []byte) error
func (*RedemptionCallback) XXX_DiscardUnknown ¶
func (m *RedemptionCallback) XXX_DiscardUnknown()
func (*RedemptionCallback) XXX_Marshal ¶
func (m *RedemptionCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedemptionCallback) XXX_Merge ¶
func (m *RedemptionCallback) XXX_Merge(src proto.Message)
func (*RedemptionCallback) XXX_Size ¶
func (m *RedemptionCallback) XXX_Size() int
func (*RedemptionCallback) XXX_Unmarshal ¶
func (m *RedemptionCallback) XXX_Unmarshal(b []byte) error
type ReinvestCallback ¶
type ReinvestCallback struct { ReinvestAmount types.Coin `` /* 146-byte string literal not displayed */ HostZoneId string `protobuf:"bytes,3,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"` }
---------------------- Reinvest Callback ---------------------- //
func (*ReinvestCallback) Descriptor ¶
func (*ReinvestCallback) Descriptor() ([]byte, []int)
func (*ReinvestCallback) GetHostZoneId ¶
func (m *ReinvestCallback) GetHostZoneId() string
func (*ReinvestCallback) GetReinvestAmount ¶
func (m *ReinvestCallback) GetReinvestAmount() types.Coin
func (*ReinvestCallback) Marshal ¶
func (m *ReinvestCallback) Marshal() (dAtA []byte, err error)
func (*ReinvestCallback) MarshalToSizedBuffer ¶
func (m *ReinvestCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReinvestCallback) ProtoMessage ¶
func (*ReinvestCallback) ProtoMessage()
func (*ReinvestCallback) Reset ¶
func (m *ReinvestCallback) Reset()
func (*ReinvestCallback) Size ¶
func (m *ReinvestCallback) Size() (n int)
func (*ReinvestCallback) String ¶
func (m *ReinvestCallback) String() string
func (*ReinvestCallback) Unmarshal ¶
func (m *ReinvestCallback) Unmarshal(dAtA []byte) error
func (*ReinvestCallback) XXX_DiscardUnknown ¶
func (m *ReinvestCallback) XXX_DiscardUnknown()
func (*ReinvestCallback) XXX_Marshal ¶
func (m *ReinvestCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReinvestCallback) XXX_Merge ¶
func (m *ReinvestCallback) XXX_Merge(src proto.Message)
func (*ReinvestCallback) XXX_Size ¶
func (m *ReinvestCallback) XXX_Size() int
func (*ReinvestCallback) XXX_Unmarshal ¶
func (m *ReinvestCallback) XXX_Unmarshal(b []byte) error
type SplitDelegation ¶
type SplitDelegation struct { Validator string `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` }
---------------------- Delegation Callbacks ---------------------- //
func (*SplitDelegation) Descriptor ¶
func (*SplitDelegation) Descriptor() ([]byte, []int)
func (*SplitDelegation) GetAmount ¶
func (m *SplitDelegation) GetAmount() uint64
func (*SplitDelegation) GetValidator ¶
func (m *SplitDelegation) GetValidator() string
func (*SplitDelegation) Marshal ¶
func (m *SplitDelegation) Marshal() (dAtA []byte, err error)
func (*SplitDelegation) MarshalToSizedBuffer ¶
func (m *SplitDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SplitDelegation) ProtoMessage ¶
func (*SplitDelegation) ProtoMessage()
func (*SplitDelegation) Reset ¶
func (m *SplitDelegation) Reset()
func (*SplitDelegation) Size ¶
func (m *SplitDelegation) Size() (n int)
func (*SplitDelegation) String ¶
func (m *SplitDelegation) String() string
func (*SplitDelegation) Unmarshal ¶
func (m *SplitDelegation) Unmarshal(dAtA []byte) error
func (*SplitDelegation) XXX_DiscardUnknown ¶
func (m *SplitDelegation) XXX_DiscardUnknown()
func (*SplitDelegation) XXX_Marshal ¶
func (m *SplitDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SplitDelegation) XXX_Merge ¶
func (m *SplitDelegation) XXX_Merge(src proto.Message)
func (*SplitDelegation) XXX_Size ¶
func (m *SplitDelegation) XXX_Size() int
func (*SplitDelegation) XXX_Unmarshal ¶
func (m *SplitDelegation) XXX_Unmarshal(b []byte) error
type UndelegateCallback ¶
type UndelegateCallback struct { HostZoneId string `protobuf:"bytes,1,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"` SplitDelegations []*SplitDelegation `protobuf:"bytes,2,rep,name=split_delegations,json=splitDelegations,proto3" json:"split_delegations,omitempty"` EpochUnbondingRecordIds []uint64 `` /* 142-byte string literal not displayed */ }
---------------------- Undelegation Callbacks ---------------------- //
func (*UndelegateCallback) Descriptor ¶
func (*UndelegateCallback) Descriptor() ([]byte, []int)
func (*UndelegateCallback) GetEpochUnbondingRecordIds ¶
func (m *UndelegateCallback) GetEpochUnbondingRecordIds() []uint64
func (*UndelegateCallback) GetHostZoneId ¶
func (m *UndelegateCallback) GetHostZoneId() string
func (*UndelegateCallback) GetSplitDelegations ¶
func (m *UndelegateCallback) GetSplitDelegations() []*SplitDelegation
func (*UndelegateCallback) Marshal ¶
func (m *UndelegateCallback) Marshal() (dAtA []byte, err error)
func (*UndelegateCallback) MarshalTo ¶
func (m *UndelegateCallback) MarshalTo(dAtA []byte) (int, error)
func (*UndelegateCallback) MarshalToSizedBuffer ¶
func (m *UndelegateCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UndelegateCallback) ProtoMessage ¶
func (*UndelegateCallback) ProtoMessage()
func (*UndelegateCallback) Reset ¶
func (m *UndelegateCallback) Reset()
func (*UndelegateCallback) Size ¶
func (m *UndelegateCallback) Size() (n int)
func (*UndelegateCallback) String ¶
func (m *UndelegateCallback) String() string
func (*UndelegateCallback) Unmarshal ¶
func (m *UndelegateCallback) Unmarshal(dAtA []byte) error
func (*UndelegateCallback) XXX_DiscardUnknown ¶
func (m *UndelegateCallback) XXX_DiscardUnknown()
func (*UndelegateCallback) XXX_Marshal ¶
func (m *UndelegateCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UndelegateCallback) XXX_Merge ¶
func (m *UndelegateCallback) XXX_Merge(src proto.Message)
func (*UndelegateCallback) XXX_Size ¶
func (m *UndelegateCallback) XXX_Size() int
func (*UndelegateCallback) XXX_Unmarshal ¶
func (m *UndelegateCallback) XXX_Unmarshal(b []byte) error
type Validator ¶
type Validator struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Status Validator_ValidatorStatus `protobuf:"varint,3,opt,name=status,proto3,enum=stride.stakeibc.Validator_ValidatorStatus" json:"status,omitempty"` CommissionRate uint64 `protobuf:"varint,4,opt,name=commission_rate,json=commissionRate,proto3" json:"commission_rate,omitempty"` DelegationAmt uint64 `protobuf:"varint,5,opt,name=delegation_amt,json=delegationAmt,proto3" json:"delegation_amt,omitempty"` Weight uint64 `protobuf:"varint,6,opt,name=weight,proto3" json:"weight,omitempty"` InternalExchangeRate *ValidatorExchangeRate `protobuf:"bytes,7,opt,name=internal_exchange_rate,json=internalExchangeRate,proto3" json:"internal_exchange_rate,omitempty"` }
func (*Validator) Descriptor ¶
func (*Validator) GetAddress ¶
func (*Validator) GetCommissionRate ¶
func (*Validator) GetDelegationAmt ¶
func (*Validator) GetInternalExchangeRate ¶
func (m *Validator) GetInternalExchangeRate() *ValidatorExchangeRate
func (*Validator) GetStatus ¶
func (m *Validator) GetStatus() Validator_ValidatorStatus
func (*Validator) MarshalToSizedBuffer ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
type ValidatorExchangeRate ¶
type ValidatorExchangeRate struct { EpochNumber uint64 `protobuf:"varint,2,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"` }
func (*ValidatorExchangeRate) Descriptor ¶
func (*ValidatorExchangeRate) Descriptor() ([]byte, []int)
func (*ValidatorExchangeRate) GetEpochNumber ¶
func (m *ValidatorExchangeRate) GetEpochNumber() uint64
func (*ValidatorExchangeRate) Marshal ¶
func (m *ValidatorExchangeRate) Marshal() (dAtA []byte, err error)
func (*ValidatorExchangeRate) MarshalTo ¶
func (m *ValidatorExchangeRate) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorExchangeRate) MarshalToSizedBuffer ¶
func (m *ValidatorExchangeRate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorExchangeRate) ProtoMessage ¶
func (*ValidatorExchangeRate) ProtoMessage()
func (*ValidatorExchangeRate) Reset ¶
func (m *ValidatorExchangeRate) Reset()
func (*ValidatorExchangeRate) Size ¶
func (m *ValidatorExchangeRate) Size() (n int)
func (*ValidatorExchangeRate) String ¶
func (m *ValidatorExchangeRate) String() string
func (*ValidatorExchangeRate) Unmarshal ¶
func (m *ValidatorExchangeRate) Unmarshal(dAtA []byte) error
func (*ValidatorExchangeRate) XXX_DiscardUnknown ¶
func (m *ValidatorExchangeRate) XXX_DiscardUnknown()
func (*ValidatorExchangeRate) XXX_Marshal ¶
func (m *ValidatorExchangeRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorExchangeRate) XXX_Merge ¶
func (m *ValidatorExchangeRate) XXX_Merge(src proto.Message)
func (*ValidatorExchangeRate) XXX_Size ¶
func (m *ValidatorExchangeRate) XXX_Size() int
func (*ValidatorExchangeRate) XXX_Unmarshal ¶
func (m *ValidatorExchangeRate) XXX_Unmarshal(b []byte) error
type Validator_ValidatorStatus ¶
type Validator_ValidatorStatus int32
const ( Validator_ACTIVE Validator_ValidatorStatus = 0 Validator_INACTIVE Validator_ValidatorStatus = 1 )
func (Validator_ValidatorStatus) EnumDescriptor ¶
func (Validator_ValidatorStatus) EnumDescriptor() ([]byte, []int)
func (Validator_ValidatorStatus) String ¶
func (x Validator_ValidatorStatus) String() string
Click to show internal directories.
Click to hide internal directories.