Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func DefaultStakingShieldRateParams() sdk.Dec
- func GetBlockServiceFeesKey() []byte
- func GetGlobalStakeForShieldPoolKey() []byte
- func GetLastUpdateTimeKey() []byte
- func GetNextPoolIDKey() []byte
- func GetNextPurchaseIDKey() []byte
- func GetOriginalStakingKey(purchaseID uint64) []byte
- func GetPoolKey(id uint64) []byte
- func GetProviderKey(addr sdk.AccAddress) []byte
- func GetPurchaseExpirationTimeKey(timestamp time.Time) []byte
- func GetPurchaseListKey(id uint64, purchaser sdk.AccAddress) []byte
- func GetReimbursementKey(proposalID uint64) []byte
- func GetRemainingServiceFeesKey() []byte
- func GetServiceFeesKey() []byte
- func GetShieldAdminKey() []byte
- func GetStakeForShieldKey(poolID uint64, purchaser sdk.AccAddress) []byte
- func GetTotalClaimedKey() []byte
- func GetTotalCollateralKey() []byte
- func GetTotalShieldKey() []byte
- func GetTotalWithdrawingKey() []byte
- func GetWithdrawCompletionTimeKey(timestamp time.Time) []byte
- func NewUnbondingDelegation(delAddr, valAddr string, entry stakingTypes.UnbondingDelegationEntry) stakingTypes.UnbondingDelegation
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- 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 ValidateGenesis(data GenesisState) error
- type AccountKeeper
- type BankKeeper
- type ClaimProposalParams
- func (*ClaimProposalParams) Descriptor() ([]byte, []int)
- func (m *ClaimProposalParams) Marshal() (dAtA []byte, err error)
- func (m *ClaimProposalParams) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimProposalParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimProposalParams) ProtoMessage()
- func (m *ClaimProposalParams) Reset()
- func (m *ClaimProposalParams) Size() (n int)
- func (m *ClaimProposalParams) String() string
- func (m *ClaimProposalParams) Unmarshal(dAtA []byte) error
- func (m *ClaimProposalParams) XXX_DiscardUnknown()
- func (m *ClaimProposalParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimProposalParams) XXX_Merge(src proto.Message)
- func (m *ClaimProposalParams) XXX_Size() int
- func (m *ClaimProposalParams) XXX_Unmarshal(b []byte) error
- type DistributionParams
- func (*DistributionParams) Descriptor() ([]byte, []int)
- func (m *DistributionParams) Marshal() (dAtA []byte, err error)
- func (m *DistributionParams) MarshalTo(dAtA []byte) (int, error)
- func (m *DistributionParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DistributionParams) ProtoMessage()
- func (m *DistributionParams) Reset()
- func (m *DistributionParams) Size() (n int)
- func (m *DistributionParams) String() string
- func (m *DistributionParams) Unmarshal(dAtA []byte) error
- func (m *DistributionParams) XXX_DiscardUnknown()
- func (m *DistributionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DistributionParams) XXX_Merge(src proto.Message)
- func (m *DistributionParams) XXX_Size() int
- func (m *DistributionParams) XXX_Unmarshal(b []byte) error
- type Fees
- func (*Fees) Descriptor() ([]byte, []int)
- func (m *Fees) Marshal() (dAtA []byte, err error)
- func (m *Fees) MarshalTo(dAtA []byte) (int, error)
- func (m *Fees) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Fees) ProtoMessage()
- func (m *Fees) Reset()
- func (m *Fees) Size() (n int)
- func (m *Fees) String() string
- func (m *Fees) Unmarshal(dAtA []byte) error
- func (m *Fees) XXX_DiscardUnknown()
- func (m *Fees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fees) XXX_Merge(src proto.Message)
- func (m *Fees) XXX_Size() int
- func (m *Fees) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- 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 (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 GovKeeper
- type LastUpdateTime
- func (*LastUpdateTime) Descriptor() ([]byte, []int)
- func (m *LastUpdateTime) Marshal() (dAtA []byte, err error)
- func (m *LastUpdateTime) MarshalTo(dAtA []byte) (int, error)
- func (m *LastUpdateTime) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LastUpdateTime) ProtoMessage()
- func (m *LastUpdateTime) Reset()
- func (m *LastUpdateTime) Size() (n int)
- func (m *LastUpdateTime) String() string
- func (m *LastUpdateTime) Unmarshal(dAtA []byte) error
- func (m *LastUpdateTime) XXX_DiscardUnknown()
- func (m *LastUpdateTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LastUpdateTime) XXX_Merge(src proto.Message)
- func (m *LastUpdateTime) XXX_Size() int
- func (m *LastUpdateTime) XXX_Unmarshal(b []byte) error
- type LockedCollateral
- type MsgClearPayouts
- func (*MsgClearPayouts) Descriptor() ([]byte, []int)
- func (m *MsgClearPayouts) Marshal() (dAtA []byte, err error)
- func (m *MsgClearPayouts) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClearPayouts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClearPayouts) ProtoMessage()
- func (m *MsgClearPayouts) Reset()
- func (m *MsgClearPayouts) Size() (n int)
- func (m *MsgClearPayouts) String() string
- func (m *MsgClearPayouts) Unmarshal(dAtA []byte) error
- func (m *MsgClearPayouts) XXX_DiscardUnknown()
- func (m *MsgClearPayouts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClearPayouts) XXX_Merge(src proto.Message)
- func (m *MsgClearPayouts) XXX_Size() int
- func (m *MsgClearPayouts) XXX_Unmarshal(b []byte) error
- type MsgClearPayoutsResponse
- func (*MsgClearPayoutsResponse) Descriptor() ([]byte, []int)
- func (m *MsgClearPayoutsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClearPayoutsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClearPayoutsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClearPayoutsResponse) ProtoMessage()
- func (m *MsgClearPayoutsResponse) Reset()
- func (m *MsgClearPayoutsResponse) Size() (n int)
- func (m *MsgClearPayoutsResponse) String() string
- func (m *MsgClearPayoutsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClearPayoutsResponse) XXX_DiscardUnknown()
- func (m *MsgClearPayoutsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClearPayoutsResponse) XXX_Merge(src proto.Message)
- func (m *MsgClearPayoutsResponse) XXX_Size() int
- func (m *MsgClearPayoutsResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreatePool
- func (*MsgCreatePool) Descriptor() ([]byte, []int)
- func (msg MsgCreatePool) GetSignBytes() []byte
- func (msg MsgCreatePool) GetSigners() []sdk.AccAddress
- func (m *MsgCreatePool) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePool) ProtoMessage()
- func (m *MsgCreatePool) Reset()
- func (msg MsgCreatePool) Route() string
- func (m *MsgCreatePool) Size() (n int)
- func (m *MsgCreatePool) String() string
- func (msg MsgCreatePool) Type() string
- func (m *MsgCreatePool) Unmarshal(dAtA []byte) error
- func (msg MsgCreatePool) ValidateBasic() error
- func (m *MsgCreatePool) XXX_DiscardUnknown()
- func (m *MsgCreatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePool) XXX_Merge(src proto.Message)
- func (m *MsgCreatePool) XXX_Size() int
- func (m *MsgCreatePool) XXX_Unmarshal(b []byte) error
- type MsgCreatePoolResponse
- func (*MsgCreatePoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreatePoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePoolResponse) ProtoMessage()
- func (m *MsgCreatePoolResponse) Reset()
- func (m *MsgCreatePoolResponse) Size() (n int)
- func (m *MsgCreatePoolResponse) String() string
- func (m *MsgCreatePoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreatePoolResponse) XXX_DiscardUnknown()
- func (m *MsgCreatePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreatePoolResponse) XXX_Size() int
- func (m *MsgCreatePoolResponse) XXX_Unmarshal(b []byte) error
- type MsgDepositCollateral
- func (*MsgDepositCollateral) Descriptor() ([]byte, []int)
- func (msg MsgDepositCollateral) GetSignBytes() []byte
- func (msg MsgDepositCollateral) GetSigners() []sdk.AccAddress
- func (m *MsgDepositCollateral) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositCollateral) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositCollateral) ProtoMessage()
- func (m *MsgDepositCollateral) Reset()
- func (msg MsgDepositCollateral) Route() string
- func (m *MsgDepositCollateral) Size() (n int)
- func (m *MsgDepositCollateral) String() string
- func (msg MsgDepositCollateral) Type() string
- func (m *MsgDepositCollateral) Unmarshal(dAtA []byte) error
- func (msg MsgDepositCollateral) ValidateBasic() error
- func (m *MsgDepositCollateral) XXX_DiscardUnknown()
- func (m *MsgDepositCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositCollateral) XXX_Merge(src proto.Message)
- func (m *MsgDepositCollateral) XXX_Size() int
- func (m *MsgDepositCollateral) XXX_Unmarshal(b []byte) error
- type MsgDepositCollateralResponse
- func (*MsgDepositCollateralResponse) Descriptor() ([]byte, []int)
- func (m *MsgDepositCollateralResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositCollateralResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositCollateralResponse) ProtoMessage()
- func (m *MsgDepositCollateralResponse) Reset()
- func (m *MsgDepositCollateralResponse) Size() (n int)
- func (m *MsgDepositCollateralResponse) String() string
- func (m *MsgDepositCollateralResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDepositCollateralResponse) XXX_DiscardUnknown()
- func (m *MsgDepositCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositCollateralResponse) XXX_Merge(src proto.Message)
- func (m *MsgDepositCollateralResponse) XXX_Size() int
- func (m *MsgDepositCollateralResponse) XXX_Unmarshal(b []byte) error
- type MsgPausePool
- func (*MsgPausePool) Descriptor() ([]byte, []int)
- func (msg MsgPausePool) GetSignBytes() []byte
- func (msg MsgPausePool) GetSigners() []sdk.AccAddress
- func (m *MsgPausePool) Marshal() (dAtA []byte, err error)
- func (m *MsgPausePool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPausePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPausePool) ProtoMessage()
- func (m *MsgPausePool) Reset()
- func (msg MsgPausePool) Route() string
- func (m *MsgPausePool) Size() (n int)
- func (m *MsgPausePool) String() string
- func (msg MsgPausePool) Type() string
- func (m *MsgPausePool) Unmarshal(dAtA []byte) error
- func (msg MsgPausePool) ValidateBasic() error
- func (m *MsgPausePool) XXX_DiscardUnknown()
- func (m *MsgPausePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPausePool) XXX_Merge(src proto.Message)
- func (m *MsgPausePool) XXX_Size() int
- func (m *MsgPausePool) XXX_Unmarshal(b []byte) error
- type MsgPausePoolResponse
- func (*MsgPausePoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgPausePoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgPausePoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPausePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPausePoolResponse) ProtoMessage()
- func (m *MsgPausePoolResponse) Reset()
- func (m *MsgPausePoolResponse) Size() (n int)
- func (m *MsgPausePoolResponse) String() string
- func (m *MsgPausePoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgPausePoolResponse) XXX_DiscardUnknown()
- func (m *MsgPausePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPausePoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgPausePoolResponse) XXX_Size() int
- func (m *MsgPausePoolResponse) XXX_Unmarshal(b []byte) error
- type MsgPurchaseShield
- func (*MsgPurchaseShield) Descriptor() ([]byte, []int)
- func (msg MsgPurchaseShield) GetSignBytes() []byte
- func (msg MsgPurchaseShield) GetSigners() []sdk.AccAddress
- func (m *MsgPurchaseShield) Marshal() (dAtA []byte, err error)
- func (m *MsgPurchaseShield) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPurchaseShield) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPurchaseShield) ProtoMessage()
- func (m *MsgPurchaseShield) Reset()
- func (msg MsgPurchaseShield) Route() string
- func (m *MsgPurchaseShield) Size() (n int)
- func (m *MsgPurchaseShield) String() string
- func (msg MsgPurchaseShield) Type() string
- func (m *MsgPurchaseShield) Unmarshal(dAtA []byte) error
- func (msg MsgPurchaseShield) ValidateBasic() error
- func (m *MsgPurchaseShield) XXX_DiscardUnknown()
- func (m *MsgPurchaseShield) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPurchaseShield) XXX_Merge(src proto.Message)
- func (m *MsgPurchaseShield) XXX_Size() int
- func (m *MsgPurchaseShield) XXX_Unmarshal(b []byte) error
- type MsgPurchaseShieldResponse
- func (*MsgPurchaseShieldResponse) Descriptor() ([]byte, []int)
- func (m *MsgPurchaseShieldResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgPurchaseShieldResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPurchaseShieldResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPurchaseShieldResponse) ProtoMessage()
- func (m *MsgPurchaseShieldResponse) Reset()
- func (m *MsgPurchaseShieldResponse) Size() (n int)
- func (m *MsgPurchaseShieldResponse) String() string
- func (m *MsgPurchaseShieldResponse) Unmarshal(dAtA []byte) error
- func (m *MsgPurchaseShieldResponse) XXX_DiscardUnknown()
- func (m *MsgPurchaseShieldResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPurchaseShieldResponse) XXX_Merge(src proto.Message)
- func (m *MsgPurchaseShieldResponse) XXX_Size() int
- func (m *MsgPurchaseShieldResponse) XXX_Unmarshal(b []byte) error
- type MsgResumePool
- func (*MsgResumePool) Descriptor() ([]byte, []int)
- func (msg MsgResumePool) GetSignBytes() []byte
- func (msg MsgResumePool) GetSigners() []sdk.AccAddress
- func (m *MsgResumePool) Marshal() (dAtA []byte, err error)
- func (m *MsgResumePool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgResumePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgResumePool) ProtoMessage()
- func (m *MsgResumePool) Reset()
- func (msg MsgResumePool) Route() string
- func (m *MsgResumePool) Size() (n int)
- func (m *MsgResumePool) String() string
- func (msg MsgResumePool) Type() string
- func (m *MsgResumePool) Unmarshal(dAtA []byte) error
- func (msg MsgResumePool) ValidateBasic() error
- func (m *MsgResumePool) XXX_DiscardUnknown()
- func (m *MsgResumePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgResumePool) XXX_Merge(src proto.Message)
- func (m *MsgResumePool) XXX_Size() int
- func (m *MsgResumePool) XXX_Unmarshal(b []byte) error
- type MsgResumePoolResponse
- func (*MsgResumePoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgResumePoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgResumePoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgResumePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgResumePoolResponse) ProtoMessage()
- func (m *MsgResumePoolResponse) Reset()
- func (m *MsgResumePoolResponse) Size() (n int)
- func (m *MsgResumePoolResponse) String() string
- func (m *MsgResumePoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgResumePoolResponse) XXX_DiscardUnknown()
- func (m *MsgResumePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgResumePoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgResumePoolResponse) XXX_Size() int
- func (m *MsgResumePoolResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgStakeForShield
- func (*MsgStakeForShield) Descriptor() ([]byte, []int)
- func (msg MsgStakeForShield) GetSignBytes() []byte
- func (msg MsgStakeForShield) GetSigners() []sdk.AccAddress
- func (m *MsgStakeForShield) Marshal() (dAtA []byte, err error)
- func (m *MsgStakeForShield) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStakeForShield) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStakeForShield) ProtoMessage()
- func (m *MsgStakeForShield) Reset()
- func (msg MsgStakeForShield) Route() string
- func (m *MsgStakeForShield) Size() (n int)
- func (m *MsgStakeForShield) String() string
- func (msg MsgStakeForShield) Type() string
- func (m *MsgStakeForShield) Unmarshal(dAtA []byte) error
- func (msg MsgStakeForShield) ValidateBasic() error
- func (m *MsgStakeForShield) XXX_DiscardUnknown()
- func (m *MsgStakeForShield) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStakeForShield) XXX_Merge(src proto.Message)
- func (m *MsgStakeForShield) XXX_Size() int
- func (m *MsgStakeForShield) XXX_Unmarshal(b []byte) error
- type MsgStakeForShieldResponse
- func (*MsgStakeForShieldResponse) Descriptor() ([]byte, []int)
- func (m *MsgStakeForShieldResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStakeForShieldResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStakeForShieldResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStakeForShieldResponse) ProtoMessage()
- func (m *MsgStakeForShieldResponse) Reset()
- func (m *MsgStakeForShieldResponse) Size() (n int)
- func (m *MsgStakeForShieldResponse) String() string
- func (m *MsgStakeForShieldResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStakeForShieldResponse) XXX_DiscardUnknown()
- func (m *MsgStakeForShieldResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStakeForShieldResponse) XXX_Merge(src proto.Message)
- func (m *MsgStakeForShieldResponse) XXX_Size() int
- func (m *MsgStakeForShieldResponse) XXX_Unmarshal(b []byte) error
- type MsgUnstakeFromShield
- func (*MsgUnstakeFromShield) Descriptor() ([]byte, []int)
- func (msg MsgUnstakeFromShield) GetSignBytes() []byte
- func (msg MsgUnstakeFromShield) GetSigners() []sdk.AccAddress
- func (m *MsgUnstakeFromShield) Marshal() (dAtA []byte, err error)
- func (m *MsgUnstakeFromShield) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnstakeFromShield) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnstakeFromShield) ProtoMessage()
- func (m *MsgUnstakeFromShield) Reset()
- func (msg MsgUnstakeFromShield) Route() string
- func (m *MsgUnstakeFromShield) Size() (n int)
- func (m *MsgUnstakeFromShield) String() string
- func (msg MsgUnstakeFromShield) Type() string
- func (m *MsgUnstakeFromShield) Unmarshal(dAtA []byte) error
- func (msg MsgUnstakeFromShield) ValidateBasic() error
- func (m *MsgUnstakeFromShield) XXX_DiscardUnknown()
- func (m *MsgUnstakeFromShield) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnstakeFromShield) XXX_Merge(src proto.Message)
- func (m *MsgUnstakeFromShield) XXX_Size() int
- func (m *MsgUnstakeFromShield) XXX_Unmarshal(b []byte) error
- type MsgUnstakeFromShieldResponse
- func (*MsgUnstakeFromShieldResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnstakeFromShieldResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnstakeFromShieldResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnstakeFromShieldResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnstakeFromShieldResponse) ProtoMessage()
- func (m *MsgUnstakeFromShieldResponse) Reset()
- func (m *MsgUnstakeFromShieldResponse) Size() (n int)
- func (m *MsgUnstakeFromShieldResponse) String() string
- func (m *MsgUnstakeFromShieldResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnstakeFromShieldResponse) XXX_DiscardUnknown()
- func (m *MsgUnstakeFromShieldResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnstakeFromShieldResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnstakeFromShieldResponse) XXX_Size() int
- func (m *MsgUnstakeFromShieldResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdatePool
- func (*MsgUpdatePool) Descriptor() ([]byte, []int)
- func (msg MsgUpdatePool) GetSignBytes() []byte
- func (msg MsgUpdatePool) GetSigners() []sdk.AccAddress
- func (m *MsgUpdatePool) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdatePool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdatePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdatePool) ProtoMessage()
- func (m *MsgUpdatePool) Reset()
- func (msg MsgUpdatePool) Route() string
- func (m *MsgUpdatePool) Size() (n int)
- func (m *MsgUpdatePool) String() string
- func (msg MsgUpdatePool) Type() string
- func (m *MsgUpdatePool) Unmarshal(dAtA []byte) error
- func (msg MsgUpdatePool) ValidateBasic() error
- func (m *MsgUpdatePool) XXX_DiscardUnknown()
- func (m *MsgUpdatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdatePool) XXX_Merge(src proto.Message)
- func (m *MsgUpdatePool) XXX_Size() int
- func (m *MsgUpdatePool) XXX_Unmarshal(b []byte) error
- type MsgUpdatePoolResponse
- func (*MsgUpdatePoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdatePoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdatePoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdatePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdatePoolResponse) ProtoMessage()
- func (m *MsgUpdatePoolResponse) Reset()
- func (m *MsgUpdatePoolResponse) Size() (n int)
- func (m *MsgUpdatePoolResponse) String() string
- func (m *MsgUpdatePoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdatePoolResponse) XXX_DiscardUnknown()
- func (m *MsgUpdatePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdatePoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdatePoolResponse) XXX_Size() int
- func (m *MsgUpdatePoolResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateSponsor
- func (*MsgUpdateSponsor) Descriptor() ([]byte, []int)
- func (msg MsgUpdateSponsor) GetSignBytes() []byte
- func (msg MsgUpdateSponsor) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateSponsor) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSponsor) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSponsor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSponsor) ProtoMessage()
- func (m *MsgUpdateSponsor) Reset()
- func (msg MsgUpdateSponsor) Route() string
- func (m *MsgUpdateSponsor) Size() (n int)
- func (m *MsgUpdateSponsor) String() string
- func (msg MsgUpdateSponsor) Type() string
- func (m *MsgUpdateSponsor) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateSponsor) ValidateBasic() error
- func (m *MsgUpdateSponsor) XXX_DiscardUnknown()
- func (m *MsgUpdateSponsor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSponsor) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSponsor) XXX_Size() int
- func (m *MsgUpdateSponsor) XXX_Unmarshal(b []byte) error
- type MsgUpdateSponsorResponse
- func (*MsgUpdateSponsorResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSponsorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSponsorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSponsorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSponsorResponse) ProtoMessage()
- func (m *MsgUpdateSponsorResponse) Reset()
- func (m *MsgUpdateSponsorResponse) Size() (n int)
- func (m *MsgUpdateSponsorResponse) String() string
- func (m *MsgUpdateSponsorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateSponsorResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateSponsorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSponsorResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSponsorResponse) XXX_Size() int
- func (m *MsgUpdateSponsorResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawCollateral
- func (*MsgWithdrawCollateral) Descriptor() ([]byte, []int)
- func (msg MsgWithdrawCollateral) GetSignBytes() []byte
- func (msg MsgWithdrawCollateral) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawCollateral) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawCollateral) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawCollateral) ProtoMessage()
- func (m *MsgWithdrawCollateral) Reset()
- func (msg MsgWithdrawCollateral) Route() string
- func (m *MsgWithdrawCollateral) Size() (n int)
- func (m *MsgWithdrawCollateral) String() string
- func (msg MsgWithdrawCollateral) Type() string
- func (m *MsgWithdrawCollateral) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawCollateral) ValidateBasic() error
- func (m *MsgWithdrawCollateral) XXX_DiscardUnknown()
- func (m *MsgWithdrawCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawCollateral) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawCollateral) XXX_Size() int
- func (m *MsgWithdrawCollateral) XXX_Unmarshal(b []byte) error
- type MsgWithdrawCollateralResponse
- func (*MsgWithdrawCollateralResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawCollateralResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawCollateralResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawCollateralResponse) ProtoMessage()
- func (m *MsgWithdrawCollateralResponse) Reset()
- func (m *MsgWithdrawCollateralResponse) Size() (n int)
- func (m *MsgWithdrawCollateralResponse) String() string
- func (m *MsgWithdrawCollateralResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawCollateralResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawCollateralResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawCollateralResponse) XXX_Size() int
- func (m *MsgWithdrawCollateralResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawForeignRewards
- func (*MsgWithdrawForeignRewards) Descriptor() ([]byte, []int)
- func (msg MsgWithdrawForeignRewards) GetSignBytes() []byte
- func (msg MsgWithdrawForeignRewards) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawForeignRewards) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawForeignRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawForeignRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawForeignRewards) ProtoMessage()
- func (m *MsgWithdrawForeignRewards) Reset()
- func (msg MsgWithdrawForeignRewards) Route() string
- func (m *MsgWithdrawForeignRewards) Size() (n int)
- func (m *MsgWithdrawForeignRewards) String() string
- func (msg MsgWithdrawForeignRewards) Type() string
- func (m *MsgWithdrawForeignRewards) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawForeignRewards) ValidateBasic() error
- func (m *MsgWithdrawForeignRewards) XXX_DiscardUnknown()
- func (m *MsgWithdrawForeignRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawForeignRewards) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawForeignRewards) XXX_Size() int
- func (m *MsgWithdrawForeignRewards) XXX_Unmarshal(b []byte) error
- type MsgWithdrawForeignRewardsResponse
- func (*MsgWithdrawForeignRewardsResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawForeignRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawForeignRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawForeignRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawForeignRewardsResponse) ProtoMessage()
- func (m *MsgWithdrawForeignRewardsResponse) Reset()
- func (m *MsgWithdrawForeignRewardsResponse) Size() (n int)
- func (m *MsgWithdrawForeignRewardsResponse) String() string
- func (m *MsgWithdrawForeignRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawForeignRewardsResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawForeignRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawForeignRewardsResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawForeignRewardsResponse) XXX_Size() int
- func (m *MsgWithdrawForeignRewardsResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawReimbursement
- func (*MsgWithdrawReimbursement) Descriptor() ([]byte, []int)
- func (msg MsgWithdrawReimbursement) GetSignBytes() []byte
- func (msg MsgWithdrawReimbursement) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawReimbursement) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawReimbursement) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawReimbursement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawReimbursement) ProtoMessage()
- func (m *MsgWithdrawReimbursement) Reset()
- func (msg MsgWithdrawReimbursement) Route() string
- func (m *MsgWithdrawReimbursement) Size() (n int)
- func (m *MsgWithdrawReimbursement) String() string
- func (msg MsgWithdrawReimbursement) Type() string
- func (m *MsgWithdrawReimbursement) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawReimbursement) ValidateBasic() error
- func (m *MsgWithdrawReimbursement) XXX_DiscardUnknown()
- func (m *MsgWithdrawReimbursement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawReimbursement) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawReimbursement) XXX_Size() int
- func (m *MsgWithdrawReimbursement) XXX_Unmarshal(b []byte) error
- type MsgWithdrawReimbursementResponse
- func (*MsgWithdrawReimbursementResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawReimbursementResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawReimbursementResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawReimbursementResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawReimbursementResponse) ProtoMessage()
- func (m *MsgWithdrawReimbursementResponse) Reset()
- func (m *MsgWithdrawReimbursementResponse) Size() (n int)
- func (m *MsgWithdrawReimbursementResponse) String() string
- func (m *MsgWithdrawReimbursementResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawReimbursementResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawReimbursementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawReimbursementResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawReimbursementResponse) XXX_Size() int
- func (m *MsgWithdrawReimbursementResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawRewards
- func (*MsgWithdrawRewards) Descriptor() ([]byte, []int)
- func (msg MsgWithdrawRewards) GetSignBytes() []byte
- func (msg MsgWithdrawRewards) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawRewards) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawRewards) ProtoMessage()
- func (m *MsgWithdrawRewards) Reset()
- func (msg MsgWithdrawRewards) Route() string
- func (m *MsgWithdrawRewards) Size() (n int)
- func (m *MsgWithdrawRewards) String() string
- func (msg MsgWithdrawRewards) Type() string
- func (m *MsgWithdrawRewards) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawRewards) ValidateBasic() error
- func (m *MsgWithdrawRewards) XXX_DiscardUnknown()
- func (m *MsgWithdrawRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawRewards) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawRewards) XXX_Size() int
- func (m *MsgWithdrawRewards) XXX_Unmarshal(b []byte) error
- type MsgWithdrawRewardsResponse
- func (*MsgWithdrawRewardsResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawRewardsResponse) ProtoMessage()
- func (m *MsgWithdrawRewardsResponse) Reset()
- func (m *MsgWithdrawRewardsResponse) Size() (n int)
- func (m *MsgWithdrawRewardsResponse) String() string
- func (m *MsgWithdrawRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawRewardsResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawRewardsResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawRewardsResponse) XXX_Size() int
- func (m *MsgWithdrawRewardsResponse) XXX_Unmarshal(b []byte) error
- type OriginalStaking
- func (*OriginalStaking) Descriptor() ([]byte, []int)
- func (m *OriginalStaking) Marshal() (dAtA []byte, err error)
- func (m *OriginalStaking) MarshalTo(dAtA []byte) (int, error)
- func (m *OriginalStaking) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OriginalStaking) ProtoMessage()
- func (m *OriginalStaking) Reset()
- func (m *OriginalStaking) Size() (n int)
- func (m *OriginalStaking) String() string
- func (m *OriginalStaking) Unmarshal(dAtA []byte) error
- func (m *OriginalStaking) XXX_DiscardUnknown()
- func (m *OriginalStaking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OriginalStaking) XXX_Merge(src proto.Message)
- func (m *OriginalStaking) XXX_Size() int
- func (m *OriginalStaking) XXX_Unmarshal(b []byte) error
- type ParamSubspace
- type Pool
- func (*Pool) Descriptor() ([]byte, []int)
- func (m *Pool) Marshal() (dAtA []byte, err error)
- func (m *Pool) MarshalTo(dAtA []byte) (int, error)
- func (m *Pool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Pool) ProtoMessage()
- func (m *Pool) Reset()
- func (m *Pool) Size() (n int)
- func (m *Pool) String() string
- func (m *Pool) Unmarshal(dAtA []byte) error
- func (m *Pool) XXX_DiscardUnknown()
- func (m *Pool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pool) XXX_Merge(src proto.Message)
- func (m *Pool) XXX_Size() int
- func (m *Pool) XXX_Unmarshal(b []byte) error
- type PoolParams
- func (*PoolParams) Descriptor() ([]byte, []int)
- func (m *PoolParams) Marshal() (dAtA []byte, err error)
- func (m *PoolParams) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolParams) ProtoMessage()
- func (m *PoolParams) Reset()
- func (m *PoolParams) Size() (n int)
- func (m *PoolParams) String() string
- func (m *PoolParams) Unmarshal(dAtA []byte) error
- func (m *PoolParams) XXX_DiscardUnknown()
- func (m *PoolParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolParams) XXX_Merge(src proto.Message)
- func (m *PoolParams) XXX_Size() int
- func (m *PoolParams) XXX_Unmarshal(b []byte) error
- type PoolPurchaser
- func (*PoolPurchaser) Descriptor() ([]byte, []int)
- func (m *PoolPurchaser) Marshal() (dAtA []byte, err error)
- func (m *PoolPurchaser) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolPurchaser) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolPurchaser) ProtoMessage()
- func (m *PoolPurchaser) Reset()
- func (m *PoolPurchaser) Size() (n int)
- func (m *PoolPurchaser) String() string
- func (m *PoolPurchaser) Unmarshal(dAtA []byte) error
- func (m *PoolPurchaser) XXX_DiscardUnknown()
- func (m *PoolPurchaser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolPurchaser) XXX_Merge(src proto.Message)
- func (m *PoolPurchaser) XXX_Size() int
- func (m *PoolPurchaser) XXX_Unmarshal(b []byte) error
- type PoolPurchaserPairs
- func (*PoolPurchaserPairs) Descriptor() ([]byte, []int)
- func (m *PoolPurchaserPairs) GetPairs() []PoolPurchaser
- func (m *PoolPurchaserPairs) Marshal() (dAtA []byte, err error)
- func (m *PoolPurchaserPairs) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolPurchaserPairs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolPurchaserPairs) ProtoMessage()
- func (m *PoolPurchaserPairs) Reset()
- func (m *PoolPurchaserPairs) Size() (n int)
- func (m *PoolPurchaserPairs) String() string
- func (m *PoolPurchaserPairs) Unmarshal(dAtA []byte) error
- func (m *PoolPurchaserPairs) XXX_DiscardUnknown()
- func (m *PoolPurchaserPairs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolPurchaserPairs) XXX_Merge(src proto.Message)
- func (m *PoolPurchaserPairs) XXX_Size() int
- func (m *PoolPurchaserPairs) XXX_Unmarshal(b []byte) error
- type ProposalIDReimbursementPair
- func (*ProposalIDReimbursementPair) Descriptor() ([]byte, []int)
- func (m *ProposalIDReimbursementPair) Marshal() (dAtA []byte, err error)
- func (m *ProposalIDReimbursementPair) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalIDReimbursementPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposalIDReimbursementPair) ProtoMessage()
- func (m *ProposalIDReimbursementPair) Reset()
- func (m *ProposalIDReimbursementPair) Size() (n int)
- func (m *ProposalIDReimbursementPair) String() string
- func (m *ProposalIDReimbursementPair) Unmarshal(dAtA []byte) error
- func (m *ProposalIDReimbursementPair) XXX_DiscardUnknown()
- func (m *ProposalIDReimbursementPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalIDReimbursementPair) XXX_Merge(src proto.Message)
- func (m *ProposalIDReimbursementPair) XXX_Size() int
- func (m *ProposalIDReimbursementPair) XXX_Unmarshal(b []byte) error
- type Provider
- func (*Provider) Descriptor() ([]byte, []int)
- func (m *Provider) Marshal() (dAtA []byte, err error)
- func (m *Provider) MarshalTo(dAtA []byte) (int, error)
- func (m *Provider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Provider) ProtoMessage()
- func (m *Provider) Reset()
- func (m *Provider) Size() (n int)
- func (m *Provider) String() string
- func (m *Provider) Unmarshal(dAtA []byte) error
- func (m *Provider) XXX_DiscardUnknown()
- func (m *Provider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Provider) XXX_Merge(src proto.Message)
- func (m *Provider) XXX_Size() int
- func (m *Provider) XXX_Unmarshal(b []byte) error
- type Purchase
- func (*Purchase) Descriptor() ([]byte, []int)
- func (m *Purchase) Marshal() (dAtA []byte, err error)
- func (m *Purchase) MarshalTo(dAtA []byte) (int, error)
- func (m *Purchase) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Purchase) ProtoMessage()
- func (m *Purchase) Reset()
- func (m *Purchase) Size() (n int)
- func (m *Purchase) String() string
- func (m *Purchase) Unmarshal(dAtA []byte) error
- func (m *Purchase) XXX_DiscardUnknown()
- func (m *Purchase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Purchase) XXX_Merge(src proto.Message)
- func (m *Purchase) XXX_Size() int
- func (m *Purchase) XXX_Unmarshal(b []byte) error
- type PurchaseList
- func (*PurchaseList) Descriptor() ([]byte, []int)
- func (m *PurchaseList) Marshal() (dAtA []byte, err error)
- func (m *PurchaseList) MarshalTo(dAtA []byte) (int, error)
- func (m *PurchaseList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PurchaseList) ProtoMessage()
- func (m *PurchaseList) Reset()
- func (m *PurchaseList) Size() (n int)
- func (m *PurchaseList) String() string
- func (m *PurchaseList) Unmarshal(dAtA []byte) error
- func (m *PurchaseList) XXX_DiscardUnknown()
- func (m *PurchaseList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PurchaseList) XXX_Merge(src proto.Message)
- func (m *PurchaseList) XXX_Size() int
- func (m *PurchaseList) XXX_Unmarshal(b []byte) error
- type QueryClaimParamsRequest
- func (*QueryClaimParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryClaimParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimParamsRequest) ProtoMessage()
- func (m *QueryClaimParamsRequest) Reset()
- func (m *QueryClaimParamsRequest) Size() (n int)
- func (m *QueryClaimParamsRequest) String() string
- func (m *QueryClaimParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClaimParamsRequest) XXX_DiscardUnknown()
- func (m *QueryClaimParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryClaimParamsRequest) XXX_Size() int
- func (m *QueryClaimParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryClaimParamsResponse
- func (*QueryClaimParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryClaimParamsResponse) GetParams() ClaimProposalParams
- func (m *QueryClaimParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimParamsResponse) ProtoMessage()
- func (m *QueryClaimParamsResponse) Reset()
- func (m *QueryClaimParamsResponse) Size() (n int)
- func (m *QueryClaimParamsResponse) String() string
- func (m *QueryClaimParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClaimParamsResponse) XXX_DiscardUnknown()
- func (m *QueryClaimParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryClaimParamsResponse) XXX_Size() int
- func (m *QueryClaimParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDistrParamsRequest
- func (*QueryDistrParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDistrParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDistrParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDistrParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDistrParamsRequest) ProtoMessage()
- func (m *QueryDistrParamsRequest) Reset()
- func (m *QueryDistrParamsRequest) Size() (n int)
- func (m *QueryDistrParamsRequest) String() string
- func (m *QueryDistrParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDistrParamsRequest) XXX_DiscardUnknown()
- func (m *QueryDistrParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDistrParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDistrParamsRequest) XXX_Size() int
- func (m *QueryDistrParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryDistrParamsResponse
- func (*QueryDistrParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDistrParamsResponse) GetParams() DistributionParams
- func (m *QueryDistrParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDistrParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDistrParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDistrParamsResponse) ProtoMessage()
- func (m *QueryDistrParamsResponse) Reset()
- func (m *QueryDistrParamsResponse) Size() (n int)
- func (m *QueryDistrParamsResponse) String() string
- func (m *QueryDistrParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDistrParamsResponse) XXX_DiscardUnknown()
- func (m *QueryDistrParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDistrParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDistrParamsResponse) XXX_Size() int
- func (m *QueryDistrParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryPaginationParams
- type QueryPoolParamsRequest
- func (*QueryPoolParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolParamsRequest) ProtoMessage()
- func (m *QueryPoolParamsRequest) Reset()
- func (m *QueryPoolParamsRequest) Size() (n int)
- func (m *QueryPoolParamsRequest) String() string
- func (m *QueryPoolParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolParamsRequest) XXX_DiscardUnknown()
- func (m *QueryPoolParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolParamsRequest) XXX_Size() int
- func (m *QueryPoolParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolParamsResponse
- func (*QueryPoolParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryPoolParamsResponse) GetParams() PoolParams
- func (m *QueryPoolParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolParamsResponse) ProtoMessage()
- func (m *QueryPoolParamsResponse) Reset()
- func (m *QueryPoolParamsResponse) Size() (n int)
- func (m *QueryPoolParamsResponse) String() string
- func (m *QueryPoolParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPoolParamsResponse) XXX_DiscardUnknown()
- func (m *QueryPoolParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryPoolParamsResponse) XXX_Size() int
- func (m *QueryPoolParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryPoolPurchaseListsRequest
- func (*QueryPoolPurchaseListsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolPurchaseListsRequest) GetPoolId() uint64
- func (m *QueryPoolPurchaseListsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolPurchaseListsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolPurchaseListsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolPurchaseListsRequest) ProtoMessage()
- func (m *QueryPoolPurchaseListsRequest) Reset()
- func (m *QueryPoolPurchaseListsRequest) Size() (n int)
- func (m *QueryPoolPurchaseListsRequest) String() string
- func (m *QueryPoolPurchaseListsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolPurchaseListsRequest) XXX_DiscardUnknown()
- func (m *QueryPoolPurchaseListsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolPurchaseListsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolPurchaseListsRequest) XXX_Size() int
- func (m *QueryPoolPurchaseListsRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolRequest
- func (*QueryPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolRequest) GetPoolId() uint64
- func (m *QueryPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolRequest) ProtoMessage()
- func (m *QueryPoolRequest) Reset()
- func (m *QueryPoolRequest) Size() (n int)
- func (m *QueryPoolRequest) String() string
- func (m *QueryPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolRequest) XXX_DiscardUnknown()
- func (m *QueryPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolRequest) XXX_Size() int
- func (m *QueryPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolResponse
- func (*QueryPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryPoolResponse) GetPool() Pool
- func (m *QueryPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolResponse) ProtoMessage()
- func (m *QueryPoolResponse) Reset()
- func (m *QueryPoolResponse) Size() (n int)
- func (m *QueryPoolResponse) String() string
- func (m *QueryPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPoolResponse) XXX_DiscardUnknown()
- func (m *QueryPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryPoolResponse) XXX_Size() int
- func (m *QueryPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryPoolsRequest
- func (*QueryPoolsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolsRequest) ProtoMessage()
- func (m *QueryPoolsRequest) Reset()
- func (m *QueryPoolsRequest) Size() (n int)
- func (m *QueryPoolsRequest) String() string
- func (m *QueryPoolsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolsRequest) XXX_DiscardUnknown()
- func (m *QueryPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolsRequest) XXX_Size() int
- func (m *QueryPoolsRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolsResponse
- func (*QueryPoolsResponse) Descriptor() ([]byte, []int)
- func (m *QueryPoolsResponse) GetPools() []Pool
- func (m *QueryPoolsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolsResponse) ProtoMessage()
- func (m *QueryPoolsResponse) Reset()
- func (m *QueryPoolsResponse) Size() (n int)
- func (m *QueryPoolsResponse) String() string
- func (m *QueryPoolsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPoolsResponse) XXX_DiscardUnknown()
- func (m *QueryPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolsResponse) XXX_Merge(src proto.Message)
- func (m *QueryPoolsResponse) XXX_Size() int
- func (m *QueryPoolsResponse) XXX_Unmarshal(b []byte) error
- type QueryProviderRequest
- func (*QueryProviderRequest) Descriptor() ([]byte, []int)
- func (m *QueryProviderRequest) GetAddress() string
- func (m *QueryProviderRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderRequest) ProtoMessage()
- func (m *QueryProviderRequest) Reset()
- func (m *QueryProviderRequest) Size() (n int)
- func (m *QueryProviderRequest) String() string
- func (m *QueryProviderRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProviderRequest) XXX_DiscardUnknown()
- func (m *QueryProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderRequest) XXX_Merge(src proto.Message)
- func (m *QueryProviderRequest) XXX_Size() int
- func (m *QueryProviderRequest) XXX_Unmarshal(b []byte) error
- type QueryProviderResponse
- func (*QueryProviderResponse) Descriptor() ([]byte, []int)
- func (m *QueryProviderResponse) GetProvider() Provider
- func (m *QueryProviderResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderResponse) ProtoMessage()
- func (m *QueryProviderResponse) Reset()
- func (m *QueryProviderResponse) Size() (n int)
- func (m *QueryProviderResponse) String() string
- func (m *QueryProviderResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProviderResponse) XXX_DiscardUnknown()
- func (m *QueryProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderResponse) XXX_Merge(src proto.Message)
- func (m *QueryProviderResponse) XXX_Size() int
- func (m *QueryProviderResponse) XXX_Unmarshal(b []byte) error
- type QueryProvidersRequest
- func (*QueryProvidersRequest) Descriptor() ([]byte, []int)
- func (m *QueryProvidersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProvidersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProvidersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProvidersRequest) ProtoMessage()
- func (m *QueryProvidersRequest) Reset()
- func (m *QueryProvidersRequest) Size() (n int)
- func (m *QueryProvidersRequest) String() string
- func (m *QueryProvidersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProvidersRequest) XXX_DiscardUnknown()
- func (m *QueryProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProvidersRequest) XXX_Merge(src proto.Message)
- func (m *QueryProvidersRequest) XXX_Size() int
- func (m *QueryProvidersRequest) XXX_Unmarshal(b []byte) error
- type QueryProvidersResponse
- func (*QueryProvidersResponse) Descriptor() ([]byte, []int)
- func (m *QueryProvidersResponse) GetProviders() []Provider
- func (m *QueryProvidersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProvidersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProvidersResponse) ProtoMessage()
- func (m *QueryProvidersResponse) Reset()
- func (m *QueryProvidersResponse) Size() (n int)
- func (m *QueryProvidersResponse) String() string
- func (m *QueryProvidersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProvidersResponse) XXX_DiscardUnknown()
- func (m *QueryProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProvidersResponse) XXX_Merge(src proto.Message)
- func (m *QueryProvidersResponse) XXX_Size() int
- func (m *QueryProvidersResponse) XXX_Unmarshal(b []byte) error
- type QueryPurchaseListRequest
- func (*QueryPurchaseListRequest) Descriptor() ([]byte, []int)
- func (m *QueryPurchaseListRequest) GetPoolId() uint64
- func (m *QueryPurchaseListRequest) GetPurchaser() string
- func (m *QueryPurchaseListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPurchaseListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPurchaseListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPurchaseListRequest) ProtoMessage()
- func (m *QueryPurchaseListRequest) Reset()
- func (m *QueryPurchaseListRequest) Size() (n int)
- func (m *QueryPurchaseListRequest) String() string
- func (m *QueryPurchaseListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPurchaseListRequest) XXX_DiscardUnknown()
- func (m *QueryPurchaseListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPurchaseListRequest) XXX_Merge(src proto.Message)
- func (m *QueryPurchaseListRequest) XXX_Size() int
- func (m *QueryPurchaseListRequest) XXX_Unmarshal(b []byte) error
- type QueryPurchaseListResponse
- func (*QueryPurchaseListResponse) Descriptor() ([]byte, []int)
- func (m *QueryPurchaseListResponse) GetPurchaseList() PurchaseList
- func (m *QueryPurchaseListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPurchaseListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPurchaseListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPurchaseListResponse) ProtoMessage()
- func (m *QueryPurchaseListResponse) Reset()
- func (m *QueryPurchaseListResponse) Size() (n int)
- func (m *QueryPurchaseListResponse) String() string
- func (m *QueryPurchaseListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPurchaseListResponse) XXX_DiscardUnknown()
- func (m *QueryPurchaseListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPurchaseListResponse) XXX_Merge(src proto.Message)
- func (m *QueryPurchaseListResponse) XXX_Size() int
- func (m *QueryPurchaseListResponse) XXX_Unmarshal(b []byte) error
- type QueryPurchaseListsRequest
- func (*QueryPurchaseListsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPurchaseListsRequest) GetPurchaser() string
- func (m *QueryPurchaseListsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPurchaseListsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPurchaseListsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPurchaseListsRequest) ProtoMessage()
- func (m *QueryPurchaseListsRequest) Reset()
- func (m *QueryPurchaseListsRequest) Size() (n int)
- func (m *QueryPurchaseListsRequest) String() string
- func (m *QueryPurchaseListsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPurchaseListsRequest) XXX_DiscardUnknown()
- func (m *QueryPurchaseListsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPurchaseListsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPurchaseListsRequest) XXX_Size() int
- func (m *QueryPurchaseListsRequest) XXX_Unmarshal(b []byte) error
- type QueryPurchaseListsResponse
- func (*QueryPurchaseListsResponse) Descriptor() ([]byte, []int)
- func (m *QueryPurchaseListsResponse) GetPurchaseLists() []PurchaseList
- func (m *QueryPurchaseListsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPurchaseListsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPurchaseListsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPurchaseListsResponse) ProtoMessage()
- func (m *QueryPurchaseListsResponse) Reset()
- func (m *QueryPurchaseListsResponse) Size() (n int)
- func (m *QueryPurchaseListsResponse) String() string
- func (m *QueryPurchaseListsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPurchaseListsResponse) XXX_DiscardUnknown()
- func (m *QueryPurchaseListsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPurchaseListsResponse) XXX_Merge(src proto.Message)
- func (m *QueryPurchaseListsResponse) XXX_Size() int
- func (m *QueryPurchaseListsResponse) XXX_Unmarshal(b []byte) error
- type QueryPurchasesRequest
- func (*QueryPurchasesRequest) Descriptor() ([]byte, []int)
- func (m *QueryPurchasesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPurchasesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPurchasesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPurchasesRequest) ProtoMessage()
- func (m *QueryPurchasesRequest) Reset()
- func (m *QueryPurchasesRequest) Size() (n int)
- func (m *QueryPurchasesRequest) String() string
- func (m *QueryPurchasesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPurchasesRequest) XXX_DiscardUnknown()
- func (m *QueryPurchasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPurchasesRequest) XXX_Merge(src proto.Message)
- func (m *QueryPurchasesRequest) XXX_Size() int
- func (m *QueryPurchasesRequest) XXX_Unmarshal(b []byte) error
- type QueryPurchasesResponse
- func (*QueryPurchasesResponse) Descriptor() ([]byte, []int)
- func (m *QueryPurchasesResponse) GetPurchases() []Purchase
- func (m *QueryPurchasesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPurchasesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPurchasesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPurchasesResponse) ProtoMessage()
- func (m *QueryPurchasesResponse) Reset()
- func (m *QueryPurchasesResponse) Size() (n int)
- func (m *QueryPurchasesResponse) String() string
- func (m *QueryPurchasesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPurchasesResponse) XXX_DiscardUnknown()
- func (m *QueryPurchasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPurchasesResponse) XXX_Merge(src proto.Message)
- func (m *QueryPurchasesResponse) XXX_Size() int
- func (m *QueryPurchasesResponse) XXX_Unmarshal(b []byte) error
- type QueryReimbursementRequest
- func (*QueryReimbursementRequest) Descriptor() ([]byte, []int)
- func (m *QueryReimbursementRequest) GetProposalId() uint64
- func (m *QueryReimbursementRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryReimbursementRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryReimbursementRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryReimbursementRequest) ProtoMessage()
- func (m *QueryReimbursementRequest) Reset()
- func (m *QueryReimbursementRequest) Size() (n int)
- func (m *QueryReimbursementRequest) String() string
- func (m *QueryReimbursementRequest) Unmarshal(dAtA []byte) error
- func (m *QueryReimbursementRequest) XXX_DiscardUnknown()
- func (m *QueryReimbursementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryReimbursementRequest) XXX_Merge(src proto.Message)
- func (m *QueryReimbursementRequest) XXX_Size() int
- func (m *QueryReimbursementRequest) XXX_Unmarshal(b []byte) error
- type QueryReimbursementResponse
- func (*QueryReimbursementResponse) Descriptor() ([]byte, []int)
- func (m *QueryReimbursementResponse) GetReimbursement() Reimbursement
- func (m *QueryReimbursementResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryReimbursementResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryReimbursementResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryReimbursementResponse) ProtoMessage()
- func (m *QueryReimbursementResponse) Reset()
- func (m *QueryReimbursementResponse) Size() (n int)
- func (m *QueryReimbursementResponse) String() string
- func (m *QueryReimbursementResponse) Unmarshal(dAtA []byte) error
- func (m *QueryReimbursementResponse) XXX_DiscardUnknown()
- func (m *QueryReimbursementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryReimbursementResponse) XXX_Merge(src proto.Message)
- func (m *QueryReimbursementResponse) XXX_Size() int
- func (m *QueryReimbursementResponse) XXX_Unmarshal(b []byte) error
- type QueryReimbursementsRequest
- func (*QueryReimbursementsRequest) Descriptor() ([]byte, []int)
- func (m *QueryReimbursementsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryReimbursementsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryReimbursementsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryReimbursementsRequest) ProtoMessage()
- func (m *QueryReimbursementsRequest) Reset()
- func (m *QueryReimbursementsRequest) Size() (n int)
- func (m *QueryReimbursementsRequest) String() string
- func (m *QueryReimbursementsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryReimbursementsRequest) XXX_DiscardUnknown()
- func (m *QueryReimbursementsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryReimbursementsRequest) XXX_Merge(src proto.Message)
- func (m *QueryReimbursementsRequest) XXX_Size() int
- func (m *QueryReimbursementsRequest) XXX_Unmarshal(b []byte) error
- type QueryReimbursementsResponse
- func (*QueryReimbursementsResponse) Descriptor() ([]byte, []int)
- func (m *QueryReimbursementsResponse) GetPairs() []ProposalIDReimbursementPair
- func (m *QueryReimbursementsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryReimbursementsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryReimbursementsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryReimbursementsResponse) ProtoMessage()
- func (m *QueryReimbursementsResponse) Reset()
- func (m *QueryReimbursementsResponse) Size() (n int)
- func (m *QueryReimbursementsResponse) String() string
- func (m *QueryReimbursementsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryReimbursementsResponse) XXX_DiscardUnknown()
- func (m *QueryReimbursementsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryReimbursementsResponse) XXX_Merge(src proto.Message)
- func (m *QueryReimbursementsResponse) XXX_Size() int
- func (m *QueryReimbursementsResponse) XXX_Unmarshal(b []byte) error
- type QueryResStatus
- type QueryServer
- type QueryShieldStakingRateRequest
- func (*QueryShieldStakingRateRequest) Descriptor() ([]byte, []int)
- func (m *QueryShieldStakingRateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryShieldStakingRateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShieldStakingRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShieldStakingRateRequest) ProtoMessage()
- func (m *QueryShieldStakingRateRequest) Reset()
- func (m *QueryShieldStakingRateRequest) Size() (n int)
- func (m *QueryShieldStakingRateRequest) String() string
- func (m *QueryShieldStakingRateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryShieldStakingRateRequest) XXX_DiscardUnknown()
- func (m *QueryShieldStakingRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShieldStakingRateRequest) XXX_Merge(src proto.Message)
- func (m *QueryShieldStakingRateRequest) XXX_Size() int
- func (m *QueryShieldStakingRateRequest) XXX_Unmarshal(b []byte) error
- type QueryShieldStakingRateResponse
- func (*QueryShieldStakingRateResponse) Descriptor() ([]byte, []int)
- func (m *QueryShieldStakingRateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryShieldStakingRateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShieldStakingRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShieldStakingRateResponse) ProtoMessage()
- func (m *QueryShieldStakingRateResponse) Reset()
- func (m *QueryShieldStakingRateResponse) Size() (n int)
- func (m *QueryShieldStakingRateResponse) String() string
- func (m *QueryShieldStakingRateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryShieldStakingRateResponse) XXX_DiscardUnknown()
- func (m *QueryShieldStakingRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShieldStakingRateResponse) XXX_Merge(src proto.Message)
- func (m *QueryShieldStakingRateResponse) XXX_Size() int
- func (m *QueryShieldStakingRateResponse) XXX_Unmarshal(b []byte) error
- type QueryShieldStakingRequest
- func (*QueryShieldStakingRequest) Descriptor() ([]byte, []int)
- func (m *QueryShieldStakingRequest) GetPoolId() uint64
- func (m *QueryShieldStakingRequest) GetPurchaser() string
- func (m *QueryShieldStakingRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryShieldStakingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShieldStakingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShieldStakingRequest) ProtoMessage()
- func (m *QueryShieldStakingRequest) Reset()
- func (m *QueryShieldStakingRequest) Size() (n int)
- func (m *QueryShieldStakingRequest) String() string
- func (m *QueryShieldStakingRequest) Unmarshal(dAtA []byte) error
- func (m *QueryShieldStakingRequest) XXX_DiscardUnknown()
- func (m *QueryShieldStakingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShieldStakingRequest) XXX_Merge(src proto.Message)
- func (m *QueryShieldStakingRequest) XXX_Size() int
- func (m *QueryShieldStakingRequest) XXX_Unmarshal(b []byte) error
- type QueryShieldStakingResponse
- func (*QueryShieldStakingResponse) Descriptor() ([]byte, []int)
- func (m *QueryShieldStakingResponse) GetShieldStaking() ShieldStaking
- func (m *QueryShieldStakingResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryShieldStakingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShieldStakingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShieldStakingResponse) ProtoMessage()
- func (m *QueryShieldStakingResponse) Reset()
- func (m *QueryShieldStakingResponse) Size() (n int)
- func (m *QueryShieldStakingResponse) String() string
- func (m *QueryShieldStakingResponse) Unmarshal(dAtA []byte) error
- func (m *QueryShieldStakingResponse) XXX_DiscardUnknown()
- func (m *QueryShieldStakingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShieldStakingResponse) XXX_Merge(src proto.Message)
- func (m *QueryShieldStakingResponse) XXX_Size() int
- func (m *QueryShieldStakingResponse) XXX_Unmarshal(b []byte) error
- type QueryShieldStatusRequest
- func (*QueryShieldStatusRequest) Descriptor() ([]byte, []int)
- func (m *QueryShieldStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryShieldStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShieldStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShieldStatusRequest) ProtoMessage()
- func (m *QueryShieldStatusRequest) Reset()
- func (m *QueryShieldStatusRequest) Size() (n int)
- func (m *QueryShieldStatusRequest) String() string
- func (m *QueryShieldStatusRequest) Unmarshal(dAtA []byte) error
- func (m *QueryShieldStatusRequest) XXX_DiscardUnknown()
- func (m *QueryShieldStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShieldStatusRequest) XXX_Merge(src proto.Message)
- func (m *QueryShieldStatusRequest) XXX_Size() int
- func (m *QueryShieldStatusRequest) XXX_Unmarshal(b []byte) error
- type QueryShieldStatusResponse
- func (*QueryShieldStatusResponse) Descriptor() ([]byte, []int)
- func (m *QueryShieldStatusResponse) GetCurrentServiceFees() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryShieldStatusResponse) GetRemainingServiceFees() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryShieldStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryShieldStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShieldStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShieldStatusResponse) ProtoMessage()
- func (m *QueryShieldStatusResponse) Reset()
- func (m *QueryShieldStatusResponse) Size() (n int)
- func (m *QueryShieldStatusResponse) String() string
- func (m *QueryShieldStatusResponse) Unmarshal(dAtA []byte) error
- func (m *QueryShieldStatusResponse) XXX_DiscardUnknown()
- func (m *QueryShieldStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShieldStatusResponse) XXX_Merge(src proto.Message)
- func (m *QueryShieldStatusResponse) XXX_Size() int
- func (m *QueryShieldStatusResponse) XXX_Unmarshal(b []byte) error
- type QuerySponsorRequest
- func (*QuerySponsorRequest) Descriptor() ([]byte, []int)
- func (m *QuerySponsorRequest) GetSponsor() string
- func (m *QuerySponsorRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySponsorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySponsorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySponsorRequest) ProtoMessage()
- func (m *QuerySponsorRequest) Reset()
- func (m *QuerySponsorRequest) Size() (n int)
- func (m *QuerySponsorRequest) String() string
- func (m *QuerySponsorRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySponsorRequest) XXX_DiscardUnknown()
- func (m *QuerySponsorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySponsorRequest) XXX_Merge(src proto.Message)
- func (m *QuerySponsorRequest) XXX_Size() int
- func (m *QuerySponsorRequest) XXX_Unmarshal(b []byte) error
- type QuerySponsorResponse
- func (*QuerySponsorResponse) Descriptor() ([]byte, []int)
- func (m *QuerySponsorResponse) GetPools() []Pool
- func (m *QuerySponsorResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySponsorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySponsorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySponsorResponse) ProtoMessage()
- func (m *QuerySponsorResponse) Reset()
- func (m *QuerySponsorResponse) Size() (n int)
- func (m *QuerySponsorResponse) String() string
- func (m *QuerySponsorResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySponsorResponse) XXX_DiscardUnknown()
- func (m *QuerySponsorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySponsorResponse) XXX_Merge(src proto.Message)
- func (m *QuerySponsorResponse) XXX_Size() int
- func (m *QuerySponsorResponse) XXX_Unmarshal(b []byte) error
- type Reimbursement
- func (*Reimbursement) Descriptor() ([]byte, []int)
- func (m *Reimbursement) Marshal() (dAtA []byte, err error)
- func (m *Reimbursement) MarshalTo(dAtA []byte) (int, error)
- func (m *Reimbursement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Reimbursement) ProtoMessage()
- func (m *Reimbursement) Reset()
- func (m *Reimbursement) Size() (n int)
- func (m *Reimbursement) String() string
- func (m *Reimbursement) Unmarshal(dAtA []byte) error
- func (m *Reimbursement) XXX_DiscardUnknown()
- func (m *Reimbursement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Reimbursement) XXX_Merge(src proto.Message)
- func (m *Reimbursement) XXX_Size() int
- func (m *Reimbursement) XXX_Unmarshal(b []byte) error
- type ShieldClaimProposal
- func (*ShieldClaimProposal) Descriptor() ([]byte, []int)
- func (scp ShieldClaimProposal) GetDescription() string
- func (scp ShieldClaimProposal) GetTitle() string
- func (m *ShieldClaimProposal) Marshal() (dAtA []byte, err error)
- func (m *ShieldClaimProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ShieldClaimProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (scp ShieldClaimProposal) ProposalRoute() string
- func (scp ShieldClaimProposal) ProposalType() string
- func (*ShieldClaimProposal) ProtoMessage()
- func (m *ShieldClaimProposal) Reset()
- func (m *ShieldClaimProposal) Size() (n int)
- func (scp ShieldClaimProposal) String() string
- func (m *ShieldClaimProposal) Unmarshal(dAtA []byte) error
- func (scp ShieldClaimProposal) ValidateBasic() error
- func (m *ShieldClaimProposal) XXX_DiscardUnknown()
- func (m *ShieldClaimProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShieldClaimProposal) XXX_Merge(src proto.Message)
- func (m *ShieldClaimProposal) XXX_Size() int
- func (m *ShieldClaimProposal) XXX_Unmarshal(b []byte) error
- type ShieldStaking
- func (*ShieldStaking) Descriptor() ([]byte, []int)
- func (m *ShieldStaking) Marshal() (dAtA []byte, err error)
- func (m *ShieldStaking) MarshalTo(dAtA []byte) (int, error)
- func (m *ShieldStaking) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ShieldStaking) ProtoMessage()
- func (m *ShieldStaking) Reset()
- func (m *ShieldStaking) Size() (n int)
- func (m *ShieldStaking) String() string
- func (m *ShieldStaking) Unmarshal(dAtA []byte) error
- func (m *ShieldStaking) XXX_DiscardUnknown()
- func (m *ShieldStaking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShieldStaking) XXX_Merge(src proto.Message)
- func (m *ShieldStaking) XXX_Size() int
- func (m *ShieldStaking) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreatePool(ctx context.Context, req *MsgCreatePool) (*MsgCreatePoolResponse, error)
- func (*UnimplementedMsgServer) DepositCollateral(ctx context.Context, req *MsgDepositCollateral) (*MsgDepositCollateralResponse, error)
- func (*UnimplementedMsgServer) PausePool(ctx context.Context, req *MsgPausePool) (*MsgPausePoolResponse, error)
- func (*UnimplementedMsgServer) PurchaseShield(ctx context.Context, req *MsgPurchaseShield) (*MsgPurchaseShieldResponse, error)
- func (*UnimplementedMsgServer) ResumePool(ctx context.Context, req *MsgResumePool) (*MsgResumePoolResponse, error)
- func (*UnimplementedMsgServer) StakeForShield(ctx context.Context, req *MsgStakeForShield) (*MsgStakeForShieldResponse, error)
- func (*UnimplementedMsgServer) UnstakeFromShield(ctx context.Context, req *MsgUnstakeFromShield) (*MsgUnstakeFromShieldResponse, error)
- func (*UnimplementedMsgServer) UpdatePool(ctx context.Context, req *MsgUpdatePool) (*MsgUpdatePoolResponse, error)
- func (*UnimplementedMsgServer) UpdateSponsor(ctx context.Context, req *MsgUpdateSponsor) (*MsgUpdateSponsorResponse, error)
- func (*UnimplementedMsgServer) WithdrawCollateral(ctx context.Context, req *MsgWithdrawCollateral) (*MsgWithdrawCollateralResponse, error)
- func (*UnimplementedMsgServer) WithdrawForeignRewards(ctx context.Context, req *MsgWithdrawForeignRewards) (*MsgWithdrawForeignRewardsResponse, error)
- func (*UnimplementedMsgServer) WithdrawReimbursement(ctx context.Context, req *MsgWithdrawReimbursement) (*MsgWithdrawReimbursementResponse, error)
- func (*UnimplementedMsgServer) WithdrawRewards(ctx context.Context, req *MsgWithdrawRewards) (*MsgWithdrawRewardsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ClaimParams(ctx context.Context, req *QueryClaimParamsRequest) (*QueryClaimParamsResponse, error)
- func (*UnimplementedQueryServer) DistrParams(ctx context.Context, req *QueryDistrParamsRequest) (*QueryDistrParamsResponse, error)
- func (*UnimplementedQueryServer) Pool(ctx context.Context, req *QueryPoolRequest) (*QueryPoolResponse, error)
- func (*UnimplementedQueryServer) PoolParams(ctx context.Context, req *QueryPoolParamsRequest) (*QueryPoolParamsResponse, error)
- func (*UnimplementedQueryServer) PoolPurchaseLists(ctx context.Context, req *QueryPoolPurchaseListsRequest) (*QueryPurchaseListsResponse, error)
- func (*UnimplementedQueryServer) Pools(ctx context.Context, req *QueryPoolsRequest) (*QueryPoolsResponse, error)
- func (*UnimplementedQueryServer) Provider(ctx context.Context, req *QueryProviderRequest) (*QueryProviderResponse, error)
- func (*UnimplementedQueryServer) Providers(ctx context.Context, req *QueryProvidersRequest) (*QueryProvidersResponse, error)
- func (*UnimplementedQueryServer) PurchaseList(ctx context.Context, req *QueryPurchaseListRequest) (*QueryPurchaseListResponse, error)
- func (*UnimplementedQueryServer) PurchaseLists(ctx context.Context, req *QueryPurchaseListsRequest) (*QueryPurchaseListsResponse, error)
- func (*UnimplementedQueryServer) Purchases(ctx context.Context, req *QueryPurchasesRequest) (*QueryPurchasesResponse, error)
- func (*UnimplementedQueryServer) Reimbursement(ctx context.Context, req *QueryReimbursementRequest) (*QueryReimbursementResponse, error)
- func (*UnimplementedQueryServer) Reimbursements(ctx context.Context, req *QueryReimbursementsRequest) (*QueryReimbursementsResponse, error)
- func (*UnimplementedQueryServer) ShieldStaking(ctx context.Context, req *QueryShieldStakingRequest) (*QueryShieldStakingResponse, error)
- func (*UnimplementedQueryServer) ShieldStakingRate(ctx context.Context, req *QueryShieldStakingRateRequest) (*QueryShieldStakingRateResponse, error)
- func (*UnimplementedQueryServer) ShieldStatus(ctx context.Context, req *QueryShieldStatusRequest) (*QueryShieldStatusResponse, error)
- func (*UnimplementedQueryServer) Sponsor(ctx context.Context, req *QuerySponsorRequest) (*QuerySponsorResponse, error)
- type Withdraw
- func (*Withdraw) Descriptor() ([]byte, []int)
- func (m *Withdraw) Marshal() (dAtA []byte, err error)
- func (m *Withdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *Withdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Withdraw) ProtoMessage()
- func (m *Withdraw) Reset()
- func (m *Withdraw) Size() (n int)
- func (m *Withdraw) String() string
- func (m *Withdraw) Unmarshal(dAtA []byte) error
- func (m *Withdraw) XXX_DiscardUnknown()
- func (m *Withdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Withdraw) XXX_Merge(src proto.Message)
- func (m *Withdraw) XXX_Size() int
- func (m *Withdraw) XXX_Unmarshal(b []byte) error
- type Withdraws
- func (*Withdraws) Descriptor() ([]byte, []int)
- func (m *Withdraws) GetWithdraws() []Withdraw
- func (m *Withdraws) Marshal() (dAtA []byte, err error)
- func (m *Withdraws) MarshalTo(dAtA []byte) (int, error)
- func (m *Withdraws) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Withdraws) ProtoMessage()
- func (m *Withdraws) Reset()
- func (m *Withdraws) Size() (n int)
- func (m *Withdraws) String() string
- func (m *Withdraws) Unmarshal(dAtA []byte) error
- func (m *Withdraws) XXX_DiscardUnknown()
- func (m *Withdraws) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Withdraws) XXX_Merge(src proto.Message)
- func (m *Withdraws) XXX_Size() int
- func (m *Withdraws) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeCreateReimbursement = "create_reimbursement" AttributeKeyShield = "shield" AttributeKeyDeposit = "deposit" AttributeKeySponsor = "sponsor" AttributeKeySponsorAddress = "sponsor_address" AttributeKeyPoolID = "pool_id" AttributeKeyAdditionalTime = "additional_time" AttributeKeyTimeOfCoverage = "time_of_coverage" AttributeKeyBlocksOfCoverage = "blocks_of_coverage" AttributeKeyCollateral = "collateral" AttributeKeyDenom = "denom" AttributeKeyToAddr = "to_address" AttributeKeyAccountAddress = "account_address" AttributeKeyAmount = "amount" AttributeKeyPurchaseID = "purchase_id" AttributeKeyCompensationAmount = "compensation_amount" AttributeKeyBeneficiary = "beneficiary" AttributeKeyPurchaseDescription = "purchase_description" AttributeKeyServiceFees = "service_fees" AttributeKeyProtectionEndTime = "protection_end_time" AttributeValueCategory = ModuleName )
const ( // ModuleName is the name of this module. ModuleName = "shield" // RouterKey is used to route messages. RouterKey = ModuleName // StoreKey is the prefix under which we store this module's data. StoreKey = ModuleName // QuerierRoute is used to handle abci_query requests. QuerierRoute = ModuleName // DefaultParamspace is the default name for parameter store. DefaultParamspace = ModuleName )
const ( TypeMsgCreatePool = "create_pool" TypeMsgUpdatePool = "update_pool" TypeMsgPausePool = "pause_pool" TypeMsgResumePool = "resume_pool" TypeMsgDepositCollateral = "deposit_collateral" TypeMsgWithdrawCollateral = "withdraw_collateral" TypeMsgWithdrawRewards = "withdraw_rewards" TypeMsgWithdrawForeignRewards = "withdraw_foreign_rewards" TypeMsgPurchaseShield = "purchase_shield" TypeMsgWithdrawReimbursement = "withdraw_reimbursement" TypeMsgStakeForShield = "stake_for_shield" TypeMsgUnstakeFromShield = "unstake_from_shield" TypeMsgUpdateSponsor = "update_sponsor" )
const ( QueryPoolByID = "pool_id" QueryPoolBySponsor = "pool_sponsor" QueryPools = "pools" QueryPurchase = "purchase" QueryPurchaseList = "purchase_list" QueryPurchaserPurchases = "purchaser_purchases" QueryPoolPurchases = "pool_purchases" QueryPurchases = "purchases" QueryProviderCollaterals = "provider_collaterals" QueryPoolCollaterals = "pool_collaterals" QueryProvider = "provider" QueryProviders = "providers" QueryPoolParams = "pool_params" QueryClaimParams = "claim_params" QueryDistrParams = "distr_params" QueryStatus = "status" QueryStakedForShield = "staked_for_shield" QueryShieldStakingRate = "shield_staking_rate" QueryReimbursement = "reimbursement" QueryReimbursements = "reimbursements" )
const (
// ProposalTypeShieldClaim defines the type for a ShieldClaimProposal.
ProposalTypeShieldClaim = "ShieldClaim"
)
Variables ¶
var ( ErrNotShieldAdmin = sdkerrors.Register(ModuleName, errNotShieldAdmin, "not the shield admin account") ErrNoDeposit = sdkerrors.Register(ModuleName, errNoDeposit, "no coins given for initial deposit") ErrNoShield = sdkerrors.Register(ModuleName, errNoShield, "no coins given for shield") ErrEmptySponsor = sdkerrors.Register(ModuleName, errEmptySponsor, "no sponsor specified for a pool") ErrNoPoolFound = sdkerrors.Register(ModuleName, errNoPoolFound, "no pool found") ErrNoUpdate = sdkerrors.Register(ModuleName, errNoUpdate, "nothing was updated for the pool") ErrInvalidGenesis = sdkerrors.Register(ModuleName, errInvalidGenesis, "invalid genesis state") ErrInvalidPoolID = sdkerrors.Register(ModuleName, errInvalidPoolID, "invalid pool ID") ErrInvalidDuration = sdkerrors.Register(ModuleName, errInvalidDuration, "invalid specification of coverage duration") ErrAdminWithdraw = sdkerrors.Register(ModuleName, errAdminWithdraw, "admin cannot manually withdraw collateral") ErrNoDelegationAmount = sdkerrors.Register(ModuleName, errNoDelegationAmount, "cannot obtain delegation amount info") ErrInsufficientStaking = sdkerrors.Register(ModuleName, errInsufficientStaking, "insufficient total delegation amount to deposit the collateral") ErrPoolAlreadyPaused = sdkerrors.Register(ModuleName, errPoolAlreadyPaused, "pool is already paused") ErrPoolAlreadyActive = sdkerrors.Register(ModuleName, errPoolAlreadyActive, "pool is already active") ErrPoolInactive = sdkerrors.Register(ModuleName, errPoolInactive, "pool is inactive") ErrPurchaseMissingDescription = sdkerrors.Register(ModuleName, errPurchaseMissingDescription, "missing description for the purchase") ErrNotEnoughShield = sdkerrors.Register(ModuleName, errNotEnoughShield, "not enough available shield") ErrNoPurchaseFound = sdkerrors.Register(ModuleName, errNoPurchaseFound, "no purchase found for the given txhash") ErrNoRewards = sdkerrors.Register(ModuleName, errNoRewards, "no foreign coins rewards to transfer for the denomination") ErrInvalidDenom = sdkerrors.Register(ModuleName, errInvalidDenom, "invalid coin denomination") ErrInvalidToAddr = sdkerrors.Register(ModuleName, errInvalidToAddr, "invalid recipient address") ErrNoCollateralFound = sdkerrors.Register(ModuleName, errNoCollateralFound, "no collateral for the pool found with the given provider address") ErrInvalidCollateralAmount = sdkerrors.Register(ModuleName, errInvalidCollateralAmount, "invalid amount of collateral") ErrEmptySender = sdkerrors.Register(ModuleName, errEmptySender, "no sender provided") ErrPoolLifeTooShort = sdkerrors.Register(ModuleName, errPoolLifeTooShort, "new pool life is too short") ErrPurchaseNotFound = sdkerrors.Register(ModuleName, errPurchaseNotFound, "purchase is not found") ErrProviderNotFound = sdkerrors.Register(ModuleName, errProviderNotFound, "provider is not found") ErrNotEnoughCollateral = sdkerrors.Register(ModuleName, errNotEnoughCollateral, "not enough collateral") ErrReimbursementNotFound = sdkerrors.Register(ModuleName, errReimbursementNotFound, "reimbursement is not found") ErrInvalidBeneficiary = sdkerrors.Register(ModuleName, errInvalidBeneficiary, "invalid beneficiary") ErrNotPayoutTime = sdkerrors.Register(ModuleName, errNotPayoutTime, "has not reached payout time yet") ErrOverWithdraw = sdkerrors.Register(ModuleName, errOverWithdraw, "too much withdraw initiated") ErrNoPoolFoundForSponsor = sdkerrors.Register(ModuleName, errNoPoolFoundForSponsor, "no pool found for the given sponsor") ErrSponsorAlreadyExists = sdkerrors.Register(ModuleName, errSponsorAlreadyExists, "a pool already exists under the given sponsor") ErrCollateralBadDenom = sdkerrors.Register(ModuleName, errCollateralBadDenom, "invalid coin denomination for collateral") ErrSponsorPurchase = sdkerrors.Register(ModuleName, errSponsorPurchase, "pool sponsor cannot purchase shield") ErrOperationNotSupported = sdkerrors.Register(ModuleName, errOperationNotSupported, "operation is currently not supported") ErrPoolShieldExceedsLimit = sdkerrors.Register(ModuleName, errPoolShieldExceedsLimit, "pool shield exceeds limit") ErrShieldAdminNotActive = sdkerrors.Register(ModuleName, errShieldAdminNotActive, "shield admin is not activated") ErrPurchaseTooSmall = sdkerrors.Register(ModuleName, errPurchaseTooSmall, "purchase amount is too small") ErrNotEnoughStaked = sdkerrors.Register(ModuleName, errNotEnoughStaked, "not enough unlocked staking to be withdrawn") )
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 ( ShieldAdminKey = []byte{0x00} TotalCollateralKey = []byte{0x01} TotalWithdrawingKey = []byte{0x02} TotalShieldKey = []byte{0x03} TotalClaimedKey = []byte{0x04} ServiceFeesKey = []byte{0x05} RemainingServiceFeesKey = []byte{0x06} PoolKey = []byte{0x07} NextPoolIDKey = []byte{0x08} NextPurchaseIDKey = []byte{0x09} PurchaseListKey = []byte{0x0A} PurchaseQueueKey = []byte{0x0B} ProviderKey = []byte{0x0C} WithdrawQueueKey = []byte{0x0D} LastUpdateTimeKey = []byte{0x0E} GlobalStakeForShieldPoolKey = []byte{0x0F} StakeForShieldKey = []byte{0x11} BlockServiceFeesKey = []byte{0x12} OriginalStakingKey = []byte{0x13} ReimbursementKey = []byte{0x14} )
var ( // default values for Shield pool's parameters DefaultProtectionPeriod = time.Hour * 24 * 21 // 21 days DefaultShieldFeesRate = sdk.NewDecWithPrec(769, 5) // 0.769% DefaultWithdrawPeriod = time.Hour * 24 * 21 // 21 days DefaultPoolShieldLimit = sdk.NewDecWithPrec(50, 2) // 50% DefaultMinShieldPurchase = sdk.NewCoins(sdk.NewCoin(common.MicroCTKDenom, sdk.NewInt(50000000))) // 50 CTK // default values for Shield claim proposal's parameters DefaultClaimPeriod = time.Hour * 24 * 21 // 21 days DefaultPayoutPeriod = time.Hour * 24 * 56 // 56 days DefaultMinClaimProposalDeposit = sdk.NewCoins(sdk.NewCoin(common.MicroCTKDenom, sdk.NewInt(100000000))) // 100 CTK DefaultClaimProposalDepositRate = sdk.NewDecWithPrec(10, 2) // 10% DefaultClaimProposalFeesRate = sdk.NewDecWithPrec(1, 2) // 1% // default distribution parameters DefaultA = sdk.NewDecWithPrec(10, 2) // 0.1 DefaultB = sdk.NewDecWithPrec(30, 2) // 0.3 DefaultL = sdk.NewDecWithPrec(1, 0) // 1 // default value for staking-shield rate parameter DefaultStakingShieldRate = sdk.NewDec(2) )
default parameter values
var ( ParamStoreKeyPoolParams = []byte("shieldpoolparams") ParamStoreKeyClaimProposalParams = []byte("claimproposalparams") ParamStoreKeyStakingShieldRate = []byte("stakingshieldrateparams") ParamStoreKeyDistribution = []byte("distributionparams") )
parameter keys
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 ( ErrInvalidLengthShield = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowShield = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupShield = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // ModuleCdc references the global x/shield module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/shield and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
Functions ¶
func DefaultStakingShieldRateParams ¶
DefaultStakingShieldRateParams returns a default DefaultStakingShieldRateParams.
func GetBlockServiceFeesKey ¶
func GetBlockServiceFeesKey() []byte
func GetGlobalStakeForShieldPoolKey ¶
func GetGlobalStakeForShieldPoolKey() []byte
func GetLastUpdateTimeKey ¶
func GetLastUpdateTimeKey() []byte
GetLastUpdateTimeKey gets the key for the last update time.
func GetNextPoolIDKey ¶
func GetNextPoolIDKey() []byte
GetNextPoolIDKey gets the key for the next pool ID.
func GetNextPurchaseIDKey ¶
func GetNextPurchaseIDKey() []byte
GetNextPurchaseIDKey gets the key for the next pool ID.
func GetOriginalStakingKey ¶
func GetPoolKey ¶
GetPoolKey gets the key for the pool identified by pool ID.
func GetProviderKey ¶
func GetProviderKey(addr sdk.AccAddress) []byte
GetProviderKey gets the key for the delegator's tracker.
func GetPurchaseExpirationTimeKey ¶
GetPurchaseExpirationTimeKey gets a withdraw queue key, which is obtained from the expiration time.
func GetPurchaseListKey ¶
func GetPurchaseListKey(id uint64, purchaser sdk.AccAddress) []byte
GetPurchaseTxHashKey gets the key for a purchase.
func GetReimbursementKey ¶
GetReimbursementKey gets the key for a reimbursement.
func GetRemainingServiceFeesKey ¶
func GetRemainingServiceFeesKey() []byte
func GetServiceFeesKey ¶
func GetServiceFeesKey() []byte
func GetShieldAdminKey ¶
func GetShieldAdminKey() []byte
GetShieldAdminKey gets the key for the shield admin.
func GetStakeForShieldKey ¶
func GetStakeForShieldKey(poolID uint64, purchaser sdk.AccAddress) []byte
func GetTotalClaimedKey ¶
func GetTotalClaimedKey() []byte
func GetTotalCollateralKey ¶
func GetTotalCollateralKey() []byte
func GetTotalShieldKey ¶
func GetTotalShieldKey() []byte
func GetTotalWithdrawingKey ¶
func GetTotalWithdrawingKey() []byte
func GetWithdrawCompletionTimeKey ¶
GetWithdrawCompletionTimeKey gets a withdraw queue key, which is obtained from the completion time.
func NewUnbondingDelegation ¶
func NewUnbondingDelegation(delAddr, valAddr string, entry stakingTypes.UnbondingDelegationEntry) stakingTypes.UnbondingDelegation
NewUnbondingDelegation returns a new UnbondingDelegation instance.
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable is the key declaration for parameters.
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
RegisterInterfaces registers the x/shield interfaces types with the interface registry
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec
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 ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
ValidateGenesis validates shield genesis data.
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI SetAccount(ctx sdk.Context, acc authtypes.AccountI) IterateAccounts(ctx sdk.Context, process func(authtypes.AccountI) (stop bool)) GetModuleAddress(moduleName string) sdk.AccAddress GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI }
AccountKeeper defines the expected account keeper.
type BankKeeper ¶
type BankKeeper interface { SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error DelegateCoins(ctx sdk.Context, fromAdd, toAddr sdk.AccAddress, amt sdk.Coins) error UndelegateCoins(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error }
BankKeeper defines the expected bank keeper.
type ClaimProposalParams ¶
type ClaimProposalParams struct { ClaimPeriod time.Duration `` /* 126-byte string literal not displayed */ PayoutPeriod time.Duration `` /* 130-byte string literal not displayed */ MinDeposit github_com_cosmos_cosmos_sdk_types.Coins `` /* 145-byte string literal not displayed */ DepositRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 164-byte string literal not displayed */ FeesRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 152-byte string literal not displayed */ }
ClaimProposalParams defines the parameters for the shield claim proposals.
func DefaultClaimProposalParams ¶
func DefaultClaimProposalParams() ClaimProposalParams
DefaultClaimProposalParams returns a default ClaimProposalParams instance.
func NewClaimProposalParams ¶
func NewClaimProposalParams(claimPeriod, payoutPeriod time.Duration, minDeposit sdk.Coins, depositRate, feesRate sdk.Dec) ClaimProposalParams
NewClaimProposalParams creates a new ClaimProposalParams instance.
func (*ClaimProposalParams) Descriptor ¶
func (*ClaimProposalParams) Descriptor() ([]byte, []int)
func (*ClaimProposalParams) Marshal ¶
func (m *ClaimProposalParams) Marshal() (dAtA []byte, err error)
func (*ClaimProposalParams) MarshalTo ¶
func (m *ClaimProposalParams) MarshalTo(dAtA []byte) (int, error)
func (*ClaimProposalParams) MarshalToSizedBuffer ¶
func (m *ClaimProposalParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimProposalParams) ProtoMessage ¶
func (*ClaimProposalParams) ProtoMessage()
func (*ClaimProposalParams) Reset ¶
func (m *ClaimProposalParams) Reset()
func (*ClaimProposalParams) Size ¶
func (m *ClaimProposalParams) Size() (n int)
func (*ClaimProposalParams) String ¶
func (m *ClaimProposalParams) String() string
func (*ClaimProposalParams) Unmarshal ¶
func (m *ClaimProposalParams) Unmarshal(dAtA []byte) error
func (*ClaimProposalParams) XXX_DiscardUnknown ¶
func (m *ClaimProposalParams) XXX_DiscardUnknown()
func (*ClaimProposalParams) XXX_Marshal ¶
func (m *ClaimProposalParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimProposalParams) XXX_Merge ¶
func (m *ClaimProposalParams) XXX_Merge(src proto.Message)
func (*ClaimProposalParams) XXX_Size ¶
func (m *ClaimProposalParams) XXX_Size() int
func (*ClaimProposalParams) XXX_Unmarshal ¶
func (m *ClaimProposalParams) XXX_Unmarshal(b []byte) error
type DistributionParams ¶
type DistributionParams struct { ModelParamA github_com_cosmos_cosmos_sdk_types.Dec `` /* 157-byte string literal not displayed */ ModelParamB github_com_cosmos_cosmos_sdk_types.Dec `` /* 157-byte string literal not displayed */ MaxLeverage github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */ }
DistributionParams defines the parameters for shield block reward.
func DefaultDistributionParams ¶
func DefaultDistributionParams() DistributionParams
DefaultDistributionParams returns a default DistributionParams instance.
func NewDistributionParams ¶
func NewDistributionParams(a, b, l sdk.Dec) DistributionParams
NewDistributionParams creates a new DistributionParams instance.
func (*DistributionParams) Descriptor ¶
func (*DistributionParams) Descriptor() ([]byte, []int)
func (*DistributionParams) Marshal ¶
func (m *DistributionParams) Marshal() (dAtA []byte, err error)
func (*DistributionParams) MarshalTo ¶
func (m *DistributionParams) MarshalTo(dAtA []byte) (int, error)
func (*DistributionParams) MarshalToSizedBuffer ¶
func (m *DistributionParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DistributionParams) ProtoMessage ¶
func (*DistributionParams) ProtoMessage()
func (*DistributionParams) Reset ¶
func (m *DistributionParams) Reset()
func (*DistributionParams) Size ¶
func (m *DistributionParams) Size() (n int)
func (*DistributionParams) String ¶
func (m *DistributionParams) String() string
func (*DistributionParams) Unmarshal ¶
func (m *DistributionParams) Unmarshal(dAtA []byte) error
func (*DistributionParams) XXX_DiscardUnknown ¶
func (m *DistributionParams) XXX_DiscardUnknown()
func (*DistributionParams) XXX_Marshal ¶
func (m *DistributionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DistributionParams) XXX_Merge ¶
func (m *DistributionParams) XXX_Merge(src proto.Message)
func (*DistributionParams) XXX_Size ¶
func (m *DistributionParams) XXX_Size() int
func (*DistributionParams) XXX_Unmarshal ¶
func (m *DistributionParams) XXX_Unmarshal(b []byte) error
type Fees ¶
type Fees struct {
Fees github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=fees,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"fees"`
}
Fees proto wrapper for pool.go methods
func (*Fees) Descriptor ¶
func (*Fees) ProtoMessage ¶
func (*Fees) ProtoMessage()
func (*Fees) XXX_DiscardUnknown ¶
func (m *Fees) XXX_DiscardUnknown()
func (*Fees) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { ShieldAdmin string `protobuf:"bytes,1,opt,name=shield_admin,json=shieldAdmin,proto3" json:"shield_admin,omitempty" yaml:"shield_admin"` NextPoolId uint64 `protobuf:"varint,2,opt,name=next_pool_id,json=nextPoolId,proto3" json:"next_pool_id,omitempty" yaml:"next_pool_id"` NextPurchaseId uint64 `` /* 130-byte string literal not displayed */ PoolParams PoolParams `protobuf:"bytes,4,opt,name=pool_params,json=poolParams,proto3" json:"pool_params" yaml:"pool_params"` ClaimProposalParams ClaimProposalParams `` /* 139-byte string literal not displayed */ DistributionParams DistributionParams `` /* 132-byte string literal not displayed */ TotalCollateral github_com_cosmos_cosmos_sdk_types.Int `` /* 170-byte string literal not displayed */ TotalWithdrawing github_com_cosmos_cosmos_sdk_types.Int `` /* 174-byte string literal not displayed */ TotalShield github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */ TotalClaimed github_com_cosmos_cosmos_sdk_types.Int `` /* 159-byte string literal not displayed */ ServiceFees github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 142-byte string literal not displayed */ RemainingServiceFees github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 171-byte string literal not displayed */ Pools []Pool `protobuf:"bytes,13,rep,name=pools,proto3" json:"pools" yaml:"pools"` Providers []Provider `protobuf:"bytes,14,rep,name=providers,proto3" json:"providers" yaml:"providers"` PurchaseLists []PurchaseList `protobuf:"bytes,15,rep,name=purchase_lists,json=purchaseLists,proto3" json:"purchase_lists" yaml:"purchases"` Withdraws []Withdraw `protobuf:"bytes,16,rep,name=withdraws,proto3" json:"withdraws" yaml:"withdraws"` LastUpdateTime time.Time `` /* 128-byte string literal not displayed */ ShieldStakingRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 182-byte string literal not displayed */ GlobalStakingPool github_com_cosmos_cosmos_sdk_types.Int `` /* 182-byte string literal not displayed */ StakeForShields []ShieldStaking `protobuf:"bytes,20,rep,name=stake_for_shields,json=stakeForShields,proto3" json:"stake_for_shields" yaml:"stake_for_shields"` OriginalStakings []OriginalStaking `protobuf:"bytes,21,rep,name=original_stakings,json=originalStakings,proto3" json:"original_stakings" yaml:"original_stakings"` ProposalIDReimbursementPairs []ProposalIDReimbursementPair `` /* 176-byte string literal not displayed */ }
GenesisState defines the shield genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns a default genesis state.
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(cdc codec.Codec, appState map[string]json.RawMessage) GenesisState
GetGenesisStateFromAppState returns GenesisState given raw application genesis state.
func NewGenesisState ¶
func NewGenesisState(shieldAdmin sdk.AccAddress, nextPoolID, nextPurchaseID uint64, poolParams PoolParams, claimProposalParams ClaimProposalParams, distrParams DistributionParams, totalCollateral, totalWithdrawing, totalShield, totalClaimed sdk.Int, serviceFees, remainingServiceFees sdk.DecCoins, pools []Pool, providers []Provider, purchase []PurchaseList, withdraws []Withdraw, lastUpdateTime time.Time, sSRate sdk.Dec, globalStakingPool sdk.Int, stakingPurchases []ShieldStaking, originalStaking []OriginalStaking, proposalIDReimbursementPairs []ProposalIDReimbursementPair) GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
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) 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 GovKeeper ¶
type GovKeeper interface {
GetVotingParams(ctx sdk.Context) govtypes.VotingParams
}
GovKeeper defines the expected gov keeper.
type LastUpdateTime ¶
type LastUpdateTime struct {
Time *time.Time `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time,omitempty" yaml:"time"`
}
func (*LastUpdateTime) Descriptor ¶
func (*LastUpdateTime) Descriptor() ([]byte, []int)
func (*LastUpdateTime) Marshal ¶
func (m *LastUpdateTime) Marshal() (dAtA []byte, err error)
func (*LastUpdateTime) MarshalToSizedBuffer ¶
func (m *LastUpdateTime) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LastUpdateTime) ProtoMessage ¶
func (*LastUpdateTime) ProtoMessage()
func (*LastUpdateTime) Reset ¶
func (m *LastUpdateTime) Reset()
func (*LastUpdateTime) Size ¶
func (m *LastUpdateTime) Size() (n int)
func (*LastUpdateTime) String ¶
func (m *LastUpdateTime) String() string
func (*LastUpdateTime) Unmarshal ¶
func (m *LastUpdateTime) Unmarshal(dAtA []byte) error
func (*LastUpdateTime) XXX_DiscardUnknown ¶
func (m *LastUpdateTime) XXX_DiscardUnknown()
func (*LastUpdateTime) XXX_Marshal ¶
func (m *LastUpdateTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LastUpdateTime) XXX_Merge ¶
func (m *LastUpdateTime) XXX_Merge(src proto.Message)
func (*LastUpdateTime) XXX_Size ¶
func (m *LastUpdateTime) XXX_Size() int
func (*LastUpdateTime) XXX_Unmarshal ¶
func (m *LastUpdateTime) XXX_Unmarshal(b []byte) error
type LockedCollateral ¶
type LockedCollateral struct { ProposalID uint64 `json:"proposal_id" yaml:"proposal_id"` Amount sdk.Int `json:"locked_coins" yaml:"locked_coins"` }
LockedCollateral defines the data type of locked collateral for a claim proposal.
func NewLockedCollateral ¶
func NewLockedCollateral(proposalID uint64, lockedAmt sdk.Int) LockedCollateral
NewLockedCollateral returns a new LockedCollateral instance.
type MsgClearPayouts ¶
type MsgClearPayouts struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` }
MsgClearPayouts defines attributes of clear payouts transaction.
func (*MsgClearPayouts) Descriptor ¶
func (*MsgClearPayouts) Descriptor() ([]byte, []int)
func (*MsgClearPayouts) Marshal ¶
func (m *MsgClearPayouts) Marshal() (dAtA []byte, err error)
func (*MsgClearPayouts) MarshalToSizedBuffer ¶
func (m *MsgClearPayouts) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClearPayouts) ProtoMessage ¶
func (*MsgClearPayouts) ProtoMessage()
func (*MsgClearPayouts) Reset ¶
func (m *MsgClearPayouts) Reset()
func (*MsgClearPayouts) Size ¶
func (m *MsgClearPayouts) Size() (n int)
func (*MsgClearPayouts) String ¶
func (m *MsgClearPayouts) String() string
func (*MsgClearPayouts) Unmarshal ¶
func (m *MsgClearPayouts) Unmarshal(dAtA []byte) error
func (*MsgClearPayouts) XXX_DiscardUnknown ¶
func (m *MsgClearPayouts) XXX_DiscardUnknown()
func (*MsgClearPayouts) XXX_Marshal ¶
func (m *MsgClearPayouts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClearPayouts) XXX_Merge ¶
func (m *MsgClearPayouts) XXX_Merge(src proto.Message)
func (*MsgClearPayouts) XXX_Size ¶
func (m *MsgClearPayouts) XXX_Size() int
func (*MsgClearPayouts) XXX_Unmarshal ¶
func (m *MsgClearPayouts) XXX_Unmarshal(b []byte) error
type MsgClearPayoutsResponse ¶
type MsgClearPayoutsResponse struct { }
func (*MsgClearPayoutsResponse) Descriptor ¶
func (*MsgClearPayoutsResponse) Descriptor() ([]byte, []int)
func (*MsgClearPayoutsResponse) Marshal ¶
func (m *MsgClearPayoutsResponse) Marshal() (dAtA []byte, err error)
func (*MsgClearPayoutsResponse) MarshalTo ¶
func (m *MsgClearPayoutsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClearPayoutsResponse) MarshalToSizedBuffer ¶
func (m *MsgClearPayoutsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClearPayoutsResponse) ProtoMessage ¶
func (*MsgClearPayoutsResponse) ProtoMessage()
func (*MsgClearPayoutsResponse) Reset ¶
func (m *MsgClearPayoutsResponse) Reset()
func (*MsgClearPayoutsResponse) Size ¶
func (m *MsgClearPayoutsResponse) Size() (n int)
func (*MsgClearPayoutsResponse) String ¶
func (m *MsgClearPayoutsResponse) String() string
func (*MsgClearPayoutsResponse) Unmarshal ¶
func (m *MsgClearPayoutsResponse) Unmarshal(dAtA []byte) error
func (*MsgClearPayoutsResponse) XXX_DiscardUnknown ¶
func (m *MsgClearPayoutsResponse) XXX_DiscardUnknown()
func (*MsgClearPayoutsResponse) XXX_Marshal ¶
func (m *MsgClearPayoutsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClearPayoutsResponse) XXX_Merge ¶
func (m *MsgClearPayoutsResponse) XXX_Merge(src proto.Message)
func (*MsgClearPayoutsResponse) XXX_Size ¶
func (m *MsgClearPayoutsResponse) XXX_Size() int
func (*MsgClearPayoutsResponse) XXX_Unmarshal ¶
func (m *MsgClearPayoutsResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CreatePool(ctx context.Context, in *MsgCreatePool, opts ...grpc.CallOption) (*MsgCreatePoolResponse, error) UpdatePool(ctx context.Context, in *MsgUpdatePool, opts ...grpc.CallOption) (*MsgUpdatePoolResponse, error) PausePool(ctx context.Context, in *MsgPausePool, opts ...grpc.CallOption) (*MsgPausePoolResponse, error) ResumePool(ctx context.Context, in *MsgResumePool, opts ...grpc.CallOption) (*MsgResumePoolResponse, error) DepositCollateral(ctx context.Context, in *MsgDepositCollateral, opts ...grpc.CallOption) (*MsgDepositCollateralResponse, error) WithdrawCollateral(ctx context.Context, in *MsgWithdrawCollateral, opts ...grpc.CallOption) (*MsgWithdrawCollateralResponse, error) WithdrawRewards(ctx context.Context, in *MsgWithdrawRewards, opts ...grpc.CallOption) (*MsgWithdrawRewardsResponse, error) WithdrawForeignRewards(ctx context.Context, in *MsgWithdrawForeignRewards, opts ...grpc.CallOption) (*MsgWithdrawForeignRewardsResponse, error) PurchaseShield(ctx context.Context, in *MsgPurchaseShield, opts ...grpc.CallOption) (*MsgPurchaseShieldResponse, error) WithdrawReimbursement(ctx context.Context, in *MsgWithdrawReimbursement, opts ...grpc.CallOption) (*MsgWithdrawReimbursementResponse, error) UpdateSponsor(ctx context.Context, in *MsgUpdateSponsor, opts ...grpc.CallOption) (*MsgUpdateSponsorResponse, error) StakeForShield(ctx context.Context, in *MsgStakeForShield, opts ...grpc.CallOption) (*MsgStakeForShieldResponse, error) UnstakeFromShield(ctx context.Context, in *MsgUnstakeFromShield, opts ...grpc.CallOption) (*MsgUnstakeFromShieldResponse, 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 MsgCreatePool ¶
type MsgCreatePool struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` Shield github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=shield,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"shield"` Deposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=deposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"deposit"` Sponsor string `protobuf:"bytes,4,opt,name=sponsor,proto3" json:"sponsor,omitempty" yaml:"sponsor"` SponsorAddr string `protobuf:"bytes,5,opt,name=sponsor_addr,json=sponsorAddr,proto3" json:"sponsor_addr,omitempty" yaml:"sponsor_addr"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` ShieldLimit github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */ }
MsgCreatePool defines the attributes of a create-pool transaction.
func NewMsgCreatePool ¶
func NewMsgCreatePool(accAddr sdk.AccAddress, shield sdk.Coins, deposit sdk.Coins, sponsor string, sponsorAddr sdk.AccAddress, description string, shieldLimit sdk.Int) *MsgCreatePool
NewMsgCreatePool creates a new NewMsgCreatePool instance.
func (*MsgCreatePool) Descriptor ¶
func (*MsgCreatePool) Descriptor() ([]byte, []int)
func (MsgCreatePool) GetSignBytes ¶
func (msg MsgCreatePool) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgCreatePool) GetSigners ¶
func (msg MsgCreatePool) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgCreatePool) Marshal ¶
func (m *MsgCreatePool) Marshal() (dAtA []byte, err error)
func (*MsgCreatePool) MarshalToSizedBuffer ¶
func (m *MsgCreatePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePool) ProtoMessage ¶
func (*MsgCreatePool) ProtoMessage()
func (*MsgCreatePool) Reset ¶
func (m *MsgCreatePool) Reset()
func (MsgCreatePool) Route ¶
func (msg MsgCreatePool) Route() string
Route implements the sdk.Msg interface.
func (*MsgCreatePool) Size ¶
func (m *MsgCreatePool) Size() (n int)
func (*MsgCreatePool) String ¶
func (m *MsgCreatePool) String() string
func (MsgCreatePool) Type ¶
func (msg MsgCreatePool) Type() string
Type implements the sdk.Msg interface.
func (*MsgCreatePool) Unmarshal ¶
func (m *MsgCreatePool) Unmarshal(dAtA []byte) error
func (MsgCreatePool) ValidateBasic ¶
func (msg MsgCreatePool) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgCreatePool) XXX_DiscardUnknown ¶
func (m *MsgCreatePool) XXX_DiscardUnknown()
func (*MsgCreatePool) XXX_Marshal ¶
func (m *MsgCreatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePool) XXX_Merge ¶
func (m *MsgCreatePool) XXX_Merge(src proto.Message)
func (*MsgCreatePool) XXX_Size ¶
func (m *MsgCreatePool) XXX_Size() int
func (*MsgCreatePool) XXX_Unmarshal ¶
func (m *MsgCreatePool) XXX_Unmarshal(b []byte) error
type MsgCreatePoolResponse ¶
type MsgCreatePoolResponse struct { }
func (*MsgCreatePoolResponse) Descriptor ¶
func (*MsgCreatePoolResponse) Descriptor() ([]byte, []int)
func (*MsgCreatePoolResponse) Marshal ¶
func (m *MsgCreatePoolResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreatePoolResponse) MarshalTo ¶
func (m *MsgCreatePoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePoolResponse) MarshalToSizedBuffer ¶
func (m *MsgCreatePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePoolResponse) ProtoMessage ¶
func (*MsgCreatePoolResponse) ProtoMessage()
func (*MsgCreatePoolResponse) Reset ¶
func (m *MsgCreatePoolResponse) Reset()
func (*MsgCreatePoolResponse) Size ¶
func (m *MsgCreatePoolResponse) Size() (n int)
func (*MsgCreatePoolResponse) String ¶
func (m *MsgCreatePoolResponse) String() string
func (*MsgCreatePoolResponse) Unmarshal ¶
func (m *MsgCreatePoolResponse) Unmarshal(dAtA []byte) error
func (*MsgCreatePoolResponse) XXX_DiscardUnknown ¶
func (m *MsgCreatePoolResponse) XXX_DiscardUnknown()
func (*MsgCreatePoolResponse) XXX_Marshal ¶
func (m *MsgCreatePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePoolResponse) XXX_Merge ¶
func (m *MsgCreatePoolResponse) XXX_Merge(src proto.Message)
func (*MsgCreatePoolResponse) XXX_Size ¶
func (m *MsgCreatePoolResponse) XXX_Size() int
func (*MsgCreatePoolResponse) XXX_Unmarshal ¶
func (m *MsgCreatePoolResponse) XXX_Unmarshal(b []byte) error
type MsgDepositCollateral ¶
type MsgDepositCollateral struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` Collateral github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=collateral,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"collateral"` }
MsgDepositCollateral defines the attributes of a depositing collaterals.
func NewMsgDepositCollateral ¶
func NewMsgDepositCollateral(sender sdk.AccAddress, collateral sdk.Coins) *MsgDepositCollateral
NewMsgDepositCollateral creates a new MsgDepositCollateral instance.
func (*MsgDepositCollateral) Descriptor ¶
func (*MsgDepositCollateral) Descriptor() ([]byte, []int)
func (MsgDepositCollateral) GetSignBytes ¶
func (msg MsgDepositCollateral) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgDepositCollateral) GetSigners ¶
func (msg MsgDepositCollateral) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgDepositCollateral) Marshal ¶
func (m *MsgDepositCollateral) Marshal() (dAtA []byte, err error)
func (*MsgDepositCollateral) MarshalTo ¶
func (m *MsgDepositCollateral) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositCollateral) MarshalToSizedBuffer ¶
func (m *MsgDepositCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositCollateral) ProtoMessage ¶
func (*MsgDepositCollateral) ProtoMessage()
func (*MsgDepositCollateral) Reset ¶
func (m *MsgDepositCollateral) Reset()
func (MsgDepositCollateral) Route ¶
func (msg MsgDepositCollateral) Route() string
Route implements the sdk.Msg interface.
func (*MsgDepositCollateral) Size ¶
func (m *MsgDepositCollateral) Size() (n int)
func (*MsgDepositCollateral) String ¶
func (m *MsgDepositCollateral) String() string
func (MsgDepositCollateral) Type ¶
func (msg MsgDepositCollateral) Type() string
Type implements the sdk.Msg interface.
func (*MsgDepositCollateral) Unmarshal ¶
func (m *MsgDepositCollateral) Unmarshal(dAtA []byte) error
func (MsgDepositCollateral) ValidateBasic ¶
func (msg MsgDepositCollateral) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgDepositCollateral) XXX_DiscardUnknown ¶
func (m *MsgDepositCollateral) XXX_DiscardUnknown()
func (*MsgDepositCollateral) XXX_Marshal ¶
func (m *MsgDepositCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositCollateral) XXX_Merge ¶
func (m *MsgDepositCollateral) XXX_Merge(src proto.Message)
func (*MsgDepositCollateral) XXX_Size ¶
func (m *MsgDepositCollateral) XXX_Size() int
func (*MsgDepositCollateral) XXX_Unmarshal ¶
func (m *MsgDepositCollateral) XXX_Unmarshal(b []byte) error
type MsgDepositCollateralResponse ¶
type MsgDepositCollateralResponse struct { }
func (*MsgDepositCollateralResponse) Descriptor ¶
func (*MsgDepositCollateralResponse) Descriptor() ([]byte, []int)
func (*MsgDepositCollateralResponse) Marshal ¶
func (m *MsgDepositCollateralResponse) Marshal() (dAtA []byte, err error)
func (*MsgDepositCollateralResponse) MarshalTo ¶
func (m *MsgDepositCollateralResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositCollateralResponse) MarshalToSizedBuffer ¶
func (m *MsgDepositCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositCollateralResponse) ProtoMessage ¶
func (*MsgDepositCollateralResponse) ProtoMessage()
func (*MsgDepositCollateralResponse) Reset ¶
func (m *MsgDepositCollateralResponse) Reset()
func (*MsgDepositCollateralResponse) Size ¶
func (m *MsgDepositCollateralResponse) Size() (n int)
func (*MsgDepositCollateralResponse) String ¶
func (m *MsgDepositCollateralResponse) String() string
func (*MsgDepositCollateralResponse) Unmarshal ¶
func (m *MsgDepositCollateralResponse) Unmarshal(dAtA []byte) error
func (*MsgDepositCollateralResponse) XXX_DiscardUnknown ¶
func (m *MsgDepositCollateralResponse) XXX_DiscardUnknown()
func (*MsgDepositCollateralResponse) XXX_Marshal ¶
func (m *MsgDepositCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositCollateralResponse) XXX_Merge ¶
func (m *MsgDepositCollateralResponse) XXX_Merge(src proto.Message)
func (*MsgDepositCollateralResponse) XXX_Size ¶
func (m *MsgDepositCollateralResponse) XXX_Size() int
func (*MsgDepositCollateralResponse) XXX_Unmarshal ¶
func (m *MsgDepositCollateralResponse) XXX_Unmarshal(b []byte) error
type MsgPausePool ¶
type MsgPausePool struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` }
MsgPausePool defines the attributes of a pausing a shield pool.
func NewMsgPausePool ¶
func NewMsgPausePool(accAddr sdk.AccAddress, id uint64) *MsgPausePool
NewMsgPausePool creates a new NewMsgPausePool instance.
func (*MsgPausePool) Descriptor ¶
func (*MsgPausePool) Descriptor() ([]byte, []int)
func (MsgPausePool) GetSignBytes ¶
func (msg MsgPausePool) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgPausePool) GetSigners ¶
func (msg MsgPausePool) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgPausePool) Marshal ¶
func (m *MsgPausePool) Marshal() (dAtA []byte, err error)
func (*MsgPausePool) MarshalToSizedBuffer ¶
func (m *MsgPausePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPausePool) ProtoMessage ¶
func (*MsgPausePool) ProtoMessage()
func (*MsgPausePool) Reset ¶
func (m *MsgPausePool) Reset()
func (MsgPausePool) Route ¶
func (msg MsgPausePool) Route() string
Route implements the sdk.Msg interface.
func (*MsgPausePool) Size ¶
func (m *MsgPausePool) Size() (n int)
func (*MsgPausePool) String ¶
func (m *MsgPausePool) String() string
func (MsgPausePool) Type ¶
func (msg MsgPausePool) Type() string
Type implements the sdk.Msg interface.
func (*MsgPausePool) Unmarshal ¶
func (m *MsgPausePool) Unmarshal(dAtA []byte) error
func (MsgPausePool) ValidateBasic ¶
func (msg MsgPausePool) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgPausePool) XXX_DiscardUnknown ¶
func (m *MsgPausePool) XXX_DiscardUnknown()
func (*MsgPausePool) XXX_Marshal ¶
func (m *MsgPausePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPausePool) XXX_Merge ¶
func (m *MsgPausePool) XXX_Merge(src proto.Message)
func (*MsgPausePool) XXX_Size ¶
func (m *MsgPausePool) XXX_Size() int
func (*MsgPausePool) XXX_Unmarshal ¶
func (m *MsgPausePool) XXX_Unmarshal(b []byte) error
type MsgPausePoolResponse ¶
type MsgPausePoolResponse struct { }
func (*MsgPausePoolResponse) Descriptor ¶
func (*MsgPausePoolResponse) Descriptor() ([]byte, []int)
func (*MsgPausePoolResponse) Marshal ¶
func (m *MsgPausePoolResponse) Marshal() (dAtA []byte, err error)
func (*MsgPausePoolResponse) MarshalTo ¶
func (m *MsgPausePoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgPausePoolResponse) MarshalToSizedBuffer ¶
func (m *MsgPausePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPausePoolResponse) ProtoMessage ¶
func (*MsgPausePoolResponse) ProtoMessage()
func (*MsgPausePoolResponse) Reset ¶
func (m *MsgPausePoolResponse) Reset()
func (*MsgPausePoolResponse) Size ¶
func (m *MsgPausePoolResponse) Size() (n int)
func (*MsgPausePoolResponse) String ¶
func (m *MsgPausePoolResponse) String() string
func (*MsgPausePoolResponse) Unmarshal ¶
func (m *MsgPausePoolResponse) Unmarshal(dAtA []byte) error
func (*MsgPausePoolResponse) XXX_DiscardUnknown ¶
func (m *MsgPausePoolResponse) XXX_DiscardUnknown()
func (*MsgPausePoolResponse) XXX_Marshal ¶
func (m *MsgPausePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPausePoolResponse) XXX_Merge ¶
func (m *MsgPausePoolResponse) XXX_Merge(src proto.Message)
func (*MsgPausePoolResponse) XXX_Size ¶
func (m *MsgPausePoolResponse) XXX_Size() int
func (*MsgPausePoolResponse) XXX_Unmarshal ¶
func (m *MsgPausePoolResponse) XXX_Unmarshal(b []byte) error
type MsgPurchaseShield ¶
type MsgPurchaseShield struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` Shield github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=shield,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"shield"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` }
MsgPurchaseShield defines the attributes of purchase shield transaction.
func NewMsgPurchaseShield ¶
func NewMsgPurchaseShield(poolID uint64, shield sdk.Coins, description string, from sdk.AccAddress) *MsgPurchaseShield
NewMsgPurchaseShield creates a new MsgPurchaseShield instance.
func (*MsgPurchaseShield) Descriptor ¶
func (*MsgPurchaseShield) Descriptor() ([]byte, []int)
func (MsgPurchaseShield) GetSignBytes ¶
func (msg MsgPurchaseShield) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgPurchaseShield) GetSigners ¶
func (msg MsgPurchaseShield) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgPurchaseShield) Marshal ¶
func (m *MsgPurchaseShield) Marshal() (dAtA []byte, err error)
func (*MsgPurchaseShield) MarshalTo ¶
func (m *MsgPurchaseShield) MarshalTo(dAtA []byte) (int, error)
func (*MsgPurchaseShield) MarshalToSizedBuffer ¶
func (m *MsgPurchaseShield) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPurchaseShield) ProtoMessage ¶
func (*MsgPurchaseShield) ProtoMessage()
func (*MsgPurchaseShield) Reset ¶
func (m *MsgPurchaseShield) Reset()
func (MsgPurchaseShield) Route ¶
func (msg MsgPurchaseShield) Route() string
Route implements the sdk.Msg interface.
func (*MsgPurchaseShield) Size ¶
func (m *MsgPurchaseShield) Size() (n int)
func (*MsgPurchaseShield) String ¶
func (m *MsgPurchaseShield) String() string
func (MsgPurchaseShield) Type ¶
func (msg MsgPurchaseShield) Type() string
Type implements the sdk.Msg interface.
func (*MsgPurchaseShield) Unmarshal ¶
func (m *MsgPurchaseShield) Unmarshal(dAtA []byte) error
func (MsgPurchaseShield) ValidateBasic ¶
func (msg MsgPurchaseShield) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgPurchaseShield) XXX_DiscardUnknown ¶
func (m *MsgPurchaseShield) XXX_DiscardUnknown()
func (*MsgPurchaseShield) XXX_Marshal ¶
func (m *MsgPurchaseShield) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPurchaseShield) XXX_Merge ¶
func (m *MsgPurchaseShield) XXX_Merge(src proto.Message)
func (*MsgPurchaseShield) XXX_Size ¶
func (m *MsgPurchaseShield) XXX_Size() int
func (*MsgPurchaseShield) XXX_Unmarshal ¶
func (m *MsgPurchaseShield) XXX_Unmarshal(b []byte) error
type MsgPurchaseShieldResponse ¶
type MsgPurchaseShieldResponse struct { }
func (*MsgPurchaseShieldResponse) Descriptor ¶
func (*MsgPurchaseShieldResponse) Descriptor() ([]byte, []int)
func (*MsgPurchaseShieldResponse) Marshal ¶
func (m *MsgPurchaseShieldResponse) Marshal() (dAtA []byte, err error)
func (*MsgPurchaseShieldResponse) MarshalTo ¶
func (m *MsgPurchaseShieldResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgPurchaseShieldResponse) MarshalToSizedBuffer ¶
func (m *MsgPurchaseShieldResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPurchaseShieldResponse) ProtoMessage ¶
func (*MsgPurchaseShieldResponse) ProtoMessage()
func (*MsgPurchaseShieldResponse) Reset ¶
func (m *MsgPurchaseShieldResponse) Reset()
func (*MsgPurchaseShieldResponse) Size ¶
func (m *MsgPurchaseShieldResponse) Size() (n int)
func (*MsgPurchaseShieldResponse) String ¶
func (m *MsgPurchaseShieldResponse) String() string
func (*MsgPurchaseShieldResponse) Unmarshal ¶
func (m *MsgPurchaseShieldResponse) Unmarshal(dAtA []byte) error
func (*MsgPurchaseShieldResponse) XXX_DiscardUnknown ¶
func (m *MsgPurchaseShieldResponse) XXX_DiscardUnknown()
func (*MsgPurchaseShieldResponse) XXX_Marshal ¶
func (m *MsgPurchaseShieldResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPurchaseShieldResponse) XXX_Merge ¶
func (m *MsgPurchaseShieldResponse) XXX_Merge(src proto.Message)
func (*MsgPurchaseShieldResponse) XXX_Size ¶
func (m *MsgPurchaseShieldResponse) XXX_Size() int
func (*MsgPurchaseShieldResponse) XXX_Unmarshal ¶
func (m *MsgPurchaseShieldResponse) XXX_Unmarshal(b []byte) error
type MsgResumePool ¶
type MsgResumePool struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` }
MsgResumePool defines the attributes of a resuming a shield pool.
func NewMsgResumePool ¶
func NewMsgResumePool(accAddr sdk.AccAddress, id uint64) *MsgResumePool
func (*MsgResumePool) Descriptor ¶
func (*MsgResumePool) Descriptor() ([]byte, []int)
func (MsgResumePool) GetSignBytes ¶
func (msg MsgResumePool) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgResumePool) GetSigners ¶
func (msg MsgResumePool) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgResumePool) Marshal ¶
func (m *MsgResumePool) Marshal() (dAtA []byte, err error)
func (*MsgResumePool) MarshalToSizedBuffer ¶
func (m *MsgResumePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgResumePool) ProtoMessage ¶
func (*MsgResumePool) ProtoMessage()
func (*MsgResumePool) Reset ¶
func (m *MsgResumePool) Reset()
func (MsgResumePool) Route ¶
func (msg MsgResumePool) Route() string
Route implements the sdk.Msg interface.
func (*MsgResumePool) Size ¶
func (m *MsgResumePool) Size() (n int)
func (*MsgResumePool) String ¶
func (m *MsgResumePool) String() string
func (MsgResumePool) Type ¶
func (msg MsgResumePool) Type() string
Type implements the sdk.Msg interface.
func (*MsgResumePool) Unmarshal ¶
func (m *MsgResumePool) Unmarshal(dAtA []byte) error
func (MsgResumePool) ValidateBasic ¶
func (msg MsgResumePool) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgResumePool) XXX_DiscardUnknown ¶
func (m *MsgResumePool) XXX_DiscardUnknown()
func (*MsgResumePool) XXX_Marshal ¶
func (m *MsgResumePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgResumePool) XXX_Merge ¶
func (m *MsgResumePool) XXX_Merge(src proto.Message)
func (*MsgResumePool) XXX_Size ¶
func (m *MsgResumePool) XXX_Size() int
func (*MsgResumePool) XXX_Unmarshal ¶
func (m *MsgResumePool) XXX_Unmarshal(b []byte) error
type MsgResumePoolResponse ¶
type MsgResumePoolResponse struct { }
func (*MsgResumePoolResponse) Descriptor ¶
func (*MsgResumePoolResponse) Descriptor() ([]byte, []int)
func (*MsgResumePoolResponse) Marshal ¶
func (m *MsgResumePoolResponse) Marshal() (dAtA []byte, err error)
func (*MsgResumePoolResponse) MarshalTo ¶
func (m *MsgResumePoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgResumePoolResponse) MarshalToSizedBuffer ¶
func (m *MsgResumePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgResumePoolResponse) ProtoMessage ¶
func (*MsgResumePoolResponse) ProtoMessage()
func (*MsgResumePoolResponse) Reset ¶
func (m *MsgResumePoolResponse) Reset()
func (*MsgResumePoolResponse) Size ¶
func (m *MsgResumePoolResponse) Size() (n int)
func (*MsgResumePoolResponse) String ¶
func (m *MsgResumePoolResponse) String() string
func (*MsgResumePoolResponse) Unmarshal ¶
func (m *MsgResumePoolResponse) Unmarshal(dAtA []byte) error
func (*MsgResumePoolResponse) XXX_DiscardUnknown ¶
func (m *MsgResumePoolResponse) XXX_DiscardUnknown()
func (*MsgResumePoolResponse) XXX_Marshal ¶
func (m *MsgResumePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgResumePoolResponse) XXX_Merge ¶
func (m *MsgResumePoolResponse) XXX_Merge(src proto.Message)
func (*MsgResumePoolResponse) XXX_Size ¶
func (m *MsgResumePoolResponse) XXX_Size() int
func (*MsgResumePoolResponse) XXX_Unmarshal ¶
func (m *MsgResumePoolResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreatePool(context.Context, *MsgCreatePool) (*MsgCreatePoolResponse, error) UpdatePool(context.Context, *MsgUpdatePool) (*MsgUpdatePoolResponse, error) PausePool(context.Context, *MsgPausePool) (*MsgPausePoolResponse, error) ResumePool(context.Context, *MsgResumePool) (*MsgResumePoolResponse, error) DepositCollateral(context.Context, *MsgDepositCollateral) (*MsgDepositCollateralResponse, error) WithdrawCollateral(context.Context, *MsgWithdrawCollateral) (*MsgWithdrawCollateralResponse, error) WithdrawRewards(context.Context, *MsgWithdrawRewards) (*MsgWithdrawRewardsResponse, error) WithdrawForeignRewards(context.Context, *MsgWithdrawForeignRewards) (*MsgWithdrawForeignRewardsResponse, error) PurchaseShield(context.Context, *MsgPurchaseShield) (*MsgPurchaseShieldResponse, error) WithdrawReimbursement(context.Context, *MsgWithdrawReimbursement) (*MsgWithdrawReimbursementResponse, error) UpdateSponsor(context.Context, *MsgUpdateSponsor) (*MsgUpdateSponsorResponse, error) StakeForShield(context.Context, *MsgStakeForShield) (*MsgStakeForShieldResponse, error) UnstakeFromShield(context.Context, *MsgUnstakeFromShield) (*MsgUnstakeFromShieldResponse, error) }
MsgServer is the server API for Msg service.
type MsgStakeForShield ¶
type MsgStakeForShield struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` Shield github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=shield,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"shield"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` }
TODO: eliminate this msg type MsgStakeForShield defines the attributes of staking for purchase transaction.
func NewMsgStakeForShield ¶
func NewMsgStakeForShield(poolID uint64, shield sdk.Coins, description string, from sdk.AccAddress) *MsgStakeForShield
NewMsgStakeForShield creates a new MsgPurchaseShield instance.
func (*MsgStakeForShield) Descriptor ¶
func (*MsgStakeForShield) Descriptor() ([]byte, []int)
func (MsgStakeForShield) GetSignBytes ¶
func (msg MsgStakeForShield) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgStakeForShield) GetSigners ¶
func (msg MsgStakeForShield) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgStakeForShield) Marshal ¶
func (m *MsgStakeForShield) Marshal() (dAtA []byte, err error)
func (*MsgStakeForShield) MarshalTo ¶
func (m *MsgStakeForShield) MarshalTo(dAtA []byte) (int, error)
func (*MsgStakeForShield) MarshalToSizedBuffer ¶
func (m *MsgStakeForShield) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStakeForShield) ProtoMessage ¶
func (*MsgStakeForShield) ProtoMessage()
func (*MsgStakeForShield) Reset ¶
func (m *MsgStakeForShield) Reset()
func (MsgStakeForShield) Route ¶
func (msg MsgStakeForShield) Route() string
Route implements the sdk.Msg interface.
func (*MsgStakeForShield) Size ¶
func (m *MsgStakeForShield) Size() (n int)
func (*MsgStakeForShield) String ¶
func (m *MsgStakeForShield) String() string
func (MsgStakeForShield) Type ¶
func (msg MsgStakeForShield) Type() string
Type implements the sdk.Msg interface.
func (*MsgStakeForShield) Unmarshal ¶
func (m *MsgStakeForShield) Unmarshal(dAtA []byte) error
func (MsgStakeForShield) ValidateBasic ¶
func (msg MsgStakeForShield) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgStakeForShield) XXX_DiscardUnknown ¶
func (m *MsgStakeForShield) XXX_DiscardUnknown()
func (*MsgStakeForShield) XXX_Marshal ¶
func (m *MsgStakeForShield) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStakeForShield) XXX_Merge ¶
func (m *MsgStakeForShield) XXX_Merge(src proto.Message)
func (*MsgStakeForShield) XXX_Size ¶
func (m *MsgStakeForShield) XXX_Size() int
func (*MsgStakeForShield) XXX_Unmarshal ¶
func (m *MsgStakeForShield) XXX_Unmarshal(b []byte) error
type MsgStakeForShieldResponse ¶
type MsgStakeForShieldResponse struct { }
func (*MsgStakeForShieldResponse) Descriptor ¶
func (*MsgStakeForShieldResponse) Descriptor() ([]byte, []int)
func (*MsgStakeForShieldResponse) Marshal ¶
func (m *MsgStakeForShieldResponse) Marshal() (dAtA []byte, err error)
func (*MsgStakeForShieldResponse) MarshalTo ¶
func (m *MsgStakeForShieldResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStakeForShieldResponse) MarshalToSizedBuffer ¶
func (m *MsgStakeForShieldResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStakeForShieldResponse) ProtoMessage ¶
func (*MsgStakeForShieldResponse) ProtoMessage()
func (*MsgStakeForShieldResponse) Reset ¶
func (m *MsgStakeForShieldResponse) Reset()
func (*MsgStakeForShieldResponse) Size ¶
func (m *MsgStakeForShieldResponse) Size() (n int)
func (*MsgStakeForShieldResponse) String ¶
func (m *MsgStakeForShieldResponse) String() string
func (*MsgStakeForShieldResponse) Unmarshal ¶
func (m *MsgStakeForShieldResponse) Unmarshal(dAtA []byte) error
func (*MsgStakeForShieldResponse) XXX_DiscardUnknown ¶
func (m *MsgStakeForShieldResponse) XXX_DiscardUnknown()
func (*MsgStakeForShieldResponse) XXX_Marshal ¶
func (m *MsgStakeForShieldResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStakeForShieldResponse) XXX_Merge ¶
func (m *MsgStakeForShieldResponse) XXX_Merge(src proto.Message)
func (*MsgStakeForShieldResponse) XXX_Size ¶
func (m *MsgStakeForShieldResponse) XXX_Size() int
func (*MsgStakeForShieldResponse) XXX_Unmarshal ¶
func (m *MsgStakeForShieldResponse) XXX_Unmarshal(b []byte) error
type MsgUnstakeFromShield ¶
type MsgUnstakeFromShield struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` Shield github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=shield,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"shield"` From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` }
MsgUnstakeFromShield defines the attributes of staking for purchase transaction.
func NewMsgUnstakeFromShield ¶
func NewMsgUnstakeFromShield(poolID uint64, shield sdk.Coins, from sdk.AccAddress) *MsgUnstakeFromShield
NewMsgUnstakeFromShield creates a new MsgPurchaseShield instance.
func (*MsgUnstakeFromShield) Descriptor ¶
func (*MsgUnstakeFromShield) Descriptor() ([]byte, []int)
func (MsgUnstakeFromShield) GetSignBytes ¶
func (msg MsgUnstakeFromShield) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgUnstakeFromShield) GetSigners ¶
func (msg MsgUnstakeFromShield) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgUnstakeFromShield) Marshal ¶
func (m *MsgUnstakeFromShield) Marshal() (dAtA []byte, err error)
func (*MsgUnstakeFromShield) MarshalTo ¶
func (m *MsgUnstakeFromShield) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnstakeFromShield) MarshalToSizedBuffer ¶
func (m *MsgUnstakeFromShield) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnstakeFromShield) ProtoMessage ¶
func (*MsgUnstakeFromShield) ProtoMessage()
func (*MsgUnstakeFromShield) Reset ¶
func (m *MsgUnstakeFromShield) Reset()
func (MsgUnstakeFromShield) Route ¶
func (msg MsgUnstakeFromShield) Route() string
Route implements the sdk.Msg interface.
func (*MsgUnstakeFromShield) Size ¶
func (m *MsgUnstakeFromShield) Size() (n int)
func (*MsgUnstakeFromShield) String ¶
func (m *MsgUnstakeFromShield) String() string
func (MsgUnstakeFromShield) Type ¶
func (msg MsgUnstakeFromShield) Type() string
Type implements the sdk.Msg interface.
func (*MsgUnstakeFromShield) Unmarshal ¶
func (m *MsgUnstakeFromShield) Unmarshal(dAtA []byte) error
func (MsgUnstakeFromShield) ValidateBasic ¶
func (msg MsgUnstakeFromShield) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgUnstakeFromShield) XXX_DiscardUnknown ¶
func (m *MsgUnstakeFromShield) XXX_DiscardUnknown()
func (*MsgUnstakeFromShield) XXX_Marshal ¶
func (m *MsgUnstakeFromShield) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnstakeFromShield) XXX_Merge ¶
func (m *MsgUnstakeFromShield) XXX_Merge(src proto.Message)
func (*MsgUnstakeFromShield) XXX_Size ¶
func (m *MsgUnstakeFromShield) XXX_Size() int
func (*MsgUnstakeFromShield) XXX_Unmarshal ¶
func (m *MsgUnstakeFromShield) XXX_Unmarshal(b []byte) error
type MsgUnstakeFromShieldResponse ¶
type MsgUnstakeFromShieldResponse struct { }
func (*MsgUnstakeFromShieldResponse) Descriptor ¶
func (*MsgUnstakeFromShieldResponse) Descriptor() ([]byte, []int)
func (*MsgUnstakeFromShieldResponse) Marshal ¶
func (m *MsgUnstakeFromShieldResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnstakeFromShieldResponse) MarshalTo ¶
func (m *MsgUnstakeFromShieldResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnstakeFromShieldResponse) MarshalToSizedBuffer ¶
func (m *MsgUnstakeFromShieldResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnstakeFromShieldResponse) ProtoMessage ¶
func (*MsgUnstakeFromShieldResponse) ProtoMessage()
func (*MsgUnstakeFromShieldResponse) Reset ¶
func (m *MsgUnstakeFromShieldResponse) Reset()
func (*MsgUnstakeFromShieldResponse) Size ¶
func (m *MsgUnstakeFromShieldResponse) Size() (n int)
func (*MsgUnstakeFromShieldResponse) String ¶
func (m *MsgUnstakeFromShieldResponse) String() string
func (*MsgUnstakeFromShieldResponse) Unmarshal ¶
func (m *MsgUnstakeFromShieldResponse) Unmarshal(dAtA []byte) error
func (*MsgUnstakeFromShieldResponse) XXX_DiscardUnknown ¶
func (m *MsgUnstakeFromShieldResponse) XXX_DiscardUnknown()
func (*MsgUnstakeFromShieldResponse) XXX_Marshal ¶
func (m *MsgUnstakeFromShieldResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnstakeFromShieldResponse) XXX_Merge ¶
func (m *MsgUnstakeFromShieldResponse) XXX_Merge(src proto.Message)
func (*MsgUnstakeFromShieldResponse) XXX_Size ¶
func (m *MsgUnstakeFromShieldResponse) XXX_Size() int
func (*MsgUnstakeFromShieldResponse) XXX_Unmarshal ¶
func (m *MsgUnstakeFromShieldResponse) XXX_Unmarshal(b []byte) error
type MsgUpdatePool ¶
type MsgUpdatePool struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` Shield github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=shield,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"shield"` ServiceFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */ PoolId uint64 `protobuf:"varint,4,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` ShieldLimit github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */ }
MsgUpdatePool defines the attributes of a shield pool update transaction.
func NewMsgUpdatePool ¶
func NewMsgUpdatePool(accAddr sdk.AccAddress, shield sdk.Coins, serviceFees sdk.Coins, id uint64, description string, shieldLimit sdk.Int) *MsgUpdatePool
NewMsgUpdatePool creates a new MsgUpdatePool instance.
func (*MsgUpdatePool) Descriptor ¶
func (*MsgUpdatePool) Descriptor() ([]byte, []int)
func (MsgUpdatePool) GetSignBytes ¶
func (msg MsgUpdatePool) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgUpdatePool) GetSigners ¶
func (msg MsgUpdatePool) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgUpdatePool) Marshal ¶
func (m *MsgUpdatePool) Marshal() (dAtA []byte, err error)
func (*MsgUpdatePool) MarshalToSizedBuffer ¶
func (m *MsgUpdatePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdatePool) ProtoMessage ¶
func (*MsgUpdatePool) ProtoMessage()
func (*MsgUpdatePool) Reset ¶
func (m *MsgUpdatePool) Reset()
func (MsgUpdatePool) Route ¶
func (msg MsgUpdatePool) Route() string
Route implements the sdk.Msg interface.
func (*MsgUpdatePool) Size ¶
func (m *MsgUpdatePool) Size() (n int)
func (*MsgUpdatePool) String ¶
func (m *MsgUpdatePool) String() string
func (MsgUpdatePool) Type ¶
func (msg MsgUpdatePool) Type() string
Type implements the sdk.Msg interface.
func (*MsgUpdatePool) Unmarshal ¶
func (m *MsgUpdatePool) Unmarshal(dAtA []byte) error
func (MsgUpdatePool) ValidateBasic ¶
func (msg MsgUpdatePool) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgUpdatePool) XXX_DiscardUnknown ¶
func (m *MsgUpdatePool) XXX_DiscardUnknown()
func (*MsgUpdatePool) XXX_Marshal ¶
func (m *MsgUpdatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdatePool) XXX_Merge ¶
func (m *MsgUpdatePool) XXX_Merge(src proto.Message)
func (*MsgUpdatePool) XXX_Size ¶
func (m *MsgUpdatePool) XXX_Size() int
func (*MsgUpdatePool) XXX_Unmarshal ¶
func (m *MsgUpdatePool) XXX_Unmarshal(b []byte) error
type MsgUpdatePoolResponse ¶
type MsgUpdatePoolResponse struct { }
func (*MsgUpdatePoolResponse) Descriptor ¶
func (*MsgUpdatePoolResponse) Descriptor() ([]byte, []int)
func (*MsgUpdatePoolResponse) Marshal ¶
func (m *MsgUpdatePoolResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdatePoolResponse) MarshalTo ¶
func (m *MsgUpdatePoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdatePoolResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdatePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdatePoolResponse) ProtoMessage ¶
func (*MsgUpdatePoolResponse) ProtoMessage()
func (*MsgUpdatePoolResponse) Reset ¶
func (m *MsgUpdatePoolResponse) Reset()
func (*MsgUpdatePoolResponse) Size ¶
func (m *MsgUpdatePoolResponse) Size() (n int)
func (*MsgUpdatePoolResponse) String ¶
func (m *MsgUpdatePoolResponse) String() string
func (*MsgUpdatePoolResponse) Unmarshal ¶
func (m *MsgUpdatePoolResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdatePoolResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdatePoolResponse) XXX_DiscardUnknown()
func (*MsgUpdatePoolResponse) XXX_Marshal ¶
func (m *MsgUpdatePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdatePoolResponse) XXX_Merge ¶
func (m *MsgUpdatePoolResponse) XXX_Merge(src proto.Message)
func (*MsgUpdatePoolResponse) XXX_Size ¶
func (m *MsgUpdatePoolResponse) XXX_Size() int
func (*MsgUpdatePoolResponse) XXX_Unmarshal ¶
func (m *MsgUpdatePoolResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateSponsor ¶
type MsgUpdateSponsor struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` Sponsor string `protobuf:"bytes,2,opt,name=sponsor,proto3" json:"sponsor,omitempty" yaml:"from"` SponsorAddr string `protobuf:"bytes,3,opt,name=sponsor_addr,json=sponsorAddr,proto3" json:"sponsor_addr,omitempty" yaml:"sponsor_addr"` From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` }
MsgUpdateSponsor defines the attributes of a update-sponsor transaction.
func NewMsgUpdateSponsor ¶
func NewMsgUpdateSponsor(poolID uint64, sponsor string, sponsorAddr, fromAddr sdk.AccAddress) *MsgUpdateSponsor
NewMsgUpdateSponsor creates a new NewMsgUpdateSponsor instance.
func (*MsgUpdateSponsor) Descriptor ¶
func (*MsgUpdateSponsor) Descriptor() ([]byte, []int)
func (MsgUpdateSponsor) GetSignBytes ¶
func (msg MsgUpdateSponsor) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgUpdateSponsor) GetSigners ¶
func (msg MsgUpdateSponsor) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgUpdateSponsor) Marshal ¶
func (m *MsgUpdateSponsor) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSponsor) MarshalToSizedBuffer ¶
func (m *MsgUpdateSponsor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSponsor) ProtoMessage ¶
func (*MsgUpdateSponsor) ProtoMessage()
func (*MsgUpdateSponsor) Reset ¶
func (m *MsgUpdateSponsor) Reset()
func (MsgUpdateSponsor) Route ¶
func (msg MsgUpdateSponsor) Route() string
Route implements the sdk.Msg interface.
func (*MsgUpdateSponsor) Size ¶
func (m *MsgUpdateSponsor) Size() (n int)
func (*MsgUpdateSponsor) String ¶
func (m *MsgUpdateSponsor) String() string
func (MsgUpdateSponsor) Type ¶
func (msg MsgUpdateSponsor) Type() string
Type implements the sdk.Msg interface.
func (*MsgUpdateSponsor) Unmarshal ¶
func (m *MsgUpdateSponsor) Unmarshal(dAtA []byte) error
func (MsgUpdateSponsor) ValidateBasic ¶
func (msg MsgUpdateSponsor) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgUpdateSponsor) XXX_DiscardUnknown ¶
func (m *MsgUpdateSponsor) XXX_DiscardUnknown()
func (*MsgUpdateSponsor) XXX_Marshal ¶
func (m *MsgUpdateSponsor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSponsor) XXX_Merge ¶
func (m *MsgUpdateSponsor) XXX_Merge(src proto.Message)
func (*MsgUpdateSponsor) XXX_Size ¶
func (m *MsgUpdateSponsor) XXX_Size() int
func (*MsgUpdateSponsor) XXX_Unmarshal ¶
func (m *MsgUpdateSponsor) XXX_Unmarshal(b []byte) error
type MsgUpdateSponsorResponse ¶
type MsgUpdateSponsorResponse struct { }
func (*MsgUpdateSponsorResponse) Descriptor ¶
func (*MsgUpdateSponsorResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateSponsorResponse) Marshal ¶
func (m *MsgUpdateSponsorResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSponsorResponse) MarshalTo ¶
func (m *MsgUpdateSponsorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSponsorResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateSponsorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSponsorResponse) ProtoMessage ¶
func (*MsgUpdateSponsorResponse) ProtoMessage()
func (*MsgUpdateSponsorResponse) Reset ¶
func (m *MsgUpdateSponsorResponse) Reset()
func (*MsgUpdateSponsorResponse) Size ¶
func (m *MsgUpdateSponsorResponse) Size() (n int)
func (*MsgUpdateSponsorResponse) String ¶
func (m *MsgUpdateSponsorResponse) String() string
func (*MsgUpdateSponsorResponse) Unmarshal ¶
func (m *MsgUpdateSponsorResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateSponsorResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateSponsorResponse) XXX_DiscardUnknown()
func (*MsgUpdateSponsorResponse) XXX_Marshal ¶
func (m *MsgUpdateSponsorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSponsorResponse) XXX_Merge ¶
func (m *MsgUpdateSponsorResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateSponsorResponse) XXX_Size ¶
func (m *MsgUpdateSponsorResponse) XXX_Size() int
func (*MsgUpdateSponsorResponse) XXX_Unmarshal ¶
func (m *MsgUpdateSponsorResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawCollateral ¶
type MsgWithdrawCollateral struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` Collateral github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=collateral,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"collateral"` }
NewMsgWithdrawCollateral defines the attributes of a withdrawing collaterals.
func NewMsgWithdrawCollateral ¶
func NewMsgWithdrawCollateral(sender sdk.AccAddress, collateral sdk.Coins) *MsgWithdrawCollateral
NewMsgDepositCollateral creates a new MsgDepositCollateral instance.
func (*MsgWithdrawCollateral) Descriptor ¶
func (*MsgWithdrawCollateral) Descriptor() ([]byte, []int)
func (MsgWithdrawCollateral) GetSignBytes ¶
func (msg MsgWithdrawCollateral) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgWithdrawCollateral) GetSigners ¶
func (msg MsgWithdrawCollateral) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgWithdrawCollateral) Marshal ¶
func (m *MsgWithdrawCollateral) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawCollateral) MarshalTo ¶
func (m *MsgWithdrawCollateral) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawCollateral) MarshalToSizedBuffer ¶
func (m *MsgWithdrawCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawCollateral) ProtoMessage ¶
func (*MsgWithdrawCollateral) ProtoMessage()
func (*MsgWithdrawCollateral) Reset ¶
func (m *MsgWithdrawCollateral) Reset()
func (MsgWithdrawCollateral) Route ¶
func (msg MsgWithdrawCollateral) Route() string
Route implements the sdk.Msg interface.
func (*MsgWithdrawCollateral) Size ¶
func (m *MsgWithdrawCollateral) Size() (n int)
func (*MsgWithdrawCollateral) String ¶
func (m *MsgWithdrawCollateral) String() string
func (MsgWithdrawCollateral) Type ¶
func (msg MsgWithdrawCollateral) Type() string
Type implements the sdk.Msg interface.
func (*MsgWithdrawCollateral) Unmarshal ¶
func (m *MsgWithdrawCollateral) Unmarshal(dAtA []byte) error
func (MsgWithdrawCollateral) ValidateBasic ¶
func (msg MsgWithdrawCollateral) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgWithdrawCollateral) XXX_DiscardUnknown ¶
func (m *MsgWithdrawCollateral) XXX_DiscardUnknown()
func (*MsgWithdrawCollateral) XXX_Marshal ¶
func (m *MsgWithdrawCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawCollateral) XXX_Merge ¶
func (m *MsgWithdrawCollateral) XXX_Merge(src proto.Message)
func (*MsgWithdrawCollateral) XXX_Size ¶
func (m *MsgWithdrawCollateral) XXX_Size() int
func (*MsgWithdrawCollateral) XXX_Unmarshal ¶
func (m *MsgWithdrawCollateral) XXX_Unmarshal(b []byte) error
type MsgWithdrawCollateralResponse ¶
type MsgWithdrawCollateralResponse struct { }
func (*MsgWithdrawCollateralResponse) Descriptor ¶
func (*MsgWithdrawCollateralResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawCollateralResponse) Marshal ¶
func (m *MsgWithdrawCollateralResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawCollateralResponse) MarshalTo ¶
func (m *MsgWithdrawCollateralResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawCollateralResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawCollateralResponse) ProtoMessage ¶
func (*MsgWithdrawCollateralResponse) ProtoMessage()
func (*MsgWithdrawCollateralResponse) Reset ¶
func (m *MsgWithdrawCollateralResponse) Reset()
func (*MsgWithdrawCollateralResponse) Size ¶
func (m *MsgWithdrawCollateralResponse) Size() (n int)
func (*MsgWithdrawCollateralResponse) String ¶
func (m *MsgWithdrawCollateralResponse) String() string
func (*MsgWithdrawCollateralResponse) Unmarshal ¶
func (m *MsgWithdrawCollateralResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawCollateralResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawCollateralResponse) XXX_DiscardUnknown()
func (*MsgWithdrawCollateralResponse) XXX_Marshal ¶
func (m *MsgWithdrawCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawCollateralResponse) XXX_Merge ¶
func (m *MsgWithdrawCollateralResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawCollateralResponse) XXX_Size ¶
func (m *MsgWithdrawCollateralResponse) XXX_Size() int
func (*MsgWithdrawCollateralResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawCollateralResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawForeignRewards ¶
type MsgWithdrawForeignRewards struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` ToAddr string `protobuf:"bytes,3,opt,name=to_addr,json=toAddr,proto3" json:"to_addr,omitempty" yaml:"to_addr"` }
MsgWithdrawForeignRewards defines attributes of withdraw foreign rewards transaction.
func NewMsgWithdrawForeignRewards ¶
func NewMsgWithdrawForeignRewards(sender sdk.AccAddress, denom, toAddr string) *MsgWithdrawForeignRewards
NewMsgWithdrawForeignRewards creates a new MsgWithdrawForeignRewards instance.
func (*MsgWithdrawForeignRewards) Descriptor ¶
func (*MsgWithdrawForeignRewards) Descriptor() ([]byte, []int)
func (MsgWithdrawForeignRewards) GetSignBytes ¶
func (msg MsgWithdrawForeignRewards) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgWithdrawForeignRewards) GetSigners ¶
func (msg MsgWithdrawForeignRewards) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface
func (*MsgWithdrawForeignRewards) Marshal ¶
func (m *MsgWithdrawForeignRewards) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawForeignRewards) MarshalTo ¶
func (m *MsgWithdrawForeignRewards) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawForeignRewards) MarshalToSizedBuffer ¶
func (m *MsgWithdrawForeignRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawForeignRewards) ProtoMessage ¶
func (*MsgWithdrawForeignRewards) ProtoMessage()
func (*MsgWithdrawForeignRewards) Reset ¶
func (m *MsgWithdrawForeignRewards) Reset()
func (MsgWithdrawForeignRewards) Route ¶
func (msg MsgWithdrawForeignRewards) Route() string
Route implements the sdk.Msg interface.
func (*MsgWithdrawForeignRewards) Size ¶
func (m *MsgWithdrawForeignRewards) Size() (n int)
func (*MsgWithdrawForeignRewards) String ¶
func (m *MsgWithdrawForeignRewards) String() string
func (MsgWithdrawForeignRewards) Type ¶
func (msg MsgWithdrawForeignRewards) Type() string
Type implements the sdk.Msg interface
func (*MsgWithdrawForeignRewards) Unmarshal ¶
func (m *MsgWithdrawForeignRewards) Unmarshal(dAtA []byte) error
func (MsgWithdrawForeignRewards) ValidateBasic ¶
func (msg MsgWithdrawForeignRewards) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgWithdrawForeignRewards) XXX_DiscardUnknown ¶
func (m *MsgWithdrawForeignRewards) XXX_DiscardUnknown()
func (*MsgWithdrawForeignRewards) XXX_Marshal ¶
func (m *MsgWithdrawForeignRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawForeignRewards) XXX_Merge ¶
func (m *MsgWithdrawForeignRewards) XXX_Merge(src proto.Message)
func (*MsgWithdrawForeignRewards) XXX_Size ¶
func (m *MsgWithdrawForeignRewards) XXX_Size() int
func (*MsgWithdrawForeignRewards) XXX_Unmarshal ¶
func (m *MsgWithdrawForeignRewards) XXX_Unmarshal(b []byte) error
type MsgWithdrawForeignRewardsResponse ¶
type MsgWithdrawForeignRewardsResponse struct { }
func (*MsgWithdrawForeignRewardsResponse) Descriptor ¶
func (*MsgWithdrawForeignRewardsResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawForeignRewardsResponse) Marshal ¶
func (m *MsgWithdrawForeignRewardsResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawForeignRewardsResponse) MarshalTo ¶
func (m *MsgWithdrawForeignRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawForeignRewardsResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawForeignRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawForeignRewardsResponse) ProtoMessage ¶
func (*MsgWithdrawForeignRewardsResponse) ProtoMessage()
func (*MsgWithdrawForeignRewardsResponse) Reset ¶
func (m *MsgWithdrawForeignRewardsResponse) Reset()
func (*MsgWithdrawForeignRewardsResponse) Size ¶
func (m *MsgWithdrawForeignRewardsResponse) Size() (n int)
func (*MsgWithdrawForeignRewardsResponse) String ¶
func (m *MsgWithdrawForeignRewardsResponse) String() string
func (*MsgWithdrawForeignRewardsResponse) Unmarshal ¶
func (m *MsgWithdrawForeignRewardsResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawForeignRewardsResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawForeignRewardsResponse) XXX_DiscardUnknown()
func (*MsgWithdrawForeignRewardsResponse) XXX_Marshal ¶
func (m *MsgWithdrawForeignRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawForeignRewardsResponse) XXX_Merge ¶
func (m *MsgWithdrawForeignRewardsResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawForeignRewardsResponse) XXX_Size ¶
func (m *MsgWithdrawForeignRewardsResponse) XXX_Size() int
func (*MsgWithdrawForeignRewardsResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawForeignRewardsResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawReimbursement ¶
type MsgWithdrawReimbursement struct { ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty" yaml:"proposal_id"` From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` }
MsgWithdrawReimburse defines the attributes of withdraw reimbursement transaction.
func NewMsgWithdrawReimbursement ¶
func NewMsgWithdrawReimbursement(proposalID uint64, from sdk.AccAddress) *MsgWithdrawReimbursement
NewMsgWithdrawReimbursement creates a new MsgWithdrawReimbursement instance.
func (*MsgWithdrawReimbursement) Descriptor ¶
func (*MsgWithdrawReimbursement) Descriptor() ([]byte, []int)
func (MsgWithdrawReimbursement) GetSignBytes ¶
func (msg MsgWithdrawReimbursement) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgWithdrawReimbursement) GetSigners ¶
func (msg MsgWithdrawReimbursement) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgWithdrawReimbursement) Marshal ¶
func (m *MsgWithdrawReimbursement) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawReimbursement) MarshalTo ¶
func (m *MsgWithdrawReimbursement) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawReimbursement) MarshalToSizedBuffer ¶
func (m *MsgWithdrawReimbursement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawReimbursement) ProtoMessage ¶
func (*MsgWithdrawReimbursement) ProtoMessage()
func (*MsgWithdrawReimbursement) Reset ¶
func (m *MsgWithdrawReimbursement) Reset()
func (MsgWithdrawReimbursement) Route ¶
func (msg MsgWithdrawReimbursement) Route() string
Route implements the sdk.Msg interface.
func (*MsgWithdrawReimbursement) Size ¶
func (m *MsgWithdrawReimbursement) Size() (n int)
func (*MsgWithdrawReimbursement) String ¶
func (m *MsgWithdrawReimbursement) String() string
func (MsgWithdrawReimbursement) Type ¶
func (msg MsgWithdrawReimbursement) Type() string
Type implements the sdk.Msg interface.
func (*MsgWithdrawReimbursement) Unmarshal ¶
func (m *MsgWithdrawReimbursement) Unmarshal(dAtA []byte) error
func (MsgWithdrawReimbursement) ValidateBasic ¶
func (msg MsgWithdrawReimbursement) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgWithdrawReimbursement) XXX_DiscardUnknown ¶
func (m *MsgWithdrawReimbursement) XXX_DiscardUnknown()
func (*MsgWithdrawReimbursement) XXX_Marshal ¶
func (m *MsgWithdrawReimbursement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawReimbursement) XXX_Merge ¶
func (m *MsgWithdrawReimbursement) XXX_Merge(src proto.Message)
func (*MsgWithdrawReimbursement) XXX_Size ¶
func (m *MsgWithdrawReimbursement) XXX_Size() int
func (*MsgWithdrawReimbursement) XXX_Unmarshal ¶
func (m *MsgWithdrawReimbursement) XXX_Unmarshal(b []byte) error
type MsgWithdrawReimbursementResponse ¶
type MsgWithdrawReimbursementResponse struct { }
func (*MsgWithdrawReimbursementResponse) Descriptor ¶
func (*MsgWithdrawReimbursementResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawReimbursementResponse) Marshal ¶
func (m *MsgWithdrawReimbursementResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawReimbursementResponse) MarshalTo ¶
func (m *MsgWithdrawReimbursementResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawReimbursementResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawReimbursementResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawReimbursementResponse) ProtoMessage ¶
func (*MsgWithdrawReimbursementResponse) ProtoMessage()
func (*MsgWithdrawReimbursementResponse) Reset ¶
func (m *MsgWithdrawReimbursementResponse) Reset()
func (*MsgWithdrawReimbursementResponse) Size ¶
func (m *MsgWithdrawReimbursementResponse) Size() (n int)
func (*MsgWithdrawReimbursementResponse) String ¶
func (m *MsgWithdrawReimbursementResponse) String() string
func (*MsgWithdrawReimbursementResponse) Unmarshal ¶
func (m *MsgWithdrawReimbursementResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawReimbursementResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawReimbursementResponse) XXX_DiscardUnknown()
func (*MsgWithdrawReimbursementResponse) XXX_Marshal ¶
func (m *MsgWithdrawReimbursementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawReimbursementResponse) XXX_Merge ¶
func (m *MsgWithdrawReimbursementResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawReimbursementResponse) XXX_Size ¶
func (m *MsgWithdrawReimbursementResponse) XXX_Size() int
func (*MsgWithdrawReimbursementResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawReimbursementResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawRewards ¶
type MsgWithdrawRewards struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"`
}
MsgWithdrawForeignRewards defines attribute of withdraw rewards transaction.
func NewMsgWithdrawRewards ¶
func NewMsgWithdrawRewards(sender sdk.AccAddress) *MsgWithdrawRewards
NewMsgWithdrawRewards creates a new MsgWithdrawRewards instance.
func (*MsgWithdrawRewards) Descriptor ¶
func (*MsgWithdrawRewards) Descriptor() ([]byte, []int)
func (MsgWithdrawRewards) GetSignBytes ¶
func (msg MsgWithdrawRewards) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgWithdrawRewards) GetSigners ¶
func (msg MsgWithdrawRewards) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgWithdrawRewards) Marshal ¶
func (m *MsgWithdrawRewards) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawRewards) MarshalTo ¶
func (m *MsgWithdrawRewards) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawRewards) MarshalToSizedBuffer ¶
func (m *MsgWithdrawRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawRewards) ProtoMessage ¶
func (*MsgWithdrawRewards) ProtoMessage()
func (*MsgWithdrawRewards) Reset ¶
func (m *MsgWithdrawRewards) Reset()
func (MsgWithdrawRewards) Route ¶
func (msg MsgWithdrawRewards) Route() string
Route implements the sdk.Msg interface.
func (*MsgWithdrawRewards) Size ¶
func (m *MsgWithdrawRewards) Size() (n int)
func (*MsgWithdrawRewards) String ¶
func (m *MsgWithdrawRewards) String() string
func (MsgWithdrawRewards) Type ¶
func (msg MsgWithdrawRewards) Type() string
Type implements the sdk.Msg interface.
func (*MsgWithdrawRewards) Unmarshal ¶
func (m *MsgWithdrawRewards) Unmarshal(dAtA []byte) error
func (MsgWithdrawRewards) ValidateBasic ¶
func (msg MsgWithdrawRewards) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgWithdrawRewards) XXX_DiscardUnknown ¶
func (m *MsgWithdrawRewards) XXX_DiscardUnknown()
func (*MsgWithdrawRewards) XXX_Marshal ¶
func (m *MsgWithdrawRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawRewards) XXX_Merge ¶
func (m *MsgWithdrawRewards) XXX_Merge(src proto.Message)
func (*MsgWithdrawRewards) XXX_Size ¶
func (m *MsgWithdrawRewards) XXX_Size() int
func (*MsgWithdrawRewards) XXX_Unmarshal ¶
func (m *MsgWithdrawRewards) XXX_Unmarshal(b []byte) error
type MsgWithdrawRewardsResponse ¶
type MsgWithdrawRewardsResponse struct { }
func (*MsgWithdrawRewardsResponse) Descriptor ¶
func (*MsgWithdrawRewardsResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawRewardsResponse) Marshal ¶
func (m *MsgWithdrawRewardsResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawRewardsResponse) MarshalTo ¶
func (m *MsgWithdrawRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawRewardsResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawRewardsResponse) ProtoMessage ¶
func (*MsgWithdrawRewardsResponse) ProtoMessage()
func (*MsgWithdrawRewardsResponse) Reset ¶
func (m *MsgWithdrawRewardsResponse) Reset()
func (*MsgWithdrawRewardsResponse) Size ¶
func (m *MsgWithdrawRewardsResponse) Size() (n int)
func (*MsgWithdrawRewardsResponse) String ¶
func (m *MsgWithdrawRewardsResponse) String() string
func (*MsgWithdrawRewardsResponse) Unmarshal ¶
func (m *MsgWithdrawRewardsResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawRewardsResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawRewardsResponse) XXX_DiscardUnknown()
func (*MsgWithdrawRewardsResponse) XXX_Marshal ¶
func (m *MsgWithdrawRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawRewardsResponse) XXX_Merge ¶
func (m *MsgWithdrawRewardsResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawRewardsResponse) XXX_Size ¶
func (m *MsgWithdrawRewardsResponse) XXX_Size() int
func (*MsgWithdrawRewardsResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawRewardsResponse) XXX_Unmarshal(b []byte) error
type OriginalStaking ¶
type OriginalStaking struct { PurchaseId uint64 `protobuf:"varint,1,opt,name=purchase_id,json=purchaseId,proto3" json:"purchase_id,omitempty" yaml:"purchase_id"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount" yaml:"amount"` }
func NewOriginalStaking ¶
func NewOriginalStaking(purchaseID uint64, amount sdk.Int) OriginalStaking
func (*OriginalStaking) Descriptor ¶
func (*OriginalStaking) Descriptor() ([]byte, []int)
func (*OriginalStaking) Marshal ¶
func (m *OriginalStaking) Marshal() (dAtA []byte, err error)
func (*OriginalStaking) MarshalToSizedBuffer ¶
func (m *OriginalStaking) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OriginalStaking) ProtoMessage ¶
func (*OriginalStaking) ProtoMessage()
func (*OriginalStaking) Reset ¶
func (m *OriginalStaking) Reset()
func (*OriginalStaking) Size ¶
func (m *OriginalStaking) Size() (n int)
func (*OriginalStaking) String ¶
func (m *OriginalStaking) String() string
func (*OriginalStaking) Unmarshal ¶
func (m *OriginalStaking) Unmarshal(dAtA []byte) error
func (*OriginalStaking) XXX_DiscardUnknown ¶
func (m *OriginalStaking) XXX_DiscardUnknown()
func (*OriginalStaking) XXX_Marshal ¶
func (m *OriginalStaking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OriginalStaking) XXX_Merge ¶
func (m *OriginalStaking) XXX_Merge(src proto.Message)
func (*OriginalStaking) XXX_Size ¶
func (m *OriginalStaking) XXX_Size() int
func (*OriginalStaking) XXX_Unmarshal ¶
func (m *OriginalStaking) XXX_Unmarshal(b []byte) error
type ParamSubspace ¶
type ParamSubspace interface { Get(ctx sdk.Context, key []byte, ptr interface{}) Set(ctx sdk.Context, key []byte, param interface{}) }
ParamSubspace defines the expected Subspace interface for parameters (noalias)
type Pool ¶
type Pool struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` Sponsor string `protobuf:"bytes,3,opt,name=sponsor,proto3" json:"sponsor,omitempty" yaml:"sponsor"` SponsorAddr string `protobuf:"bytes,4,opt,name=sponsor_addr,json=sponsorAddr,proto3" json:"sponsor_addr,omitempty" yaml:"sponsor_addr"` ShieldLimit github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */ Active bool `protobuf:"varint,6,opt,name=active,proto3" json:"active,omitempty" yaml:"active"` Shield github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=shield,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"shield" yaml:"shield"` }
Pool contains a shield project pool's data.
func NewPool ¶
func NewPool(id uint64, description, sponsor string, sponsorAddress sdk.AccAddress, shieldLimit sdk.Int, shield sdk.Int) Pool
NewPool creates a new project pool.
func (*Pool) Descriptor ¶
func (*Pool) ProtoMessage ¶
func (*Pool) ProtoMessage()
func (*Pool) XXX_DiscardUnknown ¶
func (m *Pool) XXX_DiscardUnknown()
func (*Pool) XXX_Unmarshal ¶
type PoolParams ¶
type PoolParams struct { ProtectionPeriod time.Duration `` /* 146-byte string literal not displayed */ ShieldFeesRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 179-byte string literal not displayed */ WithdrawPeriod time.Duration `` /* 138-byte string literal not displayed */ PoolShieldLimit github_com_cosmos_cosmos_sdk_types.Dec `` /* 183-byte string literal not displayed */ MinShieldPurchase github_com_cosmos_cosmos_sdk_types.Coins `` /* 168-byte string literal not displayed */ }
PoolParams defines the parameters for the shield pool.
func DefaultPoolParams ¶
func DefaultPoolParams() PoolParams
DefaultPoolParams returns a default PoolParams instance.
func NewPoolParams ¶
func NewPoolParams(protectionPeriod, withdrawPeriod time.Duration, shieldFeesRate sdk.Dec, poolShieldLimit sdk.Dec, minShieldPurchase sdk.Coins) PoolParams
NewPoolParams creates a new PoolParams object.
func (*PoolParams) Descriptor ¶
func (*PoolParams) Descriptor() ([]byte, []int)
func (*PoolParams) Marshal ¶
func (m *PoolParams) Marshal() (dAtA []byte, err error)
func (*PoolParams) MarshalToSizedBuffer ¶
func (m *PoolParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolParams) ProtoMessage ¶
func (*PoolParams) ProtoMessage()
func (*PoolParams) Reset ¶
func (m *PoolParams) Reset()
func (*PoolParams) Size ¶
func (m *PoolParams) Size() (n int)
func (*PoolParams) String ¶
func (m *PoolParams) String() string
func (*PoolParams) Unmarshal ¶
func (m *PoolParams) Unmarshal(dAtA []byte) error
func (*PoolParams) XXX_DiscardUnknown ¶
func (m *PoolParams) XXX_DiscardUnknown()
func (*PoolParams) XXX_Marshal ¶
func (m *PoolParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolParams) XXX_Merge ¶
func (m *PoolParams) XXX_Merge(src proto.Message)
func (*PoolParams) XXX_Size ¶
func (m *PoolParams) XXX_Size() int
func (*PoolParams) XXX_Unmarshal ¶
func (m *PoolParams) XXX_Unmarshal(b []byte) error
type PoolPurchaser ¶
type PoolPurchaser struct { // PoolID is the id of the shield pool. PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` // Purchaser is the chain address of the purchaser. Purchaser string `protobuf:"bytes,2,opt,name=purchaser,proto3" json:"purchaser,omitempty" yaml:"purchaser"` }
PoolPurchase is a pair of pool id and purchaser.
func (*PoolPurchaser) Descriptor ¶
func (*PoolPurchaser) Descriptor() ([]byte, []int)
func (*PoolPurchaser) Marshal ¶
func (m *PoolPurchaser) Marshal() (dAtA []byte, err error)
func (*PoolPurchaser) MarshalToSizedBuffer ¶
func (m *PoolPurchaser) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolPurchaser) ProtoMessage ¶
func (*PoolPurchaser) ProtoMessage()
func (*PoolPurchaser) Reset ¶
func (m *PoolPurchaser) Reset()
func (*PoolPurchaser) Size ¶
func (m *PoolPurchaser) Size() (n int)
func (*PoolPurchaser) String ¶
func (m *PoolPurchaser) String() string
func (*PoolPurchaser) Unmarshal ¶
func (m *PoolPurchaser) Unmarshal(dAtA []byte) error
func (*PoolPurchaser) XXX_DiscardUnknown ¶
func (m *PoolPurchaser) XXX_DiscardUnknown()
func (*PoolPurchaser) XXX_Marshal ¶
func (m *PoolPurchaser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolPurchaser) XXX_Merge ¶
func (m *PoolPurchaser) XXX_Merge(src proto.Message)
func (*PoolPurchaser) XXX_Size ¶
func (m *PoolPurchaser) XXX_Size() int
func (*PoolPurchaser) XXX_Unmarshal ¶
func (m *PoolPurchaser) XXX_Unmarshal(b []byte) error
type PoolPurchaserPairs ¶
type PoolPurchaserPairs struct {
Pairs []PoolPurchaser `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs"`
}
PoolPurchaserPairs defines an array of PoolPurchaser objects.
func (*PoolPurchaserPairs) Descriptor ¶
func (*PoolPurchaserPairs) Descriptor() ([]byte, []int)
func (*PoolPurchaserPairs) GetPairs ¶
func (m *PoolPurchaserPairs) GetPairs() []PoolPurchaser
func (*PoolPurchaserPairs) Marshal ¶
func (m *PoolPurchaserPairs) Marshal() (dAtA []byte, err error)
func (*PoolPurchaserPairs) MarshalTo ¶
func (m *PoolPurchaserPairs) MarshalTo(dAtA []byte) (int, error)
func (*PoolPurchaserPairs) MarshalToSizedBuffer ¶
func (m *PoolPurchaserPairs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolPurchaserPairs) ProtoMessage ¶
func (*PoolPurchaserPairs) ProtoMessage()
func (*PoolPurchaserPairs) Reset ¶
func (m *PoolPurchaserPairs) Reset()
func (*PoolPurchaserPairs) Size ¶
func (m *PoolPurchaserPairs) Size() (n int)
func (*PoolPurchaserPairs) String ¶
func (m *PoolPurchaserPairs) String() string
func (*PoolPurchaserPairs) Unmarshal ¶
func (m *PoolPurchaserPairs) Unmarshal(dAtA []byte) error
func (*PoolPurchaserPairs) XXX_DiscardUnknown ¶
func (m *PoolPurchaserPairs) XXX_DiscardUnknown()
func (*PoolPurchaserPairs) XXX_Marshal ¶
func (m *PoolPurchaserPairs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolPurchaserPairs) XXX_Merge ¶
func (m *PoolPurchaserPairs) XXX_Merge(src proto.Message)
func (*PoolPurchaserPairs) XXX_Size ¶
func (m *PoolPurchaserPairs) XXX_Size() int
func (*PoolPurchaserPairs) XXX_Unmarshal ¶
func (m *PoolPurchaserPairs) XXX_Unmarshal(b []byte) error
type ProposalIDReimbursementPair ¶
type ProposalIDReimbursementPair struct { ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty" yaml:"proposal_id"` Reimbursement Reimbursement `protobuf:"bytes,2,opt,name=reimbursement,proto3" json:"reimbursement" yaml:"reimbursement"` }
func NewProposalIDReimbursementPair ¶
func NewProposalIDReimbursementPair(proposalID uint64, reimbursement Reimbursement) ProposalIDReimbursementPair
NewProposalIDReimbursementPair returns a new ProposalIDReimbursementPair instance.
func (*ProposalIDReimbursementPair) Descriptor ¶
func (*ProposalIDReimbursementPair) Descriptor() ([]byte, []int)
func (*ProposalIDReimbursementPair) Marshal ¶
func (m *ProposalIDReimbursementPair) Marshal() (dAtA []byte, err error)
func (*ProposalIDReimbursementPair) MarshalTo ¶
func (m *ProposalIDReimbursementPair) MarshalTo(dAtA []byte) (int, error)
func (*ProposalIDReimbursementPair) MarshalToSizedBuffer ¶
func (m *ProposalIDReimbursementPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalIDReimbursementPair) ProtoMessage ¶
func (*ProposalIDReimbursementPair) ProtoMessage()
func (*ProposalIDReimbursementPair) Reset ¶
func (m *ProposalIDReimbursementPair) Reset()
func (*ProposalIDReimbursementPair) Size ¶
func (m *ProposalIDReimbursementPair) Size() (n int)
func (*ProposalIDReimbursementPair) String ¶
func (m *ProposalIDReimbursementPair) String() string
func (*ProposalIDReimbursementPair) Unmarshal ¶
func (m *ProposalIDReimbursementPair) Unmarshal(dAtA []byte) error
func (*ProposalIDReimbursementPair) XXX_DiscardUnknown ¶
func (m *ProposalIDReimbursementPair) XXX_DiscardUnknown()
func (*ProposalIDReimbursementPair) XXX_Marshal ¶
func (m *ProposalIDReimbursementPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalIDReimbursementPair) XXX_Merge ¶
func (m *ProposalIDReimbursementPair) XXX_Merge(src proto.Message)
func (*ProposalIDReimbursementPair) XXX_Size ¶
func (m *ProposalIDReimbursementPair) XXX_Size() int
func (*ProposalIDReimbursementPair) XXX_Unmarshal ¶
func (m *ProposalIDReimbursementPair) XXX_Unmarshal(b []byte) error
type Provider ¶
type Provider struct { // Address is the address of the provider. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` // DelegationBonded is the amount of bonded delegation. DelegationBonded github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */ // Collateral is amount of all collaterals for the provider, including // those in withdraw queue but excluding those currently locked, in all // pools. Collateral github_com_cosmos_cosmos_sdk_types.Int `` /* 131-byte string literal not displayed */ // TotalLocked is the amount locked for pending claims. TotalLocked github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */ // Withdrawing is the amount of collateral in withdraw queues. Withdrawing github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */ // Rewards is the pooling rewards to be collected. Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,6,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"rewards"` }
Provider tracks total delegation, total collateral, and rewards of a provider.
func NewProvider ¶
func NewProvider(addr sdk.AccAddress) Provider
NewProvider creates a new provider object.
func (*Provider) Descriptor ¶
func (*Provider) MarshalToSizedBuffer ¶
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) XXX_DiscardUnknown ¶
func (m *Provider) XXX_DiscardUnknown()
func (*Provider) XXX_Marshal ¶
func (*Provider) XXX_Unmarshal ¶
type Purchase ¶
type Purchase struct { // PurchaseID is the purchase_id. PurchaseId uint64 `protobuf:"varint,1,opt,name=purchase_id,json=purchaseId,proto3" json:"purchase_id,omitempty" yaml:"purchase_id"` // ProtectionEndTime is the time when the protection of the shield ends. ProtectionEndTime time.Time `` /* 139-byte string literal not displayed */ // DeletionTime is the time when the purchase should be deleted. DeletionTime time.Time `protobuf:"bytes,3,opt,name=deletion_time,json=deletionTime,proto3,stdtime" json:"deletion_time" yaml:"deletion_time"` // Description is the information about the protected asset. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` // Shield is the unused amount of shield purchased. Shield github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=shield,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"shield" yaml:"shield"` // ServiceFees is the native service fee paid by this purchase ServiceFees github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 141-byte string literal not displayed */ }
Purchase record an individual purchase.
func NewPurchase ¶
func NewPurchase(purchaseID uint64, protectionEndTime, deletionTime time.Time, description string, shield sdk.Int, serviceFees sdk.DecCoins) Purchase
NewPurchase creates a new purchase object.
func (*Purchase) Descriptor ¶
func (*Purchase) MarshalToSizedBuffer ¶
func (*Purchase) ProtoMessage ¶
func (*Purchase) ProtoMessage()
func (*Purchase) XXX_DiscardUnknown ¶
func (m *Purchase) XXX_DiscardUnknown()
func (*Purchase) XXX_Marshal ¶
func (*Purchase) XXX_Unmarshal ¶
type PurchaseList ¶
type PurchaseList struct { // PoolID is the id of the shield of the purchase. PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` // Purchaser is the address making the purchase. Purchaser string `protobuf:"bytes,2,opt,name=purchaser,proto3" json:"purchaser,omitempty" yaml:"purchaser"` // Entries stores all purchases by the purchaser in the pool. Entries []Purchase `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries" yaml:"entries"` }
PurchaseList is a collection of purchase.
func NewPurchaseList ¶
func NewPurchaseList(poolID uint64, purchaser sdk.AccAddress, purchases []Purchase) PurchaseList
NewPurchaseList creates a new purchase list.
func (*PurchaseList) Descriptor ¶
func (*PurchaseList) Descriptor() ([]byte, []int)
func (*PurchaseList) Marshal ¶
func (m *PurchaseList) Marshal() (dAtA []byte, err error)
func (*PurchaseList) MarshalToSizedBuffer ¶
func (m *PurchaseList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PurchaseList) ProtoMessage ¶
func (*PurchaseList) ProtoMessage()
func (*PurchaseList) Reset ¶
func (m *PurchaseList) Reset()
func (*PurchaseList) Size ¶
func (m *PurchaseList) Size() (n int)
func (*PurchaseList) String ¶
func (m *PurchaseList) String() string
func (*PurchaseList) Unmarshal ¶
func (m *PurchaseList) Unmarshal(dAtA []byte) error
func (*PurchaseList) XXX_DiscardUnknown ¶
func (m *PurchaseList) XXX_DiscardUnknown()
func (*PurchaseList) XXX_Marshal ¶
func (m *PurchaseList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PurchaseList) XXX_Merge ¶
func (m *PurchaseList) XXX_Merge(src proto.Message)
func (*PurchaseList) XXX_Size ¶
func (m *PurchaseList) XXX_Size() int
func (*PurchaseList) XXX_Unmarshal ¶
func (m *PurchaseList) XXX_Unmarshal(b []byte) error
type QueryClaimParamsRequest ¶
type QueryClaimParamsRequest struct { }
func (*QueryClaimParamsRequest) Descriptor ¶
func (*QueryClaimParamsRequest) Descriptor() ([]byte, []int)
func (*QueryClaimParamsRequest) Marshal ¶
func (m *QueryClaimParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryClaimParamsRequest) MarshalTo ¶
func (m *QueryClaimParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryClaimParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimParamsRequest) ProtoMessage ¶
func (*QueryClaimParamsRequest) ProtoMessage()
func (*QueryClaimParamsRequest) Reset ¶
func (m *QueryClaimParamsRequest) Reset()
func (*QueryClaimParamsRequest) Size ¶
func (m *QueryClaimParamsRequest) Size() (n int)
func (*QueryClaimParamsRequest) String ¶
func (m *QueryClaimParamsRequest) String() string
func (*QueryClaimParamsRequest) Unmarshal ¶
func (m *QueryClaimParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryClaimParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryClaimParamsRequest) XXX_DiscardUnknown()
func (*QueryClaimParamsRequest) XXX_Marshal ¶
func (m *QueryClaimParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimParamsRequest) XXX_Merge ¶
func (m *QueryClaimParamsRequest) XXX_Merge(src proto.Message)
func (*QueryClaimParamsRequest) XXX_Size ¶
func (m *QueryClaimParamsRequest) XXX_Size() int
func (*QueryClaimParamsRequest) XXX_Unmarshal ¶
func (m *QueryClaimParamsRequest) XXX_Unmarshal(b []byte) error
type QueryClaimParamsResponse ¶
type QueryClaimParamsResponse struct {
Params ClaimProposalParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*QueryClaimParamsResponse) Descriptor ¶
func (*QueryClaimParamsResponse) Descriptor() ([]byte, []int)
func (*QueryClaimParamsResponse) GetParams ¶
func (m *QueryClaimParamsResponse) GetParams() ClaimProposalParams
func (*QueryClaimParamsResponse) Marshal ¶
func (m *QueryClaimParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryClaimParamsResponse) MarshalTo ¶
func (m *QueryClaimParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryClaimParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimParamsResponse) ProtoMessage ¶
func (*QueryClaimParamsResponse) ProtoMessage()
func (*QueryClaimParamsResponse) Reset ¶
func (m *QueryClaimParamsResponse) Reset()
func (*QueryClaimParamsResponse) Size ¶
func (m *QueryClaimParamsResponse) Size() (n int)
func (*QueryClaimParamsResponse) String ¶
func (m *QueryClaimParamsResponse) String() string
func (*QueryClaimParamsResponse) Unmarshal ¶
func (m *QueryClaimParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryClaimParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryClaimParamsResponse) XXX_DiscardUnknown()
func (*QueryClaimParamsResponse) XXX_Marshal ¶
func (m *QueryClaimParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimParamsResponse) XXX_Merge ¶
func (m *QueryClaimParamsResponse) XXX_Merge(src proto.Message)
func (*QueryClaimParamsResponse) XXX_Size ¶
func (m *QueryClaimParamsResponse) XXX_Size() int
func (*QueryClaimParamsResponse) XXX_Unmarshal ¶
func (m *QueryClaimParamsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { Pool(ctx context.Context, in *QueryPoolRequest, opts ...grpc.CallOption) (*QueryPoolResponse, error) Sponsor(ctx context.Context, in *QuerySponsorRequest, opts ...grpc.CallOption) (*QuerySponsorResponse, error) Pools(ctx context.Context, in *QueryPoolsRequest, opts ...grpc.CallOption) (*QueryPoolsResponse, error) PoolPurchaseLists(ctx context.Context, in *QueryPoolPurchaseListsRequest, opts ...grpc.CallOption) (*QueryPurchaseListsResponse, error) PurchaseLists(ctx context.Context, in *QueryPurchaseListsRequest, opts ...grpc.CallOption) (*QueryPurchaseListsResponse, error) PurchaseList(ctx context.Context, in *QueryPurchaseListRequest, opts ...grpc.CallOption) (*QueryPurchaseListResponse, error) Purchases(ctx context.Context, in *QueryPurchasesRequest, opts ...grpc.CallOption) (*QueryPurchasesResponse, error) Provider(ctx context.Context, in *QueryProviderRequest, opts ...grpc.CallOption) (*QueryProviderResponse, error) Providers(ctx context.Context, in *QueryProvidersRequest, opts ...grpc.CallOption) (*QueryProvidersResponse, error) PoolParams(ctx context.Context, in *QueryPoolParamsRequest, opts ...grpc.CallOption) (*QueryPoolParamsResponse, error) ClaimParams(ctx context.Context, in *QueryClaimParamsRequest, opts ...grpc.CallOption) (*QueryClaimParamsResponse, error) DistrParams(ctx context.Context, in *QueryDistrParamsRequest, opts ...grpc.CallOption) (*QueryDistrParamsResponse, error) ShieldStatus(ctx context.Context, in *QueryShieldStatusRequest, opts ...grpc.CallOption) (*QueryShieldStatusResponse, error) ShieldStaking(ctx context.Context, in *QueryShieldStakingRequest, opts ...grpc.CallOption) (*QueryShieldStakingResponse, error) ShieldStakingRate(ctx context.Context, in *QueryShieldStakingRateRequest, opts ...grpc.CallOption) (*QueryShieldStakingRateResponse, error) Reimbursement(ctx context.Context, in *QueryReimbursementRequest, opts ...grpc.CallOption) (*QueryReimbursementResponse, error) Reimbursements(ctx context.Context, in *QueryReimbursementsRequest, opts ...grpc.CallOption) (*QueryReimbursementsResponse, 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 QueryDistrParamsRequest ¶
type QueryDistrParamsRequest struct { }
func (*QueryDistrParamsRequest) Descriptor ¶
func (*QueryDistrParamsRequest) Descriptor() ([]byte, []int)
func (*QueryDistrParamsRequest) Marshal ¶
func (m *QueryDistrParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDistrParamsRequest) MarshalTo ¶
func (m *QueryDistrParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDistrParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryDistrParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDistrParamsRequest) ProtoMessage ¶
func (*QueryDistrParamsRequest) ProtoMessage()
func (*QueryDistrParamsRequest) Reset ¶
func (m *QueryDistrParamsRequest) Reset()
func (*QueryDistrParamsRequest) Size ¶
func (m *QueryDistrParamsRequest) Size() (n int)
func (*QueryDistrParamsRequest) String ¶
func (m *QueryDistrParamsRequest) String() string
func (*QueryDistrParamsRequest) Unmarshal ¶
func (m *QueryDistrParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryDistrParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryDistrParamsRequest) XXX_DiscardUnknown()
func (*QueryDistrParamsRequest) XXX_Marshal ¶
func (m *QueryDistrParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDistrParamsRequest) XXX_Merge ¶
func (m *QueryDistrParamsRequest) XXX_Merge(src proto.Message)
func (*QueryDistrParamsRequest) XXX_Size ¶
func (m *QueryDistrParamsRequest) XXX_Size() int
func (*QueryDistrParamsRequest) XXX_Unmarshal ¶
func (m *QueryDistrParamsRequest) XXX_Unmarshal(b []byte) error
type QueryDistrParamsResponse ¶
type QueryDistrParamsResponse struct {
Params DistributionParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*QueryDistrParamsResponse) Descriptor ¶
func (*QueryDistrParamsResponse) Descriptor() ([]byte, []int)
func (*QueryDistrParamsResponse) GetParams ¶
func (m *QueryDistrParamsResponse) GetParams() DistributionParams
func (*QueryDistrParamsResponse) Marshal ¶
func (m *QueryDistrParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDistrParamsResponse) MarshalTo ¶
func (m *QueryDistrParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDistrParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryDistrParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDistrParamsResponse) ProtoMessage ¶
func (*QueryDistrParamsResponse) ProtoMessage()
func (*QueryDistrParamsResponse) Reset ¶
func (m *QueryDistrParamsResponse) Reset()
func (*QueryDistrParamsResponse) Size ¶
func (m *QueryDistrParamsResponse) Size() (n int)
func (*QueryDistrParamsResponse) String ¶
func (m *QueryDistrParamsResponse) String() string
func (*QueryDistrParamsResponse) Unmarshal ¶
func (m *QueryDistrParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryDistrParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryDistrParamsResponse) XXX_DiscardUnknown()
func (*QueryDistrParamsResponse) XXX_Marshal ¶
func (m *QueryDistrParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDistrParamsResponse) XXX_Merge ¶
func (m *QueryDistrParamsResponse) XXX_Merge(src proto.Message)
func (*QueryDistrParamsResponse) XXX_Size ¶
func (m *QueryDistrParamsResponse) XXX_Size() int
func (*QueryDistrParamsResponse) XXX_Unmarshal ¶
func (m *QueryDistrParamsResponse) XXX_Unmarshal(b []byte) error
type QueryPaginationParams ¶
QueryPaginationParams provides basic pagination parameters for queries in shield module.
func NewQueryPaginationParams ¶
func NewQueryPaginationParams(page, limit int) QueryPaginationParams
NewQueryPaginationParams creates new instance of the QueryPaginationParams.
type QueryPoolParamsRequest ¶
type QueryPoolParamsRequest struct { }
func (*QueryPoolParamsRequest) Descriptor ¶
func (*QueryPoolParamsRequest) Descriptor() ([]byte, []int)
func (*QueryPoolParamsRequest) Marshal ¶
func (m *QueryPoolParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolParamsRequest) MarshalTo ¶
func (m *QueryPoolParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolParamsRequest) ProtoMessage ¶
func (*QueryPoolParamsRequest) ProtoMessage()
func (*QueryPoolParamsRequest) Reset ¶
func (m *QueryPoolParamsRequest) Reset()
func (*QueryPoolParamsRequest) Size ¶
func (m *QueryPoolParamsRequest) Size() (n int)
func (*QueryPoolParamsRequest) String ¶
func (m *QueryPoolParamsRequest) String() string
func (*QueryPoolParamsRequest) Unmarshal ¶
func (m *QueryPoolParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolParamsRequest) XXX_DiscardUnknown()
func (*QueryPoolParamsRequest) XXX_Marshal ¶
func (m *QueryPoolParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolParamsRequest) XXX_Merge ¶
func (m *QueryPoolParamsRequest) XXX_Merge(src proto.Message)
func (*QueryPoolParamsRequest) XXX_Size ¶
func (m *QueryPoolParamsRequest) XXX_Size() int
func (*QueryPoolParamsRequest) XXX_Unmarshal ¶
func (m *QueryPoolParamsRequest) XXX_Unmarshal(b []byte) error
type QueryPoolParamsResponse ¶
type QueryPoolParamsResponse struct {
Params PoolParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*QueryPoolParamsResponse) Descriptor ¶
func (*QueryPoolParamsResponse) Descriptor() ([]byte, []int)
func (*QueryPoolParamsResponse) GetParams ¶
func (m *QueryPoolParamsResponse) GetParams() PoolParams
func (*QueryPoolParamsResponse) Marshal ¶
func (m *QueryPoolParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryPoolParamsResponse) MarshalTo ¶
func (m *QueryPoolParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryPoolParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolParamsResponse) ProtoMessage ¶
func (*QueryPoolParamsResponse) ProtoMessage()
func (*QueryPoolParamsResponse) Reset ¶
func (m *QueryPoolParamsResponse) Reset()
func (*QueryPoolParamsResponse) Size ¶
func (m *QueryPoolParamsResponse) Size() (n int)
func (*QueryPoolParamsResponse) String ¶
func (m *QueryPoolParamsResponse) String() string
func (*QueryPoolParamsResponse) Unmarshal ¶
func (m *QueryPoolParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryPoolParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryPoolParamsResponse) XXX_DiscardUnknown()
func (*QueryPoolParamsResponse) XXX_Marshal ¶
func (m *QueryPoolParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolParamsResponse) XXX_Merge ¶
func (m *QueryPoolParamsResponse) XXX_Merge(src proto.Message)
func (*QueryPoolParamsResponse) XXX_Size ¶
func (m *QueryPoolParamsResponse) XXX_Size() int
func (*QueryPoolParamsResponse) XXX_Unmarshal ¶
func (m *QueryPoolParamsResponse) XXX_Unmarshal(b []byte) error
type QueryPoolPurchaseListsRequest ¶
type QueryPoolPurchaseListsRequest struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}
func (*QueryPoolPurchaseListsRequest) Descriptor ¶
func (*QueryPoolPurchaseListsRequest) Descriptor() ([]byte, []int)
func (*QueryPoolPurchaseListsRequest) GetPoolId ¶
func (m *QueryPoolPurchaseListsRequest) GetPoolId() uint64
func (*QueryPoolPurchaseListsRequest) Marshal ¶
func (m *QueryPoolPurchaseListsRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolPurchaseListsRequest) MarshalTo ¶
func (m *QueryPoolPurchaseListsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolPurchaseListsRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolPurchaseListsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolPurchaseListsRequest) ProtoMessage ¶
func (*QueryPoolPurchaseListsRequest) ProtoMessage()
func (*QueryPoolPurchaseListsRequest) Reset ¶
func (m *QueryPoolPurchaseListsRequest) Reset()
func (*QueryPoolPurchaseListsRequest) Size ¶
func (m *QueryPoolPurchaseListsRequest) Size() (n int)
func (*QueryPoolPurchaseListsRequest) String ¶
func (m *QueryPoolPurchaseListsRequest) String() string
func (*QueryPoolPurchaseListsRequest) Unmarshal ¶
func (m *QueryPoolPurchaseListsRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolPurchaseListsRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolPurchaseListsRequest) XXX_DiscardUnknown()
func (*QueryPoolPurchaseListsRequest) XXX_Marshal ¶
func (m *QueryPoolPurchaseListsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolPurchaseListsRequest) XXX_Merge ¶
func (m *QueryPoolPurchaseListsRequest) XXX_Merge(src proto.Message)
func (*QueryPoolPurchaseListsRequest) XXX_Size ¶
func (m *QueryPoolPurchaseListsRequest) XXX_Size() int
func (*QueryPoolPurchaseListsRequest) XXX_Unmarshal ¶
func (m *QueryPoolPurchaseListsRequest) XXX_Unmarshal(b []byte) error
type QueryPoolRequest ¶
type QueryPoolRequest struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}
func (*QueryPoolRequest) Descriptor ¶
func (*QueryPoolRequest) Descriptor() ([]byte, []int)
func (*QueryPoolRequest) GetPoolId ¶
func (m *QueryPoolRequest) GetPoolId() uint64
func (*QueryPoolRequest) Marshal ¶
func (m *QueryPoolRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolRequest) ProtoMessage ¶
func (*QueryPoolRequest) ProtoMessage()
func (*QueryPoolRequest) Reset ¶
func (m *QueryPoolRequest) Reset()
func (*QueryPoolRequest) Size ¶
func (m *QueryPoolRequest) Size() (n int)
func (*QueryPoolRequest) String ¶
func (m *QueryPoolRequest) String() string
func (*QueryPoolRequest) Unmarshal ¶
func (m *QueryPoolRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolRequest) XXX_DiscardUnknown()
func (*QueryPoolRequest) XXX_Marshal ¶
func (m *QueryPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolRequest) XXX_Merge ¶
func (m *QueryPoolRequest) XXX_Merge(src proto.Message)
func (*QueryPoolRequest) XXX_Size ¶
func (m *QueryPoolRequest) XXX_Size() int
func (*QueryPoolRequest) XXX_Unmarshal ¶
func (m *QueryPoolRequest) XXX_Unmarshal(b []byte) error
type QueryPoolResponse ¶
type QueryPoolResponse struct {
Pool Pool `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"`
}
func (*QueryPoolResponse) Descriptor ¶
func (*QueryPoolResponse) Descriptor() ([]byte, []int)
func (*QueryPoolResponse) GetPool ¶
func (m *QueryPoolResponse) GetPool() Pool
func (*QueryPoolResponse) Marshal ¶
func (m *QueryPoolResponse) Marshal() (dAtA []byte, err error)
func (*QueryPoolResponse) MarshalTo ¶
func (m *QueryPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolResponse) MarshalToSizedBuffer ¶
func (m *QueryPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolResponse) ProtoMessage ¶
func (*QueryPoolResponse) ProtoMessage()
func (*QueryPoolResponse) Reset ¶
func (m *QueryPoolResponse) Reset()
func (*QueryPoolResponse) Size ¶
func (m *QueryPoolResponse) Size() (n int)
func (*QueryPoolResponse) String ¶
func (m *QueryPoolResponse) String() string
func (*QueryPoolResponse) Unmarshal ¶
func (m *QueryPoolResponse) Unmarshal(dAtA []byte) error
func (*QueryPoolResponse) XXX_DiscardUnknown ¶
func (m *QueryPoolResponse) XXX_DiscardUnknown()
func (*QueryPoolResponse) XXX_Marshal ¶
func (m *QueryPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolResponse) XXX_Merge ¶
func (m *QueryPoolResponse) XXX_Merge(src proto.Message)
func (*QueryPoolResponse) XXX_Size ¶
func (m *QueryPoolResponse) XXX_Size() int
func (*QueryPoolResponse) XXX_Unmarshal ¶
func (m *QueryPoolResponse) XXX_Unmarshal(b []byte) error
type QueryPoolsRequest ¶
type QueryPoolsRequest struct { }
func (*QueryPoolsRequest) Descriptor ¶
func (*QueryPoolsRequest) Descriptor() ([]byte, []int)
func (*QueryPoolsRequest) Marshal ¶
func (m *QueryPoolsRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolsRequest) MarshalTo ¶
func (m *QueryPoolsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolsRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolsRequest) ProtoMessage ¶
func (*QueryPoolsRequest) ProtoMessage()
func (*QueryPoolsRequest) Reset ¶
func (m *QueryPoolsRequest) Reset()
func (*QueryPoolsRequest) Size ¶
func (m *QueryPoolsRequest) Size() (n int)
func (*QueryPoolsRequest) String ¶
func (m *QueryPoolsRequest) String() string
func (*QueryPoolsRequest) Unmarshal ¶
func (m *QueryPoolsRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolsRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolsRequest) XXX_DiscardUnknown()
func (*QueryPoolsRequest) XXX_Marshal ¶
func (m *QueryPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolsRequest) XXX_Merge ¶
func (m *QueryPoolsRequest) XXX_Merge(src proto.Message)
func (*QueryPoolsRequest) XXX_Size ¶
func (m *QueryPoolsRequest) XXX_Size() int
func (*QueryPoolsRequest) XXX_Unmarshal ¶
func (m *QueryPoolsRequest) XXX_Unmarshal(b []byte) error
type QueryPoolsResponse ¶
type QueryPoolsResponse struct {
Pools []Pool `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools"`
}
func (*QueryPoolsResponse) Descriptor ¶
func (*QueryPoolsResponse) Descriptor() ([]byte, []int)
func (*QueryPoolsResponse) GetPools ¶
func (m *QueryPoolsResponse) GetPools() []Pool
func (*QueryPoolsResponse) Marshal ¶
func (m *QueryPoolsResponse) Marshal() (dAtA []byte, err error)
func (*QueryPoolsResponse) MarshalTo ¶
func (m *QueryPoolsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolsResponse) MarshalToSizedBuffer ¶
func (m *QueryPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolsResponse) ProtoMessage ¶
func (*QueryPoolsResponse) ProtoMessage()
func (*QueryPoolsResponse) Reset ¶
func (m *QueryPoolsResponse) Reset()
func (*QueryPoolsResponse) Size ¶
func (m *QueryPoolsResponse) Size() (n int)
func (*QueryPoolsResponse) String ¶
func (m *QueryPoolsResponse) String() string
func (*QueryPoolsResponse) Unmarshal ¶
func (m *QueryPoolsResponse) Unmarshal(dAtA []byte) error
func (*QueryPoolsResponse) XXX_DiscardUnknown ¶
func (m *QueryPoolsResponse) XXX_DiscardUnknown()
func (*QueryPoolsResponse) XXX_Marshal ¶
func (m *QueryPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolsResponse) XXX_Merge ¶
func (m *QueryPoolsResponse) XXX_Merge(src proto.Message)
func (*QueryPoolsResponse) XXX_Size ¶
func (m *QueryPoolsResponse) XXX_Size() int
func (*QueryPoolsResponse) XXX_Unmarshal ¶
func (m *QueryPoolsResponse) XXX_Unmarshal(b []byte) error
type QueryProviderRequest ¶
type QueryProviderRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryProviderRequest) Descriptor ¶
func (*QueryProviderRequest) Descriptor() ([]byte, []int)
func (*QueryProviderRequest) GetAddress ¶
func (m *QueryProviderRequest) GetAddress() string
func (*QueryProviderRequest) Marshal ¶
func (m *QueryProviderRequest) Marshal() (dAtA []byte, err error)
func (*QueryProviderRequest) MarshalTo ¶
func (m *QueryProviderRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProviderRequest) MarshalToSizedBuffer ¶
func (m *QueryProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProviderRequest) ProtoMessage ¶
func (*QueryProviderRequest) ProtoMessage()
func (*QueryProviderRequest) Reset ¶
func (m *QueryProviderRequest) Reset()
func (*QueryProviderRequest) Size ¶
func (m *QueryProviderRequest) Size() (n int)
func (*QueryProviderRequest) String ¶
func (m *QueryProviderRequest) String() string
func (*QueryProviderRequest) Unmarshal ¶
func (m *QueryProviderRequest) Unmarshal(dAtA []byte) error
func (*QueryProviderRequest) XXX_DiscardUnknown ¶
func (m *QueryProviderRequest) XXX_DiscardUnknown()
func (*QueryProviderRequest) XXX_Marshal ¶
func (m *QueryProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProviderRequest) XXX_Merge ¶
func (m *QueryProviderRequest) XXX_Merge(src proto.Message)
func (*QueryProviderRequest) XXX_Size ¶
func (m *QueryProviderRequest) XXX_Size() int
func (*QueryProviderRequest) XXX_Unmarshal ¶
func (m *QueryProviderRequest) XXX_Unmarshal(b []byte) error
type QueryProviderResponse ¶
type QueryProviderResponse struct {
Provider Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider"`
}
func (*QueryProviderResponse) Descriptor ¶
func (*QueryProviderResponse) Descriptor() ([]byte, []int)
func (*QueryProviderResponse) GetProvider ¶
func (m *QueryProviderResponse) GetProvider() Provider
func (*QueryProviderResponse) Marshal ¶
func (m *QueryProviderResponse) Marshal() (dAtA []byte, err error)
func (*QueryProviderResponse) MarshalTo ¶
func (m *QueryProviderResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProviderResponse) MarshalToSizedBuffer ¶
func (m *QueryProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProviderResponse) ProtoMessage ¶
func (*QueryProviderResponse) ProtoMessage()
func (*QueryProviderResponse) Reset ¶
func (m *QueryProviderResponse) Reset()
func (*QueryProviderResponse) Size ¶
func (m *QueryProviderResponse) Size() (n int)
func (*QueryProviderResponse) String ¶
func (m *QueryProviderResponse) String() string
func (*QueryProviderResponse) Unmarshal ¶
func (m *QueryProviderResponse) Unmarshal(dAtA []byte) error
func (*QueryProviderResponse) XXX_DiscardUnknown ¶
func (m *QueryProviderResponse) XXX_DiscardUnknown()
func (*QueryProviderResponse) XXX_Marshal ¶
func (m *QueryProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProviderResponse) XXX_Merge ¶
func (m *QueryProviderResponse) XXX_Merge(src proto.Message)
func (*QueryProviderResponse) XXX_Size ¶
func (m *QueryProviderResponse) XXX_Size() int
func (*QueryProviderResponse) XXX_Unmarshal ¶
func (m *QueryProviderResponse) XXX_Unmarshal(b []byte) error
type QueryProvidersRequest ¶
type QueryProvidersRequest struct { }
func (*QueryProvidersRequest) Descriptor ¶
func (*QueryProvidersRequest) Descriptor() ([]byte, []int)
func (*QueryProvidersRequest) Marshal ¶
func (m *QueryProvidersRequest) Marshal() (dAtA []byte, err error)
func (*QueryProvidersRequest) MarshalTo ¶
func (m *QueryProvidersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProvidersRequest) MarshalToSizedBuffer ¶
func (m *QueryProvidersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProvidersRequest) ProtoMessage ¶
func (*QueryProvidersRequest) ProtoMessage()
func (*QueryProvidersRequest) Reset ¶
func (m *QueryProvidersRequest) Reset()
func (*QueryProvidersRequest) Size ¶
func (m *QueryProvidersRequest) Size() (n int)
func (*QueryProvidersRequest) String ¶
func (m *QueryProvidersRequest) String() string
func (*QueryProvidersRequest) Unmarshal ¶
func (m *QueryProvidersRequest) Unmarshal(dAtA []byte) error
func (*QueryProvidersRequest) XXX_DiscardUnknown ¶
func (m *QueryProvidersRequest) XXX_DiscardUnknown()
func (*QueryProvidersRequest) XXX_Marshal ¶
func (m *QueryProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProvidersRequest) XXX_Merge ¶
func (m *QueryProvidersRequest) XXX_Merge(src proto.Message)
func (*QueryProvidersRequest) XXX_Size ¶
func (m *QueryProvidersRequest) XXX_Size() int
func (*QueryProvidersRequest) XXX_Unmarshal ¶
func (m *QueryProvidersRequest) XXX_Unmarshal(b []byte) error
type QueryProvidersResponse ¶
type QueryProvidersResponse struct {
Providers []Provider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers"`
}
func (*QueryProvidersResponse) Descriptor ¶
func (*QueryProvidersResponse) Descriptor() ([]byte, []int)
func (*QueryProvidersResponse) GetProviders ¶
func (m *QueryProvidersResponse) GetProviders() []Provider
func (*QueryProvidersResponse) Marshal ¶
func (m *QueryProvidersResponse) Marshal() (dAtA []byte, err error)
func (*QueryProvidersResponse) MarshalTo ¶
func (m *QueryProvidersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProvidersResponse) MarshalToSizedBuffer ¶
func (m *QueryProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProvidersResponse) ProtoMessage ¶
func (*QueryProvidersResponse) ProtoMessage()
func (*QueryProvidersResponse) Reset ¶
func (m *QueryProvidersResponse) Reset()
func (*QueryProvidersResponse) Size ¶
func (m *QueryProvidersResponse) Size() (n int)
func (*QueryProvidersResponse) String ¶
func (m *QueryProvidersResponse) String() string
func (*QueryProvidersResponse) Unmarshal ¶
func (m *QueryProvidersResponse) Unmarshal(dAtA []byte) error
func (*QueryProvidersResponse) XXX_DiscardUnknown ¶
func (m *QueryProvidersResponse) XXX_DiscardUnknown()
func (*QueryProvidersResponse) XXX_Marshal ¶
func (m *QueryProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProvidersResponse) XXX_Merge ¶
func (m *QueryProvidersResponse) XXX_Merge(src proto.Message)
func (*QueryProvidersResponse) XXX_Size ¶
func (m *QueryProvidersResponse) XXX_Size() int
func (*QueryProvidersResponse) XXX_Unmarshal ¶
func (m *QueryProvidersResponse) XXX_Unmarshal(b []byte) error
type QueryPurchaseListRequest ¶
type QueryPurchaseListRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Purchaser string `protobuf:"bytes,2,opt,name=purchaser,proto3" json:"purchaser,omitempty"` }
func (*QueryPurchaseListRequest) Descriptor ¶
func (*QueryPurchaseListRequest) Descriptor() ([]byte, []int)
func (*QueryPurchaseListRequest) GetPoolId ¶
func (m *QueryPurchaseListRequest) GetPoolId() uint64
func (*QueryPurchaseListRequest) GetPurchaser ¶
func (m *QueryPurchaseListRequest) GetPurchaser() string
func (*QueryPurchaseListRequest) Marshal ¶
func (m *QueryPurchaseListRequest) Marshal() (dAtA []byte, err error)
func (*QueryPurchaseListRequest) MarshalTo ¶
func (m *QueryPurchaseListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPurchaseListRequest) MarshalToSizedBuffer ¶
func (m *QueryPurchaseListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPurchaseListRequest) ProtoMessage ¶
func (*QueryPurchaseListRequest) ProtoMessage()
func (*QueryPurchaseListRequest) Reset ¶
func (m *QueryPurchaseListRequest) Reset()
func (*QueryPurchaseListRequest) Size ¶
func (m *QueryPurchaseListRequest) Size() (n int)
func (*QueryPurchaseListRequest) String ¶
func (m *QueryPurchaseListRequest) String() string
func (*QueryPurchaseListRequest) Unmarshal ¶
func (m *QueryPurchaseListRequest) Unmarshal(dAtA []byte) error
func (*QueryPurchaseListRequest) XXX_DiscardUnknown ¶
func (m *QueryPurchaseListRequest) XXX_DiscardUnknown()
func (*QueryPurchaseListRequest) XXX_Marshal ¶
func (m *QueryPurchaseListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPurchaseListRequest) XXX_Merge ¶
func (m *QueryPurchaseListRequest) XXX_Merge(src proto.Message)
func (*QueryPurchaseListRequest) XXX_Size ¶
func (m *QueryPurchaseListRequest) XXX_Size() int
func (*QueryPurchaseListRequest) XXX_Unmarshal ¶
func (m *QueryPurchaseListRequest) XXX_Unmarshal(b []byte) error
type QueryPurchaseListResponse ¶
type QueryPurchaseListResponse struct {
PurchaseList PurchaseList `protobuf:"bytes,1,opt,name=purchase_list,json=purchaseList,proto3" json:"purchase_list"`
}
func (*QueryPurchaseListResponse) Descriptor ¶
func (*QueryPurchaseListResponse) Descriptor() ([]byte, []int)
func (*QueryPurchaseListResponse) GetPurchaseList ¶
func (m *QueryPurchaseListResponse) GetPurchaseList() PurchaseList
func (*QueryPurchaseListResponse) Marshal ¶
func (m *QueryPurchaseListResponse) Marshal() (dAtA []byte, err error)
func (*QueryPurchaseListResponse) MarshalTo ¶
func (m *QueryPurchaseListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPurchaseListResponse) MarshalToSizedBuffer ¶
func (m *QueryPurchaseListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPurchaseListResponse) ProtoMessage ¶
func (*QueryPurchaseListResponse) ProtoMessage()
func (*QueryPurchaseListResponse) Reset ¶
func (m *QueryPurchaseListResponse) Reset()
func (*QueryPurchaseListResponse) Size ¶
func (m *QueryPurchaseListResponse) Size() (n int)
func (*QueryPurchaseListResponse) String ¶
func (m *QueryPurchaseListResponse) String() string
func (*QueryPurchaseListResponse) Unmarshal ¶
func (m *QueryPurchaseListResponse) Unmarshal(dAtA []byte) error
func (*QueryPurchaseListResponse) XXX_DiscardUnknown ¶
func (m *QueryPurchaseListResponse) XXX_DiscardUnknown()
func (*QueryPurchaseListResponse) XXX_Marshal ¶
func (m *QueryPurchaseListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPurchaseListResponse) XXX_Merge ¶
func (m *QueryPurchaseListResponse) XXX_Merge(src proto.Message)
func (*QueryPurchaseListResponse) XXX_Size ¶
func (m *QueryPurchaseListResponse) XXX_Size() int
func (*QueryPurchaseListResponse) XXX_Unmarshal ¶
func (m *QueryPurchaseListResponse) XXX_Unmarshal(b []byte) error
type QueryPurchaseListsRequest ¶
type QueryPurchaseListsRequest struct {
Purchaser string `protobuf:"bytes,1,opt,name=purchaser,proto3" json:"purchaser,omitempty"`
}
func (*QueryPurchaseListsRequest) Descriptor ¶
func (*QueryPurchaseListsRequest) Descriptor() ([]byte, []int)
func (*QueryPurchaseListsRequest) GetPurchaser ¶
func (m *QueryPurchaseListsRequest) GetPurchaser() string
func (*QueryPurchaseListsRequest) Marshal ¶
func (m *QueryPurchaseListsRequest) Marshal() (dAtA []byte, err error)
func (*QueryPurchaseListsRequest) MarshalTo ¶
func (m *QueryPurchaseListsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPurchaseListsRequest) MarshalToSizedBuffer ¶
func (m *QueryPurchaseListsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPurchaseListsRequest) ProtoMessage ¶
func (*QueryPurchaseListsRequest) ProtoMessage()
func (*QueryPurchaseListsRequest) Reset ¶
func (m *QueryPurchaseListsRequest) Reset()
func (*QueryPurchaseListsRequest) Size ¶
func (m *QueryPurchaseListsRequest) Size() (n int)
func (*QueryPurchaseListsRequest) String ¶
func (m *QueryPurchaseListsRequest) String() string
func (*QueryPurchaseListsRequest) Unmarshal ¶
func (m *QueryPurchaseListsRequest) Unmarshal(dAtA []byte) error
func (*QueryPurchaseListsRequest) XXX_DiscardUnknown ¶
func (m *QueryPurchaseListsRequest) XXX_DiscardUnknown()
func (*QueryPurchaseListsRequest) XXX_Marshal ¶
func (m *QueryPurchaseListsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPurchaseListsRequest) XXX_Merge ¶
func (m *QueryPurchaseListsRequest) XXX_Merge(src proto.Message)
func (*QueryPurchaseListsRequest) XXX_Size ¶
func (m *QueryPurchaseListsRequest) XXX_Size() int
func (*QueryPurchaseListsRequest) XXX_Unmarshal ¶
func (m *QueryPurchaseListsRequest) XXX_Unmarshal(b []byte) error
type QueryPurchaseListsResponse ¶
type QueryPurchaseListsResponse struct {
PurchaseLists []PurchaseList `protobuf:"bytes,1,rep,name=purchase_lists,json=purchaseLists,proto3" json:"purchase_lists"`
}
func (*QueryPurchaseListsResponse) Descriptor ¶
func (*QueryPurchaseListsResponse) Descriptor() ([]byte, []int)
func (*QueryPurchaseListsResponse) GetPurchaseLists ¶
func (m *QueryPurchaseListsResponse) GetPurchaseLists() []PurchaseList
func (*QueryPurchaseListsResponse) Marshal ¶
func (m *QueryPurchaseListsResponse) Marshal() (dAtA []byte, err error)
func (*QueryPurchaseListsResponse) MarshalTo ¶
func (m *QueryPurchaseListsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPurchaseListsResponse) MarshalToSizedBuffer ¶
func (m *QueryPurchaseListsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPurchaseListsResponse) ProtoMessage ¶
func (*QueryPurchaseListsResponse) ProtoMessage()
func (*QueryPurchaseListsResponse) Reset ¶
func (m *QueryPurchaseListsResponse) Reset()
func (*QueryPurchaseListsResponse) Size ¶
func (m *QueryPurchaseListsResponse) Size() (n int)
func (*QueryPurchaseListsResponse) String ¶
func (m *QueryPurchaseListsResponse) String() string
func (*QueryPurchaseListsResponse) Unmarshal ¶
func (m *QueryPurchaseListsResponse) Unmarshal(dAtA []byte) error
func (*QueryPurchaseListsResponse) XXX_DiscardUnknown ¶
func (m *QueryPurchaseListsResponse) XXX_DiscardUnknown()
func (*QueryPurchaseListsResponse) XXX_Marshal ¶
func (m *QueryPurchaseListsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPurchaseListsResponse) XXX_Merge ¶
func (m *QueryPurchaseListsResponse) XXX_Merge(src proto.Message)
func (*QueryPurchaseListsResponse) XXX_Size ¶
func (m *QueryPurchaseListsResponse) XXX_Size() int
func (*QueryPurchaseListsResponse) XXX_Unmarshal ¶
func (m *QueryPurchaseListsResponse) XXX_Unmarshal(b []byte) error
type QueryPurchasesRequest ¶
type QueryPurchasesRequest struct { }
func (*QueryPurchasesRequest) Descriptor ¶
func (*QueryPurchasesRequest) Descriptor() ([]byte, []int)
func (*QueryPurchasesRequest) Marshal ¶
func (m *QueryPurchasesRequest) Marshal() (dAtA []byte, err error)
func (*QueryPurchasesRequest) MarshalTo ¶
func (m *QueryPurchasesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPurchasesRequest) MarshalToSizedBuffer ¶
func (m *QueryPurchasesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPurchasesRequest) ProtoMessage ¶
func (*QueryPurchasesRequest) ProtoMessage()
func (*QueryPurchasesRequest) Reset ¶
func (m *QueryPurchasesRequest) Reset()
func (*QueryPurchasesRequest) Size ¶
func (m *QueryPurchasesRequest) Size() (n int)
func (*QueryPurchasesRequest) String ¶
func (m *QueryPurchasesRequest) String() string
func (*QueryPurchasesRequest) Unmarshal ¶
func (m *QueryPurchasesRequest) Unmarshal(dAtA []byte) error
func (*QueryPurchasesRequest) XXX_DiscardUnknown ¶
func (m *QueryPurchasesRequest) XXX_DiscardUnknown()
func (*QueryPurchasesRequest) XXX_Marshal ¶
func (m *QueryPurchasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPurchasesRequest) XXX_Merge ¶
func (m *QueryPurchasesRequest) XXX_Merge(src proto.Message)
func (*QueryPurchasesRequest) XXX_Size ¶
func (m *QueryPurchasesRequest) XXX_Size() int
func (*QueryPurchasesRequest) XXX_Unmarshal ¶
func (m *QueryPurchasesRequest) XXX_Unmarshal(b []byte) error
type QueryPurchasesResponse ¶
type QueryPurchasesResponse struct {
Purchases []Purchase `protobuf:"bytes,1,rep,name=purchases,proto3" json:"purchases"`
}
func (*QueryPurchasesResponse) Descriptor ¶
func (*QueryPurchasesResponse) Descriptor() ([]byte, []int)
func (*QueryPurchasesResponse) GetPurchases ¶
func (m *QueryPurchasesResponse) GetPurchases() []Purchase
func (*QueryPurchasesResponse) Marshal ¶
func (m *QueryPurchasesResponse) Marshal() (dAtA []byte, err error)
func (*QueryPurchasesResponse) MarshalTo ¶
func (m *QueryPurchasesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPurchasesResponse) MarshalToSizedBuffer ¶
func (m *QueryPurchasesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPurchasesResponse) ProtoMessage ¶
func (*QueryPurchasesResponse) ProtoMessage()
func (*QueryPurchasesResponse) Reset ¶
func (m *QueryPurchasesResponse) Reset()
func (*QueryPurchasesResponse) Size ¶
func (m *QueryPurchasesResponse) Size() (n int)
func (*QueryPurchasesResponse) String ¶
func (m *QueryPurchasesResponse) String() string
func (*QueryPurchasesResponse) Unmarshal ¶
func (m *QueryPurchasesResponse) Unmarshal(dAtA []byte) error
func (*QueryPurchasesResponse) XXX_DiscardUnknown ¶
func (m *QueryPurchasesResponse) XXX_DiscardUnknown()
func (*QueryPurchasesResponse) XXX_Marshal ¶
func (m *QueryPurchasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPurchasesResponse) XXX_Merge ¶
func (m *QueryPurchasesResponse) XXX_Merge(src proto.Message)
func (*QueryPurchasesResponse) XXX_Size ¶
func (m *QueryPurchasesResponse) XXX_Size() int
func (*QueryPurchasesResponse) XXX_Unmarshal ¶
func (m *QueryPurchasesResponse) XXX_Unmarshal(b []byte) error
type QueryReimbursementRequest ¶
type QueryReimbursementRequest struct {
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
}
func (*QueryReimbursementRequest) Descriptor ¶
func (*QueryReimbursementRequest) Descriptor() ([]byte, []int)
func (*QueryReimbursementRequest) GetProposalId ¶
func (m *QueryReimbursementRequest) GetProposalId() uint64
func (*QueryReimbursementRequest) Marshal ¶
func (m *QueryReimbursementRequest) Marshal() (dAtA []byte, err error)
func (*QueryReimbursementRequest) MarshalTo ¶
func (m *QueryReimbursementRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryReimbursementRequest) MarshalToSizedBuffer ¶
func (m *QueryReimbursementRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryReimbursementRequest) ProtoMessage ¶
func (*QueryReimbursementRequest) ProtoMessage()
func (*QueryReimbursementRequest) Reset ¶
func (m *QueryReimbursementRequest) Reset()
func (*QueryReimbursementRequest) Size ¶
func (m *QueryReimbursementRequest) Size() (n int)
func (*QueryReimbursementRequest) String ¶
func (m *QueryReimbursementRequest) String() string
func (*QueryReimbursementRequest) Unmarshal ¶
func (m *QueryReimbursementRequest) Unmarshal(dAtA []byte) error
func (*QueryReimbursementRequest) XXX_DiscardUnknown ¶
func (m *QueryReimbursementRequest) XXX_DiscardUnknown()
func (*QueryReimbursementRequest) XXX_Marshal ¶
func (m *QueryReimbursementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryReimbursementRequest) XXX_Merge ¶
func (m *QueryReimbursementRequest) XXX_Merge(src proto.Message)
func (*QueryReimbursementRequest) XXX_Size ¶
func (m *QueryReimbursementRequest) XXX_Size() int
func (*QueryReimbursementRequest) XXX_Unmarshal ¶
func (m *QueryReimbursementRequest) XXX_Unmarshal(b []byte) error
type QueryReimbursementResponse ¶
type QueryReimbursementResponse struct {
Reimbursement Reimbursement `protobuf:"bytes,1,opt,name=reimbursement,proto3" json:"reimbursement"`
}
func (*QueryReimbursementResponse) Descriptor ¶
func (*QueryReimbursementResponse) Descriptor() ([]byte, []int)
func (*QueryReimbursementResponse) GetReimbursement ¶
func (m *QueryReimbursementResponse) GetReimbursement() Reimbursement
func (*QueryReimbursementResponse) Marshal ¶
func (m *QueryReimbursementResponse) Marshal() (dAtA []byte, err error)
func (*QueryReimbursementResponse) MarshalTo ¶
func (m *QueryReimbursementResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryReimbursementResponse) MarshalToSizedBuffer ¶
func (m *QueryReimbursementResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryReimbursementResponse) ProtoMessage ¶
func (*QueryReimbursementResponse) ProtoMessage()
func (*QueryReimbursementResponse) Reset ¶
func (m *QueryReimbursementResponse) Reset()
func (*QueryReimbursementResponse) Size ¶
func (m *QueryReimbursementResponse) Size() (n int)
func (*QueryReimbursementResponse) String ¶
func (m *QueryReimbursementResponse) String() string
func (*QueryReimbursementResponse) Unmarshal ¶
func (m *QueryReimbursementResponse) Unmarshal(dAtA []byte) error
func (*QueryReimbursementResponse) XXX_DiscardUnknown ¶
func (m *QueryReimbursementResponse) XXX_DiscardUnknown()
func (*QueryReimbursementResponse) XXX_Marshal ¶
func (m *QueryReimbursementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryReimbursementResponse) XXX_Merge ¶
func (m *QueryReimbursementResponse) XXX_Merge(src proto.Message)
func (*QueryReimbursementResponse) XXX_Size ¶
func (m *QueryReimbursementResponse) XXX_Size() int
func (*QueryReimbursementResponse) XXX_Unmarshal ¶
func (m *QueryReimbursementResponse) XXX_Unmarshal(b []byte) error
type QueryReimbursementsRequest ¶
type QueryReimbursementsRequest struct { }
func (*QueryReimbursementsRequest) Descriptor ¶
func (*QueryReimbursementsRequest) Descriptor() ([]byte, []int)
func (*QueryReimbursementsRequest) Marshal ¶
func (m *QueryReimbursementsRequest) Marshal() (dAtA []byte, err error)
func (*QueryReimbursementsRequest) MarshalTo ¶
func (m *QueryReimbursementsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryReimbursementsRequest) MarshalToSizedBuffer ¶
func (m *QueryReimbursementsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryReimbursementsRequest) ProtoMessage ¶
func (*QueryReimbursementsRequest) ProtoMessage()
func (*QueryReimbursementsRequest) Reset ¶
func (m *QueryReimbursementsRequest) Reset()
func (*QueryReimbursementsRequest) Size ¶
func (m *QueryReimbursementsRequest) Size() (n int)
func (*QueryReimbursementsRequest) String ¶
func (m *QueryReimbursementsRequest) String() string
func (*QueryReimbursementsRequest) Unmarshal ¶
func (m *QueryReimbursementsRequest) Unmarshal(dAtA []byte) error
func (*QueryReimbursementsRequest) XXX_DiscardUnknown ¶
func (m *QueryReimbursementsRequest) XXX_DiscardUnknown()
func (*QueryReimbursementsRequest) XXX_Marshal ¶
func (m *QueryReimbursementsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryReimbursementsRequest) XXX_Merge ¶
func (m *QueryReimbursementsRequest) XXX_Merge(src proto.Message)
func (*QueryReimbursementsRequest) XXX_Size ¶
func (m *QueryReimbursementsRequest) XXX_Size() int
func (*QueryReimbursementsRequest) XXX_Unmarshal ¶
func (m *QueryReimbursementsRequest) XXX_Unmarshal(b []byte) error
type QueryReimbursementsResponse ¶
type QueryReimbursementsResponse struct {
Pairs []ProposalIDReimbursementPair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs"`
}
func (*QueryReimbursementsResponse) Descriptor ¶
func (*QueryReimbursementsResponse) Descriptor() ([]byte, []int)
func (*QueryReimbursementsResponse) GetPairs ¶
func (m *QueryReimbursementsResponse) GetPairs() []ProposalIDReimbursementPair
func (*QueryReimbursementsResponse) Marshal ¶
func (m *QueryReimbursementsResponse) Marshal() (dAtA []byte, err error)
func (*QueryReimbursementsResponse) MarshalTo ¶
func (m *QueryReimbursementsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryReimbursementsResponse) MarshalToSizedBuffer ¶
func (m *QueryReimbursementsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryReimbursementsResponse) ProtoMessage ¶
func (*QueryReimbursementsResponse) ProtoMessage()
func (*QueryReimbursementsResponse) Reset ¶
func (m *QueryReimbursementsResponse) Reset()
func (*QueryReimbursementsResponse) Size ¶
func (m *QueryReimbursementsResponse) Size() (n int)
func (*QueryReimbursementsResponse) String ¶
func (m *QueryReimbursementsResponse) String() string
func (*QueryReimbursementsResponse) Unmarshal ¶
func (m *QueryReimbursementsResponse) Unmarshal(dAtA []byte) error
func (*QueryReimbursementsResponse) XXX_DiscardUnknown ¶
func (m *QueryReimbursementsResponse) XXX_DiscardUnknown()
func (*QueryReimbursementsResponse) XXX_Marshal ¶
func (m *QueryReimbursementsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryReimbursementsResponse) XXX_Merge ¶
func (m *QueryReimbursementsResponse) XXX_Merge(src proto.Message)
func (*QueryReimbursementsResponse) XXX_Size ¶
func (m *QueryReimbursementsResponse) XXX_Size() int
func (*QueryReimbursementsResponse) XXX_Unmarshal ¶
func (m *QueryReimbursementsResponse) XXX_Unmarshal(b []byte) error
type QueryResStatus ¶
type QueryResStatus struct { TotalCollateral sdk.Int `json:"total_collateral" yaml:"total_collateral"` TotalShield sdk.Int `json:"total_shield" yaml:"total_shield"` TotalWithdrawing sdk.Int `json:"total_withdrawing" yaml:"total_withdrawing"` CurrentServiceFees sdk.DecCoins `json:"current_service_fees" yaml:"current_service_fees"` RemainingServiceFees sdk.DecCoins `json:"remaining_service_fees" yaml:"remaining_service_fees"` GlobalShieldStakingPool sdk.Int `json:"global_shield_staking_pool" yaml:"global_shield_staking_pool"` }
func NewQueryResStatus ¶
type QueryServer ¶
type QueryServer interface { Pool(context.Context, *QueryPoolRequest) (*QueryPoolResponse, error) Sponsor(context.Context, *QuerySponsorRequest) (*QuerySponsorResponse, error) Pools(context.Context, *QueryPoolsRequest) (*QueryPoolsResponse, error) PoolPurchaseLists(context.Context, *QueryPoolPurchaseListsRequest) (*QueryPurchaseListsResponse, error) PurchaseLists(context.Context, *QueryPurchaseListsRequest) (*QueryPurchaseListsResponse, error) PurchaseList(context.Context, *QueryPurchaseListRequest) (*QueryPurchaseListResponse, error) Purchases(context.Context, *QueryPurchasesRequest) (*QueryPurchasesResponse, error) Provider(context.Context, *QueryProviderRequest) (*QueryProviderResponse, error) Providers(context.Context, *QueryProvidersRequest) (*QueryProvidersResponse, error) PoolParams(context.Context, *QueryPoolParamsRequest) (*QueryPoolParamsResponse, error) ClaimParams(context.Context, *QueryClaimParamsRequest) (*QueryClaimParamsResponse, error) DistrParams(context.Context, *QueryDistrParamsRequest) (*QueryDistrParamsResponse, error) ShieldStatus(context.Context, *QueryShieldStatusRequest) (*QueryShieldStatusResponse, error) ShieldStaking(context.Context, *QueryShieldStakingRequest) (*QueryShieldStakingResponse, error) ShieldStakingRate(context.Context, *QueryShieldStakingRateRequest) (*QueryShieldStakingRateResponse, error) Reimbursement(context.Context, *QueryReimbursementRequest) (*QueryReimbursementResponse, error) Reimbursements(context.Context, *QueryReimbursementsRequest) (*QueryReimbursementsResponse, error) }
QueryServer is the server API for Query service.
type QueryShieldStakingRateRequest ¶
type QueryShieldStakingRateRequest struct { }
func (*QueryShieldStakingRateRequest) Descriptor ¶
func (*QueryShieldStakingRateRequest) Descriptor() ([]byte, []int)
func (*QueryShieldStakingRateRequest) Marshal ¶
func (m *QueryShieldStakingRateRequest) Marshal() (dAtA []byte, err error)
func (*QueryShieldStakingRateRequest) MarshalTo ¶
func (m *QueryShieldStakingRateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryShieldStakingRateRequest) MarshalToSizedBuffer ¶
func (m *QueryShieldStakingRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShieldStakingRateRequest) ProtoMessage ¶
func (*QueryShieldStakingRateRequest) ProtoMessage()
func (*QueryShieldStakingRateRequest) Reset ¶
func (m *QueryShieldStakingRateRequest) Reset()
func (*QueryShieldStakingRateRequest) Size ¶
func (m *QueryShieldStakingRateRequest) Size() (n int)
func (*QueryShieldStakingRateRequest) String ¶
func (m *QueryShieldStakingRateRequest) String() string
func (*QueryShieldStakingRateRequest) Unmarshal ¶
func (m *QueryShieldStakingRateRequest) Unmarshal(dAtA []byte) error
func (*QueryShieldStakingRateRequest) XXX_DiscardUnknown ¶
func (m *QueryShieldStakingRateRequest) XXX_DiscardUnknown()
func (*QueryShieldStakingRateRequest) XXX_Marshal ¶
func (m *QueryShieldStakingRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShieldStakingRateRequest) XXX_Merge ¶
func (m *QueryShieldStakingRateRequest) XXX_Merge(src proto.Message)
func (*QueryShieldStakingRateRequest) XXX_Size ¶
func (m *QueryShieldStakingRateRequest) XXX_Size() int
func (*QueryShieldStakingRateRequest) XXX_Unmarshal ¶
func (m *QueryShieldStakingRateRequest) XXX_Unmarshal(b []byte) error
type QueryShieldStakingRateResponse ¶
type QueryShieldStakingRateResponse struct {
Rate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=rate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"rate" yaml:"rate"`
}
func (*QueryShieldStakingRateResponse) Descriptor ¶
func (*QueryShieldStakingRateResponse) Descriptor() ([]byte, []int)
func (*QueryShieldStakingRateResponse) Marshal ¶
func (m *QueryShieldStakingRateResponse) Marshal() (dAtA []byte, err error)
func (*QueryShieldStakingRateResponse) MarshalTo ¶
func (m *QueryShieldStakingRateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryShieldStakingRateResponse) MarshalToSizedBuffer ¶
func (m *QueryShieldStakingRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShieldStakingRateResponse) ProtoMessage ¶
func (*QueryShieldStakingRateResponse) ProtoMessage()
func (*QueryShieldStakingRateResponse) Reset ¶
func (m *QueryShieldStakingRateResponse) Reset()
func (*QueryShieldStakingRateResponse) Size ¶
func (m *QueryShieldStakingRateResponse) Size() (n int)
func (*QueryShieldStakingRateResponse) String ¶
func (m *QueryShieldStakingRateResponse) String() string
func (*QueryShieldStakingRateResponse) Unmarshal ¶
func (m *QueryShieldStakingRateResponse) Unmarshal(dAtA []byte) error
func (*QueryShieldStakingRateResponse) XXX_DiscardUnknown ¶
func (m *QueryShieldStakingRateResponse) XXX_DiscardUnknown()
func (*QueryShieldStakingRateResponse) XXX_Marshal ¶
func (m *QueryShieldStakingRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShieldStakingRateResponse) XXX_Merge ¶
func (m *QueryShieldStakingRateResponse) XXX_Merge(src proto.Message)
func (*QueryShieldStakingRateResponse) XXX_Size ¶
func (m *QueryShieldStakingRateResponse) XXX_Size() int
func (*QueryShieldStakingRateResponse) XXX_Unmarshal ¶
func (m *QueryShieldStakingRateResponse) XXX_Unmarshal(b []byte) error
type QueryShieldStakingRequest ¶
type QueryShieldStakingRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Purchaser string `protobuf:"bytes,2,opt,name=purchaser,proto3" json:"purchaser,omitempty"` }
func (*QueryShieldStakingRequest) Descriptor ¶
func (*QueryShieldStakingRequest) Descriptor() ([]byte, []int)
func (*QueryShieldStakingRequest) GetPoolId ¶
func (m *QueryShieldStakingRequest) GetPoolId() uint64
func (*QueryShieldStakingRequest) GetPurchaser ¶
func (m *QueryShieldStakingRequest) GetPurchaser() string
func (*QueryShieldStakingRequest) Marshal ¶
func (m *QueryShieldStakingRequest) Marshal() (dAtA []byte, err error)
func (*QueryShieldStakingRequest) MarshalTo ¶
func (m *QueryShieldStakingRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryShieldStakingRequest) MarshalToSizedBuffer ¶
func (m *QueryShieldStakingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShieldStakingRequest) ProtoMessage ¶
func (*QueryShieldStakingRequest) ProtoMessage()
func (*QueryShieldStakingRequest) Reset ¶
func (m *QueryShieldStakingRequest) Reset()
func (*QueryShieldStakingRequest) Size ¶
func (m *QueryShieldStakingRequest) Size() (n int)
func (*QueryShieldStakingRequest) String ¶
func (m *QueryShieldStakingRequest) String() string
func (*QueryShieldStakingRequest) Unmarshal ¶
func (m *QueryShieldStakingRequest) Unmarshal(dAtA []byte) error
func (*QueryShieldStakingRequest) XXX_DiscardUnknown ¶
func (m *QueryShieldStakingRequest) XXX_DiscardUnknown()
func (*QueryShieldStakingRequest) XXX_Marshal ¶
func (m *QueryShieldStakingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShieldStakingRequest) XXX_Merge ¶
func (m *QueryShieldStakingRequest) XXX_Merge(src proto.Message)
func (*QueryShieldStakingRequest) XXX_Size ¶
func (m *QueryShieldStakingRequest) XXX_Size() int
func (*QueryShieldStakingRequest) XXX_Unmarshal ¶
func (m *QueryShieldStakingRequest) XXX_Unmarshal(b []byte) error
type QueryShieldStakingResponse ¶
type QueryShieldStakingResponse struct {
ShieldStaking ShieldStaking `protobuf:"bytes,1,opt,name=shield_staking,json=shieldStaking,proto3" json:"shield_staking"`
}
func (*QueryShieldStakingResponse) Descriptor ¶
func (*QueryShieldStakingResponse) Descriptor() ([]byte, []int)
func (*QueryShieldStakingResponse) GetShieldStaking ¶
func (m *QueryShieldStakingResponse) GetShieldStaking() ShieldStaking
func (*QueryShieldStakingResponse) Marshal ¶
func (m *QueryShieldStakingResponse) Marshal() (dAtA []byte, err error)
func (*QueryShieldStakingResponse) MarshalTo ¶
func (m *QueryShieldStakingResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryShieldStakingResponse) MarshalToSizedBuffer ¶
func (m *QueryShieldStakingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShieldStakingResponse) ProtoMessage ¶
func (*QueryShieldStakingResponse) ProtoMessage()
func (*QueryShieldStakingResponse) Reset ¶
func (m *QueryShieldStakingResponse) Reset()
func (*QueryShieldStakingResponse) Size ¶
func (m *QueryShieldStakingResponse) Size() (n int)
func (*QueryShieldStakingResponse) String ¶
func (m *QueryShieldStakingResponse) String() string
func (*QueryShieldStakingResponse) Unmarshal ¶
func (m *QueryShieldStakingResponse) Unmarshal(dAtA []byte) error
func (*QueryShieldStakingResponse) XXX_DiscardUnknown ¶
func (m *QueryShieldStakingResponse) XXX_DiscardUnknown()
func (*QueryShieldStakingResponse) XXX_Marshal ¶
func (m *QueryShieldStakingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShieldStakingResponse) XXX_Merge ¶
func (m *QueryShieldStakingResponse) XXX_Merge(src proto.Message)
func (*QueryShieldStakingResponse) XXX_Size ¶
func (m *QueryShieldStakingResponse) XXX_Size() int
func (*QueryShieldStakingResponse) XXX_Unmarshal ¶
func (m *QueryShieldStakingResponse) XXX_Unmarshal(b []byte) error
type QueryShieldStatusRequest ¶
type QueryShieldStatusRequest struct { }
func (*QueryShieldStatusRequest) Descriptor ¶
func (*QueryShieldStatusRequest) Descriptor() ([]byte, []int)
func (*QueryShieldStatusRequest) Marshal ¶
func (m *QueryShieldStatusRequest) Marshal() (dAtA []byte, err error)
func (*QueryShieldStatusRequest) MarshalTo ¶
func (m *QueryShieldStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryShieldStatusRequest) MarshalToSizedBuffer ¶
func (m *QueryShieldStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShieldStatusRequest) ProtoMessage ¶
func (*QueryShieldStatusRequest) ProtoMessage()
func (*QueryShieldStatusRequest) Reset ¶
func (m *QueryShieldStatusRequest) Reset()
func (*QueryShieldStatusRequest) Size ¶
func (m *QueryShieldStatusRequest) Size() (n int)
func (*QueryShieldStatusRequest) String ¶
func (m *QueryShieldStatusRequest) String() string
func (*QueryShieldStatusRequest) Unmarshal ¶
func (m *QueryShieldStatusRequest) Unmarshal(dAtA []byte) error
func (*QueryShieldStatusRequest) XXX_DiscardUnknown ¶
func (m *QueryShieldStatusRequest) XXX_DiscardUnknown()
func (*QueryShieldStatusRequest) XXX_Marshal ¶
func (m *QueryShieldStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShieldStatusRequest) XXX_Merge ¶
func (m *QueryShieldStatusRequest) XXX_Merge(src proto.Message)
func (*QueryShieldStatusRequest) XXX_Size ¶
func (m *QueryShieldStatusRequest) XXX_Size() int
func (*QueryShieldStatusRequest) XXX_Unmarshal ¶
func (m *QueryShieldStatusRequest) XXX_Unmarshal(b []byte) error
type QueryShieldStatusResponse ¶
type QueryShieldStatusResponse struct { TotalCollateral github_com_cosmos_cosmos_sdk_types.Int `` /* 170-byte string literal not displayed */ TotalShield github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */ TotalWithdrawing github_com_cosmos_cosmos_sdk_types.Int `` /* 174-byte string literal not displayed */ CurrentServiceFees github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 164-byte string literal not displayed */ RemainingServiceFees github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 170-byte string literal not displayed */ GlobalShieldStakingPool github_com_cosmos_cosmos_sdk_types.Int `` /* 208-byte string literal not displayed */ }
func (*QueryShieldStatusResponse) Descriptor ¶
func (*QueryShieldStatusResponse) Descriptor() ([]byte, []int)
func (*QueryShieldStatusResponse) GetCurrentServiceFees ¶
func (m *QueryShieldStatusResponse) GetCurrentServiceFees() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryShieldStatusResponse) GetRemainingServiceFees ¶
func (m *QueryShieldStatusResponse) GetRemainingServiceFees() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryShieldStatusResponse) Marshal ¶
func (m *QueryShieldStatusResponse) Marshal() (dAtA []byte, err error)
func (*QueryShieldStatusResponse) MarshalTo ¶
func (m *QueryShieldStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryShieldStatusResponse) MarshalToSizedBuffer ¶
func (m *QueryShieldStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShieldStatusResponse) ProtoMessage ¶
func (*QueryShieldStatusResponse) ProtoMessage()
func (*QueryShieldStatusResponse) Reset ¶
func (m *QueryShieldStatusResponse) Reset()
func (*QueryShieldStatusResponse) Size ¶
func (m *QueryShieldStatusResponse) Size() (n int)
func (*QueryShieldStatusResponse) String ¶
func (m *QueryShieldStatusResponse) String() string
func (*QueryShieldStatusResponse) Unmarshal ¶
func (m *QueryShieldStatusResponse) Unmarshal(dAtA []byte) error
func (*QueryShieldStatusResponse) XXX_DiscardUnknown ¶
func (m *QueryShieldStatusResponse) XXX_DiscardUnknown()
func (*QueryShieldStatusResponse) XXX_Marshal ¶
func (m *QueryShieldStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShieldStatusResponse) XXX_Merge ¶
func (m *QueryShieldStatusResponse) XXX_Merge(src proto.Message)
func (*QueryShieldStatusResponse) XXX_Size ¶
func (m *QueryShieldStatusResponse) XXX_Size() int
func (*QueryShieldStatusResponse) XXX_Unmarshal ¶
func (m *QueryShieldStatusResponse) XXX_Unmarshal(b []byte) error
type QuerySponsorRequest ¶
type QuerySponsorRequest struct {
Sponsor string `protobuf:"bytes,1,opt,name=sponsor,proto3" json:"sponsor,omitempty"`
}
func (*QuerySponsorRequest) Descriptor ¶
func (*QuerySponsorRequest) Descriptor() ([]byte, []int)
func (*QuerySponsorRequest) GetSponsor ¶
func (m *QuerySponsorRequest) GetSponsor() string
func (*QuerySponsorRequest) Marshal ¶
func (m *QuerySponsorRequest) Marshal() (dAtA []byte, err error)
func (*QuerySponsorRequest) MarshalTo ¶
func (m *QuerySponsorRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySponsorRequest) MarshalToSizedBuffer ¶
func (m *QuerySponsorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySponsorRequest) ProtoMessage ¶
func (*QuerySponsorRequest) ProtoMessage()
func (*QuerySponsorRequest) Reset ¶
func (m *QuerySponsorRequest) Reset()
func (*QuerySponsorRequest) Size ¶
func (m *QuerySponsorRequest) Size() (n int)
func (*QuerySponsorRequest) String ¶
func (m *QuerySponsorRequest) String() string
func (*QuerySponsorRequest) Unmarshal ¶
func (m *QuerySponsorRequest) Unmarshal(dAtA []byte) error
func (*QuerySponsorRequest) XXX_DiscardUnknown ¶
func (m *QuerySponsorRequest) XXX_DiscardUnknown()
func (*QuerySponsorRequest) XXX_Marshal ¶
func (m *QuerySponsorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySponsorRequest) XXX_Merge ¶
func (m *QuerySponsorRequest) XXX_Merge(src proto.Message)
func (*QuerySponsorRequest) XXX_Size ¶
func (m *QuerySponsorRequest) XXX_Size() int
func (*QuerySponsorRequest) XXX_Unmarshal ¶
func (m *QuerySponsorRequest) XXX_Unmarshal(b []byte) error
type QuerySponsorResponse ¶
type QuerySponsorResponse struct {
Pools []Pool `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools"`
}
func (*QuerySponsorResponse) Descriptor ¶
func (*QuerySponsorResponse) Descriptor() ([]byte, []int)
func (*QuerySponsorResponse) GetPools ¶
func (m *QuerySponsorResponse) GetPools() []Pool
func (*QuerySponsorResponse) Marshal ¶
func (m *QuerySponsorResponse) Marshal() (dAtA []byte, err error)
func (*QuerySponsorResponse) MarshalTo ¶
func (m *QuerySponsorResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySponsorResponse) MarshalToSizedBuffer ¶
func (m *QuerySponsorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySponsorResponse) ProtoMessage ¶
func (*QuerySponsorResponse) ProtoMessage()
func (*QuerySponsorResponse) Reset ¶
func (m *QuerySponsorResponse) Reset()
func (*QuerySponsorResponse) Size ¶
func (m *QuerySponsorResponse) Size() (n int)
func (*QuerySponsorResponse) String ¶
func (m *QuerySponsorResponse) String() string
func (*QuerySponsorResponse) Unmarshal ¶
func (m *QuerySponsorResponse) Unmarshal(dAtA []byte) error
func (*QuerySponsorResponse) XXX_DiscardUnknown ¶
func (m *QuerySponsorResponse) XXX_DiscardUnknown()
func (*QuerySponsorResponse) XXX_Marshal ¶
func (m *QuerySponsorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySponsorResponse) XXX_Merge ¶
func (m *QuerySponsorResponse) XXX_Merge(src proto.Message)
func (*QuerySponsorResponse) XXX_Size ¶
func (m *QuerySponsorResponse) XXX_Size() int
func (*QuerySponsorResponse) XXX_Unmarshal ¶
func (m *QuerySponsorResponse) XXX_Unmarshal(b []byte) error
type Reimbursement ¶
type Reimbursement struct { Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` Beneficiary string `protobuf:"bytes,2,opt,name=beneficiary,proto3" json:"beneficiary,omitempty" yaml:"beneficiary"` PayoutTime time.Time `protobuf:"bytes,3,opt,name=payout_time,json=payoutTime,proto3,stdtime" json:"payout_time" yaml:"payout_time"` }
func NewReimbursement ¶
func NewReimbursement(amount sdk.Coins, beneficiary sdk.AccAddress, payoutTime time.Time) Reimbursement
NewReimbursement returns a new Reimbursement instance.
func (*Reimbursement) Descriptor ¶
func (*Reimbursement) Descriptor() ([]byte, []int)
func (*Reimbursement) Marshal ¶
func (m *Reimbursement) Marshal() (dAtA []byte, err error)
func (*Reimbursement) MarshalToSizedBuffer ¶
func (m *Reimbursement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Reimbursement) ProtoMessage ¶
func (*Reimbursement) ProtoMessage()
func (*Reimbursement) Reset ¶
func (m *Reimbursement) Reset()
func (*Reimbursement) Size ¶
func (m *Reimbursement) Size() (n int)
func (*Reimbursement) String ¶
func (m *Reimbursement) String() string
func (*Reimbursement) Unmarshal ¶
func (m *Reimbursement) Unmarshal(dAtA []byte) error
func (*Reimbursement) XXX_DiscardUnknown ¶
func (m *Reimbursement) XXX_DiscardUnknown()
func (*Reimbursement) XXX_Marshal ¶
func (m *Reimbursement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Reimbursement) XXX_Merge ¶
func (m *Reimbursement) XXX_Merge(src proto.Message)
func (*Reimbursement) XXX_Size ¶
func (m *Reimbursement) XXX_Size() int
func (*Reimbursement) XXX_Unmarshal ¶
func (m *Reimbursement) XXX_Unmarshal(b []byte) error
type ShieldClaimProposal ¶
type ShieldClaimProposal struct { ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty" yaml:"proposal_id"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` PurchaseId uint64 `protobuf:"varint,3,opt,name=purchase_id,json=purchaseId,proto3" json:"purchase_id,omitempty" yaml:"purchase_id"` Loss github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=loss,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"loss" yaml:"loss"` Evidence string `protobuf:"bytes,5,opt,name=evidence,proto3" json:"evidence,omitempty" yaml:"evidence"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` Proposer string `protobuf:"bytes,7,opt,name=proposer,proto3" json:"proposer,omitempty" yaml:"proposer"` }
func NewShieldClaimProposal ¶
func NewShieldClaimProposal(poolID uint64, loss sdk.Coins, purchaseID uint64, evidence, description string, proposer sdk.AccAddress) *ShieldClaimProposal
NewShieldClaimProposal creates a new shield claim proposal.
func (*ShieldClaimProposal) Descriptor ¶
func (*ShieldClaimProposal) Descriptor() ([]byte, []int)
func (ShieldClaimProposal) GetDescription ¶
func (scp ShieldClaimProposal) GetDescription() string
GetDescription returns the description of a shield claim proposal.
func (ShieldClaimProposal) GetTitle ¶
func (scp ShieldClaimProposal) GetTitle() string
GetTitle returns the title of a shield claim proposal.
func (*ShieldClaimProposal) Marshal ¶
func (m *ShieldClaimProposal) Marshal() (dAtA []byte, err error)
func (*ShieldClaimProposal) MarshalTo ¶
func (m *ShieldClaimProposal) MarshalTo(dAtA []byte) (int, error)
func (*ShieldClaimProposal) MarshalToSizedBuffer ¶
func (m *ShieldClaimProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (ShieldClaimProposal) ProposalRoute ¶
func (scp ShieldClaimProposal) ProposalRoute() string
GetDescription returns the routing key of a shield claim proposal.
func (ShieldClaimProposal) ProposalType ¶
func (scp ShieldClaimProposal) ProposalType() string
ProposalType returns the type of a shield claim proposal.
func (*ShieldClaimProposal) ProtoMessage ¶
func (*ShieldClaimProposal) ProtoMessage()
func (*ShieldClaimProposal) Reset ¶
func (m *ShieldClaimProposal) Reset()
func (*ShieldClaimProposal) Size ¶
func (m *ShieldClaimProposal) Size() (n int)
func (ShieldClaimProposal) String ¶
func (scp ShieldClaimProposal) String() string
String implements the Stringer interface.
func (*ShieldClaimProposal) Unmarshal ¶
func (m *ShieldClaimProposal) Unmarshal(dAtA []byte) error
func (ShieldClaimProposal) ValidateBasic ¶
func (scp ShieldClaimProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks.
func (*ShieldClaimProposal) XXX_DiscardUnknown ¶
func (m *ShieldClaimProposal) XXX_DiscardUnknown()
func (*ShieldClaimProposal) XXX_Marshal ¶
func (m *ShieldClaimProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShieldClaimProposal) XXX_Merge ¶
func (m *ShieldClaimProposal) XXX_Merge(src proto.Message)
func (*ShieldClaimProposal) XXX_Size ¶
func (m *ShieldClaimProposal) XXX_Size() int
func (*ShieldClaimProposal) XXX_Unmarshal ¶
func (m *ShieldClaimProposal) XXX_Unmarshal(b []byte) error
type ShieldStaking ¶
type ShieldStaking struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` Purchaser string `protobuf:"bytes,2,opt,name=purchaser,proto3" json:"purchaser,omitempty" yaml:"purchaser"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount" yaml:"amount"` WithdrawRequested github_com_cosmos_cosmos_sdk_types.Int `` /* 178-byte string literal not displayed */ }
func NewShieldStaking ¶
func NewShieldStaking(poolID uint64, purchaser sdk.AccAddress, amount sdk.Int) ShieldStaking
func (*ShieldStaking) Descriptor ¶
func (*ShieldStaking) Descriptor() ([]byte, []int)
func (*ShieldStaking) Marshal ¶
func (m *ShieldStaking) Marshal() (dAtA []byte, err error)
func (*ShieldStaking) MarshalToSizedBuffer ¶
func (m *ShieldStaking) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ShieldStaking) ProtoMessage ¶
func (*ShieldStaking) ProtoMessage()
func (*ShieldStaking) Reset ¶
func (m *ShieldStaking) Reset()
func (*ShieldStaking) Size ¶
func (m *ShieldStaking) Size() (n int)
func (*ShieldStaking) String ¶
func (m *ShieldStaking) String() string
func (*ShieldStaking) Unmarshal ¶
func (m *ShieldStaking) Unmarshal(dAtA []byte) error
func (*ShieldStaking) XXX_DiscardUnknown ¶
func (m *ShieldStaking) XXX_DiscardUnknown()
func (*ShieldStaking) XXX_Marshal ¶
func (m *ShieldStaking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShieldStaking) XXX_Merge ¶
func (m *ShieldStaking) XXX_Merge(src proto.Message)
func (*ShieldStaking) XXX_Size ¶
func (m *ShieldStaking) XXX_Size() int
func (*ShieldStaking) XXX_Unmarshal ¶
func (m *ShieldStaking) XXX_Unmarshal(b []byte) error
type StakingKeeper ¶
type StakingKeeper interface { // IterateValidators iterates through validators by admin address, execute func for each validator. IterateValidators(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool)) // GetValidator gets a particular validator by admin address with a found flag. GetValidator(sdk.Context, sdk.ValAddress) (stakingtypes.Validator, bool) // GetAllValidators gets the set of all validators with no limits, used during genesis dump. GetAllValidators(ctx sdk.Context) []stakingtypes.Validator // GetValidatorDelegations returns all delegations to a specific validator. Useful for querier. GetValidatorDelegations(ctx sdk.Context, valAddr sdk.ValAddress) []stakingtypes.Delegation // Delegation allows for getting a particular delegation for a given validator // and delegator outside the scope of the staking module. Delegation(sdk.Context, sdk.AccAddress, sdk.ValAddress) stakingtypes.DelegationI GetAllDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAddress) []stakingtypes.Delegation GetAllUnbondingDelegations(ctx sdk.Context, delegator sdk.AccAddress) []stakingtypes.UnbondingDelegation GetUnbondingDelegation(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (stakingtypes.UnbondingDelegation, bool) SetUnbondingDelegation(ctx sdk.Context, ubd stakingtypes.UnbondingDelegation) RemoveUnbondingDelegation(ctx sdk.Context, ubd stakingtypes.UnbondingDelegation) GetUBDQueueTimeSlice(ctx sdk.Context, timestamp time.Time) (dvPairs []stakingtypes.DVPair) SetUBDQueueTimeSlice(ctx sdk.Context, timestamp time.Time, timeslice []stakingtypes.DVPair) InsertUBDQueue(ctx sdk.Context, ubd stakingtypes.UnbondingDelegation, completionTime time.Time) SetDelegation(ctx sdk.Context, delegation stakingtypes.Delegation) GetDelegation(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (stakingtypes.Delegation, bool) AfterDelegationModified(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) UBDQueueIterator(ctx sdk.Context, timestamp time.Time) sdk.Iterator RemoveUBDQueue(ctx sdk.Context, timestamp time.Time) GetRedelegations(ctx sdk.Context, delegator sdk.AccAddress, maxRetrieve uint16) (redelegations []stakingtypes.Redelegation) SetValidator(ctx sdk.Context, validator stakingtypes.Validator) DeleteValidatorByPowerIndex(ctx sdk.Context, validator stakingtypes.Validator) RemoveDelegation(ctx sdk.Context, delegation stakingtypes.Delegation) RemoveValidator(ctx sdk.Context, address sdk.ValAddress) BondDenom(sdk.Context) string UnbondingTime(sdk.Context) time.Duration GetBondedPool(ctx sdk.Context) authtypes.ModuleAccountI }
StakingKeeper defines the expected staking keeper.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreatePool ¶
func (*UnimplementedMsgServer) CreatePool(ctx context.Context, req *MsgCreatePool) (*MsgCreatePoolResponse, error)
func (*UnimplementedMsgServer) DepositCollateral ¶
func (*UnimplementedMsgServer) DepositCollateral(ctx context.Context, req *MsgDepositCollateral) (*MsgDepositCollateralResponse, error)
func (*UnimplementedMsgServer) PausePool ¶
func (*UnimplementedMsgServer) PausePool(ctx context.Context, req *MsgPausePool) (*MsgPausePoolResponse, error)
func (*UnimplementedMsgServer) PurchaseShield ¶
func (*UnimplementedMsgServer) PurchaseShield(ctx context.Context, req *MsgPurchaseShield) (*MsgPurchaseShieldResponse, error)
func (*UnimplementedMsgServer) ResumePool ¶
func (*UnimplementedMsgServer) ResumePool(ctx context.Context, req *MsgResumePool) (*MsgResumePoolResponse, error)
func (*UnimplementedMsgServer) StakeForShield ¶
func (*UnimplementedMsgServer) StakeForShield(ctx context.Context, req *MsgStakeForShield) (*MsgStakeForShieldResponse, error)
func (*UnimplementedMsgServer) UnstakeFromShield ¶
func (*UnimplementedMsgServer) UnstakeFromShield(ctx context.Context, req *MsgUnstakeFromShield) (*MsgUnstakeFromShieldResponse, error)
func (*UnimplementedMsgServer) UpdatePool ¶
func (*UnimplementedMsgServer) UpdatePool(ctx context.Context, req *MsgUpdatePool) (*MsgUpdatePoolResponse, error)
func (*UnimplementedMsgServer) UpdateSponsor ¶
func (*UnimplementedMsgServer) UpdateSponsor(ctx context.Context, req *MsgUpdateSponsor) (*MsgUpdateSponsorResponse, error)
func (*UnimplementedMsgServer) WithdrawCollateral ¶
func (*UnimplementedMsgServer) WithdrawCollateral(ctx context.Context, req *MsgWithdrawCollateral) (*MsgWithdrawCollateralResponse, error)
func (*UnimplementedMsgServer) WithdrawForeignRewards ¶
func (*UnimplementedMsgServer) WithdrawForeignRewards(ctx context.Context, req *MsgWithdrawForeignRewards) (*MsgWithdrawForeignRewardsResponse, error)
func (*UnimplementedMsgServer) WithdrawReimbursement ¶
func (*UnimplementedMsgServer) WithdrawReimbursement(ctx context.Context, req *MsgWithdrawReimbursement) (*MsgWithdrawReimbursementResponse, error)
func (*UnimplementedMsgServer) WithdrawRewards ¶
func (*UnimplementedMsgServer) WithdrawRewards(ctx context.Context, req *MsgWithdrawRewards) (*MsgWithdrawRewardsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ClaimParams ¶
func (*UnimplementedQueryServer) ClaimParams(ctx context.Context, req *QueryClaimParamsRequest) (*QueryClaimParamsResponse, error)
func (*UnimplementedQueryServer) DistrParams ¶
func (*UnimplementedQueryServer) DistrParams(ctx context.Context, req *QueryDistrParamsRequest) (*QueryDistrParamsResponse, error)
func (*UnimplementedQueryServer) Pool ¶
func (*UnimplementedQueryServer) Pool(ctx context.Context, req *QueryPoolRequest) (*QueryPoolResponse, error)
func (*UnimplementedQueryServer) PoolParams ¶
func (*UnimplementedQueryServer) PoolParams(ctx context.Context, req *QueryPoolParamsRequest) (*QueryPoolParamsResponse, error)
func (*UnimplementedQueryServer) PoolPurchaseLists ¶
func (*UnimplementedQueryServer) PoolPurchaseLists(ctx context.Context, req *QueryPoolPurchaseListsRequest) (*QueryPurchaseListsResponse, error)
func (*UnimplementedQueryServer) Pools ¶
func (*UnimplementedQueryServer) Pools(ctx context.Context, req *QueryPoolsRequest) (*QueryPoolsResponse, error)
func (*UnimplementedQueryServer) Provider ¶
func (*UnimplementedQueryServer) Provider(ctx context.Context, req *QueryProviderRequest) (*QueryProviderResponse, error)
func (*UnimplementedQueryServer) Providers ¶
func (*UnimplementedQueryServer) Providers(ctx context.Context, req *QueryProvidersRequest) (*QueryProvidersResponse, error)
func (*UnimplementedQueryServer) PurchaseList ¶
func (*UnimplementedQueryServer) PurchaseList(ctx context.Context, req *QueryPurchaseListRequest) (*QueryPurchaseListResponse, error)
func (*UnimplementedQueryServer) PurchaseLists ¶
func (*UnimplementedQueryServer) PurchaseLists(ctx context.Context, req *QueryPurchaseListsRequest) (*QueryPurchaseListsResponse, error)
func (*UnimplementedQueryServer) Purchases ¶
func (*UnimplementedQueryServer) Purchases(ctx context.Context, req *QueryPurchasesRequest) (*QueryPurchasesResponse, error)
func (*UnimplementedQueryServer) Reimbursement ¶
func (*UnimplementedQueryServer) Reimbursement(ctx context.Context, req *QueryReimbursementRequest) (*QueryReimbursementResponse, error)
func (*UnimplementedQueryServer) Reimbursements ¶
func (*UnimplementedQueryServer) Reimbursements(ctx context.Context, req *QueryReimbursementsRequest) (*QueryReimbursementsResponse, error)
func (*UnimplementedQueryServer) ShieldStaking ¶
func (*UnimplementedQueryServer) ShieldStaking(ctx context.Context, req *QueryShieldStakingRequest) (*QueryShieldStakingResponse, error)
func (*UnimplementedQueryServer) ShieldStakingRate ¶
func (*UnimplementedQueryServer) ShieldStakingRate(ctx context.Context, req *QueryShieldStakingRateRequest) (*QueryShieldStakingRateResponse, error)
func (*UnimplementedQueryServer) ShieldStatus ¶
func (*UnimplementedQueryServer) ShieldStatus(ctx context.Context, req *QueryShieldStatusRequest) (*QueryShieldStatusResponse, error)
func (*UnimplementedQueryServer) Sponsor ¶
func (*UnimplementedQueryServer) Sponsor(ctx context.Context, req *QuerySponsorRequest) (*QuerySponsorResponse, error)
type Withdraw ¶
type Withdraw struct { // Address is the chain address of the provider withdrawing. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` // Amount is the amount of withdraw. Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount" yaml:"amount"` // CompletionTime is the scheduled withdraw completion time. CompletionTime time.Time `protobuf:"bytes,3,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time" yaml:"completion_time"` }
Withdraw stores an ongoing withdraw of pool collateral.
func NewWithdraw ¶
NewWithdraw creates a new withdraw object.
func (*Withdraw) Descriptor ¶
func (*Withdraw) MarshalToSizedBuffer ¶
func (*Withdraw) ProtoMessage ¶
func (*Withdraw) ProtoMessage()
func (*Withdraw) XXX_DiscardUnknown ¶
func (m *Withdraw) XXX_DiscardUnknown()
func (*Withdraw) XXX_Marshal ¶
func (*Withdraw) XXX_Unmarshal ¶
type Withdraws ¶
type Withdraws struct {
Withdraws []Withdraw `protobuf:"bytes,1,rep,name=withdraws,proto3" json:"withdraws"`
}
Withdraws defines an array of Withdraw objects.
func (*Withdraws) Descriptor ¶
func (*Withdraws) GetWithdraws ¶
func (*Withdraws) MarshalToSizedBuffer ¶
func (*Withdraws) ProtoMessage ¶
func (*Withdraws) ProtoMessage()
func (*Withdraws) XXX_DiscardUnknown ¶
func (m *Withdraws) XXX_DiscardUnknown()