Documentation ¶
Index ¶
- Variables
- func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, ...) error
- type Description
- func (*Description) Descriptor() ([]byte, []int)
- func (this *Description) Equal(that interface{}) bool
- func (m *Description) GetDetails() string
- func (m *Description) GetIdentity() string
- func (m *Description) GetMoniker() string
- func (m *Description) GetSecurityContact() string
- func (m *Description) GetWebsite() string
- func (m *Description) Marshal() (dAtA []byte, err error)
- func (m *Description) MarshalTo(dAtA []byte) (int, error)
- func (m *Description) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Description) ProtoMessage()
- func (m *Description) Reset()
- func (m *Description) Size() (n int)
- func (m *Description) String() string
- func (m *Description) Unmarshal(dAtA []byte) error
- func (m *Description) XXX_DiscardUnknown()
- func (m *Description) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Description) XXX_Merge(src proto.Message)
- func (m *Description) XXX_Size() int
- func (m *Description) XXX_Unmarshal(b []byte) error
- type MetaNode
- func (*MetaNode) Descriptor() ([]byte, []int)
- func (this *MetaNode) Equal(that interface{}) bool
- func (m *MetaNode) GetCreationTime() time.Time
- func (m *MetaNode) GetDescription() Description
- func (m *MetaNode) GetNetworkAddress() string
- func (m *MetaNode) GetOwnerAddress() string
- func (m *MetaNode) GetPubkey() *types1.Any
- func (m *MetaNode) GetStatus() types2.BondStatus
- func (m *MetaNode) GetSuspend() bool
- func (m *MetaNode) Marshal() (dAtA []byte, err error)
- func (m *MetaNode) MarshalTo(dAtA []byte) (int, error)
- func (m *MetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetaNode) ProtoMessage()
- func (m *MetaNode) Reset()
- func (m *MetaNode) Size() (n int)
- func (m *MetaNode) String() string
- func (m *MetaNode) Unmarshal(dAtA []byte) error
- func (v MetaNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *MetaNode) XXX_DiscardUnknown()
- func (m *MetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetaNode) XXX_Merge(src proto.Message)
- func (m *MetaNode) XXX_Size() int
- func (m *MetaNode) XXX_Unmarshal(b []byte) error
- type MetaNodeRegistrationVotePool
- func (*MetaNodeRegistrationVotePool) Descriptor() ([]byte, []int)
- func (this *MetaNodeRegistrationVotePool) Equal(that interface{}) bool
- func (m *MetaNodeRegistrationVotePool) GetApproveList() []string
- func (m *MetaNodeRegistrationVotePool) GetExpireTime() time.Time
- func (m *MetaNodeRegistrationVotePool) GetIsVotePassed() bool
- func (m *MetaNodeRegistrationVotePool) GetNetworkAddress() string
- func (m *MetaNodeRegistrationVotePool) GetRejectList() []string
- func (m *MetaNodeRegistrationVotePool) Marshal() (dAtA []byte, err error)
- func (m *MetaNodeRegistrationVotePool) MarshalTo(dAtA []byte) (int, error)
- func (m *MetaNodeRegistrationVotePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetaNodeRegistrationVotePool) ProtoMessage()
- func (m *MetaNodeRegistrationVotePool) Reset()
- func (m *MetaNodeRegistrationVotePool) Size() (n int)
- func (m *MetaNodeRegistrationVotePool) String() string
- func (m *MetaNodeRegistrationVotePool) Unmarshal(dAtA []byte) error
- func (m *MetaNodeRegistrationVotePool) XXX_DiscardUnknown()
- func (m *MetaNodeRegistrationVotePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetaNodeRegistrationVotePool) XXX_Merge(src proto.Message)
- func (m *MetaNodeRegistrationVotePool) XXX_Size() int
- func (m *MetaNodeRegistrationVotePool) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetBondDenom() string
- func (m *Params) GetMaxEntries() uint32
- func (m *Params) GetResourceNodeMinDeposit() types.Coin
- func (m *Params) GetResourceNodeRegEnabled() bool
- func (m *Params) GetUnbondingCompletionTime() time.Duration
- func (m *Params) GetUnbondingThreasholdTime() time.Duration
- func (m *Params) GetVotingPeriod() time.Duration
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type ResourceNode
- func (*ResourceNode) Descriptor() ([]byte, []int)
- func (this *ResourceNode) Equal(that interface{}) bool
- func (m *ResourceNode) GetCreationTime() time.Time
- func (m *ResourceNode) GetDescription() Description
- func (m *ResourceNode) GetNetworkAddress() string
- func (m *ResourceNode) GetNodeType() uint32
- func (m *ResourceNode) GetOwnerAddress() string
- func (m *ResourceNode) GetPubkey() *types1.Any
- func (m *ResourceNode) GetStatus() types2.BondStatus
- func (m *ResourceNode) GetSuspend() bool
- func (m *ResourceNode) Marshal() (dAtA []byte, err error)
- func (m *ResourceNode) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceNode) ProtoMessage()
- func (m *ResourceNode) Reset()
- func (m *ResourceNode) Size() (n int)
- func (m *ResourceNode) String() string
- func (m *ResourceNode) Unmarshal(dAtA []byte) error
- func (v ResourceNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *ResourceNode) XXX_DiscardUnknown()
- func (m *ResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceNode) XXX_Merge(src proto.Message)
- func (m *ResourceNode) XXX_Size() int
- func (m *ResourceNode) XXX_Unmarshal(b []byte) error
- type UnbondingNode
- func (*UnbondingNode) Descriptor() ([]byte, []int)
- func (this *UnbondingNode) Equal(that interface{}) bool
- func (m *UnbondingNode) GetEntries() []*UnbondingNodeEntry
- func (m *UnbondingNode) GetIsMetaNode() bool
- func (m *UnbondingNode) GetNetworkAddr() string
- func (m *UnbondingNode) Marshal() (dAtA []byte, err error)
- func (m *UnbondingNode) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondingNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondingNode) ProtoMessage()
- func (m *UnbondingNode) Reset()
- func (m *UnbondingNode) Size() (n int)
- func (m *UnbondingNode) String() string
- func (m *UnbondingNode) Unmarshal(dAtA []byte) error
- func (m *UnbondingNode) XXX_DiscardUnknown()
- func (m *UnbondingNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondingNode) XXX_Merge(src proto.Message)
- func (m *UnbondingNode) XXX_Size() int
- func (m *UnbondingNode) XXX_Unmarshal(b []byte) error
- type UnbondingNodeEntry
- func (*UnbondingNodeEntry) Descriptor() ([]byte, []int)
- func (this *UnbondingNodeEntry) Equal(that interface{}) bool
- func (m *UnbondingNodeEntry) GetCompletionTime() time.Time
- func (m *UnbondingNodeEntry) GetCreationHeight() int64
- func (m *UnbondingNodeEntry) Marshal() (dAtA []byte, err error)
- func (m *UnbondingNodeEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondingNodeEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondingNodeEntry) ProtoMessage()
- func (m *UnbondingNodeEntry) Reset()
- func (m *UnbondingNodeEntry) Size() (n int)
- func (m *UnbondingNodeEntry) String() string
- func (m *UnbondingNodeEntry) Unmarshal(dAtA []byte) error
- func (m *UnbondingNodeEntry) XXX_DiscardUnknown()
- func (m *UnbondingNodeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondingNodeEntry) XXX_Merge(src proto.Message)
- func (m *UnbondingNodeEntry) XXX_Size() int
- func (m *UnbondingNodeEntry) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ResourceNodeKey = []byte{0x01} MetaNodeKey = []byte{0x02} )
Functions ¶
func MigrateStore ¶
func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, legacySubspace types.ParamsSubspace, cdc codec.Codec) error
Types ¶
type Description ¶
type Description struct { Moniker string `protobuf:"bytes,1,opt,name=moniker,proto3" json:"moniker" yaml:"moniker"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity" yaml:"identity",omitempty` Website string `protobuf:"bytes,3,opt,name=website,proto3" json:"website" yaml:"website",omitempty` SecurityContact string `` /* 130-byte string literal not displayed */ Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details" yaml:"details",omitempty` }
func (*Description) Descriptor ¶
func (*Description) Descriptor() ([]byte, []int)
func (*Description) Equal ¶
func (this *Description) Equal(that interface{}) bool
func (*Description) GetDetails ¶
func (m *Description) GetDetails() string
func (*Description) GetIdentity ¶
func (m *Description) GetIdentity() string
func (*Description) GetMoniker ¶
func (m *Description) GetMoniker() string
func (*Description) GetSecurityContact ¶
func (m *Description) GetSecurityContact() string
func (*Description) GetWebsite ¶
func (m *Description) GetWebsite() string
func (*Description) Marshal ¶
func (m *Description) Marshal() (dAtA []byte, err error)
func (*Description) MarshalToSizedBuffer ¶
func (m *Description) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Description) ProtoMessage ¶
func (*Description) ProtoMessage()
func (*Description) Reset ¶
func (m *Description) Reset()
func (*Description) Size ¶
func (m *Description) Size() (n int)
func (*Description) String ¶
func (m *Description) String() string
func (*Description) Unmarshal ¶
func (m *Description) Unmarshal(dAtA []byte) error
func (*Description) XXX_DiscardUnknown ¶
func (m *Description) XXX_DiscardUnknown()
func (*Description) XXX_Marshal ¶
func (m *Description) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Description) XXX_Merge ¶
func (m *Description) XXX_Merge(src proto.Message)
func (*Description) XXX_Size ¶
func (m *Description) XXX_Size() int
func (*Description) XXX_Unmarshal ¶
func (m *Description) XXX_Unmarshal(b []byte) error
type MetaNode ¶
type MetaNode struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` Pubkey *types1.Any `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey" yaml:"pubkey"` Suspend bool `protobuf:"varint,3,opt,name=suspend,proto3" json:"suspend" yaml:"suspend"` Status types2.BondStatus `protobuf:"varint,4,opt,name=status,proto3,enum=cosmos.staking.v1beta1.BondStatus" json:"status" yaml:"status"` Tokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=tokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"tokens" yaml:"tokens"` OwnerAddress string `protobuf:"bytes,6,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` // string beneficiary_address = 7 [ // (gogoproto.jsontag) = "beneficiary_address", // (gogoproto.moretags) = "yaml:\"beneficiary_address\"" // ]; Description Description `protobuf:"bytes,7,opt,name=description,proto3" json:"description" yaml:"description"` CreationTime time.Time `protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3,stdtime" json:"creation_time" yaml:"creation_time"` }
func MustUnmarshalMetaNode ¶
MustUnmarshalMetaNode unmarshal an meta node from a store value. Panics if fails
func UnmarshalMetaNode ¶
UnmarshalMetaNode unmarshal an meta node from a store value
func (*MetaNode) Descriptor ¶
func (*MetaNode) GetCreationTime ¶
func (*MetaNode) GetDescription ¶
func (m *MetaNode) GetDescription() Description
func (*MetaNode) GetNetworkAddress ¶
func (*MetaNode) GetOwnerAddress ¶
func (*MetaNode) GetStatus ¶
func (m *MetaNode) GetStatus() types2.BondStatus
func (*MetaNode) GetSuspend ¶
func (*MetaNode) MarshalToSizedBuffer ¶
func (*MetaNode) ProtoMessage ¶
func (*MetaNode) ProtoMessage()
func (MetaNode) UnpackInterfaces ¶
func (v MetaNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*MetaNode) XXX_DiscardUnknown ¶
func (m *MetaNode) XXX_DiscardUnknown()
func (*MetaNode) XXX_Marshal ¶
func (*MetaNode) XXX_Unmarshal ¶
type MetaNodeRegistrationVotePool ¶
type MetaNodeRegistrationVotePool struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` ApproveList []string `protobuf:"bytes,2,rep,name=approve_list,json=approveList,proto3" json:"approve_list" yaml:"approve_list"` RejectList []string `protobuf:"bytes,3,rep,name=reject_list,json=rejectList,proto3" json:"reject_list" yaml:"reject_list"` ExpireTime time.Time `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3,stdtime" json:"expire_time" yaml:"expire_time"` IsVotePassed bool `protobuf:"varint,5,opt,name=is_vote_passed,json=isVotePassed,proto3" json:"is_vote_passed" yaml:"is_vote_passed"` }
func (*MetaNodeRegistrationVotePool) Descriptor ¶
func (*MetaNodeRegistrationVotePool) Descriptor() ([]byte, []int)
func (*MetaNodeRegistrationVotePool) Equal ¶
func (this *MetaNodeRegistrationVotePool) Equal(that interface{}) bool
func (*MetaNodeRegistrationVotePool) GetApproveList ¶
func (m *MetaNodeRegistrationVotePool) GetApproveList() []string
func (*MetaNodeRegistrationVotePool) GetExpireTime ¶
func (m *MetaNodeRegistrationVotePool) GetExpireTime() time.Time
func (*MetaNodeRegistrationVotePool) GetIsVotePassed ¶
func (m *MetaNodeRegistrationVotePool) GetIsVotePassed() bool
func (*MetaNodeRegistrationVotePool) GetNetworkAddress ¶
func (m *MetaNodeRegistrationVotePool) GetNetworkAddress() string
func (*MetaNodeRegistrationVotePool) GetRejectList ¶
func (m *MetaNodeRegistrationVotePool) GetRejectList() []string
func (*MetaNodeRegistrationVotePool) Marshal ¶
func (m *MetaNodeRegistrationVotePool) Marshal() (dAtA []byte, err error)
func (*MetaNodeRegistrationVotePool) MarshalTo ¶
func (m *MetaNodeRegistrationVotePool) MarshalTo(dAtA []byte) (int, error)
func (*MetaNodeRegistrationVotePool) MarshalToSizedBuffer ¶
func (m *MetaNodeRegistrationVotePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetaNodeRegistrationVotePool) ProtoMessage ¶
func (*MetaNodeRegistrationVotePool) ProtoMessage()
func (*MetaNodeRegistrationVotePool) Reset ¶
func (m *MetaNodeRegistrationVotePool) Reset()
func (*MetaNodeRegistrationVotePool) Size ¶
func (m *MetaNodeRegistrationVotePool) Size() (n int)
func (*MetaNodeRegistrationVotePool) String ¶
func (m *MetaNodeRegistrationVotePool) String() string
func (*MetaNodeRegistrationVotePool) Unmarshal ¶
func (m *MetaNodeRegistrationVotePool) Unmarshal(dAtA []byte) error
func (*MetaNodeRegistrationVotePool) XXX_DiscardUnknown ¶
func (m *MetaNodeRegistrationVotePool) XXX_DiscardUnknown()
func (*MetaNodeRegistrationVotePool) XXX_Marshal ¶
func (m *MetaNodeRegistrationVotePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetaNodeRegistrationVotePool) XXX_Merge ¶
func (m *MetaNodeRegistrationVotePool) XXX_Merge(src proto.Message)
func (*MetaNodeRegistrationVotePool) XXX_Size ¶
func (m *MetaNodeRegistrationVotePool) XXX_Size() int
func (*MetaNodeRegistrationVotePool) XXX_Unmarshal ¶
func (m *MetaNodeRegistrationVotePool) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { BondDenom string `protobuf:"bytes,1,opt,name=bond_denom,json=bondDenom,proto3" json:"bond_denom" yaml:"bond_denom"` UnbondingThreasholdTime time.Duration `` /* 167-byte string literal not displayed */ UnbondingCompletionTime time.Duration `` /* 167-byte string literal not displayed */ MaxEntries uint32 `protobuf:"varint,4,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries" yaml:"max_entries",omitempty` ResourceNodeRegEnabled bool `` /* 155-byte string literal not displayed */ ResourceNodeMinDeposit types.Coin `` /* 154-byte string literal not displayed */ VotingPeriod time.Duration `protobuf:"bytes,7,opt,name=voting_period,json=votingPeriod,proto3,stdduration" json:"voting_period" yaml:"voting_period"` }
Params defines the Register module parameters
func (*Params) Descriptor ¶
func (*Params) GetBondDenom ¶
func (*Params) GetMaxEntries ¶
func (*Params) GetResourceNodeMinDeposit ¶
func (*Params) GetResourceNodeRegEnabled ¶
func (*Params) GetUnbondingCompletionTime ¶
func (*Params) GetUnbondingThreasholdTime ¶
func (*Params) GetVotingPeriod ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type ResourceNode ¶
type ResourceNode struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` Pubkey *types1.Any `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey" yaml:"pubkey"` Suspend bool `protobuf:"varint,3,opt,name=suspend,proto3" json:"suspend" yaml:"suspend"` Status types2.BondStatus `protobuf:"varint,4,opt,name=status,proto3,enum=cosmos.staking.v1beta1.BondStatus" json:"status" yaml:"status"` Tokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=tokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"tokens" yaml:"tokens"` OwnerAddress string `protobuf:"bytes,6,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` Description Description `protobuf:"bytes,7,opt,name=description,proto3" json:"description" yaml:"description"` CreationTime time.Time `protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3,stdtime" json:"creation_time" yaml:"creation_time"` NodeType uint32 `protobuf:"varint,9,opt,name=node_type,json=nodeType,proto3" json:"node_type" yaml:"node_type"` EffectiveTokens github_com_cosmos_cosmos_sdk_types.Int `` /* 171-byte string literal not displayed */ }
func MustUnmarshalResourceNode ¶
func MustUnmarshalResourceNode(cdc codec.Codec, value []byte) ResourceNode
MustUnmarshalResourceNode unmarshal a resourceNode from a store value. Panics if fails
func UnmarshalResourceNode ¶
func UnmarshalResourceNode(cdc codec.Codec, value []byte) (v ResourceNode, err error)
UnmarshalResourceNode unmarshal a resourceNode from a store value
func (*ResourceNode) Descriptor ¶
func (*ResourceNode) Descriptor() ([]byte, []int)
func (*ResourceNode) Equal ¶
func (this *ResourceNode) Equal(that interface{}) bool
func (*ResourceNode) GetCreationTime ¶
func (m *ResourceNode) GetCreationTime() time.Time
func (*ResourceNode) GetDescription ¶
func (m *ResourceNode) GetDescription() Description
func (*ResourceNode) GetNetworkAddress ¶
func (m *ResourceNode) GetNetworkAddress() string
func (*ResourceNode) GetNodeType ¶
func (m *ResourceNode) GetNodeType() uint32
func (*ResourceNode) GetOwnerAddress ¶
func (m *ResourceNode) GetOwnerAddress() string
func (*ResourceNode) GetPubkey ¶
func (m *ResourceNode) GetPubkey() *types1.Any
func (*ResourceNode) GetStatus ¶
func (m *ResourceNode) GetStatus() types2.BondStatus
func (*ResourceNode) GetSuspend ¶
func (m *ResourceNode) GetSuspend() bool
func (*ResourceNode) Marshal ¶
func (m *ResourceNode) Marshal() (dAtA []byte, err error)
func (*ResourceNode) MarshalToSizedBuffer ¶
func (m *ResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceNode) ProtoMessage ¶
func (*ResourceNode) ProtoMessage()
func (*ResourceNode) Reset ¶
func (m *ResourceNode) Reset()
func (*ResourceNode) Size ¶
func (m *ResourceNode) Size() (n int)
func (*ResourceNode) String ¶
func (m *ResourceNode) String() string
func (*ResourceNode) Unmarshal ¶
func (m *ResourceNode) Unmarshal(dAtA []byte) error
func (ResourceNode) UnpackInterfaces ¶
func (v ResourceNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*ResourceNode) XXX_DiscardUnknown ¶
func (m *ResourceNode) XXX_DiscardUnknown()
func (*ResourceNode) XXX_Marshal ¶
func (m *ResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceNode) XXX_Merge ¶
func (m *ResourceNode) XXX_Merge(src proto.Message)
func (*ResourceNode) XXX_Size ¶
func (m *ResourceNode) XXX_Size() int
func (*ResourceNode) XXX_Unmarshal ¶
func (m *ResourceNode) XXX_Unmarshal(b []byte) error
type UnbondingNode ¶
type UnbondingNode struct { NetworkAddr string `protobuf:"bytes,1,opt,name=network_addr,json=networkAddr,proto3" json:"network_addr" yaml:"network_addr"` IsMetaNode bool `protobuf:"varint,2,opt,name=is_meta_node,json=isMetaNode,proto3" json:"is_meta_node" yaml:"is_meta_node"` Entries []*UnbondingNodeEntry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries" yaml:"entries"` }
UnbondingNode stores all of a single delegator's unbonding bonds for a single unbonding node in a time-ordered list
func (*UnbondingNode) Descriptor ¶
func (*UnbondingNode) Descriptor() ([]byte, []int)
func (*UnbondingNode) Equal ¶
func (this *UnbondingNode) Equal(that interface{}) bool
func (*UnbondingNode) GetEntries ¶
func (m *UnbondingNode) GetEntries() []*UnbondingNodeEntry
func (*UnbondingNode) GetIsMetaNode ¶
func (m *UnbondingNode) GetIsMetaNode() bool
func (*UnbondingNode) GetNetworkAddr ¶
func (m *UnbondingNode) GetNetworkAddr() string
func (*UnbondingNode) Marshal ¶
func (m *UnbondingNode) Marshal() (dAtA []byte, err error)
func (*UnbondingNode) MarshalToSizedBuffer ¶
func (m *UnbondingNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnbondingNode) ProtoMessage ¶
func (*UnbondingNode) ProtoMessage()
func (*UnbondingNode) Reset ¶
func (m *UnbondingNode) Reset()
func (*UnbondingNode) Size ¶
func (m *UnbondingNode) Size() (n int)
func (*UnbondingNode) String ¶
func (m *UnbondingNode) String() string
func (*UnbondingNode) Unmarshal ¶
func (m *UnbondingNode) Unmarshal(dAtA []byte) error
func (*UnbondingNode) XXX_DiscardUnknown ¶
func (m *UnbondingNode) XXX_DiscardUnknown()
func (*UnbondingNode) XXX_Marshal ¶
func (m *UnbondingNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbondingNode) XXX_Merge ¶
func (m *UnbondingNode) XXX_Merge(src proto.Message)
func (*UnbondingNode) XXX_Size ¶
func (m *UnbondingNode) XXX_Size() int
func (*UnbondingNode) XXX_Unmarshal ¶
func (m *UnbondingNode) XXX_Unmarshal(b []byte) error
type UnbondingNodeEntry ¶
type UnbondingNodeEntry struct { CreationHeight int64 `protobuf:"varint,1,opt,name=creation_height,json=creationHeight,proto3" json:"creation_height" yaml:"creation_height"` CompletionTime time.Time `protobuf:"bytes,2,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"creation_time" yaml:"creation_time"` InitialBalance *github_com_cosmos_cosmos_sdk_types.Int `` /* 166-byte string literal not displayed */ Balance *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"balance" yaml:"balance"` }
func (*UnbondingNodeEntry) Descriptor ¶
func (*UnbondingNodeEntry) Descriptor() ([]byte, []int)
func (*UnbondingNodeEntry) Equal ¶
func (this *UnbondingNodeEntry) Equal(that interface{}) bool
func (*UnbondingNodeEntry) GetCompletionTime ¶
func (m *UnbondingNodeEntry) GetCompletionTime() time.Time
func (*UnbondingNodeEntry) GetCreationHeight ¶
func (m *UnbondingNodeEntry) GetCreationHeight() int64
func (*UnbondingNodeEntry) Marshal ¶
func (m *UnbondingNodeEntry) Marshal() (dAtA []byte, err error)
func (*UnbondingNodeEntry) MarshalTo ¶
func (m *UnbondingNodeEntry) MarshalTo(dAtA []byte) (int, error)
func (*UnbondingNodeEntry) MarshalToSizedBuffer ¶
func (m *UnbondingNodeEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnbondingNodeEntry) ProtoMessage ¶
func (*UnbondingNodeEntry) ProtoMessage()
func (*UnbondingNodeEntry) Reset ¶
func (m *UnbondingNodeEntry) Reset()
func (*UnbondingNodeEntry) Size ¶
func (m *UnbondingNodeEntry) Size() (n int)
func (*UnbondingNodeEntry) String ¶
func (m *UnbondingNodeEntry) String() string
func (*UnbondingNodeEntry) Unmarshal ¶
func (m *UnbondingNodeEntry) Unmarshal(dAtA []byte) error
func (*UnbondingNodeEntry) XXX_DiscardUnknown ¶
func (m *UnbondingNodeEntry) XXX_DiscardUnknown()
func (*UnbondingNodeEntry) XXX_Marshal ¶
func (m *UnbondingNodeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbondingNodeEntry) XXX_Merge ¶
func (m *UnbondingNodeEntry) XXX_Merge(src proto.Message)
func (*UnbondingNodeEntry) XXX_Size ¶
func (m *UnbondingNodeEntry) XXX_Size() int
func (*UnbondingNodeEntry) XXX_Unmarshal ¶
func (m *UnbondingNodeEntry) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.