Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AccAddressFromBech32(address string, check_hrp string) (addr sdk.AccAddress, err error)
- func KeyPrefix(p string) []byte
- func MustMarshalDelegation(cdc codec.BinaryCodec, delegation Delegation) []byte
- func MustMarshalDelegationPlan(cdc codec.BinaryCodec, delegationPlan DelegationPlan) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error
- func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValAddressFromBech32(address string, check_hrp string) (addr sdk.ValAddress, err error)
- type Allocation
- type Allocations
- func DelegationPlanFromCoins(zone RegisteredZone, coin sdk.Coin) Allocations
- func DelegationPlanFromGlobalIntent(currentState Allocations, zone RegisteredZone, coin sdk.Coin, ...) (Allocations, error)
- func DelegationPlanFromUserIntent(zone RegisteredZone, coin sdk.Coin, intent ValidatorIntents) Allocations
- func (a Allocations) Allocate(address string, amount sdk.Coins) Allocations
- func (bins Allocations) DetermineThreshold() sdk.Int
- func (bins Allocations) FindAccountForDelegation(validatorAddress string, coin sdk.Coin) (string, Allocations)
- func (a Allocations) Get(address string) *Allocation
- func (bins Allocations) SmallestBin() Allocation
- func (a Allocations) Sorted() Allocations
- func (a Allocations) SortedByAmount() Allocations
- func (a Allocations) Sub(amount sdk.Coins, address string) (Allocations, sdk.Coins)
- func (a Allocations) Sum() sdk.Coins
- func (a Allocations) SumAll() sdk.Int
- func (a Allocations) SumForDenom(denom string) sdk.Int
- type ChannelKeeper
- type Delegation
- func (*Delegation) Descriptor() ([]byte, []int)
- func (m *Delegation) GetDelegationAddress() string
- func (d Delegation) GetDelegatorAddr() sdk.AccAddress
- func (m *Delegation) GetHeight() int64
- func (m *Delegation) GetRedelegationEnd() int64
- func (d Delegation) GetValidatorAddr() sdk.ValAddress
- func (m *Delegation) GetValidatorAddress() string
- func (m *Delegation) Marshal() (dAtA []byte, err error)
- func (m *Delegation) MarshalTo(dAtA []byte) (int, error)
- func (m *Delegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Delegation) ProtoMessage()
- func (m *Delegation) Reset()
- func (m *Delegation) Size() (n int)
- func (m *Delegation) String() string
- func (m *Delegation) Unmarshal(dAtA []byte) error
- func (m *Delegation) XXX_DiscardUnknown()
- func (m *Delegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Delegation) XXX_Merge(src proto.Message)
- func (m *Delegation) XXX_Size() int
- func (m *Delegation) XXX_Unmarshal(b []byte) error
- type DelegationPlan
- func (*DelegationPlan) Descriptor() ([]byte, []int)
- func (d DelegationPlan) GetDelegatorAddr() sdk.AccAddress
- func (m *DelegationPlan) GetDelegatorAddress() string
- func (d DelegationPlan) GetValidatorAddr() sdk.ValAddress
- func (m *DelegationPlan) GetValidatorAddress() string
- func (m *DelegationPlan) GetValue() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *DelegationPlan) Marshal() (dAtA []byte, err error)
- func (m *DelegationPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegationPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegationPlan) ProtoMessage()
- func (m *DelegationPlan) Reset()
- func (m *DelegationPlan) Size() (n int)
- func (m *DelegationPlan) String() string
- func (m *DelegationPlan) Unmarshal(dAtA []byte) error
- func (m *DelegationPlan) XXX_DiscardUnknown()
- func (m *DelegationPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegationPlan) XXX_Merge(src proto.Message)
- func (m *DelegationPlan) XXX_Size() int
- func (m *DelegationPlan) XXX_Unmarshal(b []byte) error
- type DelegatorIntent
- func (di DelegatorIntent) AddOrdinal(multiplier sdk.Int, intents ValidatorIntents) DelegatorIntent
- func (*DelegatorIntent) Descriptor() ([]byte, []int)
- func (m *DelegatorIntent) GetDelegator() string
- func (m *DelegatorIntent) GetIntents() []*ValidatorIntent
- func (m *DelegatorIntent) Marshal() (dAtA []byte, err error)
- func (m *DelegatorIntent) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegatorIntent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (di DelegatorIntent) Normalize() DelegatorIntent
- func (di DelegatorIntent) Ordinalize(multiple sdk.Int) DelegatorIntent
- func (*DelegatorIntent) ProtoMessage()
- func (m *DelegatorIntent) Reset()
- func (m *DelegatorIntent) Size() (n int)
- func (d DelegatorIntent) Sorted() []*ValidatorIntent
- func (m *DelegatorIntent) String() string
- func (di DelegatorIntent) ToAllocations(multiple sdk.Int) Allocations
- func (di DelegatorIntent) ToMap(multiple sdk.Int) map[string]sdk.Int
- func (di DelegatorIntent) ToValidatorIntents() ValidatorIntents
- func (m *DelegatorIntent) Unmarshal(dAtA []byte) error
- func (m *DelegatorIntent) XXX_DiscardUnknown()
- func (m *DelegatorIntent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegatorIntent) XXX_Merge(src proto.Message)
- func (m *DelegatorIntent) XXX_Size() int
- func (m *DelegatorIntent) XXX_Unmarshal(b []byte) error
- type Diff
- type Diffs
- type Errors
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetZones() []RegisteredZone
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type ICAAccount
- func (*ICAAccount) Descriptor() ([]byte, []int)
- func (m *ICAAccount) GetAddress() string
- func (m *ICAAccount) GetBalance() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *ICAAccount) GetBalanceWaitgroup() uint32
- func (m *ICAAccount) GetPortName() string
- 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 MsgClient
- type MsgRequestRedemption
- func (*MsgRequestRedemption) Descriptor() ([]byte, []int)
- func (msg MsgRequestRedemption) GetSignBytes() []byte
- func (msg MsgRequestRedemption) GetSigners() []sdk.AccAddress
- func (m *MsgRequestRedemption) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestRedemption) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestRedemption) ProtoMessage()
- func (m *MsgRequestRedemption) Reset()
- func (msg MsgRequestRedemption) Route() string
- func (m *MsgRequestRedemption) Size() (n int)
- func (m *MsgRequestRedemption) String() string
- func (msg MsgRequestRedemption) Type() string
- func (m *MsgRequestRedemption) Unmarshal(dAtA []byte) error
- func (msg MsgRequestRedemption) ValidateBasic() error
- func (m *MsgRequestRedemption) XXX_DiscardUnknown()
- func (m *MsgRequestRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestRedemption) XXX_Merge(src proto.Message)
- func (m *MsgRequestRedemption) XXX_Size() int
- func (m *MsgRequestRedemption) XXX_Unmarshal(b []byte) error
- type MsgRequestRedemptionResponse
- func (*MsgRequestRedemptionResponse) Descriptor() ([]byte, []int)
- func (m *MsgRequestRedemptionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestRedemptionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestRedemptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestRedemptionResponse) ProtoMessage()
- func (m *MsgRequestRedemptionResponse) Reset()
- func (m *MsgRequestRedemptionResponse) Size() (n int)
- func (m *MsgRequestRedemptionResponse) String() string
- func (m *MsgRequestRedemptionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRequestRedemptionResponse) XXX_DiscardUnknown()
- func (m *MsgRequestRedemptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestRedemptionResponse) XXX_Merge(src proto.Message)
- func (m *MsgRequestRedemptionResponse) XXX_Size() int
- func (m *MsgRequestRedemptionResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSignalIntent
- func (*MsgSignalIntent) Descriptor() ([]byte, []int)
- func (msg MsgSignalIntent) GetSignBytes() []byte
- func (msg MsgSignalIntent) GetSigners() []sdk.AccAddress
- func (m *MsgSignalIntent) Marshal() (dAtA []byte, err error)
- func (m *MsgSignalIntent) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSignalIntent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSignalIntent) ProtoMessage()
- func (m *MsgSignalIntent) Reset()
- func (msg MsgSignalIntent) Route() string
- func (m *MsgSignalIntent) Size() (n int)
- func (m *MsgSignalIntent) String() string
- func (msg MsgSignalIntent) Type() string
- func (m *MsgSignalIntent) Unmarshal(dAtA []byte) error
- func (msg MsgSignalIntent) ValidateBasic() error
- func (m *MsgSignalIntent) XXX_DiscardUnknown()
- func (m *MsgSignalIntent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSignalIntent) XXX_Merge(src proto.Message)
- func (m *MsgSignalIntent) XXX_Size() int
- func (m *MsgSignalIntent) XXX_Unmarshal(b []byte) error
- type MsgSignalIntentResponse
- func (*MsgSignalIntentResponse) Descriptor() ([]byte, []int)
- func (m *MsgSignalIntentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSignalIntentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSignalIntentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSignalIntentResponse) ProtoMessage()
- func (m *MsgSignalIntentResponse) Reset()
- func (m *MsgSignalIntentResponse) Size() (n int)
- func (m *MsgSignalIntentResponse) String() string
- func (m *MsgSignalIntentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSignalIntentResponse) XXX_DiscardUnknown()
- func (m *MsgSignalIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSignalIntentResponse) XXX_Merge(src proto.Message)
- func (m *MsgSignalIntentResponse) XXX_Size() int
- func (m *MsgSignalIntentResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetDelegateInterval() uint64
- func (m *Params) GetDelegationAccountCount() uint64
- func (m *Params) GetDelegationAccountSplit() uint64
- func (m *Params) GetDelegationsInterval() uint64
- func (m *Params) GetDepositInterval() uint64
- func (m *Params) GetValidatorsetInterval() uint64
- 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p 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 PortConnectionTuple
- func (*PortConnectionTuple) Descriptor() ([]byte, []int)
- func (m *PortConnectionTuple) GetConnectionId() string
- func (m *PortConnectionTuple) GetPortId() string
- func (m *PortConnectionTuple) Marshal() (dAtA []byte, err error)
- func (m *PortConnectionTuple) MarshalTo(dAtA []byte) (int, error)
- func (m *PortConnectionTuple) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PortConnectionTuple) ProtoMessage()
- func (m *PortConnectionTuple) Reset()
- func (m *PortConnectionTuple) Size() (n int)
- func (m *PortConnectionTuple) String() string
- func (m *PortConnectionTuple) Unmarshal(dAtA []byte) error
- func (m *PortConnectionTuple) XXX_DiscardUnknown()
- func (m *PortConnectionTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PortConnectionTuple) XXX_Merge(src proto.Message)
- func (m *PortConnectionTuple) XXX_Size() int
- func (m *PortConnectionTuple) XXX_Unmarshal(b []byte) error
- type PortKeeper
- type QueryClient
- type QueryDelegationPlansRequest
- func (*QueryDelegationPlansRequest) Descriptor() ([]byte, []int)
- func (m *QueryDelegationPlansRequest) GetChainId() string
- func (m *QueryDelegationPlansRequest) GetPagination() *query.PageRequest
- func (m *QueryDelegationPlansRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegationPlansRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegationPlansRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegationPlansRequest) ProtoMessage()
- func (m *QueryDelegationPlansRequest) Reset()
- func (m *QueryDelegationPlansRequest) Size() (n int)
- func (m *QueryDelegationPlansRequest) String() string
- func (m *QueryDelegationPlansRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDelegationPlansRequest) XXX_DiscardUnknown()
- func (m *QueryDelegationPlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegationPlansRequest) XXX_Merge(src proto.Message)
- func (m *QueryDelegationPlansRequest) XXX_Size() int
- func (m *QueryDelegationPlansRequest) XXX_Unmarshal(b []byte) error
- type QueryDelegationPlansResponse
- func (*QueryDelegationPlansResponse) Descriptor() ([]byte, []int)
- func (m *QueryDelegationPlansResponse) GetDelegations() []DelegationPlan
- func (m *QueryDelegationPlansResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegationPlansResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegationPlansResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegationPlansResponse) ProtoMessage()
- func (m *QueryDelegationPlansResponse) Reset()
- func (m *QueryDelegationPlansResponse) Size() (n int)
- func (m *QueryDelegationPlansResponse) String() string
- func (m *QueryDelegationPlansResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDelegationPlansResponse) XXX_DiscardUnknown()
- func (m *QueryDelegationPlansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegationPlansResponse) XXX_Merge(src proto.Message)
- func (m *QueryDelegationPlansResponse) XXX_Size() int
- func (m *QueryDelegationPlansResponse) XXX_Unmarshal(b []byte) error
- type QueryDelegationsRequest
- func (*QueryDelegationsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDelegationsRequest) GetChainId() string
- func (m *QueryDelegationsRequest) GetPagination() *query.PageRequest
- func (m *QueryDelegationsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegationsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegationsRequest) ProtoMessage()
- func (m *QueryDelegationsRequest) Reset()
- func (m *QueryDelegationsRequest) Size() (n int)
- func (m *QueryDelegationsRequest) String() string
- func (m *QueryDelegationsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDelegationsRequest) XXX_DiscardUnknown()
- func (m *QueryDelegationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegationsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDelegationsRequest) XXX_Size() int
- func (m *QueryDelegationsRequest) XXX_Unmarshal(b []byte) error
- type QueryDelegationsResponse
- func (*QueryDelegationsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDelegationsResponse) GetDelegations() []Delegation
- func (m *QueryDelegationsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegationsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegationsResponse) ProtoMessage()
- func (m *QueryDelegationsResponse) Reset()
- func (m *QueryDelegationsResponse) Size() (n int)
- func (m *QueryDelegationsResponse) String() string
- func (m *QueryDelegationsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDelegationsResponse) XXX_DiscardUnknown()
- func (m *QueryDelegationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegationsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDelegationsResponse) XXX_Size() int
- func (m *QueryDelegationsResponse) XXX_Unmarshal(b []byte) error
- type QueryDelegatorDelegationsRequest
- func (*QueryDelegatorDelegationsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorDelegationsRequest) GetChainId() string
- func (m *QueryDelegatorDelegationsRequest) GetDelegatorAddress() string
- func (m *QueryDelegatorDelegationsRequest) GetPagination() *query.PageRequest
- func (m *QueryDelegatorDelegationsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorDelegationsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorDelegationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorDelegationsRequest) ProtoMessage()
- func (m *QueryDelegatorDelegationsRequest) Reset()
- func (m *QueryDelegatorDelegationsRequest) Size() (n int)
- func (m *QueryDelegatorDelegationsRequest) String() string
- func (m *QueryDelegatorDelegationsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorDelegationsRequest) XXX_DiscardUnknown()
- func (m *QueryDelegatorDelegationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorDelegationsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorDelegationsRequest) XXX_Size() int
- func (m *QueryDelegatorDelegationsRequest) XXX_Unmarshal(b []byte) error
- type QueryDelegatorDelegationsResponse
- func (*QueryDelegatorDelegationsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorDelegationsResponse) GetDelegations() []Delegation
- func (m *QueryDelegatorDelegationsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorDelegationsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorDelegationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorDelegationsResponse) ProtoMessage()
- func (m *QueryDelegatorDelegationsResponse) Reset()
- func (m *QueryDelegatorDelegationsResponse) Size() (n int)
- func (m *QueryDelegatorDelegationsResponse) String() string
- func (m *QueryDelegatorDelegationsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorDelegationsResponse) XXX_DiscardUnknown()
- func (m *QueryDelegatorDelegationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorDelegationsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorDelegationsResponse) XXX_Size() int
- func (m *QueryDelegatorDelegationsResponse) XXX_Unmarshal(b []byte) error
- type QueryDelegatorIntentRequest
- func (*QueryDelegatorIntentRequest) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorIntentRequest) GetChainId() string
- func (m *QueryDelegatorIntentRequest) GetDelegatorAddress() string
- func (m *QueryDelegatorIntentRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorIntentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorIntentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorIntentRequest) ProtoMessage()
- func (m *QueryDelegatorIntentRequest) Reset()
- func (m *QueryDelegatorIntentRequest) Size() (n int)
- func (m *QueryDelegatorIntentRequest) String() string
- func (m *QueryDelegatorIntentRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorIntentRequest) XXX_DiscardUnknown()
- func (m *QueryDelegatorIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorIntentRequest) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorIntentRequest) XXX_Size() int
- func (m *QueryDelegatorIntentRequest) XXX_Unmarshal(b []byte) error
- type QueryDelegatorIntentResponse
- func (*QueryDelegatorIntentResponse) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorIntentResponse) GetIntent() *DelegatorIntent
- func (m *QueryDelegatorIntentResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorIntentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorIntentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorIntentResponse) ProtoMessage()
- func (m *QueryDelegatorIntentResponse) Reset()
- func (m *QueryDelegatorIntentResponse) Size() (n int)
- func (m *QueryDelegatorIntentResponse) String() string
- func (m *QueryDelegatorIntentResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorIntentResponse) XXX_DiscardUnknown()
- func (m *QueryDelegatorIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorIntentResponse) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorIntentResponse) XXX_Size() int
- func (m *QueryDelegatorIntentResponse) XXX_Unmarshal(b []byte) error
- type QueryDepositAccountForChainRequest
- func (*QueryDepositAccountForChainRequest) Descriptor() ([]byte, []int)
- func (m *QueryDepositAccountForChainRequest) GetChainId() string
- func (m *QueryDepositAccountForChainRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositAccountForChainRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositAccountForChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositAccountForChainRequest) ProtoMessage()
- func (m *QueryDepositAccountForChainRequest) Reset()
- func (m *QueryDepositAccountForChainRequest) Size() (n int)
- func (m *QueryDepositAccountForChainRequest) String() string
- func (m *QueryDepositAccountForChainRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDepositAccountForChainRequest) XXX_DiscardUnknown()
- func (m *QueryDepositAccountForChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositAccountForChainRequest) XXX_Merge(src proto.Message)
- func (m *QueryDepositAccountForChainRequest) XXX_Size() int
- func (m *QueryDepositAccountForChainRequest) XXX_Unmarshal(b []byte) error
- type QueryDepositAccountForChainResponse
- func (*QueryDepositAccountForChainResponse) Descriptor() ([]byte, []int)
- func (m *QueryDepositAccountForChainResponse) GetDepositAccountAddress() string
- func (m *QueryDepositAccountForChainResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositAccountForChainResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositAccountForChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositAccountForChainResponse) ProtoMessage()
- func (m *QueryDepositAccountForChainResponse) Reset()
- func (m *QueryDepositAccountForChainResponse) Size() (n int)
- func (m *QueryDepositAccountForChainResponse) String() string
- func (m *QueryDepositAccountForChainResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDepositAccountForChainResponse) XXX_DiscardUnknown()
- func (m *QueryDepositAccountForChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositAccountForChainResponse) XXX_Merge(src proto.Message)
- func (m *QueryDepositAccountForChainResponse) XXX_Size() int
- func (m *QueryDepositAccountForChainResponse) XXX_Unmarshal(b []byte) error
- type QueryRegisteredZonesInfoRequest
- func (*QueryRegisteredZonesInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredZonesInfoRequest) GetPagination() *query.PageRequest
- func (m *QueryRegisteredZonesInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredZonesInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredZonesInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredZonesInfoRequest) ProtoMessage()
- func (m *QueryRegisteredZonesInfoRequest) Reset()
- func (m *QueryRegisteredZonesInfoRequest) Size() (n int)
- func (m *QueryRegisteredZonesInfoRequest) String() string
- func (m *QueryRegisteredZonesInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredZonesInfoRequest) XXX_DiscardUnknown()
- func (m *QueryRegisteredZonesInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredZonesInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredZonesInfoRequest) XXX_Size() int
- func (m *QueryRegisteredZonesInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryRegisteredZonesInfoResponse
- func (*QueryRegisteredZonesInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredZonesInfoResponse) GetPagination() *query.PageResponse
- func (m *QueryRegisteredZonesInfoResponse) GetZones() []RegisteredZone
- func (m *QueryRegisteredZonesInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredZonesInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredZonesInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredZonesInfoResponse) ProtoMessage()
- func (m *QueryRegisteredZonesInfoResponse) Reset()
- func (m *QueryRegisteredZonesInfoResponse) Size() (n int)
- func (m *QueryRegisteredZonesInfoResponse) String() string
- func (m *QueryRegisteredZonesInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredZonesInfoResponse) XXX_DiscardUnknown()
- func (m *QueryRegisteredZonesInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredZonesInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredZonesInfoResponse) XXX_Size() int
- func (m *QueryRegisteredZonesInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryValidatorDelegationsRequest
- func (*QueryValidatorDelegationsRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorDelegationsRequest) GetChainId() string
- func (m *QueryValidatorDelegationsRequest) GetPagination() *query.PageRequest
- func (m *QueryValidatorDelegationsRequest) GetValidatorAddress() string
- func (m *QueryValidatorDelegationsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorDelegationsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorDelegationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorDelegationsRequest) ProtoMessage()
- func (m *QueryValidatorDelegationsRequest) Reset()
- func (m *QueryValidatorDelegationsRequest) Size() (n int)
- func (m *QueryValidatorDelegationsRequest) String() string
- func (m *QueryValidatorDelegationsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorDelegationsRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorDelegationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorDelegationsRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorDelegationsRequest) XXX_Size() int
- func (m *QueryValidatorDelegationsRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorDelegationsResponse
- func (*QueryValidatorDelegationsResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorDelegationsResponse) GetDelegations() []Delegation
- func (m *QueryValidatorDelegationsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorDelegationsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorDelegationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorDelegationsResponse) ProtoMessage()
- func (m *QueryValidatorDelegationsResponse) Reset()
- func (m *QueryValidatorDelegationsResponse) Size() (n int)
- func (m *QueryValidatorDelegationsResponse) String() string
- func (m *QueryValidatorDelegationsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorDelegationsResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorDelegationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorDelegationsResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorDelegationsResponse) XXX_Size() int
- func (m *QueryValidatorDelegationsResponse) XXX_Unmarshal(b []byte) error
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)
- func (m *Receipt) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Receipt) GetSender() string
- func (m *Receipt) GetTxhash() string
- func (m *Receipt) GetZone() *RegisteredZone
- func (m *Receipt) Marshal() (dAtA []byte, err error)
- func (m *Receipt) MarshalTo(dAtA []byte) (int, error)
- func (m *Receipt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Receipt) ProtoMessage()
- func (m *Receipt) Reset()
- func (m *Receipt) Size() (n int)
- func (m *Receipt) String() string
- func (m *Receipt) Unmarshal(dAtA []byte) error
- func (m *Receipt) XXX_DiscardUnknown()
- func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Receipt) XXX_Merge(src proto.Message)
- func (m *Receipt) XXX_Size() int
- func (m *Receipt) XXX_Unmarshal(b []byte) error
- type RegisterZoneProposal
- func (*RegisterZoneProposal) Descriptor() ([]byte, []int)
- func (m RegisterZoneProposal) GetDescription() string
- func (m RegisterZoneProposal) GetTitle() string
- func (m *RegisterZoneProposal) Marshal() (dAtA []byte, err error)
- func (m *RegisterZoneProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterZoneProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m RegisterZoneProposal) ProposalRoute() string
- func (m RegisterZoneProposal) ProposalType() string
- func (*RegisterZoneProposal) ProtoMessage()
- func (m *RegisterZoneProposal) Reset()
- func (m *RegisterZoneProposal) Size() (n int)
- func (m RegisterZoneProposal) String() string
- func (m *RegisterZoneProposal) Unmarshal(dAtA []byte) error
- func (m RegisterZoneProposal) ValidateBasic() error
- func (m *RegisterZoneProposal) XXX_DiscardUnknown()
- func (m *RegisterZoneProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterZoneProposal) XXX_Merge(src proto.Message)
- func (m *RegisterZoneProposal) XXX_Size() int
- func (m *RegisterZoneProposal) XXX_Unmarshal(b []byte) error
- type RegisterZoneProposalWithDeposit
- func (*RegisterZoneProposalWithDeposit) Descriptor() ([]byte, []int)
- func (m *RegisterZoneProposalWithDeposit) Marshal() (dAtA []byte, err error)
- func (m *RegisterZoneProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterZoneProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisterZoneProposalWithDeposit) ProtoMessage()
- func (m *RegisterZoneProposalWithDeposit) Reset()
- func (m *RegisterZoneProposalWithDeposit) Size() (n int)
- func (m *RegisterZoneProposalWithDeposit) String() string
- func (m *RegisterZoneProposalWithDeposit) Unmarshal(dAtA []byte) error
- func (m *RegisterZoneProposalWithDeposit) XXX_DiscardUnknown()
- func (m *RegisterZoneProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterZoneProposalWithDeposit) XXX_Merge(src proto.Message)
- func (m *RegisterZoneProposalWithDeposit) XXX_Size() int
- func (m *RegisterZoneProposalWithDeposit) XXX_Unmarshal(b []byte) error
- type RegisteredZone
- func (z *RegisteredZone) ConvertCoinsToOrdinalIntents(coins sdk.Coins) ValidatorIntents
- func (z *RegisteredZone) ConvertMemoToOrdinalIntents(coins sdk.Coins, memo string) ValidatorIntents
- func (z *RegisteredZone) DefaultAggregateIntents() ValidatorIntents
- func (*RegisteredZone) Descriptor() ([]byte, []int)
- func (m *RegisteredZone) GetAccountPrefix() string
- func (m *RegisteredZone) GetAggregateIntent() map[string]*ValidatorIntent
- func (z *RegisteredZone) GetAggregateIntentOrDefault() ValidatorIntents
- func (m *RegisteredZone) GetBaseDenom() string
- func (m *RegisteredZone) GetChainId() string
- func (m *RegisteredZone) GetConnectionId() string
- func (z *RegisteredZone) GetDelegatedAmount() sdk.Coin
- func (z *RegisteredZone) GetDelegationAccountByAddress(address string) (*ICAAccount, error)
- func (z *RegisteredZone) GetDelegationAccounts() []*ICAAccount
- func (m *RegisteredZone) GetDelegationAddresses() []*ICAAccount
- func (m *RegisteredZone) GetDepositAddress() *ICAAccount
- func (m *RegisteredZone) GetHoldingsAllocation() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *RegisteredZone) GetIbcNextValidatorsHash() []byte
- func (m *RegisteredZone) GetLiquidityModule() bool
- func (m *RegisteredZone) GetLocalDenom() string
- func (m *RegisteredZone) GetMultiSend() bool
- func (m *RegisteredZone) GetPerformanceAddress() *ICAAccount
- func (z *RegisteredZone) GetValidatorByValoper(valoper string) (*Validator, error)
- func (m *RegisteredZone) GetValidatorSelectionAllocation() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *RegisteredZone) GetValidators() []*Validator
- func (z RegisteredZone) GetValidatorsAddressesAsSlice() []string
- func (z *RegisteredZone) GetValidatorsSorted() []*Validator
- func (m *RegisteredZone) GetWithdrawalAddress() *ICAAccount
- func (m *RegisteredZone) GetWithdrawalWaitgroup() uint32
- func (z RegisteredZone) IsDelegateAddress(addr string) bool
- func (m *RegisteredZone) Marshal() (dAtA []byte, err error)
- func (m *RegisteredZone) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisteredZone) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisteredZone) ProtoMessage()
- func (m *RegisteredZone) Reset()
- func (m *RegisteredZone) Size() (n int)
- func (m *RegisteredZone) String() string
- func (z RegisteredZone) SupportLsm() bool
- func (z RegisteredZone) SupportMultiSend() bool
- func (m *RegisteredZone) Unmarshal(dAtA []byte) error
- func (z *RegisteredZone) ValidateCoinsForZone(ctx sdk.Context, coins sdk.Coins) error
- func (m *RegisteredZone) XXX_DiscardUnknown()
- func (m *RegisteredZone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisteredZone) XXX_Merge(src proto.Message)
- func (m *RegisteredZone) XXX_Size() int
- func (m *RegisteredZone) XXX_Unmarshal(b []byte) error
- type TransferRecord
- func (*TransferRecord) Descriptor() ([]byte, []int)
- func (m *TransferRecord) GetRecipient() string
- func (m *TransferRecord) GetSender() string
- func (m *TransferRecord) Marshal() (dAtA []byte, err error)
- func (m *TransferRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *TransferRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransferRecord) ProtoMessage()
- func (m *TransferRecord) Reset()
- func (m *TransferRecord) Size() (n int)
- func (m *TransferRecord) String() string
- func (m *TransferRecord) Unmarshal(dAtA []byte) error
- func (m *TransferRecord) XXX_DiscardUnknown()
- func (m *TransferRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferRecord) XXX_Merge(src proto.Message)
- func (m *TransferRecord) XXX_Size() int
- func (m *TransferRecord) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) DelegationPlans(ctx context.Context, req *QueryDelegationPlansRequest) (*QueryDelegationPlansResponse, error)
- func (*UnimplementedQueryServer) Delegations(ctx context.Context, req *QueryDelegationsRequest) (*QueryDelegationsResponse, error)
- func (*UnimplementedQueryServer) DelegatorDelegations(ctx context.Context, req *QueryDelegatorDelegationsRequest) (*QueryDelegatorDelegationsResponse, error)
- func (*UnimplementedQueryServer) DelegatorIntent(ctx context.Context, req *QueryDelegatorIntentRequest) (*QueryDelegatorIntentResponse, error)
- func (*UnimplementedQueryServer) DepositAccount(ctx context.Context, req *QueryDepositAccountForChainRequest) (*QueryDepositAccountForChainResponse, error)
- func (*UnimplementedQueryServer) RegisteredZoneInfos(ctx context.Context, req *QueryRegisteredZonesInfoRequest) (*QueryRegisteredZonesInfoResponse, error)
- func (*UnimplementedQueryServer) ValidatorDelegations(ctx context.Context, req *QueryValidatorDelegationsRequest) (*QueryValidatorDelegationsResponse, error)
- type UpdateZoneProposal
- func (*UpdateZoneProposal) Descriptor() ([]byte, []int)
- func (m UpdateZoneProposal) GetDescription() string
- func (m UpdateZoneProposal) GetTitle() string
- func (m *UpdateZoneProposal) Marshal() (dAtA []byte, err error)
- func (m *UpdateZoneProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateZoneProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m UpdateZoneProposal) ProposalRoute() string
- func (m UpdateZoneProposal) ProposalType() string
- func (*UpdateZoneProposal) ProtoMessage()
- func (m *UpdateZoneProposal) Reset()
- func (m *UpdateZoneProposal) Size() (n int)
- func (m UpdateZoneProposal) String() string
- func (m *UpdateZoneProposal) Unmarshal(dAtA []byte) error
- func (m UpdateZoneProposal) ValidateBasic() error
- func (m *UpdateZoneProposal) XXX_DiscardUnknown()
- func (m *UpdateZoneProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateZoneProposal) XXX_Merge(src proto.Message)
- func (m *UpdateZoneProposal) XXX_Size() int
- func (m *UpdateZoneProposal) XXX_Unmarshal(b []byte) error
- type UpdateZoneProposalWithDeposit
- func (*UpdateZoneProposalWithDeposit) Descriptor() ([]byte, []int)
- func (m *UpdateZoneProposalWithDeposit) Marshal() (dAtA []byte, err error)
- func (m *UpdateZoneProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateZoneProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateZoneProposalWithDeposit) ProtoMessage()
- func (m *UpdateZoneProposalWithDeposit) Reset()
- func (m *UpdateZoneProposalWithDeposit) Size() (n int)
- func (m *UpdateZoneProposalWithDeposit) String() string
- func (m *UpdateZoneProposalWithDeposit) Unmarshal(dAtA []byte) error
- func (m *UpdateZoneProposalWithDeposit) XXX_DiscardUnknown()
- func (m *UpdateZoneProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateZoneProposalWithDeposit) XXX_Merge(src proto.Message)
- func (m *UpdateZoneProposalWithDeposit) XXX_Size() int
- func (m *UpdateZoneProposalWithDeposit) XXX_Unmarshal(b []byte) error
- type UpdateZoneValue
- func (*UpdateZoneValue) Descriptor() ([]byte, []int)
- func (m *UpdateZoneValue) GetKey() string
- func (m *UpdateZoneValue) GetValue() string
- func (m *UpdateZoneValue) Marshal() (dAtA []byte, err error)
- func (m *UpdateZoneValue) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateZoneValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateZoneValue) ProtoMessage()
- func (m *UpdateZoneValue) Reset()
- func (m *UpdateZoneValue) Size() (n int)
- func (m *UpdateZoneValue) String() string
- func (m *UpdateZoneValue) Unmarshal(dAtA []byte) error
- func (v UpdateZoneValue) Validate() error
- func (m *UpdateZoneValue) XXX_DiscardUnknown()
- func (m *UpdateZoneValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateZoneValue) XXX_Merge(src proto.Message)
- func (m *UpdateZoneValue) XXX_Size() int
- func (m *UpdateZoneValue) XXX_Unmarshal(b []byte) error
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetValoperAddress() string
- 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 (v Validator) SharesToTokens(shares sdk.Dec) sdk.Int
- 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 ValidatorIntent
- func (*ValidatorIntent) Descriptor() ([]byte, []int)
- func (m *ValidatorIntent) GetValoperAddress() string
- func (m *ValidatorIntent) Marshal() (dAtA []byte, err error)
- func (m *ValidatorIntent) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorIntent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorIntent) ProtoMessage()
- func (m *ValidatorIntent) Reset()
- func (m *ValidatorIntent) Size() (n int)
- func (m *ValidatorIntent) String() string
- func (m *ValidatorIntent) Unmarshal(dAtA []byte) error
- func (m *ValidatorIntent) XXX_DiscardUnknown()
- func (m *ValidatorIntent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorIntent) XXX_Merge(src proto.Message)
- func (m *ValidatorIntent) XXX_Size() int
- func (m *ValidatorIntent) XXX_Unmarshal(b []byte) error
- type ValidatorIntents
- type WithdrawalRecord
- func (*WithdrawalRecord) Descriptor() ([]byte, []int)
- func (m *WithdrawalRecord) GetDelegator() string
- func (m *WithdrawalRecord) GetRecipient() string
- func (m *WithdrawalRecord) GetStatus() int32
- func (m *WithdrawalRecord) GetTxhash() string
- func (m *WithdrawalRecord) GetValidator() string
- func (m *WithdrawalRecord) Marshal() (dAtA []byte, err error)
- func (m *WithdrawalRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawalRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawalRecord) ProtoMessage()
- func (m *WithdrawalRecord) Reset()
- func (m *WithdrawalRecord) Size() (n int)
- func (m *WithdrawalRecord) String() string
- func (m *WithdrawalRecord) Unmarshal(dAtA []byte) error
- func (m *WithdrawalRecord) XXX_DiscardUnknown()
- func (m *WithdrawalRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawalRecord) XXX_Merge(src proto.Message)
- func (m *WithdrawalRecord) XXX_Size() int
- func (m *WithdrawalRecord) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeRegisterZone = "register_zone" EventTypeRedemptionRequest = "request_redemption" AttributeKeyConnectionId = "connection_id" AttributeKeyRecipientChain = "chain_id" AttributeKeyRecipientAddress = "recipient" AttributeKeyBurnAmount = "burn_amount" AttributeKeyRedeemAmount = "redeem_amount" AttributeKeySourceAddress = "source" AttributeValueCategory = ModuleName )
const ( // ModuleName defines the module name ModuleName = "interchainstaking" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName PortID = ModuleName Version = "ics27-1" GenericToken = "tokens" // this value defines the number of delegation accounts per zone. This can only ever increase. DelegationAccountCount = 10 // this value defines the number of delegation accounts a given deposit should be shared amongst DelegationAccountSplit = 9 // beginblocker intervals DepositInterval = 5 DelegateInterval = 25 DelegateDelegationsInterval = 100 // probably wants to be somewhere in the region of 1000 (c. 3h) in prod with 7s blocks. ValidatorSetInterval = 25 QueryParameters = "params" QueryRegisteredZonesInfo = "zones" QueryRegisteredZoneDepositAddress = "zones/deposit_address" )
const ( TypeMsgRegisterZone = "registerzone" TypeMsgRequestRedemption = "requestredemption" TypeMsgSignalIntent = "signalintent" )
interchainstaking message types
const ( ProposalTypeRegisterZone = "RegisterZone" ProposalTypeUpdateZone = "UpdateZone" )
Variables ¶
var ( ErrInvalidVersion = errors.New("invalid version") ErrMaxChannels = errors.New("max channels exceeded") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( KeyPrefixZone = []byte{0x01} KeyPrefixIntent = []byte{0x02} KeyPrefixPortMapping = []byte{0x03} KeyPrefixReceipt = []byte{0x04} KeyPrefixWithdrawalRecord = []byte{0x05} KeyPrefixDelegation = []byte{0x06} KeyPrefixDelegationPlan = []byte{0x07} KeyPrefixSnapshotIntent = []byte{0x08} )
var ( ErrInvalidLengthMessages = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMessages = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMessages = fmt.Errorf("proto: unexpected end of group") )
var ( DefaultDelegateAccountCount uint64 = 100 DefaultDelegateAccountSplit uint64 = 10 DefaultDepositInterval uint64 = 50 DefaultDelegateInterval uint64 = 100 DefaultDelegationsInterval uint64 = 200 DefaultValidatorSetInterval uint64 = 200 DefaultCommissionRate sdk.Dec = func() sdk.Dec { v, _ := sdk.NewDecFromStr("0.02"); return v }() // KeyDelegateAccountCount is store's key for DelegateAccountCount option KeyDelegateAccountCount = []byte("DelegateAccountCount") // KeyDelegateAccountSplit is store's key for the DelegateAccountSplit option KeyDelegateAccountSplit = []byte("DelegateAccountSplit") // KeyDepositInterval is store's key for the DepositInterval option KeyDepositInterval = []byte("DepositInterval") // KeyDelegateInterval is store's key for the DelegateInterval option KeyDelegateInterval = []byte("DelegateInterval") // KeyDelegationsInterval is store's key for the DelegationsInterval option KeyDelegationsInterval = []byte("DelegationsInterval") // KeyValidatorSetInterval is store's key for the ValidatorSetInterval option KeyValidatorSetInterval = []byte("ValidatorSetInterval") // KeyCommissionRate is store's key for the CommissionRate option KeyCommissionRate = []byte("CommissionRate") )
Default ics params
var ( ErrInvalidLengthProposals = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposals = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposals = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
func AccAddressFromBech32 ¶
func AccAddressFromBech32(address string, check_hrp string) (addr sdk.AccAddress, err error)
func MustMarshalDelegation ¶ added in v0.2.0
func MustMarshalDelegation(cdc codec.BinaryCodec, delegation Delegation) []byte
MustMarshalDelegation returns the delegation bytes. Panics if fails
func MustMarshalDelegationPlan ¶ added in v0.2.0
func MustMarshalDelegationPlan(cdc codec.BinaryCodec, delegationPlan DelegationPlan) []byte
MustMarshalDelegationPlan returns the delegation plan bytes. Panics if fails
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func RegisterMsgHandler ¶
RegisterMsgHandler registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMsgHandlerClient ¶
RegisterMsgHandlerClient registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MsgClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MsgClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MsgClient" to call the correct interceptors.
func RegisterMsgHandlerFromEndpoint ¶
func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMsgHandlerFromEndpoint is same as RegisterMsgHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMsgHandlerServer ¶
RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". UnaryRPC :call MsgServer 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 RegisterMsgHandlerFromEndpoint instead.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
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 ValAddressFromBech32 ¶
func ValAddressFromBech32(address string, check_hrp string) (addr sdk.ValAddress, err error)
Types ¶
type Allocation ¶ added in v0.2.0
func (Allocation) SumAll ¶ added in v0.2.0
func (a Allocation) SumAll() sdk.Int
type Allocations ¶ added in v0.2.0
type Allocations []*Allocation
func DelegationPlanFromCoins ¶ added in v0.2.0
func DelegationPlanFromCoins(zone RegisteredZone, coin sdk.Coin) Allocations
func DelegationPlanFromGlobalIntent ¶ added in v0.2.0
func DelegationPlanFromGlobalIntent(currentState Allocations, zone RegisteredZone, coin sdk.Coin, intent ValidatorIntents) (Allocations, error)
func DelegationPlanFromUserIntent ¶ added in v0.2.0
func DelegationPlanFromUserIntent(zone RegisteredZone, coin sdk.Coin, intent ValidatorIntents) Allocations
func (Allocations) Allocate ¶ added in v0.2.0
func (a Allocations) Allocate(address string, amount sdk.Coins) Allocations
func (Allocations) DetermineThreshold ¶ added in v0.2.0
func (bins Allocations) DetermineThreshold() sdk.Int
func (Allocations) FindAccountForDelegation ¶ added in v0.2.0
func (bins Allocations) FindAccountForDelegation(validatorAddress string, coin sdk.Coin) (string, Allocations)
func (Allocations) Get ¶ added in v0.2.0
func (a Allocations) Get(address string) *Allocation
func (Allocations) SmallestBin ¶ added in v0.2.0
func (bins Allocations) SmallestBin() Allocation
func (Allocations) Sorted ¶ added in v0.2.0
func (a Allocations) Sorted() Allocations
func (Allocations) SortedByAmount ¶ added in v0.2.0
func (a Allocations) SortedByAmount() Allocations
func (Allocations) Sub ¶ added in v0.2.0
func (a Allocations) Sub(amount sdk.Coins, address string) (Allocations, sdk.Coins)
remove amount from address. Return the amount that could not be substracted.
func (Allocations) Sum ¶ added in v0.2.0
func (a Allocations) Sum() sdk.Coins
func (Allocations) SumAll ¶ added in v0.2.0
func (a Allocations) SumAll() sdk.Int
func (Allocations) SumForDenom ¶ added in v0.2.0
func (a Allocations) SumForDenom(denom string) sdk.Int
type ChannelKeeper ¶
type ChannelKeeper interface {
GetChannel(ctx sdk.Context, srcPort, srcChan string) (channel channeltypes.Channel, found bool)
GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool)
GetConnection(ctx sdk.Context, connectionID string) (ibcexported.ConnectionI, error)
}
ChannelKeeper defines the expected IBC channel keeper
type Delegation ¶
type Delegation struct {
DelegationAddress string `protobuf:"bytes,1,opt,name=delegation_address,json=delegationAddress,proto3" json:"delegation_address,omitempty"`
ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
Amount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
RedelegationEnd int64 `protobuf:"varint,5,opt,name=redelegation_end,json=redelegationEnd,proto3" json:"redelegation_end,omitempty"`
}
func MustUnmarshalDelegation ¶ added in v0.2.0
func MustUnmarshalDelegation(cdc codec.BinaryCodec, value []byte) Delegation
MustUnmarshalDelegation return the unmarshaled delegation from bytes. Panics if fails.
func NewDelegation ¶ added in v0.2.0
func NewDelegation(delegatorAddr string, validatorAddr string, amount sdk.Coin) Delegation
NewDelegation creates a new delegation object
func UnmarshalDelegation ¶ added in v0.2.0
func UnmarshalDelegation(cdc codec.BinaryCodec, value []byte) (delegation Delegation, err error)
return the delegation
func (*Delegation) Descriptor ¶
func (*Delegation) Descriptor() ([]byte, []int)
func (*Delegation) GetDelegationAddress ¶
func (m *Delegation) GetDelegationAddress() string
func (Delegation) GetDelegatorAddr ¶ added in v0.2.0
func (d Delegation) GetDelegatorAddr() sdk.AccAddress
func (*Delegation) GetHeight ¶ added in v0.2.0
func (m *Delegation) GetHeight() int64
func (*Delegation) GetRedelegationEnd ¶
func (m *Delegation) GetRedelegationEnd() int64
func (Delegation) GetValidatorAddr ¶ added in v0.2.0
func (d Delegation) GetValidatorAddr() sdk.ValAddress
func (*Delegation) GetValidatorAddress ¶
func (m *Delegation) GetValidatorAddress() string
func (*Delegation) Marshal ¶
func (m *Delegation) Marshal() (dAtA []byte, err error)
func (*Delegation) MarshalToSizedBuffer ¶
func (m *Delegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Delegation) ProtoMessage ¶
func (*Delegation) ProtoMessage()
func (*Delegation) Reset ¶
func (m *Delegation) Reset()
func (*Delegation) Size ¶
func (m *Delegation) Size() (n int)
func (*Delegation) String ¶
func (m *Delegation) String() string
func (*Delegation) Unmarshal ¶
func (m *Delegation) Unmarshal(dAtA []byte) error
func (*Delegation) XXX_DiscardUnknown ¶
func (m *Delegation) XXX_DiscardUnknown()
func (*Delegation) XXX_Marshal ¶
func (m *Delegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Delegation) XXX_Merge ¶
func (m *Delegation) XXX_Merge(src proto.Message)
func (*Delegation) XXX_Size ¶
func (m *Delegation) XXX_Size() int
func (*Delegation) XXX_Unmarshal ¶
func (m *Delegation) XXX_Unmarshal(b []byte) error
type DelegationPlan ¶ added in v0.2.0
type DelegationPlan struct {
ValidatorAddress string `protobuf:"bytes,1,opt,name=validatorAddress,proto3" json:"validatorAddress,omitempty"`
DelegatorAddress string `protobuf:"bytes,2,opt,name=delegatorAddress,proto3" json:"delegatorAddress,omitempty"`
Value github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=value,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"value"`
}
func MustUnmarshalDelegationPlan ¶ added in v0.2.0
func MustUnmarshalDelegationPlan(cdc codec.BinaryCodec, value []byte) DelegationPlan
MustUnmarshalDelegationPlan return the unmarshaled delegation plan from bytes. Panics if fails.
func NewDelegationPlan ¶ added in v0.2.0
func NewDelegationPlan(delAddr, valAddr string, amount sdk.Coins) DelegationPlan
func UnmarshalDelegationPlan ¶ added in v0.2.0
func UnmarshalDelegationPlan(cdc codec.BinaryCodec, value []byte) (delegationPlan DelegationPlan, err error)
return the delegation plan
func (*DelegationPlan) Descriptor ¶ added in v0.2.0
func (*DelegationPlan) Descriptor() ([]byte, []int)
func (DelegationPlan) GetDelegatorAddr ¶ added in v0.2.0
func (d DelegationPlan) GetDelegatorAddr() sdk.AccAddress
func (*DelegationPlan) GetDelegatorAddress ¶ added in v0.2.0
func (m *DelegationPlan) GetDelegatorAddress() string
func (DelegationPlan) GetValidatorAddr ¶ added in v0.2.0
func (d DelegationPlan) GetValidatorAddr() sdk.ValAddress
func (*DelegationPlan) GetValidatorAddress ¶ added in v0.2.0
func (m *DelegationPlan) GetValidatorAddress() string
func (*DelegationPlan) GetValue ¶ added in v0.2.0
func (m *DelegationPlan) GetValue() github_com_cosmos_cosmos_sdk_types.Coins
func (*DelegationPlan) Marshal ¶ added in v0.2.0
func (m *DelegationPlan) Marshal() (dAtA []byte, err error)
func (*DelegationPlan) MarshalTo ¶ added in v0.2.0
func (m *DelegationPlan) MarshalTo(dAtA []byte) (int, error)
func (*DelegationPlan) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *DelegationPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegationPlan) ProtoMessage ¶ added in v0.2.0
func (*DelegationPlan) ProtoMessage()
func (*DelegationPlan) Reset ¶ added in v0.2.0
func (m *DelegationPlan) Reset()
func (*DelegationPlan) Size ¶ added in v0.2.0
func (m *DelegationPlan) Size() (n int)
func (*DelegationPlan) String ¶ added in v0.2.0
func (m *DelegationPlan) String() string
func (*DelegationPlan) Unmarshal ¶ added in v0.2.0
func (m *DelegationPlan) Unmarshal(dAtA []byte) error
func (*DelegationPlan) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *DelegationPlan) XXX_DiscardUnknown()
func (*DelegationPlan) XXX_Marshal ¶ added in v0.2.0
func (m *DelegationPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegationPlan) XXX_Merge ¶ added in v0.2.0
func (m *DelegationPlan) XXX_Merge(src proto.Message)
func (*DelegationPlan) XXX_Size ¶ added in v0.2.0
func (m *DelegationPlan) XXX_Size() int
func (*DelegationPlan) XXX_Unmarshal ¶ added in v0.2.0
func (m *DelegationPlan) XXX_Unmarshal(b []byte) error
type DelegatorIntent ¶
type DelegatorIntent struct {
Delegator string `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"`
Intents []*ValidatorIntent `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents,omitempty"`
}
func (DelegatorIntent) AddOrdinal ¶
func (di DelegatorIntent) AddOrdinal(multiplier sdk.Int, intents ValidatorIntents) DelegatorIntent
func (*DelegatorIntent) Descriptor ¶
func (*DelegatorIntent) Descriptor() ([]byte, []int)
func (*DelegatorIntent) GetDelegator ¶
func (m *DelegatorIntent) GetDelegator() string
func (*DelegatorIntent) GetIntents ¶
func (m *DelegatorIntent) GetIntents() []*ValidatorIntent
func (*DelegatorIntent) Marshal ¶
func (m *DelegatorIntent) Marshal() (dAtA []byte, err error)
func (*DelegatorIntent) MarshalToSizedBuffer ¶
func (m *DelegatorIntent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (DelegatorIntent) Normalize ¶
func (di DelegatorIntent) Normalize() DelegatorIntent
func (DelegatorIntent) Ordinalize ¶
func (di DelegatorIntent) Ordinalize(multiple sdk.Int) DelegatorIntent
func (*DelegatorIntent) ProtoMessage ¶
func (*DelegatorIntent) ProtoMessage()
func (*DelegatorIntent) Reset ¶
func (m *DelegatorIntent) Reset()
func (*DelegatorIntent) Size ¶
func (m *DelegatorIntent) Size() (n int)
func (DelegatorIntent) Sorted ¶ added in v0.2.0
func (d DelegatorIntent) Sorted() []*ValidatorIntent
func (*DelegatorIntent) String ¶
func (m *DelegatorIntent) String() string
func (DelegatorIntent) ToAllocations ¶ added in v0.2.0
func (di DelegatorIntent) ToAllocations(multiple sdk.Int) Allocations
func (DelegatorIntent) ToValidatorIntents ¶ added in v0.2.0
func (di DelegatorIntent) ToValidatorIntents() ValidatorIntents
func (*DelegatorIntent) Unmarshal ¶
func (m *DelegatorIntent) Unmarshal(dAtA []byte) error
func (*DelegatorIntent) XXX_DiscardUnknown ¶
func (m *DelegatorIntent) XXX_DiscardUnknown()
func (*DelegatorIntent) XXX_Marshal ¶
func (m *DelegatorIntent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegatorIntent) XXX_Merge ¶
func (m *DelegatorIntent) XXX_Merge(src proto.Message)
func (*DelegatorIntent) XXX_Size ¶
func (m *DelegatorIntent) XXX_Size() int
func (*DelegatorIntent) XXX_Unmarshal ¶
func (m *DelegatorIntent) XXX_Unmarshal(b []byte) error
type Diffs ¶ added in v0.2.0
type Diffs []*Diff
func DetermineIntentDelta ¶ added in v0.2.0
func DetermineIntentDelta(currentState Allocations, total sdk.Int, intent ValidatorIntents) Diffs
func (Diffs) SortedByAmount ¶ added in v0.2.0
type Errors ¶
Error represents aggregated errors, contained in a map.
func NewMultiError ¶
NewMultiError returns an error aggregate using the given map.
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
Zones []RegisteredZone `protobuf:"bytes,2,rep,name=zones,proto3" json:"zones"`
}
GenesisState defines the interchainstaking module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default ics genesis state
func NewGenesisState ¶
func NewGenesisState(params Params, zones []RegisteredZone) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetZones ¶
func (m *GenesisState) GetZones() []RegisteredZone
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type ICAAccount ¶
type ICAAccount struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// balance defines the different coins this balance holds.
Balance github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=balance,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balance"`
DelegatedBalance github_com_cosmos_cosmos_sdk_types.Coin `` /* 150-byte string literal not displayed */
PortName string `protobuf:"bytes,4,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"`
// Delegations here? or against validator?
BalanceWaitgroup uint32 `protobuf:"varint,5,opt,name=balance_waitgroup,json=balanceWaitgroup,proto3" json:"balance_waitgroup,omitempty"`
}
func (*ICAAccount) Descriptor ¶
func (*ICAAccount) Descriptor() ([]byte, []int)
func (*ICAAccount) GetAddress ¶
func (m *ICAAccount) GetAddress() string
func (*ICAAccount) GetBalance ¶
func (m *ICAAccount) GetBalance() github_com_cosmos_cosmos_sdk_types.Coins
func (*ICAAccount) GetBalanceWaitgroup ¶ added in v0.2.0
func (m *ICAAccount) GetBalanceWaitgroup() uint32
func (*ICAAccount) GetPortName ¶
func (m *ICAAccount) GetPortName() string
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 MsgClient ¶
type MsgClient interface {
// RequestRedemption defines a method for requesting burning of qAssets for
// native assets.
RequestRedemption(ctx context.Context, in *MsgRequestRedemption, opts ...grpc.CallOption) (*MsgRequestRedemptionResponse, error)
// SignalIntent defines a method for signalling voting intent for one or more
// validators.
SignalIntent(ctx context.Context, in *MsgSignalIntent, opts ...grpc.CallOption) (*MsgSignalIntentResponse, 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 MsgRequestRedemption ¶
type MsgRequestRedemption struct {
Coin string `protobuf:"bytes,1,opt,name=coin,proto3" json:"coin,omitempty" yaml:"coin"`
DestinationAddress string `protobuf:"bytes,2,opt,name=destination_address,json=destinationAddress,proto3" json:"destination_address,omitempty"`
FromAddress string `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
}
MsgRequestRedemption represents a message type to request a burn of qAssets for native assets.
func NewMsgRequestRedemption ¶
func NewMsgRequestRedemption(coin string, destination_address string, from_address sdk.Address) *MsgRequestRedemption
NewMsgRequestRedemption - construct a msg to request redemption.
func (*MsgRequestRedemption) Descriptor ¶
func (*MsgRequestRedemption) Descriptor() ([]byte, []int)
func (MsgRequestRedemption) GetSignBytes ¶
func (msg MsgRequestRedemption) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgRequestRedemption) GetSigners ¶
func (msg MsgRequestRedemption) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgRequestRedemption) Marshal ¶
func (m *MsgRequestRedemption) Marshal() (dAtA []byte, err error)
func (*MsgRequestRedemption) MarshalTo ¶
func (m *MsgRequestRedemption) MarshalTo(dAtA []byte) (int, error)
func (*MsgRequestRedemption) MarshalToSizedBuffer ¶
func (m *MsgRequestRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestRedemption) ProtoMessage ¶
func (*MsgRequestRedemption) ProtoMessage()
func (*MsgRequestRedemption) Reset ¶
func (m *MsgRequestRedemption) Reset()
func (MsgRequestRedemption) Route ¶
func (msg MsgRequestRedemption) Route() string
Route Implements Msg.
func (*MsgRequestRedemption) Size ¶
func (m *MsgRequestRedemption) Size() (n int)
func (*MsgRequestRedemption) String ¶
func (m *MsgRequestRedemption) String() string
func (MsgRequestRedemption) Type ¶
func (msg MsgRequestRedemption) Type() string
Type Implements Msg.
func (*MsgRequestRedemption) Unmarshal ¶
func (m *MsgRequestRedemption) Unmarshal(dAtA []byte) error
func (MsgRequestRedemption) ValidateBasic ¶
func (msg MsgRequestRedemption) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgRequestRedemption) XXX_DiscardUnknown ¶
func (m *MsgRequestRedemption) XXX_DiscardUnknown()
func (*MsgRequestRedemption) XXX_Marshal ¶
func (m *MsgRequestRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestRedemption) XXX_Merge ¶
func (m *MsgRequestRedemption) XXX_Merge(src proto.Message)
func (*MsgRequestRedemption) XXX_Size ¶
func (m *MsgRequestRedemption) XXX_Size() int
func (*MsgRequestRedemption) XXX_Unmarshal ¶
func (m *MsgRequestRedemption) XXX_Unmarshal(b []byte) error
type MsgRequestRedemptionResponse ¶
type MsgRequestRedemptionResponse struct {
}
MsgRequestRedemptionResponse defines the MsgRequestRedemption response type.
func (*MsgRequestRedemptionResponse) Descriptor ¶
func (*MsgRequestRedemptionResponse) Descriptor() ([]byte, []int)
func (*MsgRequestRedemptionResponse) Marshal ¶
func (m *MsgRequestRedemptionResponse) Marshal() (dAtA []byte, err error)
func (*MsgRequestRedemptionResponse) MarshalTo ¶
func (m *MsgRequestRedemptionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRequestRedemptionResponse) MarshalToSizedBuffer ¶
func (m *MsgRequestRedemptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestRedemptionResponse) ProtoMessage ¶
func (*MsgRequestRedemptionResponse) ProtoMessage()
func (*MsgRequestRedemptionResponse) Reset ¶
func (m *MsgRequestRedemptionResponse) Reset()
func (*MsgRequestRedemptionResponse) Size ¶
func (m *MsgRequestRedemptionResponse) Size() (n int)
func (*MsgRequestRedemptionResponse) String ¶
func (m *MsgRequestRedemptionResponse) String() string
func (*MsgRequestRedemptionResponse) Unmarshal ¶
func (m *MsgRequestRedemptionResponse) Unmarshal(dAtA []byte) error
func (*MsgRequestRedemptionResponse) XXX_DiscardUnknown ¶
func (m *MsgRequestRedemptionResponse) XXX_DiscardUnknown()
func (*MsgRequestRedemptionResponse) XXX_Marshal ¶
func (m *MsgRequestRedemptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestRedemptionResponse) XXX_Merge ¶
func (m *MsgRequestRedemptionResponse) XXX_Merge(src proto.Message)
func (*MsgRequestRedemptionResponse) XXX_Size ¶
func (m *MsgRequestRedemptionResponse) XXX_Size() int
func (*MsgRequestRedemptionResponse) XXX_Unmarshal ¶
func (m *MsgRequestRedemptionResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
// RequestRedemption defines a method for requesting burning of qAssets for
// native assets.
RequestRedemption(context.Context, *MsgRequestRedemption) (*MsgRequestRedemptionResponse, error)
// SignalIntent defines a method for signalling voting intent for one or more
// validators.
SignalIntent(context.Context, *MsgSignalIntent) (*MsgSignalIntentResponse, error)
}
MsgServer is the server API for Msg service.
type MsgSignalIntent ¶
type MsgSignalIntent struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
Intents []*ValidatorIntent `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents,omitempty" yaml:"intents"`
FromAddress string `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
}
MsgSignalIntent represents a message type for signalling voting intent for one or more validators.
func NewMsgSignalIntent ¶
func NewMsgSignalIntent(chain_id string, intents []*ValidatorIntent, from_address sdk.Address) *MsgSignalIntent
NewMsgRequestRedemption - construct a msg to request redemption.
func (*MsgSignalIntent) Descriptor ¶
func (*MsgSignalIntent) Descriptor() ([]byte, []int)
func (MsgSignalIntent) GetSignBytes ¶
func (msg MsgSignalIntent) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgSignalIntent) GetSigners ¶
func (msg MsgSignalIntent) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgSignalIntent) Marshal ¶
func (m *MsgSignalIntent) Marshal() (dAtA []byte, err error)
func (*MsgSignalIntent) MarshalToSizedBuffer ¶
func (m *MsgSignalIntent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSignalIntent) ProtoMessage ¶
func (*MsgSignalIntent) ProtoMessage()
func (*MsgSignalIntent) Reset ¶
func (m *MsgSignalIntent) Reset()
func (*MsgSignalIntent) Size ¶
func (m *MsgSignalIntent) Size() (n int)
func (*MsgSignalIntent) String ¶
func (m *MsgSignalIntent) String() string
func (*MsgSignalIntent) Unmarshal ¶
func (m *MsgSignalIntent) Unmarshal(dAtA []byte) error
func (MsgSignalIntent) ValidateBasic ¶
func (msg MsgSignalIntent) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgSignalIntent) XXX_DiscardUnknown ¶
func (m *MsgSignalIntent) XXX_DiscardUnknown()
func (*MsgSignalIntent) XXX_Marshal ¶
func (m *MsgSignalIntent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSignalIntent) XXX_Merge ¶
func (m *MsgSignalIntent) XXX_Merge(src proto.Message)
func (*MsgSignalIntent) XXX_Size ¶
func (m *MsgSignalIntent) XXX_Size() int
func (*MsgSignalIntent) XXX_Unmarshal ¶
func (m *MsgSignalIntent) XXX_Unmarshal(b []byte) error
type MsgSignalIntentResponse ¶
type MsgSignalIntentResponse struct {
}
MsgSignalIntentResponse defines the MsgSignalIntent response type.
func (*MsgSignalIntentResponse) Descriptor ¶
func (*MsgSignalIntentResponse) Descriptor() ([]byte, []int)
func (*MsgSignalIntentResponse) Marshal ¶
func (m *MsgSignalIntentResponse) Marshal() (dAtA []byte, err error)
func (*MsgSignalIntentResponse) MarshalTo ¶
func (m *MsgSignalIntentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSignalIntentResponse) MarshalToSizedBuffer ¶
func (m *MsgSignalIntentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSignalIntentResponse) ProtoMessage ¶
func (*MsgSignalIntentResponse) ProtoMessage()
func (*MsgSignalIntentResponse) Reset ¶
func (m *MsgSignalIntentResponse) Reset()
func (*MsgSignalIntentResponse) Size ¶
func (m *MsgSignalIntentResponse) Size() (n int)
func (*MsgSignalIntentResponse) String ¶
func (m *MsgSignalIntentResponse) String() string
func (*MsgSignalIntentResponse) Unmarshal ¶
func (m *MsgSignalIntentResponse) Unmarshal(dAtA []byte) error
func (*MsgSignalIntentResponse) XXX_DiscardUnknown ¶
func (m *MsgSignalIntentResponse) XXX_DiscardUnknown()
func (*MsgSignalIntentResponse) XXX_Marshal ¶
func (m *MsgSignalIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSignalIntentResponse) XXX_Merge ¶
func (m *MsgSignalIntentResponse) XXX_Merge(src proto.Message)
func (*MsgSignalIntentResponse) XXX_Size ¶
func (m *MsgSignalIntentResponse) XXX_Size() int
func (*MsgSignalIntentResponse) XXX_Unmarshal ¶
func (m *MsgSignalIntentResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct {
DelegationAccountCount uint64 `` /* 130-byte string literal not displayed */
DelegationAccountSplit uint64 `` /* 130-byte string literal not displayed */
DepositInterval uint64 `protobuf:"varint,3,opt,name=deposit_interval,json=depositInterval,proto3" json:"deposit_interval,omitempty"`
DelegateInterval uint64 `protobuf:"varint,4,opt,name=delegate_interval,json=delegateInterval,proto3" json:"delegate_interval,omitempty"`
DelegationsInterval uint64 `protobuf:"varint,5,opt,name=delegations_interval,json=delegationsInterval,proto3" json:"delegations_interval,omitempty"`
ValidatorsetInterval uint64 `protobuf:"varint,6,opt,name=validatorset_interval,json=validatorsetInterval,proto3" json:"validatorset_interval,omitempty"`
CommissionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 143-byte string literal not displayed */
}
func MustUnmarshalParams ¶
func MustUnmarshalParams(cdc *codec.LegacyAmino, value []byte) Params
unmarshal the current staking params value from store key or panic
func NewParams ¶
func NewParams( delegate_account_count uint64, delegate_account_split uint64, deposit_interval uint64, delegate_interval uint64, delegations_interval uint64, valset_interval uint64, commission_rate sdk.Dec, ) Params
NewParams creates a new ics Params instance
func UnmarshalParams ¶
func UnmarshalParams(cdc *codec.LegacyAmino, value []byte) (params Params, err error)
unmarshal the current staking params value from store key
func (*Params) Descriptor ¶
func (*Params) GetDelegateInterval ¶
func (*Params) GetDelegationAccountCount ¶
func (*Params) GetDelegationAccountSplit ¶
func (*Params) GetDelegationsInterval ¶
func (*Params) GetDepositInterval ¶
func (*Params) GetValidatorsetInterval ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs implements params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PortConnectionTuple ¶
type PortConnectionTuple struct {
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
}
func (*PortConnectionTuple) Descriptor ¶
func (*PortConnectionTuple) Descriptor() ([]byte, []int)
func (*PortConnectionTuple) GetConnectionId ¶
func (m *PortConnectionTuple) GetConnectionId() string
func (*PortConnectionTuple) GetPortId ¶
func (m *PortConnectionTuple) GetPortId() string
func (*PortConnectionTuple) Marshal ¶
func (m *PortConnectionTuple) Marshal() (dAtA []byte, err error)
func (*PortConnectionTuple) MarshalTo ¶
func (m *PortConnectionTuple) MarshalTo(dAtA []byte) (int, error)
func (*PortConnectionTuple) MarshalToSizedBuffer ¶
func (m *PortConnectionTuple) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PortConnectionTuple) ProtoMessage ¶
func (*PortConnectionTuple) ProtoMessage()
func (*PortConnectionTuple) Reset ¶
func (m *PortConnectionTuple) Reset()
func (*PortConnectionTuple) Size ¶
func (m *PortConnectionTuple) Size() (n int)
func (*PortConnectionTuple) String ¶
func (m *PortConnectionTuple) String() string
func (*PortConnectionTuple) Unmarshal ¶
func (m *PortConnectionTuple) Unmarshal(dAtA []byte) error
func (*PortConnectionTuple) XXX_DiscardUnknown ¶
func (m *PortConnectionTuple) XXX_DiscardUnknown()
func (*PortConnectionTuple) XXX_Marshal ¶
func (m *PortConnectionTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PortConnectionTuple) XXX_Merge ¶
func (m *PortConnectionTuple) XXX_Merge(src proto.Message)
func (*PortConnectionTuple) XXX_Size ¶
func (m *PortConnectionTuple) XXX_Size() int
func (*PortConnectionTuple) XXX_Unmarshal ¶
func (m *PortConnectionTuple) XXX_Unmarshal(b []byte) error
type PortKeeper ¶
type PortKeeper interface {
BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
IsBound(ctx sdk.Context, portID string) bool
}
PortKeeper defines the expected IBC port keeper
type QueryClient ¶
type QueryClient interface {
// RegisteredZoneInfos provides meta data on connected zones.
RegisteredZoneInfos(ctx context.Context, in *QueryRegisteredZonesInfoRequest, opts ...grpc.CallOption) (*QueryRegisteredZonesInfoResponse, error)
// DepositAccount provides data on the deposit address for a connected zone.
DepositAccount(ctx context.Context, in *QueryDepositAccountForChainRequest, opts ...grpc.CallOption) (*QueryDepositAccountForChainResponse, error)
// DelegatorIntent provides data on the intent of the delegator for the given
// zone.
DelegatorIntent(ctx context.Context, in *QueryDelegatorIntentRequest, opts ...grpc.CallOption) (*QueryDelegatorIntentResponse, error)
// Delegations provides data on the delegations for the given zone.
Delegations(ctx context.Context, in *QueryDelegationsRequest, opts ...grpc.CallOption) (*QueryDelegationsResponse, error)
// DelegatorDelegations provides data on the delegations from a given
// delegator for the given zone.
DelegatorDelegations(ctx context.Context, in *QueryDelegatorDelegationsRequest, opts ...grpc.CallOption) (*QueryDelegatorDelegationsResponse, error)
// ValidatorDelegations provides data on the delegations to a given validator
// for the given zone.
ValidatorDelegations(ctx context.Context, in *QueryValidatorDelegationsRequest, opts ...grpc.CallOption) (*QueryValidatorDelegationsResponse, error)
// DelegationPlans provides data on the delegations to a given validator for
// the given zone.
DelegationPlans(ctx context.Context, in *QueryDelegationPlansRequest, opts ...grpc.CallOption) (*QueryDelegationPlansResponse, 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 QueryDelegationPlansRequest ¶ added in v0.2.0
type QueryDelegationPlansRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryDelegationPlansRequest) Descriptor ¶ added in v0.2.0
func (*QueryDelegationPlansRequest) Descriptor() ([]byte, []int)
func (*QueryDelegationPlansRequest) GetChainId ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) GetChainId() string
func (*QueryDelegationPlansRequest) GetPagination ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) GetPagination() *query.PageRequest
func (*QueryDelegationPlansRequest) Marshal ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) Marshal() (dAtA []byte, err error)
func (*QueryDelegationPlansRequest) MarshalTo ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegationPlansRequest) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegationPlansRequest) ProtoMessage ¶ added in v0.2.0
func (*QueryDelegationPlansRequest) ProtoMessage()
func (*QueryDelegationPlansRequest) Reset ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) Reset()
func (*QueryDelegationPlansRequest) Size ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) Size() (n int)
func (*QueryDelegationPlansRequest) String ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) String() string
func (*QueryDelegationPlansRequest) Unmarshal ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) Unmarshal(dAtA []byte) error
func (*QueryDelegationPlansRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) XXX_DiscardUnknown()
func (*QueryDelegationPlansRequest) XXX_Marshal ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegationPlansRequest) XXX_Merge ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) XXX_Merge(src proto.Message)
func (*QueryDelegationPlansRequest) XXX_Size ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) XXX_Size() int
func (*QueryDelegationPlansRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryDelegationPlansRequest) XXX_Unmarshal(b []byte) error
type QueryDelegationPlansResponse ¶ added in v0.2.0
type QueryDelegationPlansResponse struct {
Delegations []DelegationPlan `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
}
func (*QueryDelegationPlansResponse) Descriptor ¶ added in v0.2.0
func (*QueryDelegationPlansResponse) Descriptor() ([]byte, []int)
func (*QueryDelegationPlansResponse) GetDelegations ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) GetDelegations() []DelegationPlan
func (*QueryDelegationPlansResponse) Marshal ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) Marshal() (dAtA []byte, err error)
func (*QueryDelegationPlansResponse) MarshalTo ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegationPlansResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegationPlansResponse) ProtoMessage ¶ added in v0.2.0
func (*QueryDelegationPlansResponse) ProtoMessage()
func (*QueryDelegationPlansResponse) Reset ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) Reset()
func (*QueryDelegationPlansResponse) Size ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) Size() (n int)
func (*QueryDelegationPlansResponse) String ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) String() string
func (*QueryDelegationPlansResponse) Unmarshal ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) Unmarshal(dAtA []byte) error
func (*QueryDelegationPlansResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) XXX_DiscardUnknown()
func (*QueryDelegationPlansResponse) XXX_Marshal ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegationPlansResponse) XXX_Merge ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) XXX_Merge(src proto.Message)
func (*QueryDelegationPlansResponse) XXX_Size ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) XXX_Size() int
func (*QueryDelegationPlansResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryDelegationPlansResponse) XXX_Unmarshal(b []byte) error
type QueryDelegationsRequest ¶ added in v0.2.0
type QueryDelegationsRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryDelegationsRequest) Descriptor ¶ added in v0.2.0
func (*QueryDelegationsRequest) Descriptor() ([]byte, []int)
func (*QueryDelegationsRequest) GetChainId ¶ added in v0.2.0
func (m *QueryDelegationsRequest) GetChainId() string
func (*QueryDelegationsRequest) GetPagination ¶ added in v0.2.0
func (m *QueryDelegationsRequest) GetPagination() *query.PageRequest
func (*QueryDelegationsRequest) Marshal ¶ added in v0.2.0
func (m *QueryDelegationsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDelegationsRequest) MarshalTo ¶ added in v0.2.0
func (m *QueryDelegationsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegationsRequest) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryDelegationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegationsRequest) ProtoMessage ¶ added in v0.2.0
func (*QueryDelegationsRequest) ProtoMessage()
func (*QueryDelegationsRequest) Reset ¶ added in v0.2.0
func (m *QueryDelegationsRequest) Reset()
func (*QueryDelegationsRequest) Size ¶ added in v0.2.0
func (m *QueryDelegationsRequest) Size() (n int)
func (*QueryDelegationsRequest) String ¶ added in v0.2.0
func (m *QueryDelegationsRequest) String() string
func (*QueryDelegationsRequest) Unmarshal ¶ added in v0.2.0
func (m *QueryDelegationsRequest) Unmarshal(dAtA []byte) error
func (*QueryDelegationsRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryDelegationsRequest) XXX_DiscardUnknown()
func (*QueryDelegationsRequest) XXX_Marshal ¶ added in v0.2.0
func (m *QueryDelegationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegationsRequest) XXX_Merge ¶ added in v0.2.0
func (m *QueryDelegationsRequest) XXX_Merge(src proto.Message)
func (*QueryDelegationsRequest) XXX_Size ¶ added in v0.2.0
func (m *QueryDelegationsRequest) XXX_Size() int
func (*QueryDelegationsRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryDelegationsRequest) XXX_Unmarshal(b []byte) error
type QueryDelegationsResponse ¶ added in v0.2.0
type QueryDelegationsResponse struct {
Delegations []Delegation `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
}
func (*QueryDelegationsResponse) Descriptor ¶ added in v0.2.0
func (*QueryDelegationsResponse) Descriptor() ([]byte, []int)
func (*QueryDelegationsResponse) GetDelegations ¶ added in v0.2.0
func (m *QueryDelegationsResponse) GetDelegations() []Delegation
func (*QueryDelegationsResponse) Marshal ¶ added in v0.2.0
func (m *QueryDelegationsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDelegationsResponse) MarshalTo ¶ added in v0.2.0
func (m *QueryDelegationsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegationsResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryDelegationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegationsResponse) ProtoMessage ¶ added in v0.2.0
func (*QueryDelegationsResponse) ProtoMessage()
func (*QueryDelegationsResponse) Reset ¶ added in v0.2.0
func (m *QueryDelegationsResponse) Reset()
func (*QueryDelegationsResponse) Size ¶ added in v0.2.0
func (m *QueryDelegationsResponse) Size() (n int)
func (*QueryDelegationsResponse) String ¶ added in v0.2.0
func (m *QueryDelegationsResponse) String() string
func (*QueryDelegationsResponse) Unmarshal ¶ added in v0.2.0
func (m *QueryDelegationsResponse) Unmarshal(dAtA []byte) error
func (*QueryDelegationsResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryDelegationsResponse) XXX_DiscardUnknown()
func (*QueryDelegationsResponse) XXX_Marshal ¶ added in v0.2.0
func (m *QueryDelegationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegationsResponse) XXX_Merge ¶ added in v0.2.0
func (m *QueryDelegationsResponse) XXX_Merge(src proto.Message)
func (*QueryDelegationsResponse) XXX_Size ¶ added in v0.2.0
func (m *QueryDelegationsResponse) XXX_Size() int
func (*QueryDelegationsResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryDelegationsResponse) XXX_Unmarshal(b []byte) error
type QueryDelegatorDelegationsRequest ¶ added in v0.2.0
type QueryDelegatorDelegationsRequest struct {
DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryDelegatorDelegationsRequest) Descriptor ¶ added in v0.2.0
func (*QueryDelegatorDelegationsRequest) Descriptor() ([]byte, []int)
func (*QueryDelegatorDelegationsRequest) GetChainId ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) GetChainId() string
func (*QueryDelegatorDelegationsRequest) GetDelegatorAddress ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) GetDelegatorAddress() string
func (*QueryDelegatorDelegationsRequest) GetPagination ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) GetPagination() *query.PageRequest
func (*QueryDelegatorDelegationsRequest) Marshal ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorDelegationsRequest) MarshalTo ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorDelegationsRequest) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorDelegationsRequest) ProtoMessage ¶ added in v0.2.0
func (*QueryDelegatorDelegationsRequest) ProtoMessage()
func (*QueryDelegatorDelegationsRequest) Reset ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) Reset()
func (*QueryDelegatorDelegationsRequest) Size ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) Size() (n int)
func (*QueryDelegatorDelegationsRequest) String ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) String() string
func (*QueryDelegatorDelegationsRequest) Unmarshal ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) Unmarshal(dAtA []byte) error
func (*QueryDelegatorDelegationsRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) XXX_DiscardUnknown()
func (*QueryDelegatorDelegationsRequest) XXX_Marshal ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorDelegationsRequest) XXX_Merge ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) XXX_Merge(src proto.Message)
func (*QueryDelegatorDelegationsRequest) XXX_Size ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) XXX_Size() int
func (*QueryDelegatorDelegationsRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsRequest) XXX_Unmarshal(b []byte) error
type QueryDelegatorDelegationsResponse ¶ added in v0.2.0
type QueryDelegatorDelegationsResponse struct {
Delegations []Delegation `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
}
func (*QueryDelegatorDelegationsResponse) Descriptor ¶ added in v0.2.0
func (*QueryDelegatorDelegationsResponse) Descriptor() ([]byte, []int)
func (*QueryDelegatorDelegationsResponse) GetDelegations ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) GetDelegations() []Delegation
func (*QueryDelegatorDelegationsResponse) Marshal ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorDelegationsResponse) MarshalTo ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorDelegationsResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorDelegationsResponse) ProtoMessage ¶ added in v0.2.0
func (*QueryDelegatorDelegationsResponse) ProtoMessage()
func (*QueryDelegatorDelegationsResponse) Reset ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) Reset()
func (*QueryDelegatorDelegationsResponse) Size ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) Size() (n int)
func (*QueryDelegatorDelegationsResponse) String ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) String() string
func (*QueryDelegatorDelegationsResponse) Unmarshal ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) Unmarshal(dAtA []byte) error
func (*QueryDelegatorDelegationsResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) XXX_DiscardUnknown()
func (*QueryDelegatorDelegationsResponse) XXX_Marshal ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorDelegationsResponse) XXX_Merge ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) XXX_Merge(src proto.Message)
func (*QueryDelegatorDelegationsResponse) XXX_Size ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) XXX_Size() int
func (*QueryDelegatorDelegationsResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryDelegatorDelegationsResponse) XXX_Unmarshal(b []byte) error
type QueryDelegatorIntentRequest ¶
type QueryDelegatorIntentRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
DelegatorAddress string `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}
func (*QueryDelegatorIntentRequest) Descriptor ¶
func (*QueryDelegatorIntentRequest) Descriptor() ([]byte, []int)
func (*QueryDelegatorIntentRequest) GetChainId ¶
func (m *QueryDelegatorIntentRequest) GetChainId() string
func (*QueryDelegatorIntentRequest) GetDelegatorAddress ¶ added in v0.2.0
func (m *QueryDelegatorIntentRequest) GetDelegatorAddress() string
func (*QueryDelegatorIntentRequest) Marshal ¶
func (m *QueryDelegatorIntentRequest) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorIntentRequest) MarshalTo ¶
func (m *QueryDelegatorIntentRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorIntentRequest) MarshalToSizedBuffer ¶
func (m *QueryDelegatorIntentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorIntentRequest) ProtoMessage ¶
func (*QueryDelegatorIntentRequest) ProtoMessage()
func (*QueryDelegatorIntentRequest) Reset ¶
func (m *QueryDelegatorIntentRequest) Reset()
func (*QueryDelegatorIntentRequest) Size ¶
func (m *QueryDelegatorIntentRequest) Size() (n int)
func (*QueryDelegatorIntentRequest) String ¶
func (m *QueryDelegatorIntentRequest) String() string
func (*QueryDelegatorIntentRequest) Unmarshal ¶
func (m *QueryDelegatorIntentRequest) Unmarshal(dAtA []byte) error
func (*QueryDelegatorIntentRequest) XXX_DiscardUnknown ¶
func (m *QueryDelegatorIntentRequest) XXX_DiscardUnknown()
func (*QueryDelegatorIntentRequest) XXX_Marshal ¶
func (m *QueryDelegatorIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorIntentRequest) XXX_Merge ¶
func (m *QueryDelegatorIntentRequest) XXX_Merge(src proto.Message)
func (*QueryDelegatorIntentRequest) XXX_Size ¶
func (m *QueryDelegatorIntentRequest) XXX_Size() int
func (*QueryDelegatorIntentRequest) XXX_Unmarshal ¶
func (m *QueryDelegatorIntentRequest) XXX_Unmarshal(b []byte) error
type QueryDelegatorIntentResponse ¶
type QueryDelegatorIntentResponse struct {
Intent *DelegatorIntent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
}
func (*QueryDelegatorIntentResponse) Descriptor ¶
func (*QueryDelegatorIntentResponse) Descriptor() ([]byte, []int)
func (*QueryDelegatorIntentResponse) GetIntent ¶
func (m *QueryDelegatorIntentResponse) GetIntent() *DelegatorIntent
func (*QueryDelegatorIntentResponse) Marshal ¶
func (m *QueryDelegatorIntentResponse) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorIntentResponse) MarshalTo ¶
func (m *QueryDelegatorIntentResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorIntentResponse) MarshalToSizedBuffer ¶
func (m *QueryDelegatorIntentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorIntentResponse) ProtoMessage ¶
func (*QueryDelegatorIntentResponse) ProtoMessage()
func (*QueryDelegatorIntentResponse) Reset ¶
func (m *QueryDelegatorIntentResponse) Reset()
func (*QueryDelegatorIntentResponse) Size ¶
func (m *QueryDelegatorIntentResponse) Size() (n int)
func (*QueryDelegatorIntentResponse) String ¶
func (m *QueryDelegatorIntentResponse) String() string
func (*QueryDelegatorIntentResponse) Unmarshal ¶
func (m *QueryDelegatorIntentResponse) Unmarshal(dAtA []byte) error
func (*QueryDelegatorIntentResponse) XXX_DiscardUnknown ¶
func (m *QueryDelegatorIntentResponse) XXX_DiscardUnknown()
func (*QueryDelegatorIntentResponse) XXX_Marshal ¶
func (m *QueryDelegatorIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorIntentResponse) XXX_Merge ¶
func (m *QueryDelegatorIntentResponse) XXX_Merge(src proto.Message)
func (*QueryDelegatorIntentResponse) XXX_Size ¶
func (m *QueryDelegatorIntentResponse) XXX_Size() int
func (*QueryDelegatorIntentResponse) XXX_Unmarshal ¶
func (m *QueryDelegatorIntentResponse) XXX_Unmarshal(b []byte) error
type QueryDepositAccountForChainRequest ¶
type QueryDepositAccountForChainRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
}
QueryDepositAccountForChainRequest is the request type for the Query/InterchainAccountAddress RPC
func (*QueryDepositAccountForChainRequest) Descriptor ¶
func (*QueryDepositAccountForChainRequest) Descriptor() ([]byte, []int)
func (*QueryDepositAccountForChainRequest) GetChainId ¶
func (m *QueryDepositAccountForChainRequest) GetChainId() string
func (*QueryDepositAccountForChainRequest) Marshal ¶
func (m *QueryDepositAccountForChainRequest) Marshal() (dAtA []byte, err error)
func (*QueryDepositAccountForChainRequest) MarshalTo ¶
func (m *QueryDepositAccountForChainRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositAccountForChainRequest) MarshalToSizedBuffer ¶
func (m *QueryDepositAccountForChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositAccountForChainRequest) ProtoMessage ¶
func (*QueryDepositAccountForChainRequest) ProtoMessage()
func (*QueryDepositAccountForChainRequest) Reset ¶
func (m *QueryDepositAccountForChainRequest) Reset()
func (*QueryDepositAccountForChainRequest) Size ¶
func (m *QueryDepositAccountForChainRequest) Size() (n int)
func (*QueryDepositAccountForChainRequest) String ¶
func (m *QueryDepositAccountForChainRequest) String() string
func (*QueryDepositAccountForChainRequest) Unmarshal ¶
func (m *QueryDepositAccountForChainRequest) Unmarshal(dAtA []byte) error
func (*QueryDepositAccountForChainRequest) XXX_DiscardUnknown ¶
func (m *QueryDepositAccountForChainRequest) XXX_DiscardUnknown()
func (*QueryDepositAccountForChainRequest) XXX_Marshal ¶
func (m *QueryDepositAccountForChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositAccountForChainRequest) XXX_Merge ¶
func (m *QueryDepositAccountForChainRequest) XXX_Merge(src proto.Message)
func (*QueryDepositAccountForChainRequest) XXX_Size ¶
func (m *QueryDepositAccountForChainRequest) XXX_Size() int
func (*QueryDepositAccountForChainRequest) XXX_Unmarshal ¶
func (m *QueryDepositAccountForChainRequest) XXX_Unmarshal(b []byte) error
type QueryDepositAccountForChainResponse ¶
type QueryDepositAccountForChainResponse struct {
DepositAccountAddress string `` /* 157-byte string literal not displayed */
}
QueryDepositAccountForChainResponse the response type for the Query/InterchainAccountAddress RPC
func (*QueryDepositAccountForChainResponse) Descriptor ¶
func (*QueryDepositAccountForChainResponse) Descriptor() ([]byte, []int)
func (*QueryDepositAccountForChainResponse) GetDepositAccountAddress ¶
func (m *QueryDepositAccountForChainResponse) GetDepositAccountAddress() string
func (*QueryDepositAccountForChainResponse) Marshal ¶
func (m *QueryDepositAccountForChainResponse) Marshal() (dAtA []byte, err error)
func (*QueryDepositAccountForChainResponse) MarshalTo ¶
func (m *QueryDepositAccountForChainResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositAccountForChainResponse) MarshalToSizedBuffer ¶
func (m *QueryDepositAccountForChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositAccountForChainResponse) ProtoMessage ¶
func (*QueryDepositAccountForChainResponse) ProtoMessage()
func (*QueryDepositAccountForChainResponse) Reset ¶
func (m *QueryDepositAccountForChainResponse) Reset()
func (*QueryDepositAccountForChainResponse) Size ¶
func (m *QueryDepositAccountForChainResponse) Size() (n int)
func (*QueryDepositAccountForChainResponse) String ¶
func (m *QueryDepositAccountForChainResponse) String() string
func (*QueryDepositAccountForChainResponse) Unmarshal ¶
func (m *QueryDepositAccountForChainResponse) Unmarshal(dAtA []byte) error
func (*QueryDepositAccountForChainResponse) XXX_DiscardUnknown ¶
func (m *QueryDepositAccountForChainResponse) XXX_DiscardUnknown()
func (*QueryDepositAccountForChainResponse) XXX_Marshal ¶
func (m *QueryDepositAccountForChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositAccountForChainResponse) XXX_Merge ¶
func (m *QueryDepositAccountForChainResponse) XXX_Merge(src proto.Message)
func (*QueryDepositAccountForChainResponse) XXX_Size ¶
func (m *QueryDepositAccountForChainResponse) XXX_Size() int
func (*QueryDepositAccountForChainResponse) XXX_Unmarshal ¶
func (m *QueryDepositAccountForChainResponse) XXX_Unmarshal(b []byte) error
type QueryRegisteredZonesInfoRequest ¶
type QueryRegisteredZonesInfoRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryRegisteredZonesInfoRequest) Descriptor ¶
func (*QueryRegisteredZonesInfoRequest) Descriptor() ([]byte, []int)
func (*QueryRegisteredZonesInfoRequest) GetPagination ¶
func (m *QueryRegisteredZonesInfoRequest) GetPagination() *query.PageRequest
func (*QueryRegisteredZonesInfoRequest) Marshal ¶
func (m *QueryRegisteredZonesInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryRegisteredZonesInfoRequest) MarshalTo ¶
func (m *QueryRegisteredZonesInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRegisteredZonesInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryRegisteredZonesInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRegisteredZonesInfoRequest) ProtoMessage ¶
func (*QueryRegisteredZonesInfoRequest) ProtoMessage()
func (*QueryRegisteredZonesInfoRequest) Reset ¶
func (m *QueryRegisteredZonesInfoRequest) Reset()
func (*QueryRegisteredZonesInfoRequest) Size ¶
func (m *QueryRegisteredZonesInfoRequest) Size() (n int)
func (*QueryRegisteredZonesInfoRequest) String ¶
func (m *QueryRegisteredZonesInfoRequest) String() string
func (*QueryRegisteredZonesInfoRequest) Unmarshal ¶
func (m *QueryRegisteredZonesInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryRegisteredZonesInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryRegisteredZonesInfoRequest) XXX_DiscardUnknown()
func (*QueryRegisteredZonesInfoRequest) XXX_Marshal ¶
func (m *QueryRegisteredZonesInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRegisteredZonesInfoRequest) XXX_Merge ¶
func (m *QueryRegisteredZonesInfoRequest) XXX_Merge(src proto.Message)
func (*QueryRegisteredZonesInfoRequest) XXX_Size ¶
func (m *QueryRegisteredZonesInfoRequest) XXX_Size() int
func (*QueryRegisteredZonesInfoRequest) XXX_Unmarshal ¶
func (m *QueryRegisteredZonesInfoRequest) XXX_Unmarshal(b []byte) error
type QueryRegisteredZonesInfoResponse ¶
type QueryRegisteredZonesInfoResponse struct {
Zones []RegisteredZone `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryRegisteredZonesInfoResponse) Descriptor ¶
func (*QueryRegisteredZonesInfoResponse) Descriptor() ([]byte, []int)
func (*QueryRegisteredZonesInfoResponse) GetPagination ¶
func (m *QueryRegisteredZonesInfoResponse) GetPagination() *query.PageResponse
func (*QueryRegisteredZonesInfoResponse) GetZones ¶
func (m *QueryRegisteredZonesInfoResponse) GetZones() []RegisteredZone
func (*QueryRegisteredZonesInfoResponse) Marshal ¶
func (m *QueryRegisteredZonesInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryRegisteredZonesInfoResponse) MarshalTo ¶
func (m *QueryRegisteredZonesInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRegisteredZonesInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryRegisteredZonesInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRegisteredZonesInfoResponse) ProtoMessage ¶
func (*QueryRegisteredZonesInfoResponse) ProtoMessage()
func (*QueryRegisteredZonesInfoResponse) Reset ¶
func (m *QueryRegisteredZonesInfoResponse) Reset()
func (*QueryRegisteredZonesInfoResponse) Size ¶
func (m *QueryRegisteredZonesInfoResponse) Size() (n int)
func (*QueryRegisteredZonesInfoResponse) String ¶
func (m *QueryRegisteredZonesInfoResponse) String() string
func (*QueryRegisteredZonesInfoResponse) Unmarshal ¶
func (m *QueryRegisteredZonesInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryRegisteredZonesInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryRegisteredZonesInfoResponse) XXX_DiscardUnknown()
func (*QueryRegisteredZonesInfoResponse) XXX_Marshal ¶
func (m *QueryRegisteredZonesInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRegisteredZonesInfoResponse) XXX_Merge ¶
func (m *QueryRegisteredZonesInfoResponse) XXX_Merge(src proto.Message)
func (*QueryRegisteredZonesInfoResponse) XXX_Size ¶
func (m *QueryRegisteredZonesInfoResponse) XXX_Size() int
func (*QueryRegisteredZonesInfoResponse) XXX_Unmarshal ¶
func (m *QueryRegisteredZonesInfoResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface {
// RegisteredZoneInfos provides meta data on connected zones.
RegisteredZoneInfos(context.Context, *QueryRegisteredZonesInfoRequest) (*QueryRegisteredZonesInfoResponse, error)
// DepositAccount provides data on the deposit address for a connected zone.
DepositAccount(context.Context, *QueryDepositAccountForChainRequest) (*QueryDepositAccountForChainResponse, error)
// DelegatorIntent provides data on the intent of the delegator for the given
// zone.
DelegatorIntent(context.Context, *QueryDelegatorIntentRequest) (*QueryDelegatorIntentResponse, error)
// Delegations provides data on the delegations for the given zone.
Delegations(context.Context, *QueryDelegationsRequest) (*QueryDelegationsResponse, error)
// DelegatorDelegations provides data on the delegations from a given
// delegator for the given zone.
DelegatorDelegations(context.Context, *QueryDelegatorDelegationsRequest) (*QueryDelegatorDelegationsResponse, error)
// ValidatorDelegations provides data on the delegations to a given validator
// for the given zone.
ValidatorDelegations(context.Context, *QueryValidatorDelegationsRequest) (*QueryValidatorDelegationsResponse, error)
// DelegationPlans provides data on the delegations to a given validator for
// the given zone.
DelegationPlans(context.Context, *QueryDelegationPlansRequest) (*QueryDelegationPlansResponse, error)
}
QueryServer is the server API for Query service.
type QueryValidatorDelegationsRequest ¶ added in v0.2.0
type QueryValidatorDelegationsRequest struct {
ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryValidatorDelegationsRequest) Descriptor ¶ added in v0.2.0
func (*QueryValidatorDelegationsRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorDelegationsRequest) GetChainId ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) GetChainId() string
func (*QueryValidatorDelegationsRequest) GetPagination ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) GetPagination() *query.PageRequest
func (*QueryValidatorDelegationsRequest) GetValidatorAddress ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) GetValidatorAddress() string
func (*QueryValidatorDelegationsRequest) Marshal ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorDelegationsRequest) MarshalTo ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorDelegationsRequest) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorDelegationsRequest) ProtoMessage ¶ added in v0.2.0
func (*QueryValidatorDelegationsRequest) ProtoMessage()
func (*QueryValidatorDelegationsRequest) Reset ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) Reset()
func (*QueryValidatorDelegationsRequest) Size ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) Size() (n int)
func (*QueryValidatorDelegationsRequest) String ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) String() string
func (*QueryValidatorDelegationsRequest) Unmarshal ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorDelegationsRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) XXX_DiscardUnknown()
func (*QueryValidatorDelegationsRequest) XXX_Marshal ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorDelegationsRequest) XXX_Merge ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorDelegationsRequest) XXX_Size ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) XXX_Size() int
func (*QueryValidatorDelegationsRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryValidatorDelegationsRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorDelegationsResponse ¶ added in v0.2.0
type QueryValidatorDelegationsResponse struct {
Delegations []Delegation `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
}
func (*QueryValidatorDelegationsResponse) Descriptor ¶ added in v0.2.0
func (*QueryValidatorDelegationsResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorDelegationsResponse) GetDelegations ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) GetDelegations() []Delegation
func (*QueryValidatorDelegationsResponse) Marshal ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorDelegationsResponse) MarshalTo ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorDelegationsResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorDelegationsResponse) ProtoMessage ¶ added in v0.2.0
func (*QueryValidatorDelegationsResponse) ProtoMessage()
func (*QueryValidatorDelegationsResponse) Reset ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) Reset()
func (*QueryValidatorDelegationsResponse) Size ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) Size() (n int)
func (*QueryValidatorDelegationsResponse) String ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) String() string
func (*QueryValidatorDelegationsResponse) Unmarshal ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorDelegationsResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) XXX_DiscardUnknown()
func (*QueryValidatorDelegationsResponse) XXX_Marshal ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorDelegationsResponse) XXX_Merge ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorDelegationsResponse) XXX_Size ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) XXX_Size() int
func (*QueryValidatorDelegationsResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryValidatorDelegationsResponse) XXX_Unmarshal(b []byte) error
type Receipt ¶
type Receipt struct {
Zone *RegisteredZone `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"`
Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
Txhash string `protobuf:"bytes,3,opt,name=txhash,proto3" json:"txhash,omitempty"`
Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}
func (*Receipt) Descriptor ¶
func (*Receipt) GetAmount ¶
func (m *Receipt) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*Receipt) GetZone ¶
func (m *Receipt) GetZone() *RegisteredZone
func (*Receipt) MarshalToSizedBuffer ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) XXX_DiscardUnknown ¶
func (m *Receipt) XXX_DiscardUnknown()
func (*Receipt) XXX_Marshal ¶
func (*Receipt) XXX_Unmarshal ¶
type RegisterZoneProposal ¶ added in v0.4.0
type RegisterZoneProposal struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" yaml:"connection_id"`
BaseDenom string `protobuf:"bytes,4,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty" yaml:"base_denom"`
LocalDenom string `protobuf:"bytes,5,opt,name=local_denom,json=localDenom,proto3" json:"local_denom,omitempty" yaml:"local_denom"`
AccountPrefix string `protobuf:"bytes,6,opt,name=account_prefix,json=accountPrefix,proto3" json:"account_prefix,omitempty" yaml:"account_prefix"`
MultiSend bool `protobuf:"varint,7,opt,name=multi_send,json=multiSend,proto3" json:"multi_send,omitempty"`
LiquidityModule bool `protobuf:"varint,8,opt,name=liquidity_module,json=liquidityModule,proto3" json:"liquidity_module,omitempty"`
}
func NewRegisterZoneProposal ¶ added in v0.4.0
func (*RegisterZoneProposal) Descriptor ¶ added in v0.4.0
func (*RegisterZoneProposal) Descriptor() ([]byte, []int)
func (RegisterZoneProposal) GetDescription ¶ added in v0.4.0
func (m RegisterZoneProposal) GetDescription() string
func (RegisterZoneProposal) GetTitle ¶ added in v0.4.0
func (m RegisterZoneProposal) GetTitle() string
func (*RegisterZoneProposal) Marshal ¶ added in v0.4.0
func (m *RegisterZoneProposal) Marshal() (dAtA []byte, err error)
func (*RegisterZoneProposal) MarshalTo ¶ added in v0.4.0
func (m *RegisterZoneProposal) MarshalTo(dAtA []byte) (int, error)
func (*RegisterZoneProposal) MarshalToSizedBuffer ¶ added in v0.4.0
func (m *RegisterZoneProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (RegisterZoneProposal) ProposalRoute ¶ added in v0.4.0
func (m RegisterZoneProposal) ProposalRoute() string
func (RegisterZoneProposal) ProposalType ¶ added in v0.4.0
func (m RegisterZoneProposal) ProposalType() string
func (*RegisterZoneProposal) ProtoMessage ¶ added in v0.4.0
func (*RegisterZoneProposal) ProtoMessage()
func (*RegisterZoneProposal) Reset ¶ added in v0.4.0
func (m *RegisterZoneProposal) Reset()
func (*RegisterZoneProposal) Size ¶ added in v0.4.0
func (m *RegisterZoneProposal) Size() (n int)
func (RegisterZoneProposal) String ¶ added in v0.4.0
func (m RegisterZoneProposal) String() string
String implements the Stringer interface.
func (*RegisterZoneProposal) Unmarshal ¶ added in v0.4.0
func (m *RegisterZoneProposal) Unmarshal(dAtA []byte) error
func (RegisterZoneProposal) ValidateBasic ¶ added in v0.4.0
func (m RegisterZoneProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*RegisterZoneProposal) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *RegisterZoneProposal) XXX_DiscardUnknown()
func (*RegisterZoneProposal) XXX_Marshal ¶ added in v0.4.0
func (m *RegisterZoneProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterZoneProposal) XXX_Merge ¶ added in v0.4.0
func (m *RegisterZoneProposal) XXX_Merge(src proto.Message)
func (*RegisterZoneProposal) XXX_Size ¶ added in v0.4.0
func (m *RegisterZoneProposal) XXX_Size() int
func (*RegisterZoneProposal) XXX_Unmarshal ¶ added in v0.4.0
func (m *RegisterZoneProposal) XXX_Unmarshal(b []byte) error
type RegisterZoneProposalWithDeposit ¶ added in v0.4.0
type RegisterZoneProposalWithDeposit struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" yaml:"connection_id"`
BaseDenom string `protobuf:"bytes,4,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty" yaml:"base_denom"`
LocalDenom string `protobuf:"bytes,5,opt,name=local_denom,json=localDenom,proto3" json:"local_denom,omitempty" yaml:"local_denom"`
AccountPrefix string `protobuf:"bytes,6,opt,name=account_prefix,json=accountPrefix,proto3" json:"account_prefix,omitempty" yaml:"account_prefix"`
MultiSend bool `protobuf:"varint,7,opt,name=multi_send,json=multiSend,proto3" json:"multi_send,omitempty" yaml:"multi_send"`
LiquidityModule bool `` /* 131-byte string literal not displayed */
Deposit string `protobuf:"bytes,9,opt,name=deposit,proto3" json:"deposit,omitempty" yaml:"deposit"`
}
func (*RegisterZoneProposalWithDeposit) Descriptor ¶ added in v0.4.0
func (*RegisterZoneProposalWithDeposit) Descriptor() ([]byte, []int)
func (*RegisterZoneProposalWithDeposit) Marshal ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) Marshal() (dAtA []byte, err error)
func (*RegisterZoneProposalWithDeposit) MarshalTo ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
func (*RegisterZoneProposalWithDeposit) MarshalToSizedBuffer ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterZoneProposalWithDeposit) ProtoMessage ¶ added in v0.4.0
func (*RegisterZoneProposalWithDeposit) ProtoMessage()
func (*RegisterZoneProposalWithDeposit) Reset ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) Reset()
func (*RegisterZoneProposalWithDeposit) Size ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) Size() (n int)
func (*RegisterZoneProposalWithDeposit) String ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) String() string
func (*RegisterZoneProposalWithDeposit) Unmarshal ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) Unmarshal(dAtA []byte) error
func (*RegisterZoneProposalWithDeposit) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) XXX_DiscardUnknown()
func (*RegisterZoneProposalWithDeposit) XXX_Marshal ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterZoneProposalWithDeposit) XXX_Merge ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) XXX_Merge(src proto.Message)
func (*RegisterZoneProposalWithDeposit) XXX_Size ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) XXX_Size() int
func (*RegisterZoneProposalWithDeposit) XXX_Unmarshal ¶ added in v0.4.0
func (m *RegisterZoneProposalWithDeposit) XXX_Unmarshal(b []byte) error
type RegisteredZone ¶
type RegisteredZone struct {
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
DepositAddress *ICAAccount `protobuf:"bytes,3,opt,name=deposit_address,json=depositAddress,proto3" json:"deposit_address,omitempty"`
WithdrawalAddress *ICAAccount `protobuf:"bytes,4,opt,name=withdrawal_address,json=withdrawalAddress,proto3" json:"withdrawal_address,omitempty"`
PerformanceAddress *ICAAccount `protobuf:"bytes,5,opt,name=performance_address,json=performanceAddress,proto3" json:"performance_address,omitempty"`
DelegationAddresses []*ICAAccount `protobuf:"bytes,6,rep,name=delegation_addresses,json=delegationAddresses,proto3" json:"delegation_addresses,omitempty"`
AccountPrefix string `protobuf:"bytes,7,opt,name=account_prefix,json=accountPrefix,proto3" json:"account_prefix,omitempty"`
LocalDenom string `protobuf:"bytes,8,opt,name=local_denom,json=localDenom,proto3" json:"local_denom,omitempty"`
BaseDenom string `protobuf:"bytes,9,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
RedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 144-byte string literal not displayed */
LastRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
Validators []*Validator `protobuf:"bytes,12,rep,name=validators,proto3" json:"validators,omitempty"`
AggregateIntent map[string]*ValidatorIntent `` /* 195-byte string literal not displayed */
MultiSend bool `protobuf:"varint,14,opt,name=multi_send,json=multiSend,proto3" json:"multi_send,omitempty"`
LiquidityModule bool `protobuf:"varint,15,opt,name=liquidity_module,json=liquidityModule,proto3" json:"liquidity_module,omitempty"`
WithdrawalWaitgroup uint32 `protobuf:"varint,16,opt,name=withdrawal_waitgroup,json=withdrawalWaitgroup,proto3" json:"withdrawal_waitgroup,omitempty"`
IbcNextValidatorsHash []byte `` /* 129-byte string literal not displayed */
ValidatorSelectionAllocation github_com_cosmos_cosmos_sdk_types.Coins `` /* 192-byte string literal not displayed */
HoldingsAllocation github_com_cosmos_cosmos_sdk_types.Coins `` /* 160-byte string literal not displayed */
}
func (*RegisteredZone) ConvertCoinsToOrdinalIntents ¶
func (z *RegisteredZone) ConvertCoinsToOrdinalIntents(coins sdk.Coins) ValidatorIntents
func (*RegisteredZone) ConvertMemoToOrdinalIntents ¶ added in v0.2.0
func (z *RegisteredZone) ConvertMemoToOrdinalIntents(coins sdk.Coins, memo string) ValidatorIntents
func (*RegisteredZone) DefaultAggregateIntents ¶ added in v0.2.0
func (z *RegisteredZone) DefaultAggregateIntents() ValidatorIntents
defaultAggregateIntents determines the default aggregate intent (for epoch 0)
func (*RegisteredZone) Descriptor ¶
func (*RegisteredZone) Descriptor() ([]byte, []int)
func (*RegisteredZone) GetAccountPrefix ¶ added in v0.2.0
func (m *RegisteredZone) GetAccountPrefix() string
func (*RegisteredZone) GetAggregateIntent ¶
func (m *RegisteredZone) GetAggregateIntent() map[string]*ValidatorIntent
func (*RegisteredZone) GetAggregateIntentOrDefault ¶ added in v0.2.0
func (z *RegisteredZone) GetAggregateIntentOrDefault() ValidatorIntents
func (*RegisteredZone) GetBaseDenom ¶
func (m *RegisteredZone) GetBaseDenom() string
func (*RegisteredZone) GetChainId ¶
func (m *RegisteredZone) GetChainId() string
func (*RegisteredZone) GetConnectionId ¶
func (m *RegisteredZone) GetConnectionId() string
func (*RegisteredZone) GetDelegatedAmount ¶
func (z *RegisteredZone) GetDelegatedAmount() sdk.Coin
func (*RegisteredZone) GetDelegationAccountByAddress ¶
func (z *RegisteredZone) GetDelegationAccountByAddress(address string) (*ICAAccount, error)
func (*RegisteredZone) GetDelegationAccounts ¶ added in v0.1.10
func (z *RegisteredZone) GetDelegationAccounts() []*ICAAccount
func (*RegisteredZone) GetDelegationAddresses ¶
func (m *RegisteredZone) GetDelegationAddresses() []*ICAAccount
func (*RegisteredZone) GetDepositAddress ¶
func (m *RegisteredZone) GetDepositAddress() *ICAAccount
func (*RegisteredZone) GetHoldingsAllocation ¶ added in v0.4.0
func (m *RegisteredZone) GetHoldingsAllocation() github_com_cosmos_cosmos_sdk_types.Coins
func (*RegisteredZone) GetIbcNextValidatorsHash ¶ added in v0.2.0
func (m *RegisteredZone) GetIbcNextValidatorsHash() []byte
func (*RegisteredZone) GetLiquidityModule ¶ added in v0.2.0
func (m *RegisteredZone) GetLiquidityModule() bool
func (*RegisteredZone) GetLocalDenom ¶
func (m *RegisteredZone) GetLocalDenom() string
func (*RegisteredZone) GetMultiSend ¶
func (m *RegisteredZone) GetMultiSend() bool
func (*RegisteredZone) GetPerformanceAddress ¶ added in v0.2.0
func (m *RegisteredZone) GetPerformanceAddress() *ICAAccount
func (*RegisteredZone) GetValidatorByValoper ¶
func (z *RegisteredZone) GetValidatorByValoper(valoper string) (*Validator, error)
func (*RegisteredZone) GetValidatorSelectionAllocation ¶ added in v0.4.0
func (m *RegisteredZone) GetValidatorSelectionAllocation() github_com_cosmos_cosmos_sdk_types.Coins
func (*RegisteredZone) GetValidators ¶
func (m *RegisteredZone) GetValidators() []*Validator
func (RegisteredZone) GetValidatorsAddressesAsSlice ¶ added in v0.1.10
func (z RegisteredZone) GetValidatorsAddressesAsSlice() []string
func (*RegisteredZone) GetValidatorsSorted ¶ added in v0.1.10
func (z *RegisteredZone) GetValidatorsSorted() []*Validator
func (*RegisteredZone) GetWithdrawalAddress ¶
func (m *RegisteredZone) GetWithdrawalAddress() *ICAAccount
func (*RegisteredZone) GetWithdrawalWaitgroup ¶
func (m *RegisteredZone) GetWithdrawalWaitgroup() uint32
func (RegisteredZone) IsDelegateAddress ¶ added in v0.2.0
func (z RegisteredZone) IsDelegateAddress(addr string) bool
func (*RegisteredZone) Marshal ¶
func (m *RegisteredZone) Marshal() (dAtA []byte, err error)
func (*RegisteredZone) MarshalToSizedBuffer ¶
func (m *RegisteredZone) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisteredZone) ProtoMessage ¶
func (*RegisteredZone) ProtoMessage()
func (*RegisteredZone) Reset ¶
func (m *RegisteredZone) Reset()
func (*RegisteredZone) Size ¶
func (m *RegisteredZone) Size() (n int)
func (*RegisteredZone) String ¶
func (m *RegisteredZone) String() string
func (RegisteredZone) SupportLsm ¶ added in v0.2.0
func (z RegisteredZone) SupportLsm() bool
func (RegisteredZone) SupportMultiSend ¶
func (z RegisteredZone) SupportMultiSend() bool
func (*RegisteredZone) Unmarshal ¶
func (m *RegisteredZone) Unmarshal(dAtA []byte) error
func (*RegisteredZone) ValidateCoinsForZone ¶
func (*RegisteredZone) XXX_DiscardUnknown ¶
func (m *RegisteredZone) XXX_DiscardUnknown()
func (*RegisteredZone) XXX_Marshal ¶
func (m *RegisteredZone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisteredZone) XXX_Merge ¶
func (m *RegisteredZone) XXX_Merge(src proto.Message)
func (*RegisteredZone) XXX_Size ¶
func (m *RegisteredZone) XXX_Size() int
func (*RegisteredZone) XXX_Unmarshal ¶
func (m *RegisteredZone) XXX_Unmarshal(b []byte) error
type TransferRecord ¶
type TransferRecord struct {
Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
Amount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
}
func (*TransferRecord) Descriptor ¶
func (*TransferRecord) Descriptor() ([]byte, []int)
func (*TransferRecord) GetRecipient ¶
func (m *TransferRecord) GetRecipient() string
func (*TransferRecord) GetSender ¶
func (m *TransferRecord) GetSender() string
func (*TransferRecord) Marshal ¶
func (m *TransferRecord) Marshal() (dAtA []byte, err error)
func (*TransferRecord) MarshalToSizedBuffer ¶
func (m *TransferRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransferRecord) ProtoMessage ¶
func (*TransferRecord) ProtoMessage()
func (*TransferRecord) Reset ¶
func (m *TransferRecord) Reset()
func (*TransferRecord) Size ¶
func (m *TransferRecord) Size() (n int)
func (*TransferRecord) String ¶
func (m *TransferRecord) String() string
func (*TransferRecord) Unmarshal ¶
func (m *TransferRecord) Unmarshal(dAtA []byte) error
func (*TransferRecord) XXX_DiscardUnknown ¶
func (m *TransferRecord) XXX_DiscardUnknown()
func (*TransferRecord) XXX_Marshal ¶
func (m *TransferRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferRecord) XXX_Merge ¶
func (m *TransferRecord) XXX_Merge(src proto.Message)
func (*TransferRecord) XXX_Size ¶
func (m *TransferRecord) XXX_Size() int
func (*TransferRecord) XXX_Unmarshal ¶
func (m *TransferRecord) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) RequestRedemption ¶
func (*UnimplementedMsgServer) RequestRedemption(ctx context.Context, req *MsgRequestRedemption) (*MsgRequestRedemptionResponse, error)
func (*UnimplementedMsgServer) SignalIntent ¶
func (*UnimplementedMsgServer) SignalIntent(ctx context.Context, req *MsgSignalIntent) (*MsgSignalIntentResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) DelegationPlans ¶ added in v0.2.0
func (*UnimplementedQueryServer) DelegationPlans(ctx context.Context, req *QueryDelegationPlansRequest) (*QueryDelegationPlansResponse, error)
func (*UnimplementedQueryServer) Delegations ¶ added in v0.2.0
func (*UnimplementedQueryServer) Delegations(ctx context.Context, req *QueryDelegationsRequest) (*QueryDelegationsResponse, error)
func (*UnimplementedQueryServer) DelegatorDelegations ¶ added in v0.2.0
func (*UnimplementedQueryServer) DelegatorDelegations(ctx context.Context, req *QueryDelegatorDelegationsRequest) (*QueryDelegatorDelegationsResponse, error)
func (*UnimplementedQueryServer) DelegatorIntent ¶
func (*UnimplementedQueryServer) DelegatorIntent(ctx context.Context, req *QueryDelegatorIntentRequest) (*QueryDelegatorIntentResponse, error)
func (*UnimplementedQueryServer) DepositAccount ¶ added in v0.2.0
func (*UnimplementedQueryServer) DepositAccount(ctx context.Context, req *QueryDepositAccountForChainRequest) (*QueryDepositAccountForChainResponse, error)
func (*UnimplementedQueryServer) RegisteredZoneInfos ¶
func (*UnimplementedQueryServer) RegisteredZoneInfos(ctx context.Context, req *QueryRegisteredZonesInfoRequest) (*QueryRegisteredZonesInfoResponse, error)
func (*UnimplementedQueryServer) ValidatorDelegations ¶ added in v0.2.0
func (*UnimplementedQueryServer) ValidatorDelegations(ctx context.Context, req *QueryValidatorDelegationsRequest) (*QueryValidatorDelegationsResponse, error)
type UpdateZoneProposal ¶ added in v0.4.0
type UpdateZoneProposal struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
Changes []*UpdateZoneValue `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty" yaml:"changes"`
}
func NewUpdateZoneProposal ¶ added in v0.4.0
func NewUpdateZoneProposal(title string, description string, chain_id string, changes []*UpdateZoneValue) *UpdateZoneProposal
func (*UpdateZoneProposal) Descriptor ¶ added in v0.4.0
func (*UpdateZoneProposal) Descriptor() ([]byte, []int)
func (UpdateZoneProposal) GetDescription ¶ added in v0.4.0
func (m UpdateZoneProposal) GetDescription() string
func (UpdateZoneProposal) GetTitle ¶ added in v0.4.0
func (m UpdateZoneProposal) GetTitle() string
func (*UpdateZoneProposal) Marshal ¶ added in v0.4.0
func (m *UpdateZoneProposal) Marshal() (dAtA []byte, err error)
func (*UpdateZoneProposal) MarshalTo ¶ added in v0.4.0
func (m *UpdateZoneProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpdateZoneProposal) MarshalToSizedBuffer ¶ added in v0.4.0
func (m *UpdateZoneProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (UpdateZoneProposal) ProposalRoute ¶ added in v0.4.0
func (m UpdateZoneProposal) ProposalRoute() string
func (UpdateZoneProposal) ProposalType ¶ added in v0.4.0
func (m UpdateZoneProposal) ProposalType() string
func (*UpdateZoneProposal) ProtoMessage ¶ added in v0.4.0
func (*UpdateZoneProposal) ProtoMessage()
func (*UpdateZoneProposal) Reset ¶ added in v0.4.0
func (m *UpdateZoneProposal) Reset()
func (*UpdateZoneProposal) Size ¶ added in v0.4.0
func (m *UpdateZoneProposal) Size() (n int)
func (UpdateZoneProposal) String ¶ added in v0.4.0
func (m UpdateZoneProposal) String() string
String implements the Stringer interface.
func (*UpdateZoneProposal) Unmarshal ¶ added in v0.4.0
func (m *UpdateZoneProposal) Unmarshal(dAtA []byte) error
func (UpdateZoneProposal) ValidateBasic ¶ added in v0.4.0
func (m UpdateZoneProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*UpdateZoneProposal) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *UpdateZoneProposal) XXX_DiscardUnknown()
func (*UpdateZoneProposal) XXX_Marshal ¶ added in v0.4.0
func (m *UpdateZoneProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateZoneProposal) XXX_Merge ¶ added in v0.4.0
func (m *UpdateZoneProposal) XXX_Merge(src proto.Message)
func (*UpdateZoneProposal) XXX_Size ¶ added in v0.4.0
func (m *UpdateZoneProposal) XXX_Size() int
func (*UpdateZoneProposal) XXX_Unmarshal ¶ added in v0.4.0
func (m *UpdateZoneProposal) XXX_Unmarshal(b []byte) error
type UpdateZoneProposalWithDeposit ¶ added in v0.4.0
type UpdateZoneProposalWithDeposit struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
Changes []*UpdateZoneValue `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty" yaml:"changes"`
Deposit string `protobuf:"bytes,5,opt,name=deposit,proto3" json:"deposit,omitempty" yaml:"deposit"`
}
func (*UpdateZoneProposalWithDeposit) Descriptor ¶ added in v0.4.0
func (*UpdateZoneProposalWithDeposit) Descriptor() ([]byte, []int)
func (*UpdateZoneProposalWithDeposit) Marshal ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) Marshal() (dAtA []byte, err error)
func (*UpdateZoneProposalWithDeposit) MarshalTo ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
func (*UpdateZoneProposalWithDeposit) MarshalToSizedBuffer ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateZoneProposalWithDeposit) ProtoMessage ¶ added in v0.4.0
func (*UpdateZoneProposalWithDeposit) ProtoMessage()
func (*UpdateZoneProposalWithDeposit) Reset ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) Reset()
func (*UpdateZoneProposalWithDeposit) Size ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) Size() (n int)
func (*UpdateZoneProposalWithDeposit) String ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) String() string
func (*UpdateZoneProposalWithDeposit) Unmarshal ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) Unmarshal(dAtA []byte) error
func (*UpdateZoneProposalWithDeposit) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) XXX_DiscardUnknown()
func (*UpdateZoneProposalWithDeposit) XXX_Marshal ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateZoneProposalWithDeposit) XXX_Merge ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) XXX_Merge(src proto.Message)
func (*UpdateZoneProposalWithDeposit) XXX_Size ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) XXX_Size() int
func (*UpdateZoneProposalWithDeposit) XXX_Unmarshal ¶ added in v0.4.0
func (m *UpdateZoneProposalWithDeposit) XXX_Unmarshal(b []byte) error
type UpdateZoneValue ¶ added in v0.4.0
type UpdateZoneValue struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" yaml:"key"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" yaml:"value"`
}
ParamChange defines an individual parameter change, for use in ParameterChangeProposal.
func (*UpdateZoneValue) Descriptor ¶ added in v0.4.0
func (*UpdateZoneValue) Descriptor() ([]byte, []int)
func (*UpdateZoneValue) GetKey ¶ added in v0.4.0
func (m *UpdateZoneValue) GetKey() string
func (*UpdateZoneValue) GetValue ¶ added in v0.4.0
func (m *UpdateZoneValue) GetValue() string
func (*UpdateZoneValue) Marshal ¶ added in v0.4.0
func (m *UpdateZoneValue) Marshal() (dAtA []byte, err error)
func (*UpdateZoneValue) MarshalTo ¶ added in v0.4.0
func (m *UpdateZoneValue) MarshalTo(dAtA []byte) (int, error)
func (*UpdateZoneValue) MarshalToSizedBuffer ¶ added in v0.4.0
func (m *UpdateZoneValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateZoneValue) ProtoMessage ¶ added in v0.4.0
func (*UpdateZoneValue) ProtoMessage()
func (*UpdateZoneValue) Reset ¶ added in v0.4.0
func (m *UpdateZoneValue) Reset()
func (*UpdateZoneValue) Size ¶ added in v0.4.0
func (m *UpdateZoneValue) Size() (n int)
func (*UpdateZoneValue) String ¶ added in v0.4.0
func (m *UpdateZoneValue) String() string
func (*UpdateZoneValue) Unmarshal ¶ added in v0.4.0
func (m *UpdateZoneValue) Unmarshal(dAtA []byte) error
func (UpdateZoneValue) Validate ¶ added in v0.4.0
func (v UpdateZoneValue) Validate() error
func (*UpdateZoneValue) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *UpdateZoneValue) XXX_DiscardUnknown()
func (*UpdateZoneValue) XXX_Marshal ¶ added in v0.4.0
func (m *UpdateZoneValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateZoneValue) XXX_Merge ¶ added in v0.4.0
func (m *UpdateZoneValue) XXX_Merge(src proto.Message)
func (*UpdateZoneValue) XXX_Size ¶ added in v0.4.0
func (m *UpdateZoneValue) XXX_Size() int
func (*UpdateZoneValue) XXX_Unmarshal ¶ added in v0.4.0
func (m *UpdateZoneValue) XXX_Unmarshal(b []byte) error
type Validator ¶
type Validator struct {
ValoperAddress string `protobuf:"bytes,1,opt,name=valoper_address,json=valoperAddress,proto3" json:"valoper_address,omitempty"`
CommissionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 143-byte string literal not displayed */
VotingPower github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */
Score github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=score,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"score"`
}
func (*Validator) Descriptor ¶
func (*Validator) GetValoperAddress ¶
func (*Validator) MarshalToSizedBuffer ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (Validator) SharesToTokens ¶ added in v0.2.0
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
type ValidatorIntent ¶
type ValidatorIntent struct {
ValoperAddress string `protobuf:"bytes,1,opt,name=valoper_address,json=valoperAddress,proto3" json:"valoper_address,omitempty"`
Weight github_com_cosmos_cosmos_sdk_types.Dec `` /* 128-byte string literal not displayed */
}
func IntentsFromString ¶
func IntentsFromString(input string) ([]*ValidatorIntent, error)
IntentsFromString validates and parses the given string into a slice containing pointers to ValidatorIntent.
The combined weights must be 1.0 and the valoper addresses must be valid bech32 strings. (what about zero weights?)
Tokens are comma separated, e.g. "0.3cosmosvaloper1xxxxxxxxx,0.3cosmosvaloper1yyyyyyyyy,0.4cosmosvaloper1zzzzzzzzz".
func (*ValidatorIntent) Descriptor ¶
func (*ValidatorIntent) Descriptor() ([]byte, []int)
func (*ValidatorIntent) GetValoperAddress ¶
func (m *ValidatorIntent) GetValoperAddress() string
func (*ValidatorIntent) Marshal ¶
func (m *ValidatorIntent) Marshal() (dAtA []byte, err error)
func (*ValidatorIntent) MarshalToSizedBuffer ¶
func (m *ValidatorIntent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorIntent) ProtoMessage ¶
func (*ValidatorIntent) ProtoMessage()
func (*ValidatorIntent) Reset ¶
func (m *ValidatorIntent) Reset()
func (*ValidatorIntent) Size ¶
func (m *ValidatorIntent) Size() (n int)
func (*ValidatorIntent) String ¶
func (m *ValidatorIntent) String() string
func (*ValidatorIntent) Unmarshal ¶
func (m *ValidatorIntent) Unmarshal(dAtA []byte) error
func (*ValidatorIntent) XXX_DiscardUnknown ¶
func (m *ValidatorIntent) XXX_DiscardUnknown()
func (*ValidatorIntent) XXX_Marshal ¶
func (m *ValidatorIntent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorIntent) XXX_Merge ¶
func (m *ValidatorIntent) XXX_Merge(src proto.Message)
func (*ValidatorIntent) XXX_Size ¶
func (m *ValidatorIntent) XXX_Size() int
func (*ValidatorIntent) XXX_Unmarshal ¶
func (m *ValidatorIntent) XXX_Unmarshal(b []byte) error
type ValidatorIntents ¶ added in v0.2.0
type ValidatorIntents map[string]*ValidatorIntent
func (ValidatorIntents) Keys ¶ added in v0.2.0
func (v ValidatorIntents) Keys() []string
type WithdrawalRecord ¶
type WithdrawalRecord struct {
Delegator string `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"`
Validator string `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
Amount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
BurnAmount github_com_cosmos_cosmos_sdk_types.Coin `` /* 132-byte string literal not displayed */
Txhash string `protobuf:"bytes,6,opt,name=txhash,proto3" json:"txhash,omitempty"`
Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
}
func (*WithdrawalRecord) Descriptor ¶
func (*WithdrawalRecord) Descriptor() ([]byte, []int)
func (*WithdrawalRecord) GetDelegator ¶
func (m *WithdrawalRecord) GetDelegator() string
func (*WithdrawalRecord) GetRecipient ¶
func (m *WithdrawalRecord) GetRecipient() string
func (*WithdrawalRecord) GetStatus ¶
func (m *WithdrawalRecord) GetStatus() int32
func (*WithdrawalRecord) GetTxhash ¶ added in v0.2.0
func (m *WithdrawalRecord) GetTxhash() string
func (*WithdrawalRecord) GetValidator ¶
func (m *WithdrawalRecord) GetValidator() string
func (*WithdrawalRecord) Marshal ¶
func (m *WithdrawalRecord) Marshal() (dAtA []byte, err error)
func (*WithdrawalRecord) MarshalToSizedBuffer ¶
func (m *WithdrawalRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WithdrawalRecord) ProtoMessage ¶
func (*WithdrawalRecord) ProtoMessage()
func (*WithdrawalRecord) Reset ¶
func (m *WithdrawalRecord) Reset()
func (*WithdrawalRecord) Size ¶
func (m *WithdrawalRecord) Size() (n int)
func (*WithdrawalRecord) String ¶
func (m *WithdrawalRecord) String() string
func (*WithdrawalRecord) Unmarshal ¶
func (m *WithdrawalRecord) Unmarshal(dAtA []byte) error
func (*WithdrawalRecord) XXX_DiscardUnknown ¶
func (m *WithdrawalRecord) XXX_DiscardUnknown()
func (*WithdrawalRecord) XXX_Marshal ¶
func (m *WithdrawalRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawalRecord) XXX_Merge ¶
func (m *WithdrawalRecord) XXX_Merge(src proto.Message)
func (*WithdrawalRecord) XXX_Size ¶
func (m *WithdrawalRecord) XXX_Size() int
func (*WithdrawalRecord) XXX_Unmarshal ¶
func (m *WithdrawalRecord) XXX_Unmarshal(b []byte) error