Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func CombineKeys(keys ...[]byte) []byte
- func CombineStringKeys(keys ...string) string
- func DecombineStringKeys(combined string) []string
- func GetAccountDepositsKey(addr sdk.Address) []byte
- func GetAccountPoolDepositKey(addr sdk.Address, poolID uint64, depositID uint64) []byte
- func GetAccountPoolDepositsKey(addr sdk.Address, poolID uint64) []byte
- func GetAccountPoolDrawPrizeKey(addr sdk.Address, poolID uint64, drawID uint64, prizeID uint64) []byte
- func GetAccountPoolDrawPrizesKey(addr sdk.Address, poolID uint64, drawID uint64) []byte
- func GetAccountPoolPrizesKey(addr sdk.Address, poolID uint64) []byte
- func GetAccountPoolWithdrawalKey(addr sdk.Address, poolID uint64, withdrawalID uint64) []byte
- func GetAccountPoolWithdrawalsKey(addr sdk.Address, poolID uint64) []byte
- func GetAccountPrizesKey(addr sdk.Address) []byte
- func GetAccountWithdrawalsKey(addr sdk.Address) []byte
- func GetDepositsKey() []byte
- func GetEpochPoolUnbondingKey(epochID uint64, poolID uint64) []byte
- func GetEpochTrackerKey(epochIdentifier string, trackertype string) []byte
- func GetEpochUnbondingsKey(epochID uint64) []byte
- func GetExpiringPrizeTimeKey(timestamp time.Time) []byte
- func GetMaturedWithdrawalTimeKey(timestamp time.Time) []byte
- func GetPoolDepositKey(poolID uint64, depositID uint64) []byte
- func GetPoolDepositsKey(poolID uint64) []byte
- func GetPoolDrawIDKey(poolID uint64, drawID uint64) []byte
- func GetPoolDrawPrizeKey(poolID uint64, drawID uint64, prizeID uint64) []byte
- func GetPoolDrawPrizesKey(poolID uint64, drawID uint64) []byte
- func GetPoolDrawsKey(poolID uint64) []byte
- func GetPoolKey(poolID uint64) []byte
- func GetPoolPrizesKey(poolID uint64) []byte
- func GetPoolWithdrawalKey(poolID uint64, withdrawalID uint64) []byte
- func GetPoolWithdrawalsKey(poolID uint64) []byte
- func GetPrizesKey() []byte
- func GetWithdrawalsKey() []byte
- func NewPoolAddress(poolID uint64, addressType string) sdk.AccAddress
- func NewPoolName(poolID uint64, addressType string) []byte
- func NewRegisterPoolProposal(title string, description string, poolType PoolType, chainID string, ...) govtypes.Content
- func NewUpdateParamsProposal(title, description string, minDepositAmount *math.Int, fees *sdk.Dec, ...) govtypes.Content
- func NewUpdatePoolProposal(title, description string, poolId uint64, validators []string, ...) govtypes.Content
- func RegisterInterfaces(registry cdctypes.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 StringKeyToBytes(key string) []byte
- func ValidateGenesis(data GenesisState) error
- type BankSendCallback
- func (*BankSendCallback) Descriptor() ([]byte, []int)
- func (m *BankSendCallback) GetPoolId() uint64
- func (m *BankSendCallback) GetWithdrawalId() uint64
- func (m *BankSendCallback) Marshal() (dAtA []byte, err error)
- func (m *BankSendCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *BankSendCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BankSendCallback) ProtoMessage()
- func (m *BankSendCallback) Reset()
- func (m *BankSendCallback) Size() (n int)
- func (m *BankSendCallback) String() string
- func (m *BankSendCallback) Unmarshal(dAtA []byte) error
- func (m *BankSendCallback) XXX_DiscardUnknown()
- func (m *BankSendCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BankSendCallback) XXX_Merge(src proto.Message)
- func (m *BankSendCallback) XXX_Size() int
- func (m *BankSendCallback) XXX_Unmarshal(b []byte) error
- type ClaimRewardsCallback
- func (*ClaimRewardsCallback) Descriptor() ([]byte, []int)
- func (m *ClaimRewardsCallback) GetDrawId() uint64
- func (m *ClaimRewardsCallback) GetPoolId() uint64
- func (m *ClaimRewardsCallback) Marshal() (dAtA []byte, err error)
- func (m *ClaimRewardsCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimRewardsCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimRewardsCallback) ProtoMessage()
- func (m *ClaimRewardsCallback) Reset()
- func (m *ClaimRewardsCallback) Size() (n int)
- func (m *ClaimRewardsCallback) String() string
- func (m *ClaimRewardsCallback) Unmarshal(dAtA []byte) error
- func (m *ClaimRewardsCallback) XXX_DiscardUnknown()
- func (m *ClaimRewardsCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimRewardsCallback) XXX_Merge(src proto.Message)
- func (m *ClaimRewardsCallback) XXX_Size() int
- func (m *ClaimRewardsCallback) XXX_Unmarshal(b []byte) error
- type DelegateCallback
- func (*DelegateCallback) Descriptor() ([]byte, []int)
- func (m *DelegateCallback) GetDepositId() uint64
- func (m *DelegateCallback) GetPoolId() uint64
- func (m *DelegateCallback) GetSplitDelegations() []*SplitDelegation
- func (m *DelegateCallback) Marshal() (dAtA []byte, err error)
- func (m *DelegateCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegateCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegateCallback) ProtoMessage()
- func (m *DelegateCallback) Reset()
- func (m *DelegateCallback) Size() (n int)
- func (m *DelegateCallback) String() string
- func (m *DelegateCallback) Unmarshal(dAtA []byte) error
- func (m *DelegateCallback) XXX_DiscardUnknown()
- func (m *DelegateCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegateCallback) XXX_Merge(src proto.Message)
- func (m *DelegateCallback) XXX_Size() int
- func (m *DelegateCallback) XXX_Unmarshal(b []byte) error
- type Deposit
- func (*Deposit) Descriptor() ([]byte, []int)
- func (m *Deposit) GetAmount() types.Coin
- func (m *Deposit) GetCreatedAt() time.Time
- func (m *Deposit) GetCreatedAtHeight() int64
- func (m *Deposit) GetDepositId() uint64
- func (m *Deposit) GetDepositorAddress() string
- func (m *Deposit) GetErrorState() DepositState
- func (m *Deposit) GetIsSponsor() bool
- func (m *Deposit) GetPoolId() uint64
- func (m *Deposit) GetState() DepositState
- func (m *Deposit) GetUpdatedAt() time.Time
- func (m *Deposit) GetUpdatedAtHeight() int64
- func (m *Deposit) GetWinnerAddress() string
- func (m *Deposit) Marshal() (dAtA []byte, err error)
- func (m *Deposit) MarshalTo(dAtA []byte) (int, error)
- func (m *Deposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Deposit) ProtoMessage()
- func (m *Deposit) Reset()
- func (m *Deposit) Size() (n int)
- func (m *Deposit) String() string
- func (m *Deposit) Unmarshal(dAtA []byte) error
- func (deposit *Deposit) ValidateBasic() error
- func (m *Deposit) XXX_DiscardUnknown()
- func (m *Deposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Deposit) XXX_Merge(src proto.Message)
- func (m *Deposit) XXX_Size() int
- func (m *Deposit) XXX_Unmarshal(b []byte) error
- type DepositState
- type Draw
- func (*Draw) Descriptor() ([]byte, []int)
- func (m *Draw) GetCreatedAt() time.Time
- func (m *Draw) GetCreatedAtHeight() int64
- func (m *Draw) GetDrawId() uint64
- func (m *Draw) GetErrorState() DrawState
- func (m *Draw) GetPoolId() uint64
- func (m *Draw) GetPrizePool() types.Coin
- func (m *Draw) GetPrizesRefs() []PrizeRef
- func (m *Draw) GetRandSeed() int64
- func (m *Draw) GetState() DrawState
- func (m *Draw) GetTotalWinCount() uint64
- func (m *Draw) GetUpdatedAt() time.Time
- func (m *Draw) GetUpdatedAtHeight() int64
- func (m *Draw) Marshal() (dAtA []byte, err error)
- func (m *Draw) MarshalTo(dAtA []byte) (int, error)
- func (m *Draw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Draw) ProtoMessage()
- func (m *Draw) Reset()
- func (m *Draw) Size() (n int)
- func (m *Draw) String() string
- func (m *Draw) Unmarshal(dAtA []byte) error
- func (m *Draw) XXX_DiscardUnknown()
- func (m *Draw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Draw) XXX_Merge(src proto.Message)
- func (m *Draw) XXX_Size() int
- func (m *Draw) XXX_Unmarshal(b []byte) error
- type DrawSchedule
- func (*DrawSchedule) Descriptor() ([]byte, []int)
- func (m *DrawSchedule) GetDrawDelta() time.Duration
- func (m *DrawSchedule) GetInitialDrawAt() time.Time
- func (m *DrawSchedule) Marshal() (dAtA []byte, err error)
- func (m *DrawSchedule) MarshalTo(dAtA []byte) (int, error)
- func (m *DrawSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DrawSchedule) ProtoMessage()
- func (m *DrawSchedule) Reset()
- func (ps DrawSchedule) Sanitized() DrawSchedule
- func (ps DrawSchedule) ShouldDraw(ctx sdk.Context, lastDrawAt *time.Time) bool
- func (m *DrawSchedule) Size() (n int)
- func (m *DrawSchedule) String() string
- func (m *DrawSchedule) Unmarshal(dAtA []byte) error
- func (ps DrawSchedule) ValidateBasic(params Params) error
- func (ps DrawSchedule) ValidateNew(ctx sdk.Context, params Params) error
- func (m *DrawSchedule) XXX_DiscardUnknown()
- func (m *DrawSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DrawSchedule) XXX_Merge(src proto.Message)
- func (m *DrawSchedule) XXX_Size() int
- func (m *DrawSchedule) XXX_Unmarshal(b []byte) error
- type DrawState
- type EpochTracker
- func (*EpochTracker) Descriptor() ([]byte, []int)
- func (m *EpochTracker) GetEpochIdentifier() string
- func (m *EpochTracker) GetEpochNumber() uint64
- func (m *EpochTracker) GetEpochTrackerType() string
- func (m *EpochTracker) GetNextEpochNumber() uint64
- func (m *EpochTracker) GetNextEpochStartTime() time.Time
- func (m *EpochTracker) GetPreviousEpochNumber() uint64
- func (m *EpochTracker) Marshal() (dAtA []byte, err error)
- func (m *EpochTracker) MarshalTo(dAtA []byte) (int, error)
- func (m *EpochTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EpochTracker) ProtoMessage()
- func (m *EpochTracker) Reset()
- func (m *EpochTracker) Size() (n int)
- func (m *EpochTracker) String() string
- func (m *EpochTracker) Unmarshal(dAtA []byte) error
- func (m *EpochTracker) XXX_DiscardUnknown()
- func (m *EpochTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochTracker) XXX_Merge(src proto.Message)
- func (m *EpochTracker) XXX_Size() int
- func (m *EpochTracker) XXX_Unmarshal(b []byte) error
- type EpochUnbonding
- func (*EpochUnbonding) Descriptor() ([]byte, []int)
- func (m *EpochUnbonding) GetCreatedAt() time.Time
- func (m *EpochUnbonding) GetCreatedAtHeight() int64
- func (m *EpochUnbonding) GetEpochIdentifier() string
- func (m *EpochUnbonding) GetEpochNumber() uint64
- func (m *EpochUnbonding) GetPoolId() uint64
- func (m *EpochUnbonding) GetTotalAmount() types.Coin
- func (m *EpochUnbonding) GetUpdatedAt() time.Time
- func (m *EpochUnbonding) GetUpdatedAtHeight() int64
- func (m *EpochUnbonding) GetWithdrawalIds() []uint64
- func (m *EpochUnbonding) GetWithdrawalIdsCount() uint64
- func (m *EpochUnbonding) Marshal() (dAtA []byte, err error)
- func (m *EpochUnbonding) MarshalTo(dAtA []byte) (int, error)
- func (m *EpochUnbonding) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EpochUnbonding) ProtoMessage()
- func (m *EpochUnbonding) Reset()
- func (m *EpochUnbonding) Size() (n int)
- func (m *EpochUnbonding) String() string
- func (m *EpochUnbonding) Unmarshal(dAtA []byte) error
- func (e *EpochUnbonding) ValidateBasic(params Params) error
- func (e *EpochUnbonding) WithdrawalIDExists(withdrawalID uint64) bool
- func (e *EpochUnbonding) WithdrawalIDsLimitReached(count uint64) bool
- func (m *EpochUnbonding) XXX_DiscardUnknown()
- func (m *EpochUnbonding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochUnbonding) XXX_Merge(src proto.Message)
- func (m *EpochUnbonding) XXX_Size() int
- func (m *EpochUnbonding) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetDeposits() []Deposit
- func (m *GenesisState) GetDraws() []Draw
- func (m *GenesisState) GetEpochTrackers() []EpochTracker
- func (m *GenesisState) GetNextDepositId() uint64
- func (m *GenesisState) GetNextPoolId() uint64
- func (m *GenesisState) GetNextPrizeId() uint64
- func (m *GenesisState) GetNextWithdrawalId() uint64
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPools() []Pool
- func (m *GenesisState) GetPrizes() []Prize
- func (m *GenesisState) GetWithdrawals() []Withdrawal
- 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 MsgClaimPrize
- func (*MsgClaimPrize) Descriptor() ([]byte, []int)
- func (m *MsgClaimPrize) GetDrawId() uint64
- func (m *MsgClaimPrize) GetPoolId() uint64
- func (m *MsgClaimPrize) GetPrizeId() uint64
- func (msg *MsgClaimPrize) GetSignBytes() []byte
- func (msg *MsgClaimPrize) GetSigners() []sdk.AccAddress
- func (m *MsgClaimPrize) GetWinnerAddress() string
- func (m *MsgClaimPrize) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimPrize) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimPrize) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimPrize) ProtoMessage()
- func (m *MsgClaimPrize) Reset()
- func (msg MsgClaimPrize) Route() string
- func (m *MsgClaimPrize) Size() (n int)
- func (m *MsgClaimPrize) String() string
- func (msg MsgClaimPrize) Type() string
- func (m *MsgClaimPrize) Unmarshal(dAtA []byte) error
- func (msg *MsgClaimPrize) ValidateBasic() error
- func (m *MsgClaimPrize) XXX_DiscardUnknown()
- func (m *MsgClaimPrize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimPrize) XXX_Merge(src proto.Message)
- func (m *MsgClaimPrize) XXX_Size() int
- func (m *MsgClaimPrize) XXX_Unmarshal(b []byte) error
- type MsgClaimPrizeResponse
- func (*MsgClaimPrizeResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimPrizeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimPrizeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimPrizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimPrizeResponse) ProtoMessage()
- func (m *MsgClaimPrizeResponse) Reset()
- func (m *MsgClaimPrizeResponse) Size() (n int)
- func (m *MsgClaimPrizeResponse) String() string
- func (m *MsgClaimPrizeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimPrizeResponse) XXX_DiscardUnknown()
- func (m *MsgClaimPrizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimPrizeResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimPrizeResponse) XXX_Size() int
- func (m *MsgClaimPrizeResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDeposit
- func (*MsgDeposit) Descriptor() ([]byte, []int)
- func (m *MsgDeposit) GetAmount() types1.Coin
- func (m *MsgDeposit) GetDepositorAddress() string
- func (m *MsgDeposit) GetIsSponsor() bool
- func (m *MsgDeposit) GetPoolId() uint64
- func (msg *MsgDeposit) GetSignBytes() []byte
- func (msg *MsgDeposit) GetSigners() []sdk.AccAddress
- func (m *MsgDeposit) GetWinnerAddress() string
- func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeposit) ProtoMessage()
- func (m *MsgDeposit) Reset()
- func (msg MsgDeposit) Route() string
- func (m *MsgDeposit) Size() (n int)
- func (m *MsgDeposit) String() string
- func (msg MsgDeposit) Type() string
- func (m *MsgDeposit) Unmarshal(dAtA []byte) error
- func (msg *MsgDeposit) ValidateBasic() error
- func (m *MsgDeposit) XXX_DiscardUnknown()
- func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeposit) XXX_Merge(src proto.Message)
- func (m *MsgDeposit) XXX_Size() int
- func (m *MsgDeposit) XXX_Unmarshal(b []byte) error
- type MsgDepositEdit
- func (*MsgDepositEdit) Descriptor() ([]byte, []int)
- func (m *MsgDepositEdit) GetDepositId() uint64
- func (m *MsgDepositEdit) GetDepositorAddress() string
- func (m *MsgDepositEdit) GetIsSponsor() *types.BoolValue
- func (m *MsgDepositEdit) GetPoolId() uint64
- func (msg *MsgDepositEdit) GetSignBytes() []byte
- func (msg *MsgDepositEdit) GetSigners() []sdk.AccAddress
- func (m *MsgDepositEdit) GetWinnerAddress() string
- func (m *MsgDepositEdit) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositEdit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositEdit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositEdit) ProtoMessage()
- func (m *MsgDepositEdit) Reset()
- func (msg MsgDepositEdit) Route() string
- func (m *MsgDepositEdit) Size() (n int)
- func (m *MsgDepositEdit) String() string
- func (msg MsgDepositEdit) Type() string
- func (m *MsgDepositEdit) Unmarshal(dAtA []byte) error
- func (msg *MsgDepositEdit) ValidateBasic() error
- func (m *MsgDepositEdit) XXX_DiscardUnknown()
- func (m *MsgDepositEdit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositEdit) XXX_Merge(src proto.Message)
- func (m *MsgDepositEdit) XXX_Size() int
- func (m *MsgDepositEdit) XXX_Unmarshal(b []byte) error
- type MsgDepositEditResponse
- func (*MsgDepositEditResponse) Descriptor() ([]byte, []int)
- func (m *MsgDepositEditResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositEditResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositEditResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositEditResponse) ProtoMessage()
- func (m *MsgDepositEditResponse) Reset()
- func (m *MsgDepositEditResponse) Size() (n int)
- func (m *MsgDepositEditResponse) String() string
- func (m *MsgDepositEditResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDepositEditResponse) XXX_DiscardUnknown()
- func (m *MsgDepositEditResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositEditResponse) XXX_Merge(src proto.Message)
- func (m *MsgDepositEditResponse) XXX_Size() int
- func (m *MsgDepositEditResponse) XXX_Unmarshal(b []byte) error
- type MsgDepositResponse
- func (*MsgDepositResponse) Descriptor() ([]byte, []int)
- func (m *MsgDepositResponse) GetDepositId() uint64
- func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositResponse) ProtoMessage()
- func (m *MsgDepositResponse) Reset()
- func (m *MsgDepositResponse) Size() (n int)
- func (m *MsgDepositResponse) String() string
- func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDepositResponse) XXX_DiscardUnknown()
- func (m *MsgDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgDepositResponse) XXX_Size() int
- func (m *MsgDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgDepositRetry
- func (*MsgDepositRetry) Descriptor() ([]byte, []int)
- func (m *MsgDepositRetry) GetDepositId() uint64
- func (m *MsgDepositRetry) GetDepositorAddress() string
- func (m *MsgDepositRetry) GetPoolId() uint64
- func (msg *MsgDepositRetry) GetSignBytes() []byte
- func (msg *MsgDepositRetry) GetSigners() []sdk.AccAddress
- func (m *MsgDepositRetry) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositRetry) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositRetry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositRetry) ProtoMessage()
- func (m *MsgDepositRetry) Reset()
- func (msg MsgDepositRetry) Route() string
- func (m *MsgDepositRetry) Size() (n int)
- func (m *MsgDepositRetry) String() string
- func (msg MsgDepositRetry) Type() string
- func (m *MsgDepositRetry) Unmarshal(dAtA []byte) error
- func (msg *MsgDepositRetry) ValidateBasic() error
- func (m *MsgDepositRetry) XXX_DiscardUnknown()
- func (m *MsgDepositRetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositRetry) XXX_Merge(src proto.Message)
- func (m *MsgDepositRetry) XXX_Size() int
- func (m *MsgDepositRetry) XXX_Unmarshal(b []byte) error
- type MsgDepositRetryResponse
- func (*MsgDepositRetryResponse) Descriptor() ([]byte, []int)
- func (m *MsgDepositRetryResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositRetryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositRetryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositRetryResponse) ProtoMessage()
- func (m *MsgDepositRetryResponse) Reset()
- func (m *MsgDepositRetryResponse) Size() (n int)
- func (m *MsgDepositRetryResponse) String() string
- func (m *MsgDepositRetryResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDepositRetryResponse) XXX_DiscardUnknown()
- func (m *MsgDepositRetryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositRetryResponse) XXX_Merge(src proto.Message)
- func (m *MsgDepositRetryResponse) XXX_Size() int
- func (m *MsgDepositRetryResponse) XXX_Unmarshal(b []byte) error
- type MsgDrawRetry
- func (*MsgDrawRetry) Descriptor() ([]byte, []int)
- func (m *MsgDrawRetry) GetDrawId() uint64
- func (m *MsgDrawRetry) GetDrawRetryAddress() string
- func (m *MsgDrawRetry) GetPoolId() uint64
- func (msg *MsgDrawRetry) GetSignBytes() []byte
- func (msg *MsgDrawRetry) GetSigners() []sdk.AccAddress
- func (m *MsgDrawRetry) Marshal() (dAtA []byte, err error)
- func (m *MsgDrawRetry) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDrawRetry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDrawRetry) ProtoMessage()
- func (m *MsgDrawRetry) Reset()
- func (msg MsgDrawRetry) Route() string
- func (m *MsgDrawRetry) Size() (n int)
- func (m *MsgDrawRetry) String() string
- func (msg MsgDrawRetry) Type() string
- func (m *MsgDrawRetry) Unmarshal(dAtA []byte) error
- func (msg *MsgDrawRetry) ValidateBasic() error
- func (msg *MsgDrawRetry) ValidateDrawRetryBasic() error
- func (m *MsgDrawRetry) XXX_DiscardUnknown()
- func (m *MsgDrawRetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDrawRetry) XXX_Merge(src proto.Message)
- func (m *MsgDrawRetry) XXX_Size() int
- func (m *MsgDrawRetry) XXX_Unmarshal(b []byte) error
- type MsgDrawRetryResponse
- func (*MsgDrawRetryResponse) Descriptor() ([]byte, []int)
- func (m *MsgDrawRetryResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDrawRetryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDrawRetryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDrawRetryResponse) ProtoMessage()
- func (m *MsgDrawRetryResponse) Reset()
- func (m *MsgDrawRetryResponse) Size() (n int)
- func (m *MsgDrawRetryResponse) String() string
- func (m *MsgDrawRetryResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDrawRetryResponse) XXX_DiscardUnknown()
- func (m *MsgDrawRetryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDrawRetryResponse) XXX_Merge(src proto.Message)
- func (m *MsgDrawRetryResponse) XXX_Size() int
- func (m *MsgDrawRetryResponse) XXX_Unmarshal(b []byte) error
- type MsgGenerateSeed
- func (*MsgGenerateSeed) Descriptor() ([]byte, []int)
- func (m *MsgGenerateSeed) GetRequesterAddress() string
- func (msg *MsgGenerateSeed) GetSignBytes() []byte
- func (msg *MsgGenerateSeed) GetSigners() []sdk.AccAddress
- func (m *MsgGenerateSeed) Marshal() (dAtA []byte, err error)
- func (m *MsgGenerateSeed) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGenerateSeed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGenerateSeed) ProtoMessage()
- func (m *MsgGenerateSeed) Reset()
- func (msg MsgGenerateSeed) Route() string
- func (m *MsgGenerateSeed) Size() (n int)
- func (m *MsgGenerateSeed) String() string
- func (msg MsgGenerateSeed) Type() string
- func (m *MsgGenerateSeed) Unmarshal(dAtA []byte) error
- func (msg *MsgGenerateSeed) ValidateBasic() error
- func (m *MsgGenerateSeed) XXX_DiscardUnknown()
- func (m *MsgGenerateSeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGenerateSeed) XXX_Merge(src proto.Message)
- func (m *MsgGenerateSeed) XXX_Size() int
- func (m *MsgGenerateSeed) XXX_Unmarshal(b []byte) error
- type MsgGenerateSeedResponse
- func (*MsgGenerateSeedResponse) Descriptor() ([]byte, []int)
- func (m *MsgGenerateSeedResponse) GetSeed() int64
- func (m *MsgGenerateSeedResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGenerateSeedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGenerateSeedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGenerateSeedResponse) ProtoMessage()
- func (m *MsgGenerateSeedResponse) Reset()
- func (m *MsgGenerateSeedResponse) Size() (n int)
- func (m *MsgGenerateSeedResponse) String() string
- func (m *MsgGenerateSeedResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGenerateSeedResponse) XXX_DiscardUnknown()
- func (m *MsgGenerateSeedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGenerateSeedResponse) XXX_Merge(src proto.Message)
- func (m *MsgGenerateSeedResponse) XXX_Size() int
- func (m *MsgGenerateSeedResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterPool
- func (*MsgRegisterPool) Descriptor() ([]byte, []int)
- func (m *MsgRegisterPool) GetBech32PrefixAccAddr() string
- func (m *MsgRegisterPool) GetBech32PrefixValAddr() string
- func (m *MsgRegisterPool) GetChainId() string
- func (m *MsgRegisterPool) GetConnectionId() string
- func (m *MsgRegisterPool) GetCreatorAddress() string
- func (m *MsgRegisterPool) GetDenom() string
- func (m *MsgRegisterPool) GetDrawSchedule() DrawSchedule
- func (m *MsgRegisterPool) GetNativeDenom() string
- func (m *MsgRegisterPool) GetPrizeStrategy() PrizeStrategy
- func (m *MsgRegisterPool) GetValidators() []string
- func (m *MsgRegisterPool) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterPool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterPool) ProtoMessage()
- func (m *MsgRegisterPool) Reset()
- func (m *MsgRegisterPool) Size() (n int)
- func (m *MsgRegisterPool) String() string
- func (m *MsgRegisterPool) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterPool) XXX_DiscardUnknown()
- func (m *MsgRegisterPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterPool) XXX_Merge(src proto.Message)
- func (m *MsgRegisterPool) XXX_Size() int
- func (m *MsgRegisterPool) XXX_Unmarshal(b []byte) error
- type MsgRegisterPoolResponse
- func (*MsgRegisterPoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterPoolResponse) GetPoolId() uint64
- func (m *MsgRegisterPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterPoolResponse) ProtoMessage()
- func (m *MsgRegisterPoolResponse) Reset()
- func (m *MsgRegisterPoolResponse) Size() (n int)
- func (m *MsgRegisterPoolResponse) String() string
- func (m *MsgRegisterPoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterPoolResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterPoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterPoolResponse) XXX_Size() int
- func (m *MsgRegisterPoolResponse) XXX_Unmarshal(b []byte) error
- type MsgRestoreInterchainAccounts
- func (*MsgRestoreInterchainAccounts) Descriptor() ([]byte, []int)
- func (m *MsgRestoreInterchainAccounts) GetPoolId() uint64
- func (m *MsgRestoreInterchainAccounts) GetRestorerAddress() string
- func (msg *MsgRestoreInterchainAccounts) GetSignBytes() []byte
- func (msg *MsgRestoreInterchainAccounts) GetSigners() []sdk.AccAddress
- func (m *MsgRestoreInterchainAccounts) Marshal() (dAtA []byte, err error)
- func (m *MsgRestoreInterchainAccounts) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRestoreInterchainAccounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRestoreInterchainAccounts) ProtoMessage()
- func (m *MsgRestoreInterchainAccounts) Reset()
- func (msg MsgRestoreInterchainAccounts) Route() string
- func (m *MsgRestoreInterchainAccounts) Size() (n int)
- func (m *MsgRestoreInterchainAccounts) String() string
- func (msg MsgRestoreInterchainAccounts) Type() string
- func (m *MsgRestoreInterchainAccounts) Unmarshal(dAtA []byte) error
- func (msg *MsgRestoreInterchainAccounts) ValidateBasic() error
- func (m *MsgRestoreInterchainAccounts) XXX_DiscardUnknown()
- func (m *MsgRestoreInterchainAccounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRestoreInterchainAccounts) XXX_Merge(src proto.Message)
- func (m *MsgRestoreInterchainAccounts) XXX_Size() int
- func (m *MsgRestoreInterchainAccounts) XXX_Unmarshal(b []byte) error
- type MsgRestoreInterchainAccountsResponse
- func (*MsgRestoreInterchainAccountsResponse) Descriptor() ([]byte, []int)
- func (m *MsgRestoreInterchainAccountsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRestoreInterchainAccountsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRestoreInterchainAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRestoreInterchainAccountsResponse) ProtoMessage()
- func (m *MsgRestoreInterchainAccountsResponse) Reset()
- func (m *MsgRestoreInterchainAccountsResponse) Size() (n int)
- func (m *MsgRestoreInterchainAccountsResponse) String() string
- func (m *MsgRestoreInterchainAccountsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRestoreInterchainAccountsResponse) XXX_DiscardUnknown()
- func (m *MsgRestoreInterchainAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRestoreInterchainAccountsResponse) XXX_Merge(src proto.Message)
- func (m *MsgRestoreInterchainAccountsResponse) XXX_Size() int
- func (m *MsgRestoreInterchainAccountsResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetMaxDrawScheduleDelta() *time.Duration
- func (m *MsgUpdateParams) GetMinDepositDrawDelta() *time.Duration
- func (m *MsgUpdateParams) GetMinDrawScheduleDelta() *time.Duration
- func (m *MsgUpdateParams) GetPrizeExpirationDelta() *time.Duration
- func (m *MsgUpdateParams) GetUpdaterAddress() string
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdatePool
- func (*MsgUpdatePool) Descriptor() ([]byte, []int)
- func (m *MsgUpdatePool) GetDrawSchedule() *DrawSchedule
- func (m *MsgUpdatePool) GetPoolId() uint64
- func (m *MsgUpdatePool) GetPrizeStrategy() *PrizeStrategy
- func (m *MsgUpdatePool) GetUpdaterAddress() string
- func (m *MsgUpdatePool) GetValidators() []string
- 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 (m *MsgUpdatePool) Size() (n int)
- func (m *MsgUpdatePool) String() string
- func (m *MsgUpdatePool) Unmarshal(dAtA []byte) 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 MsgWithdrawDeposit
- func (*MsgWithdrawDeposit) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawDeposit) GetDepositId() uint64
- func (m *MsgWithdrawDeposit) GetDepositorAddress() string
- func (m *MsgWithdrawDeposit) GetPoolId() uint64
- func (msg *MsgWithdrawDeposit) GetSignBytes() []byte
- func (msg *MsgWithdrawDeposit) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawDeposit) GetToAddress() string
- func (m *MsgWithdrawDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawDeposit) ProtoMessage()
- func (m *MsgWithdrawDeposit) Reset()
- func (msg MsgWithdrawDeposit) Route() string
- func (m *MsgWithdrawDeposit) Size() (n int)
- func (m *MsgWithdrawDeposit) String() string
- func (msg MsgWithdrawDeposit) Type() string
- func (m *MsgWithdrawDeposit) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawDeposit) ValidateBasic() error
- func (m *MsgWithdrawDeposit) XXX_DiscardUnknown()
- func (m *MsgWithdrawDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawDeposit) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawDeposit) XXX_Size() int
- func (m *MsgWithdrawDeposit) XXX_Unmarshal(b []byte) error
- type MsgWithdrawDepositResponse
- func (*MsgWithdrawDepositResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawDepositResponse) GetWithdrawalId() uint64
- func (m *MsgWithdrawDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawDepositResponse) ProtoMessage()
- func (m *MsgWithdrawDepositResponse) Reset()
- func (m *MsgWithdrawDepositResponse) Size() (n int)
- func (m *MsgWithdrawDepositResponse) String() string
- func (m *MsgWithdrawDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawDepositResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawDepositResponse) XXX_Size() int
- func (m *MsgWithdrawDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawDepositRetry
- func (*MsgWithdrawDepositRetry) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawDepositRetry) GetDepositorAddress() string
- func (m *MsgWithdrawDepositRetry) GetPoolId() uint64
- func (msg *MsgWithdrawDepositRetry) GetSignBytes() []byte
- func (msg *MsgWithdrawDepositRetry) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawDepositRetry) GetWithdrawalId() uint64
- func (m *MsgWithdrawDepositRetry) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawDepositRetry) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawDepositRetry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawDepositRetry) ProtoMessage()
- func (m *MsgWithdrawDepositRetry) Reset()
- func (msg MsgWithdrawDepositRetry) Route() string
- func (m *MsgWithdrawDepositRetry) Size() (n int)
- func (m *MsgWithdrawDepositRetry) String() string
- func (msg MsgWithdrawDepositRetry) Type() string
- func (m *MsgWithdrawDepositRetry) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawDepositRetry) ValidateBasic() error
- func (m *MsgWithdrawDepositRetry) XXX_DiscardUnknown()
- func (m *MsgWithdrawDepositRetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawDepositRetry) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawDepositRetry) XXX_Size() int
- func (m *MsgWithdrawDepositRetry) XXX_Unmarshal(b []byte) error
- type MsgWithdrawDepositRetryResponse
- func (*MsgWithdrawDepositRetryResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawDepositRetryResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawDepositRetryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawDepositRetryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawDepositRetryResponse) ProtoMessage()
- func (m *MsgWithdrawDepositRetryResponse) Reset()
- func (m *MsgWithdrawDepositRetryResponse) Size() (n int)
- func (m *MsgWithdrawDepositRetryResponse) String() string
- func (m *MsgWithdrawDepositRetryResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawDepositRetryResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawDepositRetryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawDepositRetryResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawDepositRetryResponse) XXX_Size() int
- func (m *MsgWithdrawDepositRetryResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMaxDrawScheduleDelta() time.Duration
- func (m *Params) GetMaxPrizeBatchQuantity() uint64
- func (m *Params) GetMaxPrizeStrategyBatches() uint64
- func (m *Params) GetMinDepositDrawDelta() time.Duration
- func (m *Params) GetMinDrawScheduleDelta() time.Duration
- func (m *Params) GetPrizeExpirationDelta() time.Duration
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p *Params) ValidateBasics() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type Pool
- func (p *Pool) AccAddressFromBech32(address string) (isLocalAddress bool, addr sdk.AccAddress, err error)
- func (p *Pool) ActiveValidators() (vals []PoolValidator)
- func (p *Pool) ApplySplitDelegate(ctx sdk.Context, splits []*SplitDelegation)
- func (p *Pool) ApplySplitRedelegate(ctx sdk.Context, valSrcAddr string, splits []*SplitDelegation)
- func (p *Pool) ApplySplitUndelegate(ctx sdk.Context, splits []*SplitDelegation)
- func (p *Pool) BondedValidators() (activeVals, inactiveVals []PoolValidator)
- func (p *Pool) ComputeSplitDelegations(ctx sdk.Context, amount math.Int) (splits []*SplitDelegation)
- func (p *Pool) ComputeSplitUndelegations(ctx sdk.Context, amount math.Int) (splits []*SplitDelegation)
- func (*Pool) Descriptor() ([]byte, []int)
- func (m *Pool) GetAvailablePrizePool() types1.Coin
- func (m *Pool) GetBech32PrefixAccAddr() string
- func (m *Pool) GetBech32PrefixValAddr() string
- func (m *Pool) GetChainId() string
- func (m *Pool) GetConnectionId() string
- func (m *Pool) GetCreatedAt() time.Time
- func (m *Pool) GetCreatedAtHeight() int64
- func (m *Pool) GetDenom() string
- func (m *Pool) GetDepositorsCount() uint64
- func (m *Pool) GetDrawSchedule() DrawSchedule
- func (m *Pool) GetIcaDepositAddress() string
- func (m *Pool) GetIcaDepositPortId() string
- func (p *Pool) GetIcaDepositPortIdWithPrefix() string
- func (m *Pool) GetIcaPrizepoolAddress() string
- func (m *Pool) GetIcaPrizepoolPortId() string
- func (p *Pool) GetIcaPrizepoolPortIdWithPrefix() string
- func (m *Pool) GetLastDrawCreatedAt() *time.Time
- func (m *Pool) GetLastDrawState() DrawState
- func (m *Pool) GetLocalAddress() string
- func (m *Pool) GetNativeDenom() string
- func (m *Pool) GetNextDrawId() uint64
- func (p *Pool) GetNextEpochUnbonding(epochTracker EpochTracker) uint64
- func (m *Pool) GetPoolId() uint64
- func (m *Pool) GetPoolType() PoolType
- func (m *Pool) GetPrizeStrategy() PrizeStrategy
- func (m *Pool) GetState() PoolState
- func (m *Pool) GetTransferChannelId() string
- func (m *Pool) GetUnbondingDuration() time.Duration
- func (p *Pool) GetUnbondingFrequency() math.Int
- func (m *Pool) GetUpdatedAt() time.Time
- func (m *Pool) GetUpdatedAtHeight() int64
- func (m *Pool) GetValidators() []PoolValidator
- func (p *Pool) GetValidatorsMapIndex() map[string]int
- func (p *Pool) IsInvalidEpochUnbonding(epochTracker EpochTracker) bool
- func (p *Pool) IsLocalZone(ctx sdk.Context) bool
- 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 (p *Pool) RevertSplitRedelegate(ctx sdk.Context, valSrcAddr string, splits []*SplitDelegation)
- func (p *Pool) ShouldDraw(ctx sdk.Context) bool
- func (m *Pool) Size() (n int)
- func (m *Pool) String() string
- func (m *Pool) Unmarshal(dAtA []byte) error
- func (pool *Pool) ValidateBasic(params Params) 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 PoolState
- type PoolType
- type PoolValidator
- func (*PoolValidator) Descriptor() ([]byte, []int)
- func (m *PoolValidator) GetIsEnabled() bool
- func (m *PoolValidator) GetOperatorAddress() string
- func (val *PoolValidator) IsBonded() bool
- func (m *PoolValidator) Marshal() (dAtA []byte, err error)
- func (m *PoolValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (val *PoolValidator) MustValAddressFromBech32() sdk.ValAddress
- func (*PoolValidator) ProtoMessage()
- func (m *PoolValidator) Reset()
- func (m *PoolValidator) Size() (n int)
- func (m *PoolValidator) String() string
- func (m *PoolValidator) Unmarshal(dAtA []byte) error
- func (m *PoolValidator) XXX_DiscardUnknown()
- func (m *PoolValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolValidator) XXX_Merge(src proto.Message)
- func (m *PoolValidator) XXX_Size() int
- func (m *PoolValidator) XXX_Unmarshal(b []byte) error
- type Prize
- func (*Prize) Descriptor() ([]byte, []int)
- func (m *Prize) GetAmount() types.Coin
- func (m *Prize) GetCreatedAt() time.Time
- func (m *Prize) GetCreatedAtHeight() int64
- func (m *Prize) GetDrawId() uint64
- func (m *Prize) GetExpiresAt() time.Time
- func (m *Prize) GetPoolId() uint64
- func (m *Prize) GetPrizeId() uint64
- func (m *Prize) GetState() PrizeState
- func (m *Prize) GetUpdatedAt() time.Time
- func (m *Prize) GetUpdatedAtHeight() int64
- func (m *Prize) GetWinnerAddress() string
- func (m *Prize) Marshal() (dAtA []byte, err error)
- func (m *Prize) MarshalTo(dAtA []byte) (int, error)
- func (m *Prize) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Prize) ProtoMessage()
- func (m *Prize) Reset()
- func (m *Prize) Size() (n int)
- func (m *Prize) String() string
- func (m *Prize) Unmarshal(dAtA []byte) error
- func (prize *Prize) ValidateBasic() error
- func (m *Prize) XXX_DiscardUnknown()
- func (m *Prize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Prize) XXX_Merge(src proto.Message)
- func (m *Prize) XXX_Size() int
- func (m *Prize) XXX_Unmarshal(b []byte) error
- type PrizeBatch
- func (pb PrizeBatch) ComputePrizesProbs(prizePool sdk.Coin) (prizesProbs []PrizeProb, usedAmount math.Int, remainingAmount math.Int)
- func (*PrizeBatch) Descriptor() ([]byte, []int)
- func (m *PrizeBatch) GetIsUnique() bool
- func (m *PrizeBatch) GetPoolPercent() uint64
- func (pb PrizeBatch) GetPrizeAmount(prizePool sdk.Coin) math.Int
- func (m *PrizeBatch) GetQuantity() uint64
- func (pb PrizeBatch) GetTotalPrizesAmount(prizePool sdk.Coin) math.Int
- func (m *PrizeBatch) Marshal() (dAtA []byte, err error)
- func (m *PrizeBatch) MarshalTo(dAtA []byte) (int, error)
- func (m *PrizeBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrizeBatch) ProtoMessage()
- func (m *PrizeBatch) Reset()
- func (m *PrizeBatch) Size() (n int)
- func (m *PrizeBatch) String() string
- func (m *PrizeBatch) Unmarshal(dAtA []byte) error
- func (pb PrizeBatch) Validate(params Params) error
- func (m *PrizeBatch) XXX_DiscardUnknown()
- func (m *PrizeBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrizeBatch) XXX_Merge(src proto.Message)
- func (m *PrizeBatch) XXX_Size() int
- func (m *PrizeBatch) XXX_Unmarshal(b []byte) error
- type PrizeIDs
- func (*PrizeIDs) Descriptor() ([]byte, []int)
- func (m *PrizeIDs) GetDrawId() uint64
- func (m *PrizeIDs) GetPoolId() uint64
- func (m *PrizeIDs) GetPrizeId() uint64
- func (m *PrizeIDs) Marshal() (dAtA []byte, err error)
- func (m *PrizeIDs) MarshalTo(dAtA []byte) (int, error)
- func (m *PrizeIDs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrizeIDs) ProtoMessage()
- func (m *PrizeIDs) Reset()
- func (m *PrizeIDs) Size() (n int)
- func (m *PrizeIDs) String() string
- func (m *PrizeIDs) Unmarshal(dAtA []byte) error
- func (m *PrizeIDs) XXX_DiscardUnknown()
- func (m *PrizeIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrizeIDs) XXX_Merge(src proto.Message)
- func (m *PrizeIDs) XXX_Size() int
- func (m *PrizeIDs) XXX_Unmarshal(b []byte) error
- type PrizeIDsCollection
- func (*PrizeIDsCollection) Descriptor() ([]byte, []int)
- func (m *PrizeIDsCollection) GetPrizesIds() []PrizeIDs
- func (m *PrizeIDsCollection) Marshal() (dAtA []byte, err error)
- func (m *PrizeIDsCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *PrizeIDsCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrizeIDsCollection) ProtoMessage()
- func (m *PrizeIDsCollection) Reset()
- func (m *PrizeIDsCollection) Size() (n int)
- func (m *PrizeIDsCollection) String() string
- func (m *PrizeIDsCollection) Unmarshal(dAtA []byte) error
- func (m *PrizeIDsCollection) XXX_DiscardUnknown()
- func (m *PrizeIDsCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrizeIDsCollection) XXX_Merge(src proto.Message)
- func (m *PrizeIDsCollection) XXX_Size() int
- func (m *PrizeIDsCollection) XXX_Unmarshal(b []byte) error
- type PrizeProb
- type PrizeRef
- func (*PrizeRef) Descriptor() ([]byte, []int)
- func (m *PrizeRef) GetPrizeId() uint64
- func (m *PrizeRef) GetWinnerAddress() string
- func (m *PrizeRef) Marshal() (dAtA []byte, err error)
- func (m *PrizeRef) MarshalTo(dAtA []byte) (int, error)
- func (m *PrizeRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrizeRef) ProtoMessage()
- func (m *PrizeRef) Reset()
- func (m *PrizeRef) Size() (n int)
- func (m *PrizeRef) String() string
- func (m *PrizeRef) Unmarshal(dAtA []byte) error
- func (m *PrizeRef) XXX_DiscardUnknown()
- func (m *PrizeRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrizeRef) XXX_Merge(src proto.Message)
- func (m *PrizeRef) XXX_Size() int
- func (m *PrizeRef) XXX_Unmarshal(b []byte) error
- type PrizeState
- type PrizeStrategy
- func (ps PrizeStrategy) ComputePrizesProbs(prizePool sdk.Coin) (prizesProbs []PrizeProb, usedAmount math.Int, remainingAmount math.Int, ...)
- func (ps PrizeStrategy) ContainsUniqueBatch() bool
- func (*PrizeStrategy) Descriptor() ([]byte, []int)
- func (m *PrizeStrategy) GetPrizeBatches() []PrizeBatch
- func (m *PrizeStrategy) Marshal() (dAtA []byte, err error)
- func (m *PrizeStrategy) MarshalTo(dAtA []byte) (int, error)
- func (m *PrizeStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrizeStrategy) ProtoMessage()
- func (m *PrizeStrategy) Reset()
- func (m *PrizeStrategy) Size() (n int)
- func (m *PrizeStrategy) String() string
- func (m *PrizeStrategy) Unmarshal(dAtA []byte) error
- func (ps PrizeStrategy) Validate(params Params) error
- func (m *PrizeStrategy) XXX_DiscardUnknown()
- func (m *PrizeStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrizeStrategy) XXX_Merge(src proto.Message)
- func (m *PrizeStrategy) XXX_Size() int
- func (m *PrizeStrategy) XXX_Unmarshal(b []byte) error
- type ProposalRegisterPool
- func (*ProposalRegisterPool) Descriptor() ([]byte, []int)
- func (m *ProposalRegisterPool) GetBech32PrefixAccAddr() string
- func (m *ProposalRegisterPool) GetBech32PrefixValAddr() string
- func (m *ProposalRegisterPool) GetChainId() string
- func (m *ProposalRegisterPool) GetConnectionId() string
- func (m *ProposalRegisterPool) GetDenom() string
- func (m *ProposalRegisterPool) GetDescription() string
- func (m *ProposalRegisterPool) GetDrawSchedule() DrawSchedule
- func (m *ProposalRegisterPool) GetNativeDenom() string
- func (m *ProposalRegisterPool) GetPoolType() PoolType
- func (m *ProposalRegisterPool) GetPrizeStrategy() PrizeStrategy
- func (m *ProposalRegisterPool) GetTitle() string
- func (m *ProposalRegisterPool) GetTransferChannelId() string
- func (m *ProposalRegisterPool) GetUnbondingDuration() time.Duration
- func (m *ProposalRegisterPool) GetValidators() []string
- func (m *ProposalRegisterPool) Marshal() (dAtA []byte, err error)
- func (m *ProposalRegisterPool) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalRegisterPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *ProposalRegisterPool) ProposalRoute() string
- func (p *ProposalRegisterPool) ProposalType() string
- func (*ProposalRegisterPool) ProtoMessage()
- func (m *ProposalRegisterPool) Reset()
- func (m *ProposalRegisterPool) Size() (n int)
- func (p ProposalRegisterPool) String() string
- func (m *ProposalRegisterPool) Unmarshal(dAtA []byte) error
- func (p *ProposalRegisterPool) ValidateBasic() error
- func (m *ProposalRegisterPool) XXX_DiscardUnknown()
- func (m *ProposalRegisterPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalRegisterPool) XXX_Merge(src proto.Message)
- func (m *ProposalRegisterPool) XXX_Size() int
- func (m *ProposalRegisterPool) XXX_Unmarshal(b []byte) error
- type ProposalUpdateParams
- func (*ProposalUpdateParams) Descriptor() ([]byte, []int)
- func (m *ProposalUpdateParams) GetDescription() string
- func (m *ProposalUpdateParams) GetMaxDrawScheduleDelta() *time.Duration
- func (m *ProposalUpdateParams) GetMinDepositDrawDelta() *time.Duration
- func (m *ProposalUpdateParams) GetMinDrawScheduleDelta() *time.Duration
- func (m *ProposalUpdateParams) GetPrizeExpirationDelta() *time.Duration
- func (m *ProposalUpdateParams) GetTitle() string
- func (m *ProposalUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *ProposalUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *ProposalUpdateParams) ProposalRoute() string
- func (p *ProposalUpdateParams) ProposalType() string
- func (*ProposalUpdateParams) ProtoMessage()
- func (m *ProposalUpdateParams) Reset()
- func (m *ProposalUpdateParams) Size() (n int)
- func (p ProposalUpdateParams) String() string
- func (m *ProposalUpdateParams) Unmarshal(dAtA []byte) error
- func (p *ProposalUpdateParams) ValidateBasic() error
- func (m *ProposalUpdateParams) XXX_DiscardUnknown()
- func (m *ProposalUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalUpdateParams) XXX_Merge(src proto.Message)
- func (m *ProposalUpdateParams) XXX_Size() int
- func (m *ProposalUpdateParams) XXX_Unmarshal(b []byte) error
- type ProposalUpdatePool
- func (*ProposalUpdatePool) Descriptor() ([]byte, []int)
- func (m *ProposalUpdatePool) GetDescription() string
- func (m *ProposalUpdatePool) GetDrawSchedule() *DrawSchedule
- func (m *ProposalUpdatePool) GetPoolId() uint64
- func (m *ProposalUpdatePool) GetPrizeStrategy() *PrizeStrategy
- func (m *ProposalUpdatePool) GetState() PoolState
- func (m *ProposalUpdatePool) GetTitle() string
- func (m *ProposalUpdatePool) GetUnbondingDuration() *time.Duration
- func (m *ProposalUpdatePool) GetValidators() []string
- func (m *ProposalUpdatePool) Marshal() (dAtA []byte, err error)
- func (m *ProposalUpdatePool) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalUpdatePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *ProposalUpdatePool) ProposalRoute() string
- func (p *ProposalUpdatePool) ProposalType() string
- func (*ProposalUpdatePool) ProtoMessage()
- func (m *ProposalUpdatePool) Reset()
- func (m *ProposalUpdatePool) Size() (n int)
- func (p ProposalUpdatePool) String() string
- func (m *ProposalUpdatePool) Unmarshal(dAtA []byte) error
- func (p *ProposalUpdatePool) ValidateBasic() error
- func (m *ProposalUpdatePool) XXX_DiscardUnknown()
- func (m *ProposalUpdatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalUpdatePool) XXX_Merge(src proto.Message)
- func (m *ProposalUpdatePool) XXX_Size() int
- func (m *ProposalUpdatePool) XXX_Unmarshal(b []byte) error
- type QueryAccountDepositsRequest
- func (*QueryAccountDepositsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAccountDepositsRequest) GetDepositorAddress() string
- func (m *QueryAccountDepositsRequest) GetPagination() *query.PageRequest
- func (m *QueryAccountDepositsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountDepositsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountDepositsRequest) ProtoMessage()
- func (m *QueryAccountDepositsRequest) Reset()
- func (m *QueryAccountDepositsRequest) Size() (n int)
- func (m *QueryAccountDepositsRequest) String() string
- func (m *QueryAccountDepositsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAccountDepositsRequest) XXX_DiscardUnknown()
- func (m *QueryAccountDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountDepositsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAccountDepositsRequest) XXX_Size() int
- func (m *QueryAccountDepositsRequest) XXX_Unmarshal(b []byte) error
- type QueryAccountPoolDepositsRequest
- func (*QueryAccountPoolDepositsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAccountPoolDepositsRequest) GetDepositorAddress() string
- func (m *QueryAccountPoolDepositsRequest) GetPagination() *query.PageRequest
- func (m *QueryAccountPoolDepositsRequest) GetPoolId() uint64
- func (m *QueryAccountPoolDepositsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountPoolDepositsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountPoolDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountPoolDepositsRequest) ProtoMessage()
- func (m *QueryAccountPoolDepositsRequest) Reset()
- func (m *QueryAccountPoolDepositsRequest) Size() (n int)
- func (m *QueryAccountPoolDepositsRequest) String() string
- func (m *QueryAccountPoolDepositsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAccountPoolDepositsRequest) XXX_DiscardUnknown()
- func (m *QueryAccountPoolDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountPoolDepositsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAccountPoolDepositsRequest) XXX_Size() int
- func (m *QueryAccountPoolDepositsRequest) XXX_Unmarshal(b []byte) error
- type QueryAccountPoolDrawPrizesRequest
- func (*QueryAccountPoolDrawPrizesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAccountPoolDrawPrizesRequest) GetDrawId() uint64
- func (m *QueryAccountPoolDrawPrizesRequest) GetPagination() *query.PageRequest
- func (m *QueryAccountPoolDrawPrizesRequest) GetPoolId() uint64
- func (m *QueryAccountPoolDrawPrizesRequest) GetWinnerAddress() string
- func (m *QueryAccountPoolDrawPrizesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountPoolDrawPrizesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountPoolDrawPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountPoolDrawPrizesRequest) ProtoMessage()
- func (m *QueryAccountPoolDrawPrizesRequest) Reset()
- func (m *QueryAccountPoolDrawPrizesRequest) Size() (n int)
- func (m *QueryAccountPoolDrawPrizesRequest) String() string
- func (m *QueryAccountPoolDrawPrizesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAccountPoolDrawPrizesRequest) XXX_DiscardUnknown()
- func (m *QueryAccountPoolDrawPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountPoolDrawPrizesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAccountPoolDrawPrizesRequest) XXX_Size() int
- func (m *QueryAccountPoolDrawPrizesRequest) XXX_Unmarshal(b []byte) error
- type QueryAccountPoolPrizesRequest
- func (*QueryAccountPoolPrizesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAccountPoolPrizesRequest) GetPagination() *query.PageRequest
- func (m *QueryAccountPoolPrizesRequest) GetPoolId() uint64
- func (m *QueryAccountPoolPrizesRequest) GetWinnerAddress() string
- func (m *QueryAccountPoolPrizesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountPoolPrizesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountPoolPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountPoolPrizesRequest) ProtoMessage()
- func (m *QueryAccountPoolPrizesRequest) Reset()
- func (m *QueryAccountPoolPrizesRequest) Size() (n int)
- func (m *QueryAccountPoolPrizesRequest) String() string
- func (m *QueryAccountPoolPrizesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAccountPoolPrizesRequest) XXX_DiscardUnknown()
- func (m *QueryAccountPoolPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountPoolPrizesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAccountPoolPrizesRequest) XXX_Size() int
- func (m *QueryAccountPoolPrizesRequest) XXX_Unmarshal(b []byte) error
- type QueryAccountPoolWithdrawalsRequest
- func (*QueryAccountPoolWithdrawalsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAccountPoolWithdrawalsRequest) GetDepositorAddress() string
- func (m *QueryAccountPoolWithdrawalsRequest) GetPagination() *query.PageRequest
- func (m *QueryAccountPoolWithdrawalsRequest) GetPoolId() uint64
- func (m *QueryAccountPoolWithdrawalsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountPoolWithdrawalsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountPoolWithdrawalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountPoolWithdrawalsRequest) ProtoMessage()
- func (m *QueryAccountPoolWithdrawalsRequest) Reset()
- func (m *QueryAccountPoolWithdrawalsRequest) Size() (n int)
- func (m *QueryAccountPoolWithdrawalsRequest) String() string
- func (m *QueryAccountPoolWithdrawalsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAccountPoolWithdrawalsRequest) XXX_DiscardUnknown()
- func (m *QueryAccountPoolWithdrawalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountPoolWithdrawalsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAccountPoolWithdrawalsRequest) XXX_Size() int
- func (m *QueryAccountPoolWithdrawalsRequest) XXX_Unmarshal(b []byte) error
- type QueryAccountPrizesRequest
- func (*QueryAccountPrizesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAccountPrizesRequest) GetPagination() *query.PageRequest
- func (m *QueryAccountPrizesRequest) GetWinnerAddress() string
- func (m *QueryAccountPrizesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountPrizesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountPrizesRequest) ProtoMessage()
- func (m *QueryAccountPrizesRequest) Reset()
- func (m *QueryAccountPrizesRequest) Size() (n int)
- func (m *QueryAccountPrizesRequest) String() string
- func (m *QueryAccountPrizesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAccountPrizesRequest) XXX_DiscardUnknown()
- func (m *QueryAccountPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountPrizesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAccountPrizesRequest) XXX_Size() int
- func (m *QueryAccountPrizesRequest) XXX_Unmarshal(b []byte) error
- type QueryAccountWithdrawalsRequest
- func (*QueryAccountWithdrawalsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAccountWithdrawalsRequest) GetDepositorAddress() string
- func (m *QueryAccountWithdrawalsRequest) GetPagination() *query.PageRequest
- func (m *QueryAccountWithdrawalsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountWithdrawalsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountWithdrawalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountWithdrawalsRequest) ProtoMessage()
- func (m *QueryAccountWithdrawalsRequest) Reset()
- func (m *QueryAccountWithdrawalsRequest) Size() (n int)
- func (m *QueryAccountWithdrawalsRequest) String() string
- func (m *QueryAccountWithdrawalsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAccountWithdrawalsRequest) XXX_DiscardUnknown()
- func (m *QueryAccountWithdrawalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountWithdrawalsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAccountWithdrawalsRequest) XXX_Size() int
- func (m *QueryAccountWithdrawalsRequest) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDepositResponse
- func (*QueryDepositResponse) Descriptor() ([]byte, []int)
- func (m *QueryDepositResponse) GetDeposit() Deposit
- func (m *QueryDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositResponse) ProtoMessage()
- func (m *QueryDepositResponse) Reset()
- func (m *QueryDepositResponse) Size() (n int)
- func (m *QueryDepositResponse) String() string
- func (m *QueryDepositResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDepositResponse) XXX_DiscardUnknown()
- func (m *QueryDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositResponse) XXX_Merge(src proto.Message)
- func (m *QueryDepositResponse) XXX_Size() int
- func (m *QueryDepositResponse) XXX_Unmarshal(b []byte) error
- type QueryDepositsRequest
- func (*QueryDepositsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDepositsRequest) GetPagination() *query.PageRequest
- func (m *QueryDepositsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositsRequest) ProtoMessage()
- func (m *QueryDepositsRequest) Reset()
- func (m *QueryDepositsRequest) Size() (n int)
- func (m *QueryDepositsRequest) String() string
- func (m *QueryDepositsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDepositsRequest) XXX_DiscardUnknown()
- func (m *QueryDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDepositsRequest) XXX_Size() int
- func (m *QueryDepositsRequest) XXX_Unmarshal(b []byte) error
- type QueryDepositsResponse
- func (*QueryDepositsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDepositsResponse) GetDeposits() []Deposit
- func (m *QueryDepositsResponse) GetPagination() *query.PageResponse
- func (m *QueryDepositsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositsResponse) ProtoMessage()
- func (m *QueryDepositsResponse) Reset()
- func (m *QueryDepositsResponse) Size() (n int)
- func (m *QueryDepositsResponse) String() string
- func (m *QueryDepositsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDepositsResponse) XXX_DiscardUnknown()
- func (m *QueryDepositsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDepositsResponse) XXX_Size() int
- func (m *QueryDepositsResponse) XXX_Unmarshal(b []byte) error
- type QueryDrawResponse
- func (*QueryDrawResponse) Descriptor() ([]byte, []int)
- func (m *QueryDrawResponse) GetDraw() *Draw
- func (m *QueryDrawResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDrawResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDrawResponse) ProtoMessage()
- func (m *QueryDrawResponse) Reset()
- func (m *QueryDrawResponse) Size() (n int)
- func (m *QueryDrawResponse) String() string
- func (m *QueryDrawResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDrawResponse) XXX_DiscardUnknown()
- func (m *QueryDrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDrawResponse) XXX_Merge(src proto.Message)
- func (m *QueryDrawResponse) XXX_Size() int
- func (m *QueryDrawResponse) XXX_Unmarshal(b []byte) error
- type QueryDrawsRequest
- func (*QueryDrawsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDrawsRequest) GetPagination() *query.PageRequest
- func (m *QueryDrawsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDrawsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDrawsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDrawsRequest) ProtoMessage()
- func (m *QueryDrawsRequest) Reset()
- func (m *QueryDrawsRequest) Size() (n int)
- func (m *QueryDrawsRequest) String() string
- func (m *QueryDrawsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDrawsRequest) XXX_DiscardUnknown()
- func (m *QueryDrawsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDrawsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDrawsRequest) XXX_Size() int
- func (m *QueryDrawsRequest) XXX_Unmarshal(b []byte) error
- type QueryDrawsResponse
- func (*QueryDrawsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDrawsResponse) GetDraws() []Draw
- func (m *QueryDrawsResponse) GetPagination() *query.PageResponse
- func (m *QueryDrawsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDrawsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDrawsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDrawsResponse) ProtoMessage()
- func (m *QueryDrawsResponse) Reset()
- func (m *QueryDrawsResponse) Size() (n int)
- func (m *QueryDrawsResponse) String() string
- func (m *QueryDrawsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDrawsResponse) XXX_DiscardUnknown()
- func (m *QueryDrawsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDrawsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDrawsResponse) XXX_Size() int
- func (m *QueryDrawsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryPoolDepositRequest
- func (*QueryPoolDepositRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolDepositRequest) GetDepositId() uint64
- func (m *QueryPoolDepositRequest) GetPoolId() uint64
- func (m *QueryPoolDepositRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolDepositRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolDepositRequest) ProtoMessage()
- func (m *QueryPoolDepositRequest) Reset()
- func (m *QueryPoolDepositRequest) Size() (n int)
- func (m *QueryPoolDepositRequest) String() string
- func (m *QueryPoolDepositRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolDepositRequest) XXX_DiscardUnknown()
- func (m *QueryPoolDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolDepositRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolDepositRequest) XXX_Size() int
- func (m *QueryPoolDepositRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolDepositsRequest
- func (*QueryPoolDepositsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolDepositsRequest) GetPagination() *query.PageRequest
- func (m *QueryPoolDepositsRequest) GetPoolId() uint64
- func (m *QueryPoolDepositsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolDepositsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolDepositsRequest) ProtoMessage()
- func (m *QueryPoolDepositsRequest) Reset()
- func (m *QueryPoolDepositsRequest) Size() (n int)
- func (m *QueryPoolDepositsRequest) String() string
- func (m *QueryPoolDepositsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolDepositsRequest) XXX_DiscardUnknown()
- func (m *QueryPoolDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolDepositsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolDepositsRequest) XXX_Size() int
- func (m *QueryPoolDepositsRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolDrawPrizeRequest
- func (*QueryPoolDrawPrizeRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolDrawPrizeRequest) GetDrawId() uint64
- func (m *QueryPoolDrawPrizeRequest) GetPoolId() uint64
- func (m *QueryPoolDrawPrizeRequest) GetPrizeId() uint64
- func (m *QueryPoolDrawPrizeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolDrawPrizeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolDrawPrizeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolDrawPrizeRequest) ProtoMessage()
- func (m *QueryPoolDrawPrizeRequest) Reset()
- func (m *QueryPoolDrawPrizeRequest) Size() (n int)
- func (m *QueryPoolDrawPrizeRequest) String() string
- func (m *QueryPoolDrawPrizeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolDrawPrizeRequest) XXX_DiscardUnknown()
- func (m *QueryPoolDrawPrizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolDrawPrizeRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolDrawPrizeRequest) XXX_Size() int
- func (m *QueryPoolDrawPrizeRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolDrawPrizesRequest
- func (*QueryPoolDrawPrizesRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolDrawPrizesRequest) GetDrawId() uint64
- func (m *QueryPoolDrawPrizesRequest) GetPagination() *query.PageRequest
- func (m *QueryPoolDrawPrizesRequest) GetPoolId() uint64
- func (m *QueryPoolDrawPrizesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolDrawPrizesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolDrawPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolDrawPrizesRequest) ProtoMessage()
- func (m *QueryPoolDrawPrizesRequest) Reset()
- func (m *QueryPoolDrawPrizesRequest) Size() (n int)
- func (m *QueryPoolDrawPrizesRequest) String() string
- func (m *QueryPoolDrawPrizesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolDrawPrizesRequest) XXX_DiscardUnknown()
- func (m *QueryPoolDrawPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolDrawPrizesRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolDrawPrizesRequest) XXX_Size() int
- func (m *QueryPoolDrawPrizesRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolDrawRequest
- func (*QueryPoolDrawRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolDrawRequest) GetDrawId() uint64
- func (m *QueryPoolDrawRequest) GetPoolId() uint64
- func (m *QueryPoolDrawRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolDrawRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolDrawRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolDrawRequest) ProtoMessage()
- func (m *QueryPoolDrawRequest) Reset()
- func (m *QueryPoolDrawRequest) Size() (n int)
- func (m *QueryPoolDrawRequest) String() string
- func (m *QueryPoolDrawRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolDrawRequest) XXX_DiscardUnknown()
- func (m *QueryPoolDrawRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolDrawRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolDrawRequest) XXX_Size() int
- func (m *QueryPoolDrawRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolDrawsRequest
- func (*QueryPoolDrawsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolDrawsRequest) GetPagination() *query.PageRequest
- func (m *QueryPoolDrawsRequest) GetPoolId() uint64
- func (m *QueryPoolDrawsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolDrawsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolDrawsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolDrawsRequest) ProtoMessage()
- func (m *QueryPoolDrawsRequest) Reset()
- func (m *QueryPoolDrawsRequest) Size() (n int)
- func (m *QueryPoolDrawsRequest) String() string
- func (m *QueryPoolDrawsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolDrawsRequest) XXX_DiscardUnknown()
- func (m *QueryPoolDrawsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolDrawsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolDrawsRequest) XXX_Size() int
- func (m *QueryPoolDrawsRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolPrizesRequest
- func (*QueryPoolPrizesRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolPrizesRequest) GetPagination() *query.PageRequest
- func (m *QueryPoolPrizesRequest) GetPoolId() uint64
- func (m *QueryPoolPrizesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolPrizesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolPrizesRequest) ProtoMessage()
- func (m *QueryPoolPrizesRequest) Reset()
- func (m *QueryPoolPrizesRequest) Size() (n int)
- func (m *QueryPoolPrizesRequest) String() string
- func (m *QueryPoolPrizesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolPrizesRequest) XXX_DiscardUnknown()
- func (m *QueryPoolPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolPrizesRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolPrizesRequest) XXX_Size() int
- func (m *QueryPoolPrizesRequest) 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 QueryPoolWithdrawalRequest
- func (*QueryPoolWithdrawalRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolWithdrawalRequest) GetPoolId() uint64
- func (m *QueryPoolWithdrawalRequest) GetWithdrawalId() uint64
- func (m *QueryPoolWithdrawalRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolWithdrawalRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolWithdrawalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolWithdrawalRequest) ProtoMessage()
- func (m *QueryPoolWithdrawalRequest) Reset()
- func (m *QueryPoolWithdrawalRequest) Size() (n int)
- func (m *QueryPoolWithdrawalRequest) String() string
- func (m *QueryPoolWithdrawalRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolWithdrawalRequest) XXX_DiscardUnknown()
- func (m *QueryPoolWithdrawalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolWithdrawalRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolWithdrawalRequest) XXX_Size() int
- func (m *QueryPoolWithdrawalRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolWithdrawalsRequest
- func (*QueryPoolWithdrawalsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolWithdrawalsRequest) GetPagination() *query.PageRequest
- func (m *QueryPoolWithdrawalsRequest) GetPoolId() uint64
- func (m *QueryPoolWithdrawalsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolWithdrawalsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolWithdrawalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolWithdrawalsRequest) ProtoMessage()
- func (m *QueryPoolWithdrawalsRequest) Reset()
- func (m *QueryPoolWithdrawalsRequest) Size() (n int)
- func (m *QueryPoolWithdrawalsRequest) String() string
- func (m *QueryPoolWithdrawalsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolWithdrawalsRequest) XXX_DiscardUnknown()
- func (m *QueryPoolWithdrawalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolWithdrawalsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolWithdrawalsRequest) XXX_Size() int
- func (m *QueryPoolWithdrawalsRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolsRequest
- func (*QueryPoolsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolsRequest) GetPagination() *query.PageRequest
- 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) GetPagination() *query.PageResponse
- 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 QueryPrizeResponse
- func (*QueryPrizeResponse) Descriptor() ([]byte, []int)
- func (m *QueryPrizeResponse) GetPrize() Prize
- func (m *QueryPrizeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPrizeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPrizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPrizeResponse) ProtoMessage()
- func (m *QueryPrizeResponse) Reset()
- func (m *QueryPrizeResponse) Size() (n int)
- func (m *QueryPrizeResponse) String() string
- func (m *QueryPrizeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPrizeResponse) XXX_DiscardUnknown()
- func (m *QueryPrizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPrizeResponse) XXX_Merge(src proto.Message)
- func (m *QueryPrizeResponse) XXX_Size() int
- func (m *QueryPrizeResponse) XXX_Unmarshal(b []byte) error
- type QueryPrizesRequest
- func (*QueryPrizesRequest) Descriptor() ([]byte, []int)
- func (m *QueryPrizesRequest) GetPagination() *query.PageRequest
- func (m *QueryPrizesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPrizesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPrizesRequest) ProtoMessage()
- func (m *QueryPrizesRequest) Reset()
- func (m *QueryPrizesRequest) Size() (n int)
- func (m *QueryPrizesRequest) String() string
- func (m *QueryPrizesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPrizesRequest) XXX_DiscardUnknown()
- func (m *QueryPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPrizesRequest) XXX_Merge(src proto.Message)
- func (m *QueryPrizesRequest) XXX_Size() int
- func (m *QueryPrizesRequest) XXX_Unmarshal(b []byte) error
- type QueryPrizesResponse
- func (*QueryPrizesResponse) Descriptor() ([]byte, []int)
- func (m *QueryPrizesResponse) GetPagination() *query.PageResponse
- func (m *QueryPrizesResponse) GetPrizes() []Prize
- func (m *QueryPrizesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPrizesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPrizesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPrizesResponse) ProtoMessage()
- func (m *QueryPrizesResponse) Reset()
- func (m *QueryPrizesResponse) Size() (n int)
- func (m *QueryPrizesResponse) String() string
- func (m *QueryPrizesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPrizesResponse) XXX_DiscardUnknown()
- func (m *QueryPrizesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPrizesResponse) XXX_Merge(src proto.Message)
- func (m *QueryPrizesResponse) XXX_Size() int
- func (m *QueryPrizesResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryWithdrawalResponse
- func (*QueryWithdrawalResponse) Descriptor() ([]byte, []int)
- func (m *QueryWithdrawalResponse) GetWithdrawal() Withdrawal
- func (m *QueryWithdrawalResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryWithdrawalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWithdrawalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWithdrawalResponse) ProtoMessage()
- func (m *QueryWithdrawalResponse) Reset()
- func (m *QueryWithdrawalResponse) Size() (n int)
- func (m *QueryWithdrawalResponse) String() string
- func (m *QueryWithdrawalResponse) Unmarshal(dAtA []byte) error
- func (m *QueryWithdrawalResponse) XXX_DiscardUnknown()
- func (m *QueryWithdrawalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWithdrawalResponse) XXX_Merge(src proto.Message)
- func (m *QueryWithdrawalResponse) XXX_Size() int
- func (m *QueryWithdrawalResponse) XXX_Unmarshal(b []byte) error
- type QueryWithdrawalsRequest
- func (*QueryWithdrawalsRequest) Descriptor() ([]byte, []int)
- func (m *QueryWithdrawalsRequest) GetPagination() *query.PageRequest
- func (m *QueryWithdrawalsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryWithdrawalsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWithdrawalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWithdrawalsRequest) ProtoMessage()
- func (m *QueryWithdrawalsRequest) Reset()
- func (m *QueryWithdrawalsRequest) Size() (n int)
- func (m *QueryWithdrawalsRequest) String() string
- func (m *QueryWithdrawalsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryWithdrawalsRequest) XXX_DiscardUnknown()
- func (m *QueryWithdrawalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWithdrawalsRequest) XXX_Merge(src proto.Message)
- func (m *QueryWithdrawalsRequest) XXX_Size() int
- func (m *QueryWithdrawalsRequest) XXX_Unmarshal(b []byte) error
- type QueryWithdrawalsResponse
- func (*QueryWithdrawalsResponse) Descriptor() ([]byte, []int)
- func (m *QueryWithdrawalsResponse) GetPagination() *query.PageResponse
- func (m *QueryWithdrawalsResponse) GetWithdrawals() []Withdrawal
- func (m *QueryWithdrawalsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryWithdrawalsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWithdrawalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWithdrawalsResponse) ProtoMessage()
- func (m *QueryWithdrawalsResponse) Reset()
- func (m *QueryWithdrawalsResponse) Size() (n int)
- func (m *QueryWithdrawalsResponse) String() string
- func (m *QueryWithdrawalsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryWithdrawalsResponse) XXX_DiscardUnknown()
- func (m *QueryWithdrawalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWithdrawalsResponse) XXX_Merge(src proto.Message)
- func (m *QueryWithdrawalsResponse) XXX_Size() int
- func (m *QueryWithdrawalsResponse) XXX_Unmarshal(b []byte) error
- type Redelegate
- func (*Redelegate) Descriptor() ([]byte, []int)
- func (m *Redelegate) GetErrorState() RedelegateState
- func (m *Redelegate) GetState() RedelegateState
- func (m *Redelegate) Marshal() (dAtA []byte, err error)
- func (m *Redelegate) MarshalTo(dAtA []byte) (int, error)
- func (m *Redelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Redelegate) ProtoMessage()
- func (m *Redelegate) Reset()
- func (m *Redelegate) Size() (n int)
- func (m *Redelegate) String() string
- func (m *Redelegate) Unmarshal(dAtA []byte) error
- func (m *Redelegate) XXX_DiscardUnknown()
- func (m *Redelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Redelegate) XXX_Merge(src proto.Message)
- func (m *Redelegate) XXX_Size() int
- func (m *Redelegate) XXX_Unmarshal(b []byte) error
- type RedelegateCallback
- func (*RedelegateCallback) Descriptor() ([]byte, []int)
- func (m *RedelegateCallback) GetOperatorAddress() string
- func (m *RedelegateCallback) GetPoolId() uint64
- func (m *RedelegateCallback) GetSplitDelegations() []*SplitDelegation
- func (m *RedelegateCallback) Marshal() (dAtA []byte, err error)
- func (m *RedelegateCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *RedelegateCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RedelegateCallback) ProtoMessage()
- func (m *RedelegateCallback) Reset()
- func (m *RedelegateCallback) Size() (n int)
- func (m *RedelegateCallback) String() string
- func (m *RedelegateCallback) Unmarshal(dAtA []byte) error
- func (m *RedelegateCallback) XXX_DiscardUnknown()
- func (m *RedelegateCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedelegateCallback) XXX_Merge(src proto.Message)
- func (m *RedelegateCallback) XXX_Size() int
- func (m *RedelegateCallback) XXX_Unmarshal(b []byte) error
- type RedelegateState
- type SetWithdrawAddressCallback
- func (*SetWithdrawAddressCallback) Descriptor() ([]byte, []int)
- func (m *SetWithdrawAddressCallback) GetPoolId() uint64
- func (m *SetWithdrawAddressCallback) Marshal() (dAtA []byte, err error)
- func (m *SetWithdrawAddressCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *SetWithdrawAddressCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetWithdrawAddressCallback) ProtoMessage()
- func (m *SetWithdrawAddressCallback) Reset()
- func (m *SetWithdrawAddressCallback) Size() (n int)
- func (m *SetWithdrawAddressCallback) String() string
- func (m *SetWithdrawAddressCallback) Unmarshal(dAtA []byte) error
- func (m *SetWithdrawAddressCallback) XXX_DiscardUnknown()
- func (m *SetWithdrawAddressCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetWithdrawAddressCallback) XXX_Merge(src proto.Message)
- func (m *SetWithdrawAddressCallback) XXX_Size() int
- func (m *SetWithdrawAddressCallback) XXX_Unmarshal(b []byte) error
- type SplitDelegation
- func (*SplitDelegation) Descriptor() ([]byte, []int)
- func (m *SplitDelegation) GetValidatorAddress() string
- func (m *SplitDelegation) Marshal() (dAtA []byte, err error)
- func (m *SplitDelegation) MarshalTo(dAtA []byte) (int, error)
- func (m *SplitDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SplitDelegation) ProtoMessage()
- func (m *SplitDelegation) Reset()
- func (m *SplitDelegation) Size() (n int)
- func (m *SplitDelegation) String() string
- func (m *SplitDelegation) Unmarshal(dAtA []byte) error
- func (m *SplitDelegation) XXX_DiscardUnknown()
- func (m *SplitDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SplitDelegation) XXX_Merge(src proto.Message)
- func (m *SplitDelegation) XXX_Size() int
- func (m *SplitDelegation) XXX_Unmarshal(b []byte) error
- type TransferFromNativeCallback
- func (*TransferFromNativeCallback) Descriptor() ([]byte, []int)
- func (m *TransferFromNativeCallback) GetDrawId() uint64
- func (m *TransferFromNativeCallback) GetPoolId() uint64
- func (m *TransferFromNativeCallback) GetType() TransferType
- func (m *TransferFromNativeCallback) GetWithdrawalId() uint64
- func (m *TransferFromNativeCallback) Marshal() (dAtA []byte, err error)
- func (m *TransferFromNativeCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *TransferFromNativeCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransferFromNativeCallback) ProtoMessage()
- func (m *TransferFromNativeCallback) Reset()
- func (m *TransferFromNativeCallback) Size() (n int)
- func (m *TransferFromNativeCallback) String() string
- func (m *TransferFromNativeCallback) Unmarshal(dAtA []byte) error
- func (m *TransferFromNativeCallback) XXX_DiscardUnknown()
- func (m *TransferFromNativeCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferFromNativeCallback) XXX_Merge(src proto.Message)
- func (m *TransferFromNativeCallback) XXX_Size() int
- func (m *TransferFromNativeCallback) XXX_Unmarshal(b []byte) error
- type TransferToNativeCallback
- func (*TransferToNativeCallback) Descriptor() ([]byte, []int)
- func (m *TransferToNativeCallback) GetDepositId() uint64
- func (m *TransferToNativeCallback) GetPoolId() uint64
- func (m *TransferToNativeCallback) Marshal() (dAtA []byte, err error)
- func (m *TransferToNativeCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *TransferToNativeCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransferToNativeCallback) ProtoMessage()
- func (m *TransferToNativeCallback) Reset()
- func (m *TransferToNativeCallback) Size() (n int)
- func (m *TransferToNativeCallback) String() string
- func (m *TransferToNativeCallback) Unmarshal(dAtA []byte) error
- func (m *TransferToNativeCallback) XXX_DiscardUnknown()
- func (m *TransferToNativeCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferToNativeCallback) XXX_Merge(src proto.Message)
- func (m *TransferToNativeCallback) XXX_Size() int
- func (m *TransferToNativeCallback) XXX_Unmarshal(b []byte) error
- type TransferType
- type UndelegateCallback
- func (*UndelegateCallback) Descriptor() ([]byte, []int)
- func (m *UndelegateCallback) GetPoolId() uint64
- func (m *UndelegateCallback) GetWithdrawalIds() []uint64
- func (m *UndelegateCallback) Marshal() (dAtA []byte, err error)
- func (m *UndelegateCallback) MarshalTo(dAtA []byte) (int, error)
- func (m *UndelegateCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UndelegateCallback) ProtoMessage()
- func (m *UndelegateCallback) Reset()
- func (m *UndelegateCallback) Size() (n int)
- func (m *UndelegateCallback) String() string
- func (m *UndelegateCallback) Unmarshal(dAtA []byte) error
- func (m *UndelegateCallback) XXX_DiscardUnknown()
- func (m *UndelegateCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UndelegateCallback) XXX_Merge(src proto.Message)
- func (m *UndelegateCallback) XXX_Size() int
- func (m *UndelegateCallback) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) ClaimPrize(ctx context.Context, req *MsgClaimPrize) (*MsgClaimPrizeResponse, error)
- func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error)
- func (*UnimplementedMsgServer) DepositEdit(ctx context.Context, req *MsgDepositEdit) (*MsgDepositEditResponse, error)
- func (*UnimplementedMsgServer) DepositRetry(ctx context.Context, req *MsgDepositRetry) (*MsgDepositRetryResponse, error)
- func (*UnimplementedMsgServer) DrawRetry(ctx context.Context, req *MsgDrawRetry) (*MsgDrawRetryResponse, error)
- func (*UnimplementedMsgServer) GenerateSeed(ctx context.Context, req *MsgGenerateSeed) (*MsgGenerateSeedResponse, error)
- func (*UnimplementedMsgServer) RestoreInterchainAccounts(ctx context.Context, req *MsgRestoreInterchainAccounts) (*MsgRestoreInterchainAccountsResponse, error)
- func (*UnimplementedMsgServer) WithdrawDeposit(ctx context.Context, req *MsgWithdrawDeposit) (*MsgWithdrawDepositResponse, error)
- func (*UnimplementedMsgServer) WithdrawDepositRetry(ctx context.Context, req *MsgWithdrawDepositRetry) (*MsgWithdrawDepositRetryResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AccountDeposits(ctx context.Context, req *QueryAccountDepositsRequest) (*QueryDepositsResponse, error)
- func (*UnimplementedQueryServer) AccountPoolDeposits(ctx context.Context, req *QueryAccountPoolDepositsRequest) (*QueryDepositsResponse, error)
- func (*UnimplementedQueryServer) AccountPoolDrawPrizes(ctx context.Context, req *QueryAccountPoolDrawPrizesRequest) (*QueryPrizesResponse, error)
- func (*UnimplementedQueryServer) AccountPoolPrizes(ctx context.Context, req *QueryAccountPoolPrizesRequest) (*QueryPrizesResponse, error)
- func (*UnimplementedQueryServer) AccountPoolWithdrawals(ctx context.Context, req *QueryAccountPoolWithdrawalsRequest) (*QueryWithdrawalsResponse, error)
- func (*UnimplementedQueryServer) AccountPrizes(ctx context.Context, req *QueryAccountPrizesRequest) (*QueryPrizesResponse, error)
- func (*UnimplementedQueryServer) AccountWithdrawals(ctx context.Context, req *QueryAccountWithdrawalsRequest) (*QueryWithdrawalsResponse, error)
- func (*UnimplementedQueryServer) Deposits(ctx context.Context, req *QueryDepositsRequest) (*QueryDepositsResponse, error)
- func (*UnimplementedQueryServer) Draws(ctx context.Context, req *QueryDrawsRequest) (*QueryDrawsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Pool(ctx context.Context, req *QueryPoolRequest) (*QueryPoolResponse, error)
- func (*UnimplementedQueryServer) PoolDeposit(ctx context.Context, req *QueryPoolDepositRequest) (*QueryDepositResponse, error)
- func (*UnimplementedQueryServer) PoolDeposits(ctx context.Context, req *QueryPoolDepositsRequest) (*QueryDepositsResponse, error)
- func (*UnimplementedQueryServer) PoolDraw(ctx context.Context, req *QueryPoolDrawRequest) (*QueryDrawResponse, error)
- func (*UnimplementedQueryServer) PoolDrawPrize(ctx context.Context, req *QueryPoolDrawPrizeRequest) (*QueryPrizeResponse, error)
- func (*UnimplementedQueryServer) PoolDrawPrizes(ctx context.Context, req *QueryPoolDrawPrizesRequest) (*QueryPrizesResponse, error)
- func (*UnimplementedQueryServer) PoolDraws(ctx context.Context, req *QueryPoolDrawsRequest) (*QueryDrawsResponse, error)
- func (*UnimplementedQueryServer) PoolPrizes(ctx context.Context, req *QueryPoolPrizesRequest) (*QueryPrizesResponse, error)
- func (*UnimplementedQueryServer) PoolWithdrawal(ctx context.Context, req *QueryPoolWithdrawalRequest) (*QueryWithdrawalResponse, error)
- func (*UnimplementedQueryServer) PoolWithdrawals(ctx context.Context, req *QueryPoolWithdrawalsRequest) (*QueryWithdrawalsResponse, error)
- func (*UnimplementedQueryServer) Pools(ctx context.Context, req *QueryPoolsRequest) (*QueryPoolsResponse, error)
- func (*UnimplementedQueryServer) Prizes(ctx context.Context, req *QueryPrizesRequest) (*QueryPrizesResponse, error)
- func (*UnimplementedQueryServer) Withdrawals(ctx context.Context, req *QueryWithdrawalsRequest) (*QueryWithdrawalsResponse, error)
- type Withdrawal
- func (*Withdrawal) Descriptor() ([]byte, []int)
- func (m *Withdrawal) GetAmount() types.Coin
- func (m *Withdrawal) GetCreatedAt() time.Time
- func (m *Withdrawal) GetCreatedAtHeight() int64
- func (m *Withdrawal) GetDepositId() uint64
- func (m *Withdrawal) GetDepositorAddress() string
- func (m *Withdrawal) GetErrorState() WithdrawalState
- func (m *Withdrawal) GetPoolId() uint64
- func (m *Withdrawal) GetState() WithdrawalState
- func (m *Withdrawal) GetToAddress() string
- func (m *Withdrawal) GetUnbondingEndsAt() *time.Time
- func (m *Withdrawal) GetUpdatedAt() time.Time
- func (m *Withdrawal) GetUpdatedAtHeight() int64
- func (m *Withdrawal) GetWithdrawalId() uint64
- func (m *Withdrawal) Marshal() (dAtA []byte, err error)
- func (m *Withdrawal) MarshalTo(dAtA []byte) (int, error)
- func (m *Withdrawal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Withdrawal) ProtoMessage()
- func (m *Withdrawal) Reset()
- func (m *Withdrawal) Size() (n int)
- func (m *Withdrawal) String() string
- func (m *Withdrawal) Unmarshal(dAtA []byte) error
- func (withdrawal *Withdrawal) ValidateBasic() error
- func (m *Withdrawal) XXX_DiscardUnknown()
- func (m *Withdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Withdrawal) XXX_Merge(src proto.Message)
- func (m *Withdrawal) XXX_Size() int
- func (m *Withdrawal) XXX_Unmarshal(b []byte) error
- type WithdrawalIDs
- func (*WithdrawalIDs) Descriptor() ([]byte, []int)
- func (m *WithdrawalIDs) GetPoolId() uint64
- func (m *WithdrawalIDs) GetWithdrawalId() uint64
- func (m *WithdrawalIDs) Marshal() (dAtA []byte, err error)
- func (m *WithdrawalIDs) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawalIDs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawalIDs) ProtoMessage()
- func (m *WithdrawalIDs) Reset()
- func (m *WithdrawalIDs) Size() (n int)
- func (m *WithdrawalIDs) String() string
- func (m *WithdrawalIDs) Unmarshal(dAtA []byte) error
- func (m *WithdrawalIDs) XXX_DiscardUnknown()
- func (m *WithdrawalIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawalIDs) XXX_Merge(src proto.Message)
- func (m *WithdrawalIDs) XXX_Size() int
- func (m *WithdrawalIDs) XXX_Unmarshal(b []byte) error
- type WithdrawalIDsCollection
- func (*WithdrawalIDsCollection) Descriptor() ([]byte, []int)
- func (m *WithdrawalIDsCollection) GetWithdrawalsIds() []WithdrawalIDs
- func (m *WithdrawalIDsCollection) Marshal() (dAtA []byte, err error)
- func (m *WithdrawalIDsCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawalIDsCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawalIDsCollection) ProtoMessage()
- func (m *WithdrawalIDsCollection) Reset()
- func (m *WithdrawalIDsCollection) Size() (n int)
- func (m *WithdrawalIDsCollection) String() string
- func (m *WithdrawalIDsCollection) Unmarshal(dAtA []byte) error
- func (m *WithdrawalIDsCollection) XXX_DiscardUnknown()
- func (m *WithdrawalIDsCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawalIDsCollection) XXX_Merge(src proto.Message)
- func (m *WithdrawalIDsCollection) XXX_Size() int
- func (m *WithdrawalIDsCollection) XXX_Unmarshal(b []byte) error
- type WithdrawalState
Constants ¶
const ( MaxAcceptableWithdrawalIDsCount = 100 WithdrawalTrackerType = "withdrawal" DefaultUnbondingDuration = 21 * 24 * time.Hour // 21 days MinUnbondingDuration = 7 * 24 * time.Hour DefaultMaxUnbondingEntries = 7 )
const ( EventTypeRegisterPool = "pool_new" EventTypeUpdatePool = "pool_update" EventTypeNewDraw = "draw_new" EventTypeDrawSuccess = "draw_success" EventTypeDeposit = "deposit" EventTypeDepositRetry = "deposit_retry" EventTypeDepositEdit = "deposit_edit" EventTypeNewPrize = "prize_new" EventTypeClaimPrize = "prize_claim" EventTypeClawbackPrize = "prize_clawback" EventTypeRedelegate = "redelegate" EventTypeWithdrawDeposit = "withdraw_deposit" EventTypeWithdrawDepositRetry = "withdraw_deposit_retry" EventTypeEpochUnbonding = "epoch_unbonding" EventTypeGenerateSeed = "generate_seed" AttributeKeyPoolID = "pool_id" AttributeKeyDrawID = "draw_id" AttributeKeyOperatorAddress = "operator_address" AttributeKeyPrizeID = "prize_id" AttributeKeyDepositID = "deposit_id" AttributeKeyWithdrawalID = "withdrawal_id" AttributeKeyState = "state" AttributeKeyDepositor = "depositor" AttributeKeyWinner = "winner" AttributeKeyRecipient = "recipient" AttributeKeyPrizePool = "prize_pool" AttributeKeyTotalWinners = "total_winners" AttributeKeyTotalWinAmount = "total_win_amount" AttributeKeySponsor = "sponsor" AttributeKeyEpochID = "epoch_id" AttributeSeed = "seed" )
const ( ModuleName = "millions" ModuleVersion = 4 StoreKey = ModuleName RouterKey = ModuleName QuerierRoute = ModuleName )
const ( ICATypeDeposit = "deposit" ICATypePrizePool = "prizepool" )
const ( MinAcceptableDepositAmount = 1_000 MinAcceptableDrawDelta = 1 * time.Hour MinAcceptableDepositDrawDelta = 1 * time.Minute MinAcceptablePrizeExpirationDelta = 1 * time.Hour MaxAcceptableFeesStakers = 50 // 50% )
const (
IBCTimeoutNanos = 1_800_000_000_000 // 30 minutes
)
const (
ProposalTypeRegisterPool = "RegisterPool"
)
const (
ProposalTypeUpdateParams = "UpdateParams"
)
const (
ProposalTypeUpdatePool = "UpdatePool"
)
const (
UnknownID uint64 = 0
)
Variables ¶
var ( ErrInvalidLengthCallbacks = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCallbacks = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCallbacks = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthDeposit = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDeposit = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDeposit = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthDraw = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDraw = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDraw = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthDrawSchedule = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDrawSchedule = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDrawSchedule = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthEpoch = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEpoch = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEpoch = fmt.Errorf("proto: unexpected end of group") )
var ( ErrUnmarshalFailure = errorsmod.Register(ModuleName, 1001, "unable to unmarshal data structure") ErrInvalidID = errorsmod.Register(ModuleName, 1002, "invalid unknown ID provided") ErrEntityOverride = errorsmod.Register(ModuleName, 1003, "ID already exists") ErrIllegalStateOperation = errorsmod.Register(ModuleName, 1004, "Operation not allowed for the entity state") ErrInvalidParams = errorsmod.Register(ModuleName, 1005, "Invalid params") ErrPoolNotFound = errorsmod.Register(ModuleName, 1100, "Pool not found") ErrFailedToRegisterPool = errorsmod.Register(ModuleName, 1101, "Failed to register pool") ErrPoolNotReady = errorsmod.Register(ModuleName, 1102, "Pool not ready") ErrPoolKilled = errorsmod.Register(ModuleName, 1103, "Pool killed") ErrInvalidPoolParams = errorsmod.Register(ModuleName, 1104, "Invalid pool params") ErrPoolEmptySplitDelegations = errorsmod.Register(ModuleName, 1105, "Failed to compute split delegation") ErrPoolInvalidSplit = errorsmod.Register(ModuleName, 1106, "Invalid split provided") ErrFailedToUpdatePool = errorsmod.Register(ModuleName, 1107, "Failed to update pool") ErrPoolIsLocal = errorsmod.Register(ModuleName, 1108, "Pool is local") ErrFailedToRestorePool = errorsmod.Register(ModuleName, 1109, "Failed to restore pool") ErrInvalidPoolState = errorsmod.Register(ModuleName, 1110, "Invalid pool state") ErrPoolStateChangeNotAllowed = errorsmod.Register(ModuleName, 1111, "Pool state change not allowed") ErrValidatorNotFound = errorsmod.Register(ModuleName, 1112, "Validator not found in pool validator set") ErrInvalidValidatorEnablementStatus = errorsmod.Register(ModuleName, 1113, "Invalid validator enablement status") ErrInvalidPoolType = errorsmod.Register(ModuleName, 1114, "Invalid pool type") ErrInvalidDepositAmount = errorsmod.Register(ModuleName, 1200, "Deposit amount must be positive") ErrInvalidDepositDenom = errorsmod.Register(ModuleName, 1201, "Invalid deposit denom") ErrInvalidDepositorAddress = errorsmod.Register(ModuleName, 1202, "Invalid depositor address") ErrInsufficientFunds = errorsmod.Register(ModuleName, 1203, "Insufficient funds") ErrDepositNotFound = errorsmod.Register(ModuleName, 1204, "Deposit not found") ErrInsufficientDepositAmount = errorsmod.Register(ModuleName, 1205, "Amount is less than minimum deposit amount") ErrInvalidWinnerAddress = errorsmod.Register(ModuleName, 1206, "Invalid winner address") ErrInvalidSponsorWinnerCombo = errorsmod.Register(ModuleName, 1207, "A sponsor cannot designate another winner address") ErrInvalidDepositState = errorsmod.Register(ModuleName, 1208, "Deposit is in an invalid state") ErrInvalidPoolAccountAddress = errorsmod.Register(ModuleName, 1209, "Invalid pool module account address") ErrInvalidRestorerAddress = errorsmod.Register(ModuleName, 1210, "Invalid restorer address") ErrPoolDrawNotFound = errorsmod.Register(ModuleName, 1300, "Pool draw not found") ErrPoolDrawNotDone = errorsmod.Register(ModuleName, 1301, "Cannot launch a new draw until the previous one is done") ErrInvalidDrawState = errorsmod.Register(ModuleName, 1302, "Invalid draw state") ErrInvalidDrawRetryAddress = errorsmod.Register(ModuleName, 1303, "Invalid draw retry address") ErrInvalidRequesterAddress = errorsmod.Register(ModuleName, 1304, "Invalid requester address") ErrPrizeNotFound = errorsmod.Register(ModuleName, 1400, "Prize not found") ErrInvalidPrizeState = errorsmod.Register(ModuleName, 1401, "Prize is in an invalid state") ErrInvalidPrizeAmount = errorsmod.Register(ModuleName, 1402, "Prize amount cannot be less than 1") ErrInvalidDestinationAddress = errorsmod.Register(ModuleName, 1500, "Invalid destination address") ErrInvalidWithdrawalDepositorAddress = errorsmod.Register(ModuleName, 1600, "Invalid withdraw depositor address") ErrDepositAlreadyWithdrawn = errorsmod.Register(ModuleName, 1601, "Deposit has already been withdrawn") ErrInvalidWithdrawalState = errorsmod.Register(ModuleName, 1602, "Invalid withdrawal state") ErrWithdrawalNotFound = errorsmod.Register(ModuleName, 1603, "Withdrawal not found") ErrInvalidPacketCompletionTime = errorsmod.Register(ModuleName, 1604, "Invalid packet completion time for withdrawal undelegate") ErrInvalidEpochTracker = errorsmod.Register(ModuleName, 1700, "Invalid epoch tracker") ErrInvalidEpochUnbonding = errorsmod.Register(ModuleName, 1701, "Invalid epoch unbonding") ErrInvalidEpochField = errorsmod.Register(ModuleName, 1702, "Invalid epoch field") )
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 ( ErrInvalidLengthGov = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGov = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group") )
var ( NextPoolIdPrefix = []byte{0x01} PoolPrefix = []byte{0x02} NextDepositPrefix = []byte{0x03} PoolDepositPrefix = []byte{0x04} AccountPoolDepositPrefix = []byte{0x05} DrawPrefix = []byte{0x06} PoolPrizePrefix = []byte{0x07} AccountPoolPrizePrefix = []byte{0x08} NextPrizePrefix = []byte{0x09} PoolWithdrawalPrefix = []byte{0x10} AccountPoolWithdrawalPrefix = []byte{0x11} NextWithdrawalPrefix = []byte{0x12} PrizeExpirationTimePrefix = []byte{0x13} WithdrawalMaturationTimePrefix = []byte{0x14} EpochUnbondingPrefix = []byte{0x15} EpochTrackerPrefix = []byte{0x16} ParamsPrefix = []byte{0x20} // KeyIndexSeparator separator between combined keys KeyIndexSeparator = []byte{0xFF} )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPool = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPool = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPool = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPrize = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPrize = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPrize = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPrizeBatch = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPrizeBatch = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPrizeBatch = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPrizeRef = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPrizeRef = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPrizeRef = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPrizeStrategy = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPrizeStrategy = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPrizeStrategy = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthRedelegate = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRedelegate = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupRedelegate = 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 ( ErrInvalidLengthWithdrawal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWithdrawal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupWithdrawal = fmt.Errorf("proto: unexpected end of group") )
var DepositState_name = map[int32]string{
0: "DEPOSIT_STATE_UNSPECIFIED",
1: "DEPOSIT_STATE_IBC_TRANSFER",
2: "DEPOSIT_STATE_ICA_DELEGATE",
3: "DEPOSIT_STATE_SUCCESS",
4: "DEPOSIT_STATE_FAILURE",
}
var DepositState_value = map[string]int32{
"DEPOSIT_STATE_UNSPECIFIED": 0,
"DEPOSIT_STATE_IBC_TRANSFER": 1,
"DEPOSIT_STATE_ICA_DELEGATE": 2,
"DEPOSIT_STATE_SUCCESS": 3,
"DEPOSIT_STATE_FAILURE": 4,
}
var DrawState_name = map[int32]string{
0: "DRAW_STATE_UNSPECIFIED",
1: "DRAW_STATE_ICA_WITHDRAWREWARDS",
2: "DRAW_STATE_QUERY_BALANCE",
3: "DRAW_STATE_IBC_TRANSFER",
4: "DRAW_STATE_DRAWING",
5: "DRAW_STATE_SUCCESS",
6: "DRAW_STATE_FAILURE",
}
var DrawState_value = map[string]int32{
"DRAW_STATE_UNSPECIFIED": 0,
"DRAW_STATE_ICA_WITHDRAWREWARDS": 1,
"DRAW_STATE_QUERY_BALANCE": 2,
"DRAW_STATE_IBC_TRANSFER": 3,
"DRAW_STATE_DRAWING": 4,
"DRAW_STATE_SUCCESS": 5,
"DRAW_STATE_FAILURE": 6,
}
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
var PoolState_name = map[int32]string{
0: "POOL_STATE_UNSPECIFIED",
1: "POOL_STATE_CREATED",
2: "POOL_STATE_READY",
3: "POOL_STATE_PAUSED",
4: "POOL_STATE_KILLED",
}
var PoolState_value = map[string]int32{
"POOL_STATE_UNSPECIFIED": 0,
"POOL_STATE_CREATED": 1,
"POOL_STATE_READY": 2,
"POOL_STATE_PAUSED": 3,
"POOL_STATE_KILLED": 4,
}
var PoolType_name = map[int32]string{
0: "POOL_TYPE_UNSPECIFIED",
1: "POOL_TYPE_STAKING",
}
var PoolType_value = map[string]int32{
"POOL_TYPE_UNSPECIFIED": 0,
"POOL_TYPE_STAKING": 1,
}
var PrizeState_name = map[int32]string{
0: "PRIZE_STATE_UNSPECIFIED",
1: "PRIZE_STATE_PENDING",
}
var PrizeState_value = map[string]int32{
"PRIZE_STATE_UNSPECIFIED": 0,
"PRIZE_STATE_PENDING": 1,
}
var RedelegateState_name = map[int32]string{
0: "REDELEGATE_STATE_UNSPECIFIED",
1: "REDELEGATE_STATE_ICA_REDELEGATE",
2: "REDELEGATE_STATE_SUCCESS",
3: "REDELEGATE_STATE_FAILURE",
}
var RedelegateState_value = map[string]int32{
"REDELEGATE_STATE_UNSPECIFIED": 0,
"REDELEGATE_STATE_ICA_REDELEGATE": 1,
"REDELEGATE_STATE_SUCCESS": 2,
"REDELEGATE_STATE_FAILURE": 3,
}
var TransferType_name = map[int32]string{
0: "TRANSFER_TYPE_UNSPECIFIED",
1: "TRANSFER_TYPE_CLAIM",
2: "TRANSFER_TYPE_WITHDRAW",
}
var TransferType_value = map[string]int32{
"TRANSFER_TYPE_UNSPECIFIED": 0,
"TRANSFER_TYPE_CLAIM": 1,
"TRANSFER_TYPE_WITHDRAW": 2,
}
var WithdrawalState_name = map[int32]string{
0: "WITHDRAWAL_STATE_UNSPECIFIED",
1: "WITHDRAWAL_STATE_ICA_UNDELEGATE",
2: "WITHDRAWAL_STATE_ICA_UNBONDING",
3: "WITHDRAWAL_STATE_IBC_TRANSFER",
4: "WITHDRAWAL_STATE_FAILURE",
5: "WITHDRAWAL_STATE_PENDING",
}
var WithdrawalState_value = map[string]int32{
"WITHDRAWAL_STATE_UNSPECIFIED": 0,
"WITHDRAWAL_STATE_ICA_UNDELEGATE": 1,
"WITHDRAWAL_STATE_ICA_UNBONDING": 2,
"WITHDRAWAL_STATE_IBC_TRANSFER": 3,
"WITHDRAWAL_STATE_FAILURE": 4,
"WITHDRAWAL_STATE_PENDING": 5,
}
Functions ¶
func CombineKeys ¶
CombineKeys combine bytes array into a single bytes.
func CombineStringKeys ¶
func DecombineStringKeys ¶
func GetAccountDepositsKey ¶
func GetAccountPrizesKey ¶
func GetDepositsKey ¶
func GetDepositsKey() []byte
func GetEpochPoolUnbondingKey ¶ added in v1.5.2
func GetEpochTrackerKey ¶ added in v1.5.2
func GetEpochUnbondingsKey ¶ added in v1.5.2
func GetExpiringPrizeTimeKey ¶
func GetPoolDepositKey ¶
func GetPoolDepositsKey ¶
func GetPoolDrawIDKey ¶
func GetPoolDrawPrizeKey ¶
func GetPoolDrawPrizesKey ¶
func GetPoolDrawsKey ¶
func GetPoolKey ¶
func GetPoolPrizesKey ¶
func GetPoolWithdrawalKey ¶
func GetPoolWithdrawalsKey ¶
func GetPrizesKey ¶
func GetPrizesKey() []byte
func GetWithdrawalsKey ¶
func GetWithdrawalsKey() []byte
func NewPoolAddress ¶
func NewPoolAddress(poolID uint64, addressType string) sdk.AccAddress
func NewPoolName ¶
func NewRegisterPoolProposal ¶
func NewRegisterPoolProposal(title string, description string, poolType PoolType, chainID string, denom string, nativeDenom string, connectionId string, bech32PrefixAccAddr string, bech32PrefixValAddr string, validators []string, minDepositAmount math.Int, prizeStrategy PrizeStrategy, drawSchedule DrawSchedule, UnbondingDuration time.Duration, maxUnbondingEntries math.Int) govtypes.Content
func NewUpdateParamsProposal ¶
func NewUpdatePoolProposal ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
RegisterInterfaces Register the implementations for the given codecs
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec Register the codec for the message passing
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 StringKeyToBytes ¶ added in v1.5.2
func ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
Types ¶
type BankSendCallback ¶ added in v1.5.0
type BankSendCallback struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` WithdrawalId uint64 `protobuf:"varint,2,opt,name=withdrawal_id,json=withdrawalId,proto3" json:"withdrawal_id,omitempty"` }
func (*BankSendCallback) Descriptor ¶ added in v1.5.0
func (*BankSendCallback) Descriptor() ([]byte, []int)
func (*BankSendCallback) GetPoolId ¶ added in v1.5.0
func (m *BankSendCallback) GetPoolId() uint64
func (*BankSendCallback) GetWithdrawalId ¶ added in v1.5.0
func (m *BankSendCallback) GetWithdrawalId() uint64
func (*BankSendCallback) Marshal ¶ added in v1.5.0
func (m *BankSendCallback) Marshal() (dAtA []byte, err error)
func (*BankSendCallback) MarshalTo ¶ added in v1.5.0
func (m *BankSendCallback) MarshalTo(dAtA []byte) (int, error)
func (*BankSendCallback) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *BankSendCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BankSendCallback) ProtoMessage ¶ added in v1.5.0
func (*BankSendCallback) ProtoMessage()
func (*BankSendCallback) Reset ¶ added in v1.5.0
func (m *BankSendCallback) Reset()
func (*BankSendCallback) Size ¶ added in v1.5.0
func (m *BankSendCallback) Size() (n int)
func (*BankSendCallback) String ¶ added in v1.5.0
func (m *BankSendCallback) String() string
func (*BankSendCallback) Unmarshal ¶ added in v1.5.0
func (m *BankSendCallback) Unmarshal(dAtA []byte) error
func (*BankSendCallback) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *BankSendCallback) XXX_DiscardUnknown()
func (*BankSendCallback) XXX_Marshal ¶ added in v1.5.0
func (m *BankSendCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BankSendCallback) XXX_Merge ¶ added in v1.5.0
func (m *BankSendCallback) XXX_Merge(src proto.Message)
func (*BankSendCallback) XXX_Size ¶ added in v1.5.0
func (m *BankSendCallback) XXX_Size() int
func (*BankSendCallback) XXX_Unmarshal ¶ added in v1.5.0
func (m *BankSendCallback) XXX_Unmarshal(b []byte) error
type ClaimRewardsCallback ¶
type ClaimRewardsCallback struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DrawId uint64 `protobuf:"varint,2,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` }
func (*ClaimRewardsCallback) Descriptor ¶
func (*ClaimRewardsCallback) Descriptor() ([]byte, []int)
func (*ClaimRewardsCallback) GetDrawId ¶
func (m *ClaimRewardsCallback) GetDrawId() uint64
func (*ClaimRewardsCallback) GetPoolId ¶
func (m *ClaimRewardsCallback) GetPoolId() uint64
func (*ClaimRewardsCallback) Marshal ¶
func (m *ClaimRewardsCallback) Marshal() (dAtA []byte, err error)
func (*ClaimRewardsCallback) MarshalTo ¶
func (m *ClaimRewardsCallback) MarshalTo(dAtA []byte) (int, error)
func (*ClaimRewardsCallback) MarshalToSizedBuffer ¶
func (m *ClaimRewardsCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimRewardsCallback) ProtoMessage ¶
func (*ClaimRewardsCallback) ProtoMessage()
func (*ClaimRewardsCallback) Reset ¶
func (m *ClaimRewardsCallback) Reset()
func (*ClaimRewardsCallback) Size ¶
func (m *ClaimRewardsCallback) Size() (n int)
func (*ClaimRewardsCallback) String ¶
func (m *ClaimRewardsCallback) String() string
func (*ClaimRewardsCallback) Unmarshal ¶
func (m *ClaimRewardsCallback) Unmarshal(dAtA []byte) error
func (*ClaimRewardsCallback) XXX_DiscardUnknown ¶
func (m *ClaimRewardsCallback) XXX_DiscardUnknown()
func (*ClaimRewardsCallback) XXX_Marshal ¶
func (m *ClaimRewardsCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimRewardsCallback) XXX_Merge ¶
func (m *ClaimRewardsCallback) XXX_Merge(src proto.Message)
func (*ClaimRewardsCallback) XXX_Size ¶
func (m *ClaimRewardsCallback) XXX_Size() int
func (*ClaimRewardsCallback) XXX_Unmarshal ¶
func (m *ClaimRewardsCallback) XXX_Unmarshal(b []byte) error
type DelegateCallback ¶
type DelegateCallback struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DepositId uint64 `protobuf:"varint,2,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"` SplitDelegations []*SplitDelegation `protobuf:"bytes,3,rep,name=split_delegations,json=splitDelegations,proto3" json:"split_delegations,omitempty"` }
func (*DelegateCallback) Descriptor ¶
func (*DelegateCallback) Descriptor() ([]byte, []int)
func (*DelegateCallback) GetDepositId ¶
func (m *DelegateCallback) GetDepositId() uint64
func (*DelegateCallback) GetPoolId ¶
func (m *DelegateCallback) GetPoolId() uint64
func (*DelegateCallback) GetSplitDelegations ¶
func (m *DelegateCallback) GetSplitDelegations() []*SplitDelegation
func (*DelegateCallback) Marshal ¶
func (m *DelegateCallback) Marshal() (dAtA []byte, err error)
func (*DelegateCallback) MarshalToSizedBuffer ¶
func (m *DelegateCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegateCallback) ProtoMessage ¶
func (*DelegateCallback) ProtoMessage()
func (*DelegateCallback) Reset ¶
func (m *DelegateCallback) Reset()
func (*DelegateCallback) Size ¶
func (m *DelegateCallback) Size() (n int)
func (*DelegateCallback) String ¶
func (m *DelegateCallback) String() string
func (*DelegateCallback) Unmarshal ¶
func (m *DelegateCallback) Unmarshal(dAtA []byte) error
func (*DelegateCallback) XXX_DiscardUnknown ¶
func (m *DelegateCallback) XXX_DiscardUnknown()
func (*DelegateCallback) XXX_Marshal ¶
func (m *DelegateCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegateCallback) XXX_Merge ¶
func (m *DelegateCallback) XXX_Merge(src proto.Message)
func (*DelegateCallback) XXX_Size ¶
func (m *DelegateCallback) XXX_Size() int
func (*DelegateCallback) XXX_Unmarshal ¶
func (m *DelegateCallback) XXX_Unmarshal(b []byte) error
type Deposit ¶
type Deposit struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DepositId uint64 `protobuf:"varint,2,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"` State DepositState `protobuf:"varint,3,opt,name=state,proto3,enum=lum.network.millions.DepositState" json:"state,omitempty"` ErrorState DepositState `` /* 131-byte string literal not displayed */ DepositorAddress string `protobuf:"bytes,5,opt,name=depositor_address,json=depositorAddress,proto3" json:"depositor_address,omitempty"` Amount types.Coin `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount"` WinnerAddress string `protobuf:"bytes,7,opt,name=winner_address,json=winnerAddress,proto3" json:"winner_address,omitempty"` IsSponsor bool `protobuf:"varint,8,opt,name=is_sponsor,json=isSponsor,proto3" json:"is_sponsor,omitempty"` CreatedAtHeight int64 `protobuf:"varint,10,opt,name=created_at_height,json=createdAtHeight,proto3" json:"created_at_height,omitempty"` UpdatedAtHeight int64 `protobuf:"varint,11,opt,name=updated_at_height,json=updatedAtHeight,proto3" json:"updated_at_height,omitempty"` CreatedAt time.Time `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"` UpdatedAt time.Time `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"` }
func (*Deposit) Descriptor ¶
func (*Deposit) GetCreatedAt ¶
func (*Deposit) GetCreatedAtHeight ¶
func (*Deposit) GetDepositId ¶
func (*Deposit) GetDepositorAddress ¶
func (*Deposit) GetErrorState ¶
func (m *Deposit) GetErrorState() DepositState
func (*Deposit) GetIsSponsor ¶
func (*Deposit) GetState ¶
func (m *Deposit) GetState() DepositState
func (*Deposit) GetUpdatedAt ¶
func (*Deposit) GetUpdatedAtHeight ¶
func (*Deposit) GetWinnerAddress ¶
func (*Deposit) MarshalToSizedBuffer ¶
func (*Deposit) ProtoMessage ¶
func (*Deposit) ProtoMessage()
func (*Deposit) ValidateBasic ¶
ValidateBasic validates if a deposit has a valid poolID, depositID and depositorAddress meaning that it can be stored
func (*Deposit) XXX_DiscardUnknown ¶
func (m *Deposit) XXX_DiscardUnknown()
func (*Deposit) XXX_Marshal ¶
func (*Deposit) XXX_Unmarshal ¶
type DepositState ¶
type DepositState int32
const ( DepositState_Unspecified DepositState = 0 DepositState_IbcTransfer DepositState = 1 DepositState_IcaDelegate DepositState = 2 DepositState_Success DepositState = 3 DepositState_Failure DepositState = 4 )
func (DepositState) EnumDescriptor ¶
func (DepositState) EnumDescriptor() ([]byte, []int)
func (DepositState) String ¶
func (x DepositState) String() string
type Draw ¶
type Draw struct { // Draw IDs PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DrawId uint64 `protobuf:"varint,2,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` // Draw states // error_state is only set in case of failure State DrawState `protobuf:"varint,3,opt,name=state,proto3,enum=lum.network.millions.DrawState" json:"state,omitempty"` ErrorState DrawState `` /* 128-byte string literal not displayed */ // Draw state done data RandSeed int64 `protobuf:"varint,5,opt,name=rand_seed,json=randSeed,proto3" json:"rand_seed,omitempty"` PrizePool types.Coin `protobuf:"bytes,6,opt,name=prize_pool,json=prizePool,proto3" json:"prize_pool"` PrizePoolFreshAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */ PrizePoolRemainsAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 171-byte string literal not displayed */ PrizesRefs []PrizeRef `protobuf:"bytes,11,rep,name=prizes_refs,json=prizesRefs,proto3" json:"prizes_refs"` TotalWinCount uint64 `protobuf:"varint,12,opt,name=total_win_count,json=totalWinCount,proto3" json:"total_win_count,omitempty"` TotalWinAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */ // Draw creation and updates CreatedAtHeight int64 `protobuf:"varint,15,opt,name=created_at_height,json=createdAtHeight,proto3" json:"created_at_height,omitempty"` UpdatedAtHeight int64 `protobuf:"varint,16,opt,name=updated_at_height,json=updatedAtHeight,proto3" json:"updated_at_height,omitempty"` CreatedAt time.Time `protobuf:"bytes,17,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"` UpdatedAt time.Time `protobuf:"bytes,18,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"` }
func (*Draw) Descriptor ¶
func (*Draw) GetCreatedAt ¶
func (*Draw) GetCreatedAtHeight ¶
func (*Draw) GetErrorState ¶
func (*Draw) GetPrizePool ¶
func (*Draw) GetPrizesRefs ¶
func (*Draw) GetRandSeed ¶
func (*Draw) GetTotalWinCount ¶
func (*Draw) GetUpdatedAt ¶
func (*Draw) GetUpdatedAtHeight ¶
func (*Draw) ProtoMessage ¶
func (*Draw) ProtoMessage()
func (*Draw) XXX_DiscardUnknown ¶
func (m *Draw) XXX_DiscardUnknown()
func (*Draw) XXX_Unmarshal ¶
type DrawSchedule ¶
type DrawSchedule struct { InitialDrawAt time.Time `protobuf:"bytes,1,opt,name=initial_draw_at,json=initialDrawAt,proto3,stdtime" json:"initial_draw_at"` DrawDelta time.Duration `protobuf:"bytes,2,opt,name=draw_delta,json=drawDelta,proto3,stdduration" json:"draw_delta"` }
func (*DrawSchedule) Descriptor ¶
func (*DrawSchedule) Descriptor() ([]byte, []int)
func (*DrawSchedule) GetDrawDelta ¶
func (m *DrawSchedule) GetDrawDelta() time.Duration
func (*DrawSchedule) GetInitialDrawAt ¶
func (m *DrawSchedule) GetInitialDrawAt() time.Time
func (*DrawSchedule) Marshal ¶
func (m *DrawSchedule) Marshal() (dAtA []byte, err error)
func (*DrawSchedule) MarshalToSizedBuffer ¶
func (m *DrawSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DrawSchedule) ProtoMessage ¶
func (*DrawSchedule) ProtoMessage()
func (*DrawSchedule) Reset ¶
func (m *DrawSchedule) Reset()
func (DrawSchedule) Sanitized ¶
func (ps DrawSchedule) Sanitized() DrawSchedule
Sanitized returns the draw schedule with time rounded to the minute
func (DrawSchedule) ShouldDraw ¶
ShouldDraw returns whether or not the current block time is past the next draw time (= time to launch draw)
func (*DrawSchedule) Size ¶
func (m *DrawSchedule) Size() (n int)
func (*DrawSchedule) String ¶
func (m *DrawSchedule) String() string
func (*DrawSchedule) Unmarshal ¶
func (m *DrawSchedule) Unmarshal(dAtA []byte) error
func (DrawSchedule) ValidateBasic ¶
func (ps DrawSchedule) ValidateBasic(params Params) error
func (DrawSchedule) ValidateNew ¶
func (ps DrawSchedule) ValidateNew(ctx sdk.Context, params Params) error
ValidateNew drawSchedule validation at pool creation time
func (*DrawSchedule) XXX_DiscardUnknown ¶
func (m *DrawSchedule) XXX_DiscardUnknown()
func (*DrawSchedule) XXX_Marshal ¶
func (m *DrawSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DrawSchedule) XXX_Merge ¶
func (m *DrawSchedule) XXX_Merge(src proto.Message)
func (*DrawSchedule) XXX_Size ¶
func (m *DrawSchedule) XXX_Size() int
func (*DrawSchedule) XXX_Unmarshal ¶
func (m *DrawSchedule) XXX_Unmarshal(b []byte) error
type EpochTracker ¶ added in v1.5.2
type EpochTracker struct { EpochTrackerType string `protobuf:"bytes,1,opt,name=epoch_tracker_type,json=epochTrackerType,proto3" json:"epoch_tracker_type,omitempty"` EpochIdentifier string `protobuf:"bytes,2,opt,name=epoch_identifier,json=epochIdentifier,proto3" json:"epoch_identifier,omitempty"` EpochNumber uint64 `protobuf:"varint,3,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"` NextEpochNumber uint64 `protobuf:"varint,4,opt,name=next_epoch_number,json=nextEpochNumber,proto3" json:"next_epoch_number,omitempty"` PreviousEpochNumber uint64 `protobuf:"varint,5,opt,name=previous_epoch_number,json=previousEpochNumber,proto3" json:"previous_epoch_number,omitempty"` NextEpochStartTime time.Time `protobuf:"bytes,6,opt,name=next_epoch_start_time,json=nextEpochStartTime,proto3,stdtime" json:"next_epoch_start_time"` }
func (*EpochTracker) Descriptor ¶ added in v1.5.2
func (*EpochTracker) Descriptor() ([]byte, []int)
func (*EpochTracker) GetEpochIdentifier ¶ added in v1.5.2
func (m *EpochTracker) GetEpochIdentifier() string
func (*EpochTracker) GetEpochNumber ¶ added in v1.5.2
func (m *EpochTracker) GetEpochNumber() uint64
func (*EpochTracker) GetEpochTrackerType ¶ added in v1.5.2
func (m *EpochTracker) GetEpochTrackerType() string
func (*EpochTracker) GetNextEpochNumber ¶ added in v1.5.2
func (m *EpochTracker) GetNextEpochNumber() uint64
func (*EpochTracker) GetNextEpochStartTime ¶ added in v1.5.2
func (m *EpochTracker) GetNextEpochStartTime() time.Time
func (*EpochTracker) GetPreviousEpochNumber ¶ added in v1.5.2
func (m *EpochTracker) GetPreviousEpochNumber() uint64
func (*EpochTracker) Marshal ¶ added in v1.5.2
func (m *EpochTracker) Marshal() (dAtA []byte, err error)
func (*EpochTracker) MarshalTo ¶ added in v1.5.2
func (m *EpochTracker) MarshalTo(dAtA []byte) (int, error)
func (*EpochTracker) MarshalToSizedBuffer ¶ added in v1.5.2
func (m *EpochTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EpochTracker) ProtoMessage ¶ added in v1.5.2
func (*EpochTracker) ProtoMessage()
func (*EpochTracker) Reset ¶ added in v1.5.2
func (m *EpochTracker) Reset()
func (*EpochTracker) Size ¶ added in v1.5.2
func (m *EpochTracker) Size() (n int)
func (*EpochTracker) String ¶ added in v1.5.2
func (m *EpochTracker) String() string
func (*EpochTracker) Unmarshal ¶ added in v1.5.2
func (m *EpochTracker) Unmarshal(dAtA []byte) error
func (*EpochTracker) XXX_DiscardUnknown ¶ added in v1.5.2
func (m *EpochTracker) XXX_DiscardUnknown()
func (*EpochTracker) XXX_Marshal ¶ added in v1.5.2
func (m *EpochTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochTracker) XXX_Merge ¶ added in v1.5.2
func (m *EpochTracker) XXX_Merge(src proto.Message)
func (*EpochTracker) XXX_Size ¶ added in v1.5.2
func (m *EpochTracker) XXX_Size() int
func (*EpochTracker) XXX_Unmarshal ¶ added in v1.5.2
func (m *EpochTracker) XXX_Unmarshal(b []byte) error
type EpochUnbonding ¶ added in v1.5.2
type EpochUnbonding struct { EpochIdentifier string `protobuf:"bytes,1,opt,name=epoch_identifier,json=epochIdentifier,proto3" json:"epoch_identifier,omitempty"` EpochNumber uint64 `protobuf:"varint,2,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"` PoolId uint64 `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` WithdrawalIds []uint64 `protobuf:"varint,4,rep,packed,name=withdrawal_ids,json=withdrawalIds,proto3" json:"withdrawal_ids,omitempty"` WithdrawalIdsCount uint64 `protobuf:"varint,5,opt,name=withdrawal_ids_count,json=withdrawalIdsCount,proto3" json:"withdrawal_ids_count,omitempty"` TotalAmount types.Coin `protobuf:"bytes,6,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount"` // metadata CreatedAtHeight int64 `protobuf:"varint,7,opt,name=created_at_height,json=createdAtHeight,proto3" json:"created_at_height,omitempty"` UpdatedAtHeight int64 `protobuf:"varint,8,opt,name=updated_at_height,json=updatedAtHeight,proto3" json:"updated_at_height,omitempty"` CreatedAt time.Time `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"` UpdatedAt time.Time `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"` }
func (*EpochUnbonding) Descriptor ¶ added in v1.5.2
func (*EpochUnbonding) Descriptor() ([]byte, []int)
func (*EpochUnbonding) GetCreatedAt ¶ added in v1.5.2
func (m *EpochUnbonding) GetCreatedAt() time.Time
func (*EpochUnbonding) GetCreatedAtHeight ¶ added in v1.5.2
func (m *EpochUnbonding) GetCreatedAtHeight() int64
func (*EpochUnbonding) GetEpochIdentifier ¶ added in v1.5.2
func (m *EpochUnbonding) GetEpochIdentifier() string
func (*EpochUnbonding) GetEpochNumber ¶ added in v1.5.2
func (m *EpochUnbonding) GetEpochNumber() uint64
func (*EpochUnbonding) GetPoolId ¶ added in v1.5.2
func (m *EpochUnbonding) GetPoolId() uint64
func (*EpochUnbonding) GetTotalAmount ¶ added in v1.5.2
func (m *EpochUnbonding) GetTotalAmount() types.Coin
func (*EpochUnbonding) GetUpdatedAt ¶ added in v1.5.2
func (m *EpochUnbonding) GetUpdatedAt() time.Time
func (*EpochUnbonding) GetUpdatedAtHeight ¶ added in v1.5.2
func (m *EpochUnbonding) GetUpdatedAtHeight() int64
func (*EpochUnbonding) GetWithdrawalIds ¶ added in v1.5.2
func (m *EpochUnbonding) GetWithdrawalIds() []uint64
func (*EpochUnbonding) GetWithdrawalIdsCount ¶ added in v1.5.2
func (m *EpochUnbonding) GetWithdrawalIdsCount() uint64
func (*EpochUnbonding) Marshal ¶ added in v1.5.2
func (m *EpochUnbonding) Marshal() (dAtA []byte, err error)
func (*EpochUnbonding) MarshalTo ¶ added in v1.5.2
func (m *EpochUnbonding) MarshalTo(dAtA []byte) (int, error)
func (*EpochUnbonding) MarshalToSizedBuffer ¶ added in v1.5.2
func (m *EpochUnbonding) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EpochUnbonding) ProtoMessage ¶ added in v1.5.2
func (*EpochUnbonding) ProtoMessage()
func (*EpochUnbonding) Reset ¶ added in v1.5.2
func (m *EpochUnbonding) Reset()
func (*EpochUnbonding) Size ¶ added in v1.5.2
func (m *EpochUnbonding) Size() (n int)
func (*EpochUnbonding) String ¶ added in v1.5.2
func (m *EpochUnbonding) String() string
func (*EpochUnbonding) Unmarshal ¶ added in v1.5.2
func (m *EpochUnbonding) Unmarshal(dAtA []byte) error
func (*EpochUnbonding) ValidateBasic ¶ added in v1.5.2
func (e *EpochUnbonding) ValidateBasic(params Params) error
func (*EpochUnbonding) WithdrawalIDExists ¶ added in v1.5.2
func (e *EpochUnbonding) WithdrawalIDExists(withdrawalID uint64) bool
func (*EpochUnbonding) WithdrawalIDsLimitReached ¶ added in v1.5.2
func (e *EpochUnbonding) WithdrawalIDsLimitReached(count uint64) bool
func (*EpochUnbonding) XXX_DiscardUnknown ¶ added in v1.5.2
func (m *EpochUnbonding) XXX_DiscardUnknown()
func (*EpochUnbonding) XXX_Marshal ¶ added in v1.5.2
func (m *EpochUnbonding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochUnbonding) XXX_Merge ¶ added in v1.5.2
func (m *EpochUnbonding) XXX_Merge(src proto.Message)
func (*EpochUnbonding) XXX_Size ¶ added in v1.5.2
func (m *EpochUnbonding) XXX_Size() int
func (*EpochUnbonding) XXX_Unmarshal ¶ added in v1.5.2
func (m *EpochUnbonding) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"` NextPoolId uint64 `protobuf:"varint,2,opt,name=next_pool_id,json=nextPoolId,proto3" json:"next_pool_id,omitempty"` NextDepositId uint64 `protobuf:"varint,3,opt,name=next_deposit_id,json=nextDepositId,proto3" json:"next_deposit_id,omitempty"` NextPrizeId uint64 `protobuf:"varint,4,opt,name=next_prize_id,json=nextPrizeId,proto3" json:"next_prize_id,omitempty"` NextWithdrawalId uint64 `protobuf:"varint,5,opt,name=next_withdrawal_id,json=nextWithdrawalId,proto3" json:"next_withdrawal_id,omitempty"` Pools []Pool `protobuf:"bytes,6,rep,name=pools,proto3" json:"pools"` Deposits []Deposit `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits"` Draws []Draw `protobuf:"bytes,8,rep,name=draws,proto3" json:"draws"` Prizes []Prize `protobuf:"bytes,9,rep,name=prizes,proto3" json:"prizes"` Withdrawals []Withdrawal `protobuf:"bytes,10,rep,name=withdrawals,proto3" json:"withdrawals"` EpochTrackers []EpochTracker `protobuf:"bytes,11,rep,name=epoch_trackers,json=epochTrackers,proto3" json:"epoch_trackers"` }
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetDeposits ¶
func (m *GenesisState) GetDeposits() []Deposit
func (*GenesisState) GetDraws ¶
func (m *GenesisState) GetDraws() []Draw
func (*GenesisState) GetEpochTrackers ¶ added in v1.5.2
func (m *GenesisState) GetEpochTrackers() []EpochTracker
func (*GenesisState) GetNextDepositId ¶
func (m *GenesisState) GetNextDepositId() uint64
func (*GenesisState) GetNextPoolId ¶
func (m *GenesisState) GetNextPoolId() uint64
func (*GenesisState) GetNextPrizeId ¶
func (m *GenesisState) GetNextPrizeId() uint64
func (*GenesisState) GetNextWithdrawalId ¶
func (m *GenesisState) GetNextWithdrawalId() uint64
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPools ¶
func (m *GenesisState) GetPools() []Pool
func (*GenesisState) GetPrizes ¶
func (m *GenesisState) GetPrizes() []Prize
func (*GenesisState) GetWithdrawals ¶
func (m *GenesisState) GetWithdrawals() []Withdrawal
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 MsgClaimPrize ¶
type MsgClaimPrize struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DrawId uint64 `protobuf:"varint,2,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` PrizeId uint64 `protobuf:"varint,3,opt,name=prize_id,json=prizeId,proto3" json:"prize_id,omitempty"` WinnerAddress string `protobuf:"bytes,4,opt,name=winner_address,json=winnerAddress,proto3" json:"winner_address,omitempty"` }
func NewMsgMsgClaimPrize ¶
func NewMsgMsgClaimPrize(winnerAddress string, poolID uint64, drawID uint64, prizeID uint64) *MsgClaimPrize
func (*MsgClaimPrize) Descriptor ¶
func (*MsgClaimPrize) Descriptor() ([]byte, []int)
func (*MsgClaimPrize) GetDrawId ¶
func (m *MsgClaimPrize) GetDrawId() uint64
func (*MsgClaimPrize) GetPoolId ¶
func (m *MsgClaimPrize) GetPoolId() uint64
func (*MsgClaimPrize) GetPrizeId ¶
func (m *MsgClaimPrize) GetPrizeId() uint64
func (*MsgClaimPrize) GetSignBytes ¶
func (msg *MsgClaimPrize) GetSignBytes() []byte
func (*MsgClaimPrize) GetSigners ¶
func (msg *MsgClaimPrize) GetSigners() []sdk.AccAddress
func (*MsgClaimPrize) GetWinnerAddress ¶
func (m *MsgClaimPrize) GetWinnerAddress() string
func (*MsgClaimPrize) Marshal ¶
func (m *MsgClaimPrize) Marshal() (dAtA []byte, err error)
func (*MsgClaimPrize) MarshalToSizedBuffer ¶
func (m *MsgClaimPrize) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimPrize) ProtoMessage ¶
func (*MsgClaimPrize) ProtoMessage()
func (*MsgClaimPrize) Reset ¶
func (m *MsgClaimPrize) Reset()
func (MsgClaimPrize) Route ¶
func (msg MsgClaimPrize) Route() string
func (*MsgClaimPrize) Size ¶
func (m *MsgClaimPrize) Size() (n int)
func (*MsgClaimPrize) String ¶
func (m *MsgClaimPrize) String() string
func (MsgClaimPrize) Type ¶
func (msg MsgClaimPrize) Type() string
func (*MsgClaimPrize) Unmarshal ¶
func (m *MsgClaimPrize) Unmarshal(dAtA []byte) error
func (*MsgClaimPrize) ValidateBasic ¶
func (msg *MsgClaimPrize) ValidateBasic() error
func (*MsgClaimPrize) XXX_DiscardUnknown ¶
func (m *MsgClaimPrize) XXX_DiscardUnknown()
func (*MsgClaimPrize) XXX_Marshal ¶
func (m *MsgClaimPrize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimPrize) XXX_Merge ¶
func (m *MsgClaimPrize) XXX_Merge(src proto.Message)
func (*MsgClaimPrize) XXX_Size ¶
func (m *MsgClaimPrize) XXX_Size() int
func (*MsgClaimPrize) XXX_Unmarshal ¶
func (m *MsgClaimPrize) XXX_Unmarshal(b []byte) error
type MsgClaimPrizeResponse ¶
type MsgClaimPrizeResponse struct { }
func (*MsgClaimPrizeResponse) Descriptor ¶
func (*MsgClaimPrizeResponse) Descriptor() ([]byte, []int)
func (*MsgClaimPrizeResponse) Marshal ¶
func (m *MsgClaimPrizeResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimPrizeResponse) MarshalTo ¶
func (m *MsgClaimPrizeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimPrizeResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimPrizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimPrizeResponse) ProtoMessage ¶
func (*MsgClaimPrizeResponse) ProtoMessage()
func (*MsgClaimPrizeResponse) Reset ¶
func (m *MsgClaimPrizeResponse) Reset()
func (*MsgClaimPrizeResponse) Size ¶
func (m *MsgClaimPrizeResponse) Size() (n int)
func (*MsgClaimPrizeResponse) String ¶
func (m *MsgClaimPrizeResponse) String() string
func (*MsgClaimPrizeResponse) Unmarshal ¶
func (m *MsgClaimPrizeResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimPrizeResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimPrizeResponse) XXX_DiscardUnknown()
func (*MsgClaimPrizeResponse) XXX_Marshal ¶
func (m *MsgClaimPrizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimPrizeResponse) XXX_Merge ¶
func (m *MsgClaimPrizeResponse) XXX_Merge(src proto.Message)
func (*MsgClaimPrizeResponse) XXX_Size ¶
func (m *MsgClaimPrizeResponse) XXX_Size() int
func (*MsgClaimPrizeResponse) XXX_Unmarshal ¶
func (m *MsgClaimPrizeResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) DepositRetry(ctx context.Context, in *MsgDepositRetry, opts ...grpc.CallOption) (*MsgDepositRetryResponse, error) DepositEdit(ctx context.Context, in *MsgDepositEdit, opts ...grpc.CallOption) (*MsgDepositEditResponse, error) ClaimPrize(ctx context.Context, in *MsgClaimPrize, opts ...grpc.CallOption) (*MsgClaimPrizeResponse, error) WithdrawDeposit(ctx context.Context, in *MsgWithdrawDeposit, opts ...grpc.CallOption) (*MsgWithdrawDepositResponse, error) WithdrawDepositRetry(ctx context.Context, in *MsgWithdrawDepositRetry, opts ...grpc.CallOption) (*MsgWithdrawDepositRetryResponse, error) DrawRetry(ctx context.Context, in *MsgDrawRetry, opts ...grpc.CallOption) (*MsgDrawRetryResponse, error) RestoreInterchainAccounts(ctx context.Context, in *MsgRestoreInterchainAccounts, opts ...grpc.CallOption) (*MsgRestoreInterchainAccountsResponse, error) GenerateSeed(ctx context.Context, in *MsgGenerateSeed, opts ...grpc.CallOption) (*MsgGenerateSeedResponse, 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 MsgDeposit ¶
type MsgDeposit struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Amount types1.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"` DepositorAddress string `protobuf:"bytes,3,opt,name=depositor_address,json=depositorAddress,proto3" json:"depositor_address,omitempty"` WinnerAddress string `protobuf:"bytes,4,opt,name=winner_address,json=winnerAddress,proto3" json:"winner_address,omitempty"` IsSponsor bool `protobuf:"varint,5,opt,name=is_sponsor,json=isSponsor,proto3" json:"is_sponsor,omitempty"` }
func NewMsgDeposit ¶
func NewMsgDeposit(depositor string, amount sdk.Coin, poolID uint64) *MsgDeposit
func (*MsgDeposit) Descriptor ¶
func (*MsgDeposit) Descriptor() ([]byte, []int)
func (*MsgDeposit) GetAmount ¶
func (m *MsgDeposit) GetAmount() types1.Coin
func (*MsgDeposit) GetDepositorAddress ¶
func (m *MsgDeposit) GetDepositorAddress() string
func (*MsgDeposit) GetIsSponsor ¶
func (m *MsgDeposit) GetIsSponsor() bool
func (*MsgDeposit) GetPoolId ¶
func (m *MsgDeposit) GetPoolId() uint64
func (*MsgDeposit) GetSignBytes ¶
func (msg *MsgDeposit) GetSignBytes() []byte
func (*MsgDeposit) GetSigners ¶
func (msg *MsgDeposit) GetSigners() []sdk.AccAddress
func (*MsgDeposit) GetWinnerAddress ¶
func (m *MsgDeposit) GetWinnerAddress() string
func (*MsgDeposit) Marshal ¶
func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
func (*MsgDeposit) MarshalToSizedBuffer ¶
func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeposit) ProtoMessage ¶
func (*MsgDeposit) ProtoMessage()
func (*MsgDeposit) Reset ¶
func (m *MsgDeposit) Reset()
func (MsgDeposit) Route ¶
func (msg MsgDeposit) Route() string
func (*MsgDeposit) Size ¶
func (m *MsgDeposit) Size() (n int)
func (*MsgDeposit) String ¶
func (m *MsgDeposit) String() string
func (MsgDeposit) Type ¶
func (msg MsgDeposit) Type() string
func (*MsgDeposit) Unmarshal ¶
func (m *MsgDeposit) Unmarshal(dAtA []byte) error
func (*MsgDeposit) ValidateBasic ¶
func (msg *MsgDeposit) ValidateBasic() error
func (*MsgDeposit) XXX_DiscardUnknown ¶
func (m *MsgDeposit) XXX_DiscardUnknown()
func (*MsgDeposit) XXX_Marshal ¶
func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeposit) XXX_Merge ¶
func (m *MsgDeposit) XXX_Merge(src proto.Message)
func (*MsgDeposit) XXX_Size ¶
func (m *MsgDeposit) XXX_Size() int
func (*MsgDeposit) XXX_Unmarshal ¶
func (m *MsgDeposit) XXX_Unmarshal(b []byte) error
type MsgDepositEdit ¶ added in v1.5.0
type MsgDepositEdit struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DepositId uint64 `protobuf:"varint,2,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"` WinnerAddress string `protobuf:"bytes,3,opt,name=winner_address,json=winnerAddress,proto3" json:"winner_address,omitempty"` IsSponsor *types.BoolValue `protobuf:"bytes,4,opt,name=is_sponsor,json=isSponsor,proto3" json:"is_sponsor,omitempty"` DepositorAddress string `protobuf:"bytes,5,opt,name=depositor_address,json=depositorAddress,proto3" json:"depositor_address,omitempty"` }
func NewMsgDepositEdit ¶ added in v1.5.0
func NewMsgDepositEdit(depositorAddr string, poolID uint64, depositID uint64) *MsgDepositEdit
func (*MsgDepositEdit) Descriptor ¶ added in v1.5.0
func (*MsgDepositEdit) Descriptor() ([]byte, []int)
func (*MsgDepositEdit) GetDepositId ¶ added in v1.5.0
func (m *MsgDepositEdit) GetDepositId() uint64
func (*MsgDepositEdit) GetDepositorAddress ¶ added in v1.5.0
func (m *MsgDepositEdit) GetDepositorAddress() string
func (*MsgDepositEdit) GetIsSponsor ¶ added in v1.5.0
func (m *MsgDepositEdit) GetIsSponsor() *types.BoolValue
func (*MsgDepositEdit) GetPoolId ¶ added in v1.5.0
func (m *MsgDepositEdit) GetPoolId() uint64
func (*MsgDepositEdit) GetSignBytes ¶ added in v1.5.0
func (msg *MsgDepositEdit) GetSignBytes() []byte
func (*MsgDepositEdit) GetSigners ¶ added in v1.5.0
func (msg *MsgDepositEdit) GetSigners() []sdk.AccAddress
func (*MsgDepositEdit) GetWinnerAddress ¶ added in v1.5.0
func (m *MsgDepositEdit) GetWinnerAddress() string
func (*MsgDepositEdit) Marshal ¶ added in v1.5.0
func (m *MsgDepositEdit) Marshal() (dAtA []byte, err error)
func (*MsgDepositEdit) MarshalTo ¶ added in v1.5.0
func (m *MsgDepositEdit) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositEdit) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *MsgDepositEdit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositEdit) ProtoMessage ¶ added in v1.5.0
func (*MsgDepositEdit) ProtoMessage()
func (*MsgDepositEdit) Reset ¶ added in v1.5.0
func (m *MsgDepositEdit) Reset()
func (MsgDepositEdit) Route ¶ added in v1.5.0
func (msg MsgDepositEdit) Route() string
func (*MsgDepositEdit) Size ¶ added in v1.5.0
func (m *MsgDepositEdit) Size() (n int)
func (*MsgDepositEdit) String ¶ added in v1.5.0
func (m *MsgDepositEdit) String() string
func (MsgDepositEdit) Type ¶ added in v1.5.0
func (msg MsgDepositEdit) Type() string
func (*MsgDepositEdit) Unmarshal ¶ added in v1.5.0
func (m *MsgDepositEdit) Unmarshal(dAtA []byte) error
func (*MsgDepositEdit) ValidateBasic ¶ added in v1.5.0
func (msg *MsgDepositEdit) ValidateBasic() error
func (*MsgDepositEdit) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgDepositEdit) XXX_DiscardUnknown()
func (*MsgDepositEdit) XXX_Marshal ¶ added in v1.5.0
func (m *MsgDepositEdit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositEdit) XXX_Merge ¶ added in v1.5.0
func (m *MsgDepositEdit) XXX_Merge(src proto.Message)
func (*MsgDepositEdit) XXX_Size ¶ added in v1.5.0
func (m *MsgDepositEdit) XXX_Size() int
func (*MsgDepositEdit) XXX_Unmarshal ¶ added in v1.5.0
func (m *MsgDepositEdit) XXX_Unmarshal(b []byte) error
type MsgDepositEditResponse ¶ added in v1.5.0
type MsgDepositEditResponse struct { }
func (*MsgDepositEditResponse) Descriptor ¶ added in v1.5.0
func (*MsgDepositEditResponse) Descriptor() ([]byte, []int)
func (*MsgDepositEditResponse) Marshal ¶ added in v1.5.0
func (m *MsgDepositEditResponse) Marshal() (dAtA []byte, err error)
func (*MsgDepositEditResponse) MarshalTo ¶ added in v1.5.0
func (m *MsgDepositEditResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositEditResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *MsgDepositEditResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositEditResponse) ProtoMessage ¶ added in v1.5.0
func (*MsgDepositEditResponse) ProtoMessage()
func (*MsgDepositEditResponse) Reset ¶ added in v1.5.0
func (m *MsgDepositEditResponse) Reset()
func (*MsgDepositEditResponse) Size ¶ added in v1.5.0
func (m *MsgDepositEditResponse) Size() (n int)
func (*MsgDepositEditResponse) String ¶ added in v1.5.0
func (m *MsgDepositEditResponse) String() string
func (*MsgDepositEditResponse) Unmarshal ¶ added in v1.5.0
func (m *MsgDepositEditResponse) Unmarshal(dAtA []byte) error
func (*MsgDepositEditResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgDepositEditResponse) XXX_DiscardUnknown()
func (*MsgDepositEditResponse) XXX_Marshal ¶ added in v1.5.0
func (m *MsgDepositEditResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositEditResponse) XXX_Merge ¶ added in v1.5.0
func (m *MsgDepositEditResponse) XXX_Merge(src proto.Message)
func (*MsgDepositEditResponse) XXX_Size ¶ added in v1.5.0
func (m *MsgDepositEditResponse) XXX_Size() int
func (*MsgDepositEditResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *MsgDepositEditResponse) XXX_Unmarshal(b []byte) error
type MsgDepositResponse ¶
type MsgDepositResponse struct {
DepositId uint64 `protobuf:"varint,1,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"`
}
func (*MsgDepositResponse) Descriptor ¶
func (*MsgDepositResponse) Descriptor() ([]byte, []int)
func (*MsgDepositResponse) GetDepositId ¶
func (m *MsgDepositResponse) GetDepositId() uint64
func (*MsgDepositResponse) Marshal ¶
func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error)
func (*MsgDepositResponse) MarshalTo ¶
func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositResponse) MarshalToSizedBuffer ¶
func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositResponse) ProtoMessage ¶
func (*MsgDepositResponse) ProtoMessage()
func (*MsgDepositResponse) Reset ¶
func (m *MsgDepositResponse) Reset()
func (*MsgDepositResponse) Size ¶
func (m *MsgDepositResponse) Size() (n int)
func (*MsgDepositResponse) String ¶
func (m *MsgDepositResponse) String() string
func (*MsgDepositResponse) Unmarshal ¶
func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error
func (*MsgDepositResponse) XXX_DiscardUnknown ¶
func (m *MsgDepositResponse) XXX_DiscardUnknown()
func (*MsgDepositResponse) XXX_Marshal ¶
func (m *MsgDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositResponse) XXX_Merge ¶
func (m *MsgDepositResponse) XXX_Merge(src proto.Message)
func (*MsgDepositResponse) XXX_Size ¶
func (m *MsgDepositResponse) XXX_Size() int
func (*MsgDepositResponse) XXX_Unmarshal ¶
func (m *MsgDepositResponse) XXX_Unmarshal(b []byte) error
type MsgDepositRetry ¶
type MsgDepositRetry struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DepositId uint64 `protobuf:"varint,2,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"` DepositorAddress string `protobuf:"bytes,3,opt,name=depositor_address,json=depositorAddress,proto3" json:"depositor_address,omitempty"` }
func NewMsgDepositRetry ¶
func NewMsgDepositRetry(depositorAddr string, poolID uint64, depositID uint64) *MsgDepositRetry
func (*MsgDepositRetry) Descriptor ¶
func (*MsgDepositRetry) Descriptor() ([]byte, []int)
func (*MsgDepositRetry) GetDepositId ¶
func (m *MsgDepositRetry) GetDepositId() uint64
func (*MsgDepositRetry) GetDepositorAddress ¶
func (m *MsgDepositRetry) GetDepositorAddress() string
func (*MsgDepositRetry) GetPoolId ¶
func (m *MsgDepositRetry) GetPoolId() uint64
func (*MsgDepositRetry) GetSignBytes ¶
func (msg *MsgDepositRetry) GetSignBytes() []byte
func (*MsgDepositRetry) GetSigners ¶
func (msg *MsgDepositRetry) GetSigners() []sdk.AccAddress
func (*MsgDepositRetry) Marshal ¶
func (m *MsgDepositRetry) Marshal() (dAtA []byte, err error)
func (*MsgDepositRetry) MarshalToSizedBuffer ¶
func (m *MsgDepositRetry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositRetry) ProtoMessage ¶
func (*MsgDepositRetry) ProtoMessage()
func (*MsgDepositRetry) Reset ¶
func (m *MsgDepositRetry) Reset()
func (MsgDepositRetry) Route ¶
func (msg MsgDepositRetry) Route() string
func (*MsgDepositRetry) Size ¶
func (m *MsgDepositRetry) Size() (n int)
func (*MsgDepositRetry) String ¶
func (m *MsgDepositRetry) String() string
func (MsgDepositRetry) Type ¶
func (msg MsgDepositRetry) Type() string
func (*MsgDepositRetry) Unmarshal ¶
func (m *MsgDepositRetry) Unmarshal(dAtA []byte) error
func (*MsgDepositRetry) ValidateBasic ¶
func (msg *MsgDepositRetry) ValidateBasic() error
func (*MsgDepositRetry) XXX_DiscardUnknown ¶
func (m *MsgDepositRetry) XXX_DiscardUnknown()
func (*MsgDepositRetry) XXX_Marshal ¶
func (m *MsgDepositRetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositRetry) XXX_Merge ¶
func (m *MsgDepositRetry) XXX_Merge(src proto.Message)
func (*MsgDepositRetry) XXX_Size ¶
func (m *MsgDepositRetry) XXX_Size() int
func (*MsgDepositRetry) XXX_Unmarshal ¶
func (m *MsgDepositRetry) XXX_Unmarshal(b []byte) error
type MsgDepositRetryResponse ¶
type MsgDepositRetryResponse struct { }
func (*MsgDepositRetryResponse) Descriptor ¶
func (*MsgDepositRetryResponse) Descriptor() ([]byte, []int)
func (*MsgDepositRetryResponse) Marshal ¶
func (m *MsgDepositRetryResponse) Marshal() (dAtA []byte, err error)
func (*MsgDepositRetryResponse) MarshalTo ¶
func (m *MsgDepositRetryResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositRetryResponse) MarshalToSizedBuffer ¶
func (m *MsgDepositRetryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositRetryResponse) ProtoMessage ¶
func (*MsgDepositRetryResponse) ProtoMessage()
func (*MsgDepositRetryResponse) Reset ¶
func (m *MsgDepositRetryResponse) Reset()
func (*MsgDepositRetryResponse) Size ¶
func (m *MsgDepositRetryResponse) Size() (n int)
func (*MsgDepositRetryResponse) String ¶
func (m *MsgDepositRetryResponse) String() string
func (*MsgDepositRetryResponse) Unmarshal ¶
func (m *MsgDepositRetryResponse) Unmarshal(dAtA []byte) error
func (*MsgDepositRetryResponse) XXX_DiscardUnknown ¶
func (m *MsgDepositRetryResponse) XXX_DiscardUnknown()
func (*MsgDepositRetryResponse) XXX_Marshal ¶
func (m *MsgDepositRetryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositRetryResponse) XXX_Merge ¶
func (m *MsgDepositRetryResponse) XXX_Merge(src proto.Message)
func (*MsgDepositRetryResponse) XXX_Size ¶
func (m *MsgDepositRetryResponse) XXX_Size() int
func (*MsgDepositRetryResponse) XXX_Unmarshal ¶
func (m *MsgDepositRetryResponse) XXX_Unmarshal(b []byte) error
type MsgDrawRetry ¶
type MsgDrawRetry struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DrawId uint64 `protobuf:"varint,2,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` DrawRetryAddress string `protobuf:"bytes,3,opt,name=draw_retry_address,json=drawRetryAddress,proto3" json:"draw_retry_address,omitempty"` }
func NewMsgDrawRetry ¶
func NewMsgDrawRetry(drawRetryAddr string, poolID uint64, drawID uint64) *MsgDrawRetry
func (*MsgDrawRetry) Descriptor ¶
func (*MsgDrawRetry) Descriptor() ([]byte, []int)
func (*MsgDrawRetry) GetDrawId ¶
func (m *MsgDrawRetry) GetDrawId() uint64
func (*MsgDrawRetry) GetDrawRetryAddress ¶
func (m *MsgDrawRetry) GetDrawRetryAddress() string
func (*MsgDrawRetry) GetPoolId ¶
func (m *MsgDrawRetry) GetPoolId() uint64
func (*MsgDrawRetry) GetSignBytes ¶
func (msg *MsgDrawRetry) GetSignBytes() []byte
func (*MsgDrawRetry) GetSigners ¶
func (msg *MsgDrawRetry) GetSigners() []sdk.AccAddress
func (*MsgDrawRetry) Marshal ¶
func (m *MsgDrawRetry) Marshal() (dAtA []byte, err error)
func (*MsgDrawRetry) MarshalToSizedBuffer ¶
func (m *MsgDrawRetry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDrawRetry) ProtoMessage ¶
func (*MsgDrawRetry) ProtoMessage()
func (*MsgDrawRetry) Reset ¶
func (m *MsgDrawRetry) Reset()
func (MsgDrawRetry) Route ¶
func (msg MsgDrawRetry) Route() string
func (*MsgDrawRetry) Size ¶
func (m *MsgDrawRetry) Size() (n int)
func (*MsgDrawRetry) String ¶
func (m *MsgDrawRetry) String() string
func (MsgDrawRetry) Type ¶
func (msg MsgDrawRetry) Type() string
func (*MsgDrawRetry) Unmarshal ¶
func (m *MsgDrawRetry) Unmarshal(dAtA []byte) error
func (*MsgDrawRetry) ValidateBasic ¶
func (msg *MsgDrawRetry) ValidateBasic() error
func (*MsgDrawRetry) ValidateDrawRetryBasic ¶
func (msg *MsgDrawRetry) ValidateDrawRetryBasic() error
ValidateDrawRetryBasic validates the incoming message for a draw retry
func (*MsgDrawRetry) XXX_DiscardUnknown ¶
func (m *MsgDrawRetry) XXX_DiscardUnknown()
func (*MsgDrawRetry) XXX_Marshal ¶
func (m *MsgDrawRetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDrawRetry) XXX_Merge ¶
func (m *MsgDrawRetry) XXX_Merge(src proto.Message)
func (*MsgDrawRetry) XXX_Size ¶
func (m *MsgDrawRetry) XXX_Size() int
func (*MsgDrawRetry) XXX_Unmarshal ¶
func (m *MsgDrawRetry) XXX_Unmarshal(b []byte) error
type MsgDrawRetryResponse ¶
type MsgDrawRetryResponse struct { }
func (*MsgDrawRetryResponse) Descriptor ¶
func (*MsgDrawRetryResponse) Descriptor() ([]byte, []int)
func (*MsgDrawRetryResponse) Marshal ¶
func (m *MsgDrawRetryResponse) Marshal() (dAtA []byte, err error)
func (*MsgDrawRetryResponse) MarshalTo ¶
func (m *MsgDrawRetryResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDrawRetryResponse) MarshalToSizedBuffer ¶
func (m *MsgDrawRetryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDrawRetryResponse) ProtoMessage ¶
func (*MsgDrawRetryResponse) ProtoMessage()
func (*MsgDrawRetryResponse) Reset ¶
func (m *MsgDrawRetryResponse) Reset()
func (*MsgDrawRetryResponse) Size ¶
func (m *MsgDrawRetryResponse) Size() (n int)
func (*MsgDrawRetryResponse) String ¶
func (m *MsgDrawRetryResponse) String() string
func (*MsgDrawRetryResponse) Unmarshal ¶
func (m *MsgDrawRetryResponse) Unmarshal(dAtA []byte) error
func (*MsgDrawRetryResponse) XXX_DiscardUnknown ¶
func (m *MsgDrawRetryResponse) XXX_DiscardUnknown()
func (*MsgDrawRetryResponse) XXX_Marshal ¶
func (m *MsgDrawRetryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDrawRetryResponse) XXX_Merge ¶
func (m *MsgDrawRetryResponse) XXX_Merge(src proto.Message)
func (*MsgDrawRetryResponse) XXX_Size ¶
func (m *MsgDrawRetryResponse) XXX_Size() int
func (*MsgDrawRetryResponse) XXX_Unmarshal ¶
func (m *MsgDrawRetryResponse) XXX_Unmarshal(b []byte) error
type MsgGenerateSeed ¶ added in v1.6.0
type MsgGenerateSeed struct {
RequesterAddress string `protobuf:"bytes,1,opt,name=requester_address,json=requesterAddress,proto3" json:"requester_address,omitempty"`
}
func NewMsgGenerateSeed ¶ added in v1.6.0
func NewMsgGenerateSeed(requesterAddress string) *MsgGenerateSeed
func (*MsgGenerateSeed) Descriptor ¶ added in v1.6.0
func (*MsgGenerateSeed) Descriptor() ([]byte, []int)
func (*MsgGenerateSeed) GetRequesterAddress ¶ added in v1.6.0
func (m *MsgGenerateSeed) GetRequesterAddress() string
func (*MsgGenerateSeed) GetSignBytes ¶ added in v1.6.0
func (msg *MsgGenerateSeed) GetSignBytes() []byte
func (*MsgGenerateSeed) GetSigners ¶ added in v1.6.0
func (msg *MsgGenerateSeed) GetSigners() []sdk.AccAddress
func (*MsgGenerateSeed) Marshal ¶ added in v1.6.0
func (m *MsgGenerateSeed) Marshal() (dAtA []byte, err error)
func (*MsgGenerateSeed) MarshalTo ¶ added in v1.6.0
func (m *MsgGenerateSeed) MarshalTo(dAtA []byte) (int, error)
func (*MsgGenerateSeed) MarshalToSizedBuffer ¶ added in v1.6.0
func (m *MsgGenerateSeed) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGenerateSeed) ProtoMessage ¶ added in v1.6.0
func (*MsgGenerateSeed) ProtoMessage()
func (*MsgGenerateSeed) Reset ¶ added in v1.6.0
func (m *MsgGenerateSeed) Reset()
func (MsgGenerateSeed) Route ¶ added in v1.6.0
func (msg MsgGenerateSeed) Route() string
func (*MsgGenerateSeed) Size ¶ added in v1.6.0
func (m *MsgGenerateSeed) Size() (n int)
func (*MsgGenerateSeed) String ¶ added in v1.6.0
func (m *MsgGenerateSeed) String() string
func (MsgGenerateSeed) Type ¶ added in v1.6.0
func (msg MsgGenerateSeed) Type() string
func (*MsgGenerateSeed) Unmarshal ¶ added in v1.6.0
func (m *MsgGenerateSeed) Unmarshal(dAtA []byte) error
func (*MsgGenerateSeed) ValidateBasic ¶ added in v1.6.0
func (msg *MsgGenerateSeed) ValidateBasic() error
func (*MsgGenerateSeed) XXX_DiscardUnknown ¶ added in v1.6.0
func (m *MsgGenerateSeed) XXX_DiscardUnknown()
func (*MsgGenerateSeed) XXX_Marshal ¶ added in v1.6.0
func (m *MsgGenerateSeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGenerateSeed) XXX_Merge ¶ added in v1.6.0
func (m *MsgGenerateSeed) XXX_Merge(src proto.Message)
func (*MsgGenerateSeed) XXX_Size ¶ added in v1.6.0
func (m *MsgGenerateSeed) XXX_Size() int
func (*MsgGenerateSeed) XXX_Unmarshal ¶ added in v1.6.0
func (m *MsgGenerateSeed) XXX_Unmarshal(b []byte) error
type MsgGenerateSeedResponse ¶ added in v1.6.0
type MsgGenerateSeedResponse struct {
Seed int64 `protobuf:"varint,1,opt,name=seed,proto3" json:"seed,omitempty"`
}
func (*MsgGenerateSeedResponse) Descriptor ¶ added in v1.6.0
func (*MsgGenerateSeedResponse) Descriptor() ([]byte, []int)
func (*MsgGenerateSeedResponse) GetSeed ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) GetSeed() int64
func (*MsgGenerateSeedResponse) Marshal ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) Marshal() (dAtA []byte, err error)
func (*MsgGenerateSeedResponse) MarshalTo ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGenerateSeedResponse) MarshalToSizedBuffer ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGenerateSeedResponse) ProtoMessage ¶ added in v1.6.0
func (*MsgGenerateSeedResponse) ProtoMessage()
func (*MsgGenerateSeedResponse) Reset ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) Reset()
func (*MsgGenerateSeedResponse) Size ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) Size() (n int)
func (*MsgGenerateSeedResponse) String ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) String() string
func (*MsgGenerateSeedResponse) Unmarshal ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) Unmarshal(dAtA []byte) error
func (*MsgGenerateSeedResponse) XXX_DiscardUnknown ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) XXX_DiscardUnknown()
func (*MsgGenerateSeedResponse) XXX_Marshal ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGenerateSeedResponse) XXX_Merge ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) XXX_Merge(src proto.Message)
func (*MsgGenerateSeedResponse) XXX_Size ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) XXX_Size() int
func (*MsgGenerateSeedResponse) XXX_Unmarshal ¶ added in v1.6.0
func (m *MsgGenerateSeedResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterPool ¶
type MsgRegisterPool struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` NativeDenom string `protobuf:"bytes,3,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty"` ConnectionId string `protobuf:"bytes,4,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Validators []string `protobuf:"bytes,5,rep,name=validators,proto3" json:"validators,omitempty"` MinDepositAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 151-byte string literal not displayed */ DrawSchedule DrawSchedule `protobuf:"bytes,7,opt,name=draw_schedule,json=drawSchedule,proto3" json:"draw_schedule"` PrizeStrategy PrizeStrategy `protobuf:"bytes,8,opt,name=prize_strategy,json=prizeStrategy,proto3" json:"prize_strategy"` Bech32PrefixAccAddr string `protobuf:"bytes,9,opt,name=bech32_prefix_acc_addr,json=bech32PrefixAccAddr,proto3" json:"bech32_prefix_acc_addr,omitempty"` Bech32PrefixValAddr string `protobuf:"bytes,10,opt,name=bech32_prefix_val_addr,json=bech32PrefixValAddr,proto3" json:"bech32_prefix_val_addr,omitempty"` CreatorAddress string `protobuf:"bytes,11,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty"` }
func (*MsgRegisterPool) Descriptor ¶
func (*MsgRegisterPool) Descriptor() ([]byte, []int)
func (*MsgRegisterPool) GetBech32PrefixAccAddr ¶
func (m *MsgRegisterPool) GetBech32PrefixAccAddr() string
func (*MsgRegisterPool) GetBech32PrefixValAddr ¶
func (m *MsgRegisterPool) GetBech32PrefixValAddr() string
func (*MsgRegisterPool) GetChainId ¶
func (m *MsgRegisterPool) GetChainId() string
func (*MsgRegisterPool) GetConnectionId ¶
func (m *MsgRegisterPool) GetConnectionId() string
func (*MsgRegisterPool) GetCreatorAddress ¶
func (m *MsgRegisterPool) GetCreatorAddress() string
func (*MsgRegisterPool) GetDenom ¶
func (m *MsgRegisterPool) GetDenom() string
func (*MsgRegisterPool) GetDrawSchedule ¶
func (m *MsgRegisterPool) GetDrawSchedule() DrawSchedule
func (*MsgRegisterPool) GetNativeDenom ¶
func (m *MsgRegisterPool) GetNativeDenom() string
func (*MsgRegisterPool) GetPrizeStrategy ¶
func (m *MsgRegisterPool) GetPrizeStrategy() PrizeStrategy
func (*MsgRegisterPool) GetValidators ¶
func (m *MsgRegisterPool) GetValidators() []string
func (*MsgRegisterPool) Marshal ¶
func (m *MsgRegisterPool) Marshal() (dAtA []byte, err error)
func (*MsgRegisterPool) MarshalToSizedBuffer ¶
func (m *MsgRegisterPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterPool) ProtoMessage ¶
func (*MsgRegisterPool) ProtoMessage()
func (*MsgRegisterPool) Reset ¶
func (m *MsgRegisterPool) Reset()
func (*MsgRegisterPool) Size ¶
func (m *MsgRegisterPool) Size() (n int)
func (*MsgRegisterPool) String ¶
func (m *MsgRegisterPool) String() string
func (*MsgRegisterPool) Unmarshal ¶
func (m *MsgRegisterPool) Unmarshal(dAtA []byte) error
func (*MsgRegisterPool) XXX_DiscardUnknown ¶
func (m *MsgRegisterPool) XXX_DiscardUnknown()
func (*MsgRegisterPool) XXX_Marshal ¶
func (m *MsgRegisterPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterPool) XXX_Merge ¶
func (m *MsgRegisterPool) XXX_Merge(src proto.Message)
func (*MsgRegisterPool) XXX_Size ¶
func (m *MsgRegisterPool) XXX_Size() int
func (*MsgRegisterPool) XXX_Unmarshal ¶
func (m *MsgRegisterPool) XXX_Unmarshal(b []byte) error
type MsgRegisterPoolResponse ¶
type MsgRegisterPoolResponse struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}
func (*MsgRegisterPoolResponse) Descriptor ¶
func (*MsgRegisterPoolResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterPoolResponse) GetPoolId ¶
func (m *MsgRegisterPoolResponse) GetPoolId() uint64
func (*MsgRegisterPoolResponse) Marshal ¶
func (m *MsgRegisterPoolResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterPoolResponse) MarshalTo ¶
func (m *MsgRegisterPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterPoolResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterPoolResponse) ProtoMessage ¶
func (*MsgRegisterPoolResponse) ProtoMessage()
func (*MsgRegisterPoolResponse) Reset ¶
func (m *MsgRegisterPoolResponse) Reset()
func (*MsgRegisterPoolResponse) Size ¶
func (m *MsgRegisterPoolResponse) Size() (n int)
func (*MsgRegisterPoolResponse) String ¶
func (m *MsgRegisterPoolResponse) String() string
func (*MsgRegisterPoolResponse) Unmarshal ¶
func (m *MsgRegisterPoolResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterPoolResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterPoolResponse) XXX_DiscardUnknown()
func (*MsgRegisterPoolResponse) XXX_Marshal ¶
func (m *MsgRegisterPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterPoolResponse) XXX_Merge ¶
func (m *MsgRegisterPoolResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterPoolResponse) XXX_Size ¶
func (m *MsgRegisterPoolResponse) XXX_Size() int
func (*MsgRegisterPoolResponse) XXX_Unmarshal ¶
func (m *MsgRegisterPoolResponse) XXX_Unmarshal(b []byte) error
type MsgRestoreInterchainAccounts ¶
type MsgRestoreInterchainAccounts struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` RestorerAddress string `protobuf:"bytes,2,opt,name=restorer_address,json=restorerAddress,proto3" json:"restorer_address,omitempty"` }
func NewMsgRestoreInterchainAccounts ¶
func NewMsgRestoreInterchainAccounts(restorerAddress string, poolID uint64) *MsgRestoreInterchainAccounts
func (*MsgRestoreInterchainAccounts) Descriptor ¶
func (*MsgRestoreInterchainAccounts) Descriptor() ([]byte, []int)
func (*MsgRestoreInterchainAccounts) GetPoolId ¶
func (m *MsgRestoreInterchainAccounts) GetPoolId() uint64
func (*MsgRestoreInterchainAccounts) GetRestorerAddress ¶
func (m *MsgRestoreInterchainAccounts) GetRestorerAddress() string
func (*MsgRestoreInterchainAccounts) GetSignBytes ¶
func (msg *MsgRestoreInterchainAccounts) GetSignBytes() []byte
func (*MsgRestoreInterchainAccounts) GetSigners ¶
func (msg *MsgRestoreInterchainAccounts) GetSigners() []sdk.AccAddress
func (*MsgRestoreInterchainAccounts) Marshal ¶
func (m *MsgRestoreInterchainAccounts) Marshal() (dAtA []byte, err error)
func (*MsgRestoreInterchainAccounts) MarshalTo ¶
func (m *MsgRestoreInterchainAccounts) MarshalTo(dAtA []byte) (int, error)
func (*MsgRestoreInterchainAccounts) MarshalToSizedBuffer ¶
func (m *MsgRestoreInterchainAccounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRestoreInterchainAccounts) ProtoMessage ¶
func (*MsgRestoreInterchainAccounts) ProtoMessage()
func (*MsgRestoreInterchainAccounts) Reset ¶
func (m *MsgRestoreInterchainAccounts) Reset()
func (MsgRestoreInterchainAccounts) Route ¶
func (msg MsgRestoreInterchainAccounts) Route() string
func (*MsgRestoreInterchainAccounts) Size ¶
func (m *MsgRestoreInterchainAccounts) Size() (n int)
func (*MsgRestoreInterchainAccounts) String ¶
func (m *MsgRestoreInterchainAccounts) String() string
func (MsgRestoreInterchainAccounts) Type ¶
func (msg MsgRestoreInterchainAccounts) Type() string
func (*MsgRestoreInterchainAccounts) Unmarshal ¶
func (m *MsgRestoreInterchainAccounts) Unmarshal(dAtA []byte) error
func (*MsgRestoreInterchainAccounts) ValidateBasic ¶
func (msg *MsgRestoreInterchainAccounts) ValidateBasic() error
func (*MsgRestoreInterchainAccounts) XXX_DiscardUnknown ¶
func (m *MsgRestoreInterchainAccounts) XXX_DiscardUnknown()
func (*MsgRestoreInterchainAccounts) XXX_Marshal ¶
func (m *MsgRestoreInterchainAccounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRestoreInterchainAccounts) XXX_Merge ¶
func (m *MsgRestoreInterchainAccounts) XXX_Merge(src proto.Message)
func (*MsgRestoreInterchainAccounts) XXX_Size ¶
func (m *MsgRestoreInterchainAccounts) XXX_Size() int
func (*MsgRestoreInterchainAccounts) XXX_Unmarshal ¶
func (m *MsgRestoreInterchainAccounts) XXX_Unmarshal(b []byte) error
type MsgRestoreInterchainAccountsResponse ¶
type MsgRestoreInterchainAccountsResponse struct { }
func (*MsgRestoreInterchainAccountsResponse) Descriptor ¶
func (*MsgRestoreInterchainAccountsResponse) Descriptor() ([]byte, []int)
func (*MsgRestoreInterchainAccountsResponse) Marshal ¶
func (m *MsgRestoreInterchainAccountsResponse) Marshal() (dAtA []byte, err error)
func (*MsgRestoreInterchainAccountsResponse) MarshalTo ¶
func (m *MsgRestoreInterchainAccountsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRestoreInterchainAccountsResponse) MarshalToSizedBuffer ¶
func (m *MsgRestoreInterchainAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRestoreInterchainAccountsResponse) ProtoMessage ¶
func (*MsgRestoreInterchainAccountsResponse) ProtoMessage()
func (*MsgRestoreInterchainAccountsResponse) Reset ¶
func (m *MsgRestoreInterchainAccountsResponse) Reset()
func (*MsgRestoreInterchainAccountsResponse) Size ¶
func (m *MsgRestoreInterchainAccountsResponse) Size() (n int)
func (*MsgRestoreInterchainAccountsResponse) String ¶
func (m *MsgRestoreInterchainAccountsResponse) String() string
func (*MsgRestoreInterchainAccountsResponse) Unmarshal ¶
func (m *MsgRestoreInterchainAccountsResponse) Unmarshal(dAtA []byte) error
func (*MsgRestoreInterchainAccountsResponse) XXX_DiscardUnknown ¶
func (m *MsgRestoreInterchainAccountsResponse) XXX_DiscardUnknown()
func (*MsgRestoreInterchainAccountsResponse) XXX_Marshal ¶
func (m *MsgRestoreInterchainAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRestoreInterchainAccountsResponse) XXX_Merge ¶
func (m *MsgRestoreInterchainAccountsResponse) XXX_Merge(src proto.Message)
func (*MsgRestoreInterchainAccountsResponse) XXX_Size ¶
func (m *MsgRestoreInterchainAccountsResponse) XXX_Size() int
func (*MsgRestoreInterchainAccountsResponse) XXX_Unmarshal ¶
func (m *MsgRestoreInterchainAccountsResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error) DepositRetry(context.Context, *MsgDepositRetry) (*MsgDepositRetryResponse, error) DepositEdit(context.Context, *MsgDepositEdit) (*MsgDepositEditResponse, error) ClaimPrize(context.Context, *MsgClaimPrize) (*MsgClaimPrizeResponse, error) WithdrawDeposit(context.Context, *MsgWithdrawDeposit) (*MsgWithdrawDepositResponse, error) WithdrawDepositRetry(context.Context, *MsgWithdrawDepositRetry) (*MsgWithdrawDepositRetryResponse, error) DrawRetry(context.Context, *MsgDrawRetry) (*MsgDrawRetryResponse, error) RestoreInterchainAccounts(context.Context, *MsgRestoreInterchainAccounts) (*MsgRestoreInterchainAccountsResponse, error) GenerateSeed(context.Context, *MsgGenerateSeed) (*MsgGenerateSeedResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateParams ¶
type MsgUpdateParams struct { MinDepositAmount *github_com_cosmos_cosmos_sdk_types.Int `` /* 161-byte string literal not displayed */ MaxPrizeStrategyBatches *github_com_cosmos_cosmos_sdk_types.Int `` /* 184-byte string literal not displayed */ MaxPrizeBatchQuantity *github_com_cosmos_cosmos_sdk_types.Int `` /* 178-byte string literal not displayed */ MinDrawScheduleDelta *time.Duration `` /* 137-byte string literal not displayed */ MaxDrawScheduleDelta *time.Duration `` /* 137-byte string literal not displayed */ PrizeExpirationDelta *time.Duration `` /* 135-byte string literal not displayed */ FeesStakers *github_com_cosmos_cosmos_sdk_types.Dec `` /* 144-byte string literal not displayed */ MinDepositDrawDelta *time.Duration `` /* 134-byte string literal not displayed */ UpdaterAddress string `protobuf:"bytes,9,opt,name=updater_address,json=updaterAddress,proto3" json:"updater_address,omitempty"` }
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetMaxDrawScheduleDelta ¶
func (m *MsgUpdateParams) GetMaxDrawScheduleDelta() *time.Duration
func (*MsgUpdateParams) GetMinDepositDrawDelta ¶
func (m *MsgUpdateParams) GetMinDepositDrawDelta() *time.Duration
func (*MsgUpdateParams) GetMinDrawScheduleDelta ¶
func (m *MsgUpdateParams) GetMinDrawScheduleDelta() *time.Duration
func (*MsgUpdateParams) GetPrizeExpirationDelta ¶
func (m *MsgUpdateParams) GetPrizeExpirationDelta() *time.Duration
func (*MsgUpdateParams) GetUpdaterAddress ¶
func (m *MsgUpdateParams) GetUpdaterAddress() string
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdatePool ¶
type MsgUpdatePool struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Validators []string `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"` MinDepositAmount *github_com_cosmos_cosmos_sdk_types.Int `` /* 161-byte string literal not displayed */ DrawSchedule *DrawSchedule `protobuf:"bytes,4,opt,name=draw_schedule,json=drawSchedule,proto3" json:"draw_schedule,omitempty"` PrizeStrategy *PrizeStrategy `protobuf:"bytes,5,opt,name=prize_strategy,json=prizeStrategy,proto3" json:"prize_strategy,omitempty"` UpdaterAddress string `protobuf:"bytes,6,opt,name=updater_address,json=updaterAddress,proto3" json:"updater_address,omitempty"` }
func (*MsgUpdatePool) Descriptor ¶
func (*MsgUpdatePool) Descriptor() ([]byte, []int)
func (*MsgUpdatePool) GetDrawSchedule ¶
func (m *MsgUpdatePool) GetDrawSchedule() *DrawSchedule
func (*MsgUpdatePool) GetPoolId ¶
func (m *MsgUpdatePool) GetPoolId() uint64
func (*MsgUpdatePool) GetPrizeStrategy ¶
func (m *MsgUpdatePool) GetPrizeStrategy() *PrizeStrategy
func (*MsgUpdatePool) GetUpdaterAddress ¶
func (m *MsgUpdatePool) GetUpdaterAddress() string
func (*MsgUpdatePool) GetValidators ¶
func (m *MsgUpdatePool) GetValidators() []string
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) Size ¶
func (m *MsgUpdatePool) Size() (n int)
func (*MsgUpdatePool) String ¶
func (m *MsgUpdatePool) String() string
func (*MsgUpdatePool) Unmarshal ¶
func (m *MsgUpdatePool) Unmarshal(dAtA []byte) error
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 MsgWithdrawDeposit ¶
type MsgWithdrawDeposit struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DepositId uint64 `protobuf:"varint,2,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"` DepositorAddress string `protobuf:"bytes,3,opt,name=depositor_address,json=depositorAddress,proto3" json:"depositor_address,omitempty"` ToAddress string `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` }
func NewMsgWithdrawDeposit ¶
func NewMsgWithdrawDeposit(depositor string, toAddress string, poolID uint64, depositID uint64) *MsgWithdrawDeposit
func (*MsgWithdrawDeposit) Descriptor ¶
func (*MsgWithdrawDeposit) Descriptor() ([]byte, []int)
func (*MsgWithdrawDeposit) GetDepositId ¶
func (m *MsgWithdrawDeposit) GetDepositId() uint64
func (*MsgWithdrawDeposit) GetDepositorAddress ¶
func (m *MsgWithdrawDeposit) GetDepositorAddress() string
func (*MsgWithdrawDeposit) GetPoolId ¶
func (m *MsgWithdrawDeposit) GetPoolId() uint64
func (*MsgWithdrawDeposit) GetSignBytes ¶
func (msg *MsgWithdrawDeposit) GetSignBytes() []byte
func (*MsgWithdrawDeposit) GetSigners ¶
func (msg *MsgWithdrawDeposit) GetSigners() []sdk.AccAddress
func (*MsgWithdrawDeposit) GetToAddress ¶
func (m *MsgWithdrawDeposit) GetToAddress() string
func (*MsgWithdrawDeposit) Marshal ¶
func (m *MsgWithdrawDeposit) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawDeposit) MarshalTo ¶
func (m *MsgWithdrawDeposit) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawDeposit) MarshalToSizedBuffer ¶
func (m *MsgWithdrawDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawDeposit) ProtoMessage ¶
func (*MsgWithdrawDeposit) ProtoMessage()
func (*MsgWithdrawDeposit) Reset ¶
func (m *MsgWithdrawDeposit) Reset()
func (MsgWithdrawDeposit) Route ¶
func (msg MsgWithdrawDeposit) Route() string
func (*MsgWithdrawDeposit) Size ¶
func (m *MsgWithdrawDeposit) Size() (n int)
func (*MsgWithdrawDeposit) String ¶
func (m *MsgWithdrawDeposit) String() string
func (MsgWithdrawDeposit) Type ¶
func (msg MsgWithdrawDeposit) Type() string
func (*MsgWithdrawDeposit) Unmarshal ¶
func (m *MsgWithdrawDeposit) Unmarshal(dAtA []byte) error
func (*MsgWithdrawDeposit) ValidateBasic ¶
func (msg *MsgWithdrawDeposit) ValidateBasic() error
func (*MsgWithdrawDeposit) XXX_DiscardUnknown ¶
func (m *MsgWithdrawDeposit) XXX_DiscardUnknown()
func (*MsgWithdrawDeposit) XXX_Marshal ¶
func (m *MsgWithdrawDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawDeposit) XXX_Merge ¶
func (m *MsgWithdrawDeposit) XXX_Merge(src proto.Message)
func (*MsgWithdrawDeposit) XXX_Size ¶
func (m *MsgWithdrawDeposit) XXX_Size() int
func (*MsgWithdrawDeposit) XXX_Unmarshal ¶
func (m *MsgWithdrawDeposit) XXX_Unmarshal(b []byte) error
type MsgWithdrawDepositResponse ¶
type MsgWithdrawDepositResponse struct {
WithdrawalId uint64 `protobuf:"varint,1,opt,name=withdrawal_id,json=withdrawalId,proto3" json:"withdrawal_id,omitempty"`
}
func (*MsgWithdrawDepositResponse) Descriptor ¶
func (*MsgWithdrawDepositResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawDepositResponse) GetWithdrawalId ¶
func (m *MsgWithdrawDepositResponse) GetWithdrawalId() uint64
func (*MsgWithdrawDepositResponse) Marshal ¶
func (m *MsgWithdrawDepositResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawDepositResponse) MarshalTo ¶
func (m *MsgWithdrawDepositResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawDepositResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawDepositResponse) ProtoMessage ¶
func (*MsgWithdrawDepositResponse) ProtoMessage()
func (*MsgWithdrawDepositResponse) Reset ¶
func (m *MsgWithdrawDepositResponse) Reset()
func (*MsgWithdrawDepositResponse) Size ¶
func (m *MsgWithdrawDepositResponse) Size() (n int)
func (*MsgWithdrawDepositResponse) String ¶
func (m *MsgWithdrawDepositResponse) String() string
func (*MsgWithdrawDepositResponse) Unmarshal ¶
func (m *MsgWithdrawDepositResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawDepositResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawDepositResponse) XXX_DiscardUnknown()
func (*MsgWithdrawDepositResponse) XXX_Marshal ¶
func (m *MsgWithdrawDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawDepositResponse) XXX_Merge ¶
func (m *MsgWithdrawDepositResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawDepositResponse) XXX_Size ¶
func (m *MsgWithdrawDepositResponse) XXX_Size() int
func (*MsgWithdrawDepositResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawDepositResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawDepositRetry ¶
type MsgWithdrawDepositRetry struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` WithdrawalId uint64 `protobuf:"varint,2,opt,name=withdrawal_id,json=withdrawalId,proto3" json:"withdrawal_id,omitempty"` DepositorAddress string `protobuf:"bytes,3,opt,name=depositor_address,json=depositorAddress,proto3" json:"depositor_address,omitempty"` }
func NewMsgWithdrawDepositRetry ¶
func NewMsgWithdrawDepositRetry(depositorAddr string, poolID uint64, withdrawalID uint64) *MsgWithdrawDepositRetry
func (*MsgWithdrawDepositRetry) Descriptor ¶
func (*MsgWithdrawDepositRetry) Descriptor() ([]byte, []int)
func (*MsgWithdrawDepositRetry) GetDepositorAddress ¶
func (m *MsgWithdrawDepositRetry) GetDepositorAddress() string
func (*MsgWithdrawDepositRetry) GetPoolId ¶
func (m *MsgWithdrawDepositRetry) GetPoolId() uint64
func (*MsgWithdrawDepositRetry) GetSignBytes ¶
func (msg *MsgWithdrawDepositRetry) GetSignBytes() []byte
func (*MsgWithdrawDepositRetry) GetSigners ¶
func (msg *MsgWithdrawDepositRetry) GetSigners() []sdk.AccAddress
func (*MsgWithdrawDepositRetry) GetWithdrawalId ¶
func (m *MsgWithdrawDepositRetry) GetWithdrawalId() uint64
func (*MsgWithdrawDepositRetry) Marshal ¶
func (m *MsgWithdrawDepositRetry) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawDepositRetry) MarshalTo ¶
func (m *MsgWithdrawDepositRetry) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawDepositRetry) MarshalToSizedBuffer ¶
func (m *MsgWithdrawDepositRetry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawDepositRetry) ProtoMessage ¶
func (*MsgWithdrawDepositRetry) ProtoMessage()
func (*MsgWithdrawDepositRetry) Reset ¶
func (m *MsgWithdrawDepositRetry) Reset()
func (MsgWithdrawDepositRetry) Route ¶
func (msg MsgWithdrawDepositRetry) Route() string
func (*MsgWithdrawDepositRetry) Size ¶
func (m *MsgWithdrawDepositRetry) Size() (n int)
func (*MsgWithdrawDepositRetry) String ¶
func (m *MsgWithdrawDepositRetry) String() string
func (MsgWithdrawDepositRetry) Type ¶
func (msg MsgWithdrawDepositRetry) Type() string
func (*MsgWithdrawDepositRetry) Unmarshal ¶
func (m *MsgWithdrawDepositRetry) Unmarshal(dAtA []byte) error
func (*MsgWithdrawDepositRetry) ValidateBasic ¶
func (msg *MsgWithdrawDepositRetry) ValidateBasic() error
func (*MsgWithdrawDepositRetry) XXX_DiscardUnknown ¶
func (m *MsgWithdrawDepositRetry) XXX_DiscardUnknown()
func (*MsgWithdrawDepositRetry) XXX_Marshal ¶
func (m *MsgWithdrawDepositRetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawDepositRetry) XXX_Merge ¶
func (m *MsgWithdrawDepositRetry) XXX_Merge(src proto.Message)
func (*MsgWithdrawDepositRetry) XXX_Size ¶
func (m *MsgWithdrawDepositRetry) XXX_Size() int
func (*MsgWithdrawDepositRetry) XXX_Unmarshal ¶
func (m *MsgWithdrawDepositRetry) XXX_Unmarshal(b []byte) error
type MsgWithdrawDepositRetryResponse ¶
type MsgWithdrawDepositRetryResponse struct { }
func (*MsgWithdrawDepositRetryResponse) Descriptor ¶
func (*MsgWithdrawDepositRetryResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawDepositRetryResponse) Marshal ¶
func (m *MsgWithdrawDepositRetryResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawDepositRetryResponse) MarshalTo ¶
func (m *MsgWithdrawDepositRetryResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawDepositRetryResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawDepositRetryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawDepositRetryResponse) ProtoMessage ¶
func (*MsgWithdrawDepositRetryResponse) ProtoMessage()
func (*MsgWithdrawDepositRetryResponse) Reset ¶
func (m *MsgWithdrawDepositRetryResponse) Reset()
func (*MsgWithdrawDepositRetryResponse) Size ¶
func (m *MsgWithdrawDepositRetryResponse) Size() (n int)
func (*MsgWithdrawDepositRetryResponse) String ¶
func (m *MsgWithdrawDepositRetryResponse) String() string
func (*MsgWithdrawDepositRetryResponse) Unmarshal ¶
func (m *MsgWithdrawDepositRetryResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawDepositRetryResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawDepositRetryResponse) XXX_DiscardUnknown()
func (*MsgWithdrawDepositRetryResponse) XXX_Marshal ¶
func (m *MsgWithdrawDepositRetryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawDepositRetryResponse) XXX_Merge ¶
func (m *MsgWithdrawDepositRetryResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawDepositRetryResponse) XXX_Size ¶
func (m *MsgWithdrawDepositRetryResponse) XXX_Size() int
func (*MsgWithdrawDepositRetryResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawDepositRetryResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // min_deposit_amount the minimum deposit amount accepted by pool // configurations MinDepositAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 151-byte string literal not displayed */ // max_prize_strategy_batches the maximum prize strategy batches accepted by // pool configurations MaxPrizeStrategyBatches uint64 `` /* 135-byte string literal not displayed */ // max_prize_batch_quantity the maximum prize batch quantity accepted by pool // configurations MaxPrizeBatchQuantity uint64 `` /* 129-byte string literal not displayed */ // min_draw_schedule_delta the minimum delta between draws accepted by pool // configurations MinDrawScheduleDelta time.Duration `` /* 127-byte string literal not displayed */ // max_draw_schedule_delta the maximum delta between draws accepted by pool // configurations MaxDrawScheduleDelta time.Duration `` /* 127-byte string literal not displayed */ // prize_expiration_delta the prize clawback expiration delta (common to all // pools) PrizeExpirationDelta time.Duration `protobuf:"bytes,6,opt,name=prize_expiration_delta,json=prizeExpirationDelta,proto3,stdduration" json:"prize_expiration_delta"` // fees_stakers the fees distributed by stakers over prize won (common to all // pools) FeesStakers github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */ // min_deposit_draw_delta the minimum delta before a draw for a deposit to be // accepted during the time weighted balance computation for a draw MinDepositDrawDelta time.Duration `protobuf:"bytes,8,opt,name=min_deposit_draw_delta,json=minDepositDrawDelta,proto3,stdduration" json:"min_deposit_draw_delta"` }
func DefaultParams ¶
func DefaultParams() Params
func (*Params) Descriptor ¶
func (*Params) GetMaxDrawScheduleDelta ¶
func (*Params) GetMaxPrizeBatchQuantity ¶
func (*Params) GetMaxPrizeStrategyBatches ¶
func (*Params) GetMinDepositDrawDelta ¶
func (*Params) GetMinDrawScheduleDelta ¶
func (*Params) GetPrizeExpirationDelta ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ValidateBasics ¶
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type Pool ¶
type Pool struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` NativeDenom string `protobuf:"bytes,3,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty"` ChainId string `protobuf:"bytes,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ConnectionId string `protobuf:"bytes,5,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` TransferChannelId string `protobuf:"bytes,6,opt,name=transfer_channel_id,json=transferChannelId,proto3" json:"transfer_channel_id,omitempty"` IcaDepositPortId string `protobuf:"bytes,7,opt,name=ica_deposit_port_id,json=icaDepositPortId,proto3" json:"ica_deposit_port_id,omitempty"` IcaPrizepoolPortId string `protobuf:"bytes,8,opt,name=ica_prizepool_port_id,json=icaPrizepoolPortId,proto3" json:"ica_prizepool_port_id,omitempty"` PoolType PoolType `protobuf:"varint,9,opt,name=pool_type,json=poolType,proto3,enum=lum.network.millions.PoolType" json:"pool_type,omitempty"` Validators []PoolValidator `protobuf:"bytes,10,rep,name=validators,proto3" json:"validators"` Bech32PrefixAccAddr string `protobuf:"bytes,11,opt,name=bech32_prefix_acc_addr,json=bech32PrefixAccAddr,proto3" json:"bech32_prefix_acc_addr,omitempty"` Bech32PrefixValAddr string `protobuf:"bytes,12,opt,name=bech32_prefix_val_addr,json=bech32PrefixValAddr,proto3" json:"bech32_prefix_val_addr,omitempty"` MinDepositAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 152-byte string literal not displayed */ DrawSchedule DrawSchedule `protobuf:"bytes,14,opt,name=draw_schedule,json=drawSchedule,proto3" json:"draw_schedule"` PrizeStrategy PrizeStrategy `protobuf:"bytes,15,opt,name=prize_strategy,json=prizeStrategy,proto3" json:"prize_strategy"` UnbondingDuration time.Duration `protobuf:"bytes,16,opt,name=unbonding_duration,json=unbondingDuration,proto3,stdduration" json:"unbonding_duration"` MaxUnbondingEntries github_com_cosmos_cosmos_sdk_types.Int `` /* 161-byte string literal not displayed */ LocalAddress string `protobuf:"bytes,18,opt,name=local_address,json=localAddress,proto3" json:"local_address,omitempty"` IcaDepositAddress string `protobuf:"bytes,19,opt,name=ica_deposit_address,json=icaDepositAddress,proto3" json:"ica_deposit_address,omitempty"` IcaPrizepoolAddress string `protobuf:"bytes,20,opt,name=ica_prizepool_address,json=icaPrizepoolAddress,proto3" json:"ica_prizepool_address,omitempty"` NextDrawId uint64 `protobuf:"varint,22,opt,name=next_draw_id,json=nextDrawId,proto3" json:"next_draw_id,omitempty"` TvlAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 129-byte string literal not displayed */ DepositorsCount uint64 `protobuf:"varint,24,opt,name=depositors_count,json=depositorsCount,proto3" json:"depositors_count,omitempty"` SponsorshipAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 153-byte string literal not displayed */ LastDrawCreatedAt *time.Time `protobuf:"bytes,27,opt,name=last_draw_created_at,json=lastDrawCreatedAt,proto3,stdtime" json:"last_draw_created_at,omitempty"` LastDrawState DrawState `` /* 140-byte string literal not displayed */ AvailablePrizePool types1.Coin `protobuf:"bytes,29,opt,name=available_prize_pool,json=availablePrizePool,proto3" json:"available_prize_pool"` State PoolState `protobuf:"varint,32,opt,name=state,proto3,enum=lum.network.millions.PoolState" json:"state,omitempty"` CreatedAtHeight int64 `protobuf:"varint,33,opt,name=created_at_height,json=createdAtHeight,proto3" json:"created_at_height,omitempty"` UpdatedAtHeight int64 `protobuf:"varint,34,opt,name=updated_at_height,json=updatedAtHeight,proto3" json:"updated_at_height,omitempty"` CreatedAt time.Time `protobuf:"bytes,35,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"` UpdatedAt time.Time `protobuf:"bytes,36,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"` }
func (*Pool) AccAddressFromBech32 ¶ added in v1.5.0
func (p *Pool) AccAddressFromBech32(address string) (isLocalAddress bool, addr sdk.AccAddress, err error)
AccAddressFromBech32 custom implementation of sdk.AccAddressFromBech32 to handle pool bech32 prefix Returns if address is local (= to sdk.GetConfig().GetBech32AccountAddrPrefix()): Error in cases: - invalid address format - denom != to pool.Bech32PrefixAccAddr && denom != sdk.GetConfig().GetBech32AccountAddrPrefix()
func (*Pool) ActiveValidators ¶
func (p *Pool) ActiveValidators() (vals []PoolValidator)
ActiveValidators returns currently enabled validators
func (*Pool) ApplySplitDelegate ¶
func (p *Pool) ApplySplitDelegate(ctx sdk.Context, splits []*SplitDelegation)
func (*Pool) ApplySplitRedelegate ¶ added in v1.5.0
func (p *Pool) ApplySplitRedelegate(ctx sdk.Context, valSrcAddr string, splits []*SplitDelegation)
ApplySplitRedelegate serves as internal tracking to redelegate the bonded amount from the inactive to the active validators
func (*Pool) ApplySplitUndelegate ¶
func (p *Pool) ApplySplitUndelegate(ctx sdk.Context, splits []*SplitDelegation)
func (*Pool) BondedValidators ¶
func (p *Pool) BondedValidators() (activeVals, inactiveVals []PoolValidator)
BondedValidators returns active and inactive validators with a bonded amount > 0 for
func (*Pool) ComputeSplitDelegations ¶
func (p *Pool) ComputeSplitDelegations(ctx sdk.Context, amount math.Int) (splits []*SplitDelegation)
ComputeSplitDelegations computes the delegation split to enforce based on the active validators in the set amount is divided evenly to all active validators
func (*Pool) ComputeSplitUndelegations ¶
func (p *Pool) ComputeSplitUndelegations(ctx sdk.Context, amount math.Int) (splits []*SplitDelegation)
ComputeSplitUndelegations compute the undelegation split to enforce based on the bonded validators in the set disabled validators are prioritized and remaining amount is divided evenly between all validators
func (*Pool) Descriptor ¶
func (*Pool) GetAvailablePrizePool ¶
func (*Pool) GetBech32PrefixAccAddr ¶
func (*Pool) GetBech32PrefixValAddr ¶
func (*Pool) GetChainId ¶
func (*Pool) GetConnectionId ¶
func (*Pool) GetCreatedAt ¶
func (*Pool) GetCreatedAtHeight ¶
func (*Pool) GetDepositorsCount ¶
func (*Pool) GetDrawSchedule ¶
func (m *Pool) GetDrawSchedule() DrawSchedule
func (*Pool) GetIcaDepositAddress ¶
func (*Pool) GetIcaDepositPortId ¶
func (*Pool) GetIcaDepositPortIdWithPrefix ¶ added in v1.5.0
func (*Pool) GetIcaPrizepoolAddress ¶
func (*Pool) GetIcaPrizepoolPortId ¶
func (*Pool) GetIcaPrizepoolPortIdWithPrefix ¶ added in v1.5.0
func (*Pool) GetLastDrawCreatedAt ¶
func (*Pool) GetLastDrawState ¶
func (*Pool) GetLocalAddress ¶
func (*Pool) GetNativeDenom ¶
func (*Pool) GetNextDrawId ¶
func (*Pool) GetNextEpochUnbonding ¶ added in v1.6.0
func (p *Pool) GetNextEpochUnbonding(epochTracker EpochTracker) uint64
func (*Pool) GetPoolType ¶ added in v1.6.0
func (*Pool) GetPrizeStrategy ¶
func (m *Pool) GetPrizeStrategy() PrizeStrategy
func (*Pool) GetTransferChannelId ¶
func (*Pool) GetUnbondingDuration ¶ added in v1.6.0
func (*Pool) GetUnbondingFrequency ¶ added in v1.6.0
func (*Pool) GetUpdatedAt ¶
func (*Pool) GetUpdatedAtHeight ¶
func (*Pool) GetValidators ¶
func (m *Pool) GetValidators() []PoolValidator
func (*Pool) GetValidatorsMapIndex ¶ added in v1.4.2
GetValidatorsMapIndex maps validators operator address to their index in the Pool.Validators array utility function to facilitate access to Validators
func (*Pool) IsInvalidEpochUnbonding ¶ added in v1.6.0
func (p *Pool) IsInvalidEpochUnbonding(epochTracker EpochTracker) bool
func (*Pool) ProtoMessage ¶
func (*Pool) ProtoMessage()
func (*Pool) RevertSplitRedelegate ¶ added in v1.5.0
func (p *Pool) RevertSplitRedelegate(ctx sdk.Context, valSrcAddr string, splits []*SplitDelegation)
RevertSplitRedelegate reverts an initial ApplySplitRedelegate
func (*Pool) ValidateBasic ¶
ValidateBasic validates if a pool has a valid configuration meaning that it can be stored
func (*Pool) XXX_DiscardUnknown ¶
func (m *Pool) XXX_DiscardUnknown()
func (*Pool) XXX_Unmarshal ¶
type PoolState ¶
type PoolState int32
PoolState the state of a Pool Deposits are only accepted for Pools in a Ready state
TODO: Pool state KILLED is not available in the current implementation Introduce the capability to: - Kill a Pool and withdraw or migrate all deposits to another Pool via Governance proposal
func (PoolState) EnumDescriptor ¶
type PoolType ¶ added in v1.6.0
type PoolType int32
PoolType the type of Pool Each PoolType implements a dedicated runner which applies its own Pool Lifecycle in order to deliver yield and distribute prizes
func (PoolType) EnumDescriptor ¶ added in v1.6.0
type PoolValidator ¶
type PoolValidator struct { OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` IsEnabled bool `protobuf:"varint,2,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"` BondedAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ }
func (*PoolValidator) Descriptor ¶
func (*PoolValidator) Descriptor() ([]byte, []int)
func (*PoolValidator) GetIsEnabled ¶
func (m *PoolValidator) GetIsEnabled() bool
func (*PoolValidator) GetOperatorAddress ¶
func (m *PoolValidator) GetOperatorAddress() string
func (*PoolValidator) IsBonded ¶
func (val *PoolValidator) IsBonded() bool
func (*PoolValidator) Marshal ¶
func (m *PoolValidator) Marshal() (dAtA []byte, err error)
func (*PoolValidator) MarshalToSizedBuffer ¶
func (m *PoolValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolValidator) MustValAddressFromBech32 ¶
func (val *PoolValidator) MustValAddressFromBech32() sdk.ValAddress
func (*PoolValidator) ProtoMessage ¶
func (*PoolValidator) ProtoMessage()
func (*PoolValidator) Reset ¶
func (m *PoolValidator) Reset()
func (*PoolValidator) Size ¶
func (m *PoolValidator) Size() (n int)
func (*PoolValidator) String ¶
func (m *PoolValidator) String() string
func (*PoolValidator) Unmarshal ¶
func (m *PoolValidator) Unmarshal(dAtA []byte) error
func (*PoolValidator) XXX_DiscardUnknown ¶
func (m *PoolValidator) XXX_DiscardUnknown()
func (*PoolValidator) XXX_Marshal ¶
func (m *PoolValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolValidator) XXX_Merge ¶
func (m *PoolValidator) XXX_Merge(src proto.Message)
func (*PoolValidator) XXX_Size ¶
func (m *PoolValidator) XXX_Size() int
func (*PoolValidator) XXX_Unmarshal ¶
func (m *PoolValidator) XXX_Unmarshal(b []byte) error
type Prize ¶
type Prize struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DrawId uint64 `protobuf:"varint,2,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` PrizeId uint64 `protobuf:"varint,3,opt,name=prize_id,json=prizeId,proto3" json:"prize_id,omitempty"` State PrizeState `protobuf:"varint,4,opt,name=state,proto3,enum=lum.network.millions.PrizeState" json:"state,omitempty"` WinnerAddress string `protobuf:"bytes,5,opt,name=winner_address,json=winnerAddress,proto3" json:"winner_address,omitempty"` Amount types.Coin `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount"` CreatedAtHeight int64 `protobuf:"varint,7,opt,name=created_at_height,json=createdAtHeight,proto3" json:"created_at_height,omitempty"` UpdatedAtHeight int64 `protobuf:"varint,8,opt,name=updated_at_height,json=updatedAtHeight,proto3" json:"updated_at_height,omitempty"` ExpiresAt time.Time `protobuf:"bytes,9,opt,name=expires_at,json=expiresAt,proto3,stdtime" json:"expires_at"` CreatedAt time.Time `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"` UpdatedAt time.Time `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"` }
func (*Prize) Descriptor ¶
func (*Prize) GetCreatedAt ¶
func (*Prize) GetCreatedAtHeight ¶
func (*Prize) GetExpiresAt ¶
func (*Prize) GetPrizeId ¶
func (*Prize) GetState ¶
func (m *Prize) GetState() PrizeState
func (*Prize) GetUpdatedAt ¶
func (*Prize) GetUpdatedAtHeight ¶
func (*Prize) GetWinnerAddress ¶
func (*Prize) ProtoMessage ¶
func (*Prize) ProtoMessage()
func (*Prize) ValidateBasic ¶
ValidateBasic validates if a prize is complete and valid
func (*Prize) XXX_DiscardUnknown ¶
func (m *Prize) XXX_DiscardUnknown()
func (*Prize) XXX_Marshal ¶
func (*Prize) XXX_Unmarshal ¶
type PrizeBatch ¶
type PrizeBatch struct { PoolPercent uint64 `protobuf:"varint,1,opt,name=pool_percent,json=poolPercent,proto3" json:"pool_percent,omitempty"` Quantity uint64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` DrawProbability github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ IsUnique bool `protobuf:"varint,4,opt,name=is_unique,json=isUnique,proto3" json:"is_unique,omitempty"` }
func (PrizeBatch) ComputePrizesProbs ¶
func (pb PrizeBatch) ComputePrizesProbs(prizePool sdk.Coin) (prizesProbs []PrizeProb, usedAmount math.Int, remainingAmount math.Int)
ComputePrizesProbs computes batch prizes probs list based on the batch percentage of the prizePool Returns as much prize up to quantity as possible, until the total batch amount has been fully consumed or is not enough to create another prize Each prize is identical and the usedAmount and remainingAmount are returned upon computation
func (*PrizeBatch) Descriptor ¶
func (*PrizeBatch) Descriptor() ([]byte, []int)
func (*PrizeBatch) GetIsUnique ¶ added in v1.5.0
func (m *PrizeBatch) GetIsUnique() bool
func (*PrizeBatch) GetPoolPercent ¶
func (m *PrizeBatch) GetPoolPercent() uint64
func (PrizeBatch) GetPrizeAmount ¶
func (pb PrizeBatch) GetPrizeAmount(prizePool sdk.Coin) math.Int
func (*PrizeBatch) GetQuantity ¶
func (m *PrizeBatch) GetQuantity() uint64
func (PrizeBatch) GetTotalPrizesAmount ¶
func (pb PrizeBatch) GetTotalPrizesAmount(prizePool sdk.Coin) math.Int
func (*PrizeBatch) Marshal ¶
func (m *PrizeBatch) Marshal() (dAtA []byte, err error)
func (*PrizeBatch) MarshalToSizedBuffer ¶
func (m *PrizeBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrizeBatch) ProtoMessage ¶
func (*PrizeBatch) ProtoMessage()
func (*PrizeBatch) Reset ¶
func (m *PrizeBatch) Reset()
func (*PrizeBatch) Size ¶
func (m *PrizeBatch) Size() (n int)
func (*PrizeBatch) String ¶
func (m *PrizeBatch) String() string
func (*PrizeBatch) Unmarshal ¶
func (m *PrizeBatch) Unmarshal(dAtA []byte) error
func (PrizeBatch) Validate ¶
func (pb PrizeBatch) Validate(params Params) error
Validate prizeBatch validation - poolPercent must be [0, 100] - quantity must be >= 0 - drawProbability must be [0, 1] - if unique, quantity must not be superior to 100
func (*PrizeBatch) XXX_DiscardUnknown ¶
func (m *PrizeBatch) XXX_DiscardUnknown()
func (*PrizeBatch) XXX_Marshal ¶
func (m *PrizeBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrizeBatch) XXX_Merge ¶
func (m *PrizeBatch) XXX_Merge(src proto.Message)
func (*PrizeBatch) XXX_Size ¶
func (m *PrizeBatch) XXX_Size() int
func (*PrizeBatch) XXX_Unmarshal ¶
func (m *PrizeBatch) XXX_Unmarshal(b []byte) error
type PrizeIDs ¶
type PrizeIDs struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DrawId uint64 `protobuf:"varint,2,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` PrizeId uint64 `protobuf:"varint,3,opt,name=prize_id,json=prizeId,proto3" json:"prize_id,omitempty"` }
func (*PrizeIDs) Descriptor ¶
func (*PrizeIDs) GetPrizeId ¶
func (*PrizeIDs) MarshalToSizedBuffer ¶
func (*PrizeIDs) ProtoMessage ¶
func (*PrizeIDs) ProtoMessage()
func (*PrizeIDs) XXX_DiscardUnknown ¶
func (m *PrizeIDs) XXX_DiscardUnknown()
func (*PrizeIDs) XXX_Marshal ¶
func (*PrizeIDs) XXX_Unmarshal ¶
type PrizeIDsCollection ¶
type PrizeIDsCollection struct {
PrizesIds []PrizeIDs `protobuf:"bytes,1,rep,name=prizes_ids,json=prizesIds,proto3" json:"prizes_ids"`
}
func (*PrizeIDsCollection) Descriptor ¶
func (*PrizeIDsCollection) Descriptor() ([]byte, []int)
func (*PrizeIDsCollection) GetPrizesIds ¶
func (m *PrizeIDsCollection) GetPrizesIds() []PrizeIDs
func (*PrizeIDsCollection) Marshal ¶
func (m *PrizeIDsCollection) Marshal() (dAtA []byte, err error)
func (*PrizeIDsCollection) MarshalTo ¶
func (m *PrizeIDsCollection) MarshalTo(dAtA []byte) (int, error)
func (*PrizeIDsCollection) MarshalToSizedBuffer ¶
func (m *PrizeIDsCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrizeIDsCollection) ProtoMessage ¶
func (*PrizeIDsCollection) ProtoMessage()
func (*PrizeIDsCollection) Reset ¶
func (m *PrizeIDsCollection) Reset()
func (*PrizeIDsCollection) Size ¶
func (m *PrizeIDsCollection) Size() (n int)
func (*PrizeIDsCollection) String ¶
func (m *PrizeIDsCollection) String() string
func (*PrizeIDsCollection) Unmarshal ¶
func (m *PrizeIDsCollection) Unmarshal(dAtA []byte) error
func (*PrizeIDsCollection) XXX_DiscardUnknown ¶
func (m *PrizeIDsCollection) XXX_DiscardUnknown()
func (*PrizeIDsCollection) XXX_Marshal ¶
func (m *PrizeIDsCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrizeIDsCollection) XXX_Merge ¶
func (m *PrizeIDsCollection) XXX_Merge(src proto.Message)
func (*PrizeIDsCollection) XXX_Size ¶
func (m *PrizeIDsCollection) XXX_Size() int
func (*PrizeIDsCollection) XXX_Unmarshal ¶
func (m *PrizeIDsCollection) XXX_Unmarshal(b []byte) error
type PrizeRef ¶
type PrizeRef struct { Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` PrizeId uint64 `protobuf:"varint,2,opt,name=prize_id,json=prizeId,proto3" json:"prize_id,omitempty"` WinnerAddress string `protobuf:"bytes,3,opt,name=winner_address,json=winnerAddress,proto3" json:"winner_address,omitempty"` }
func (*PrizeRef) Descriptor ¶
func (*PrizeRef) GetPrizeId ¶
func (*PrizeRef) GetWinnerAddress ¶
func (*PrizeRef) MarshalToSizedBuffer ¶
func (*PrizeRef) ProtoMessage ¶
func (*PrizeRef) ProtoMessage()
func (*PrizeRef) XXX_DiscardUnknown ¶
func (m *PrizeRef) XXX_DiscardUnknown()
func (*PrizeRef) XXX_Marshal ¶
func (*PrizeRef) XXX_Unmarshal ¶
type PrizeState ¶
type PrizeState int32
const ( PrizeState_Unspecified PrizeState = 0 PrizeState_Pending PrizeState = 1 )
func (PrizeState) EnumDescriptor ¶
func (PrizeState) EnumDescriptor() ([]byte, []int)
func (PrizeState) String ¶
func (x PrizeState) String() string
type PrizeStrategy ¶
type PrizeStrategy struct {
PrizeBatches []PrizeBatch `protobuf:"bytes,1,rep,name=prize_batches,json=prizeBatches,proto3" json:"prize_batches"`
}
func (PrizeStrategy) ComputePrizesProbs ¶
func (ps PrizeStrategy) ComputePrizesProbs(prizePool sdk.Coin) (prizesProbs []PrizeProb, usedAmount math.Int, remainingAmount math.Int, err error)
ComputePrizesProbs computes final prizes probs list based on each prizeBatch configuration always sort the prizes by most valuable to least valuable error triggered if the prizeStrategy does not pass its internal validation function
func (PrizeStrategy) ContainsUniqueBatch ¶ added in v1.5.0
func (ps PrizeStrategy) ContainsUniqueBatch() bool
ContainsUniqueBatch returns whether or not at least one batch contains has the IsUnique property set to True
func (*PrizeStrategy) Descriptor ¶
func (*PrizeStrategy) Descriptor() ([]byte, []int)
func (*PrizeStrategy) GetPrizeBatches ¶
func (m *PrizeStrategy) GetPrizeBatches() []PrizeBatch
func (*PrizeStrategy) Marshal ¶
func (m *PrizeStrategy) Marshal() (dAtA []byte, err error)
func (*PrizeStrategy) MarshalToSizedBuffer ¶
func (m *PrizeStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrizeStrategy) ProtoMessage ¶
func (*PrizeStrategy) ProtoMessage()
func (*PrizeStrategy) Reset ¶
func (m *PrizeStrategy) Reset()
func (*PrizeStrategy) Size ¶
func (m *PrizeStrategy) Size() (n int)
func (*PrizeStrategy) String ¶
func (m *PrizeStrategy) String() string
func (*PrizeStrategy) Unmarshal ¶
func (m *PrizeStrategy) Unmarshal(dAtA []byte) error
func (PrizeStrategy) Validate ¶
func (ps PrizeStrategy) Validate(params Params) error
Validate prizeStrategy validation - validate strategy based on params - validate each batch individually - validate total number of prizes > 0 - validate total percentage of prize pool = 100
func (*PrizeStrategy) XXX_DiscardUnknown ¶
func (m *PrizeStrategy) XXX_DiscardUnknown()
func (*PrizeStrategy) XXX_Marshal ¶
func (m *PrizeStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrizeStrategy) XXX_Merge ¶
func (m *PrizeStrategy) XXX_Merge(src proto.Message)
func (*PrizeStrategy) XXX_Size ¶
func (m *PrizeStrategy) XXX_Size() int
func (*PrizeStrategy) XXX_Unmarshal ¶
func (m *PrizeStrategy) XXX_Unmarshal(b []byte) error
type ProposalRegisterPool ¶
type ProposalRegisterPool struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Denom string `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty"` NativeDenom string `protobuf:"bytes,5,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty"` ConnectionId string `protobuf:"bytes,6,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Validators []string `protobuf:"bytes,7,rep,name=validators,proto3" json:"validators,omitempty"` MinDepositAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 151-byte string literal not displayed */ DrawSchedule DrawSchedule `protobuf:"bytes,9,opt,name=draw_schedule,json=drawSchedule,proto3" json:"draw_schedule"` PrizeStrategy PrizeStrategy `protobuf:"bytes,10,opt,name=prize_strategy,json=prizeStrategy,proto3" json:"prize_strategy"` Bech32PrefixAccAddr string `protobuf:"bytes,11,opt,name=bech32_prefix_acc_addr,json=bech32PrefixAccAddr,proto3" json:"bech32_prefix_acc_addr,omitempty"` Bech32PrefixValAddr string `protobuf:"bytes,12,opt,name=bech32_prefix_val_addr,json=bech32PrefixValAddr,proto3" json:"bech32_prefix_val_addr,omitempty"` TransferChannelId string `protobuf:"bytes,13,opt,name=transfer_channel_id,json=transferChannelId,proto3" json:"transfer_channel_id,omitempty"` UnbondingDuration time.Duration `protobuf:"bytes,14,opt,name=unbonding_duration,json=unbondingDuration,proto3,stdduration" json:"unbonding_duration"` MaxUnbondingEntries github_com_cosmos_cosmos_sdk_types.Int `` /* 161-byte string literal not displayed */ PoolType PoolType `protobuf:"varint,16,opt,name=pool_type,json=poolType,proto3,enum=lum.network.millions.PoolType" json:"pool_type,omitempty"` }
func (*ProposalRegisterPool) Descriptor ¶
func (*ProposalRegisterPool) Descriptor() ([]byte, []int)
func (*ProposalRegisterPool) GetBech32PrefixAccAddr ¶
func (m *ProposalRegisterPool) GetBech32PrefixAccAddr() string
func (*ProposalRegisterPool) GetBech32PrefixValAddr ¶
func (m *ProposalRegisterPool) GetBech32PrefixValAddr() string
func (*ProposalRegisterPool) GetChainId ¶
func (m *ProposalRegisterPool) GetChainId() string
func (*ProposalRegisterPool) GetConnectionId ¶
func (m *ProposalRegisterPool) GetConnectionId() string
func (*ProposalRegisterPool) GetDenom ¶
func (m *ProposalRegisterPool) GetDenom() string
func (*ProposalRegisterPool) GetDescription ¶
func (m *ProposalRegisterPool) GetDescription() string
func (*ProposalRegisterPool) GetDrawSchedule ¶
func (m *ProposalRegisterPool) GetDrawSchedule() DrawSchedule
func (*ProposalRegisterPool) GetNativeDenom ¶
func (m *ProposalRegisterPool) GetNativeDenom() string
func (*ProposalRegisterPool) GetPoolType ¶ added in v1.6.0
func (m *ProposalRegisterPool) GetPoolType() PoolType
func (*ProposalRegisterPool) GetPrizeStrategy ¶
func (m *ProposalRegisterPool) GetPrizeStrategy() PrizeStrategy
func (*ProposalRegisterPool) GetTitle ¶
func (m *ProposalRegisterPool) GetTitle() string
func (*ProposalRegisterPool) GetTransferChannelId ¶
func (m *ProposalRegisterPool) GetTransferChannelId() string
func (*ProposalRegisterPool) GetUnbondingDuration ¶ added in v1.6.0
func (m *ProposalRegisterPool) GetUnbondingDuration() time.Duration
func (*ProposalRegisterPool) GetValidators ¶
func (m *ProposalRegisterPool) GetValidators() []string
func (*ProposalRegisterPool) Marshal ¶
func (m *ProposalRegisterPool) Marshal() (dAtA []byte, err error)
func (*ProposalRegisterPool) MarshalTo ¶
func (m *ProposalRegisterPool) MarshalTo(dAtA []byte) (int, error)
func (*ProposalRegisterPool) MarshalToSizedBuffer ¶
func (m *ProposalRegisterPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalRegisterPool) ProposalRoute ¶
func (p *ProposalRegisterPool) ProposalRoute() string
func (*ProposalRegisterPool) ProposalType ¶
func (p *ProposalRegisterPool) ProposalType() string
func (*ProposalRegisterPool) ProtoMessage ¶
func (*ProposalRegisterPool) ProtoMessage()
func (*ProposalRegisterPool) Reset ¶
func (m *ProposalRegisterPool) Reset()
func (*ProposalRegisterPool) Size ¶
func (m *ProposalRegisterPool) Size() (n int)
func (ProposalRegisterPool) String ¶
func (p ProposalRegisterPool) String() string
func (*ProposalRegisterPool) Unmarshal ¶
func (m *ProposalRegisterPool) Unmarshal(dAtA []byte) error
func (*ProposalRegisterPool) ValidateBasic ¶
func (p *ProposalRegisterPool) ValidateBasic() error
func (*ProposalRegisterPool) XXX_DiscardUnknown ¶
func (m *ProposalRegisterPool) XXX_DiscardUnknown()
func (*ProposalRegisterPool) XXX_Marshal ¶
func (m *ProposalRegisterPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalRegisterPool) XXX_Merge ¶
func (m *ProposalRegisterPool) XXX_Merge(src proto.Message)
func (*ProposalRegisterPool) XXX_Size ¶
func (m *ProposalRegisterPool) XXX_Size() int
func (*ProposalRegisterPool) XXX_Unmarshal ¶
func (m *ProposalRegisterPool) XXX_Unmarshal(b []byte) error
type ProposalUpdateParams ¶
type ProposalUpdateParams struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` MinDepositAmount *github_com_cosmos_cosmos_sdk_types.Int `` /* 161-byte string literal not displayed */ MaxPrizeStrategyBatches *github_com_cosmos_cosmos_sdk_types.Int `` /* 184-byte string literal not displayed */ MaxPrizeBatchQuantity *github_com_cosmos_cosmos_sdk_types.Int `` /* 178-byte string literal not displayed */ MinDrawScheduleDelta *time.Duration `` /* 137-byte string literal not displayed */ MaxDrawScheduleDelta *time.Duration `` /* 137-byte string literal not displayed */ PrizeExpirationDelta *time.Duration `` /* 135-byte string literal not displayed */ FeesStakers *github_com_cosmos_cosmos_sdk_types.Dec `` /* 144-byte string literal not displayed */ MinDepositDrawDelta *time.Duration `` /* 135-byte string literal not displayed */ }
func (*ProposalUpdateParams) Descriptor ¶
func (*ProposalUpdateParams) Descriptor() ([]byte, []int)
func (*ProposalUpdateParams) GetDescription ¶
func (m *ProposalUpdateParams) GetDescription() string
func (*ProposalUpdateParams) GetMaxDrawScheduleDelta ¶
func (m *ProposalUpdateParams) GetMaxDrawScheduleDelta() *time.Duration
func (*ProposalUpdateParams) GetMinDepositDrawDelta ¶
func (m *ProposalUpdateParams) GetMinDepositDrawDelta() *time.Duration
func (*ProposalUpdateParams) GetMinDrawScheduleDelta ¶
func (m *ProposalUpdateParams) GetMinDrawScheduleDelta() *time.Duration
func (*ProposalUpdateParams) GetPrizeExpirationDelta ¶
func (m *ProposalUpdateParams) GetPrizeExpirationDelta() *time.Duration
func (*ProposalUpdateParams) GetTitle ¶
func (m *ProposalUpdateParams) GetTitle() string
func (*ProposalUpdateParams) Marshal ¶
func (m *ProposalUpdateParams) Marshal() (dAtA []byte, err error)
func (*ProposalUpdateParams) MarshalTo ¶
func (m *ProposalUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*ProposalUpdateParams) MarshalToSizedBuffer ¶
func (m *ProposalUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalUpdateParams) ProposalRoute ¶
func (p *ProposalUpdateParams) ProposalRoute() string
func (*ProposalUpdateParams) ProposalType ¶
func (p *ProposalUpdateParams) ProposalType() string
func (*ProposalUpdateParams) ProtoMessage ¶
func (*ProposalUpdateParams) ProtoMessage()
func (*ProposalUpdateParams) Reset ¶
func (m *ProposalUpdateParams) Reset()
func (*ProposalUpdateParams) Size ¶
func (m *ProposalUpdateParams) Size() (n int)
func (ProposalUpdateParams) String ¶
func (p ProposalUpdateParams) String() string
func (*ProposalUpdateParams) Unmarshal ¶
func (m *ProposalUpdateParams) Unmarshal(dAtA []byte) error
func (*ProposalUpdateParams) ValidateBasic ¶
func (p *ProposalUpdateParams) ValidateBasic() error
func (*ProposalUpdateParams) XXX_DiscardUnknown ¶
func (m *ProposalUpdateParams) XXX_DiscardUnknown()
func (*ProposalUpdateParams) XXX_Marshal ¶
func (m *ProposalUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalUpdateParams) XXX_Merge ¶
func (m *ProposalUpdateParams) XXX_Merge(src proto.Message)
func (*ProposalUpdateParams) XXX_Size ¶
func (m *ProposalUpdateParams) XXX_Size() int
func (*ProposalUpdateParams) XXX_Unmarshal ¶
func (m *ProposalUpdateParams) XXX_Unmarshal(b []byte) error
type ProposalUpdatePool ¶
type ProposalUpdatePool struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` PoolId uint64 `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Validators []string `protobuf:"bytes,4,rep,name=validators,proto3" json:"validators,omitempty"` MinDepositAmount *github_com_cosmos_cosmos_sdk_types.Int `` /* 161-byte string literal not displayed */ DrawSchedule *DrawSchedule `protobuf:"bytes,6,opt,name=draw_schedule,json=drawSchedule,proto3" json:"draw_schedule,omitempty"` PrizeStrategy *PrizeStrategy `protobuf:"bytes,7,opt,name=prize_strategy,json=prizeStrategy,proto3" json:"prize_strategy,omitempty"` State PoolState `protobuf:"varint,8,opt,name=state,proto3,enum=lum.network.millions.PoolState" json:"state,omitempty"` UnbondingDuration *time.Duration `protobuf:"bytes,9,opt,name=unbonding_duration,json=unbondingDuration,proto3,stdduration" json:"unbonding_duration,omitempty"` MaxUnbondingEntries *github_com_cosmos_cosmos_sdk_types.Int `` /* 171-byte string literal not displayed */ }
func (*ProposalUpdatePool) Descriptor ¶
func (*ProposalUpdatePool) Descriptor() ([]byte, []int)
func (*ProposalUpdatePool) GetDescription ¶
func (m *ProposalUpdatePool) GetDescription() string
func (*ProposalUpdatePool) GetDrawSchedule ¶
func (m *ProposalUpdatePool) GetDrawSchedule() *DrawSchedule
func (*ProposalUpdatePool) GetPoolId ¶
func (m *ProposalUpdatePool) GetPoolId() uint64
func (*ProposalUpdatePool) GetPrizeStrategy ¶
func (m *ProposalUpdatePool) GetPrizeStrategy() *PrizeStrategy
func (*ProposalUpdatePool) GetState ¶ added in v1.5.0
func (m *ProposalUpdatePool) GetState() PoolState
func (*ProposalUpdatePool) GetTitle ¶
func (m *ProposalUpdatePool) GetTitle() string
func (*ProposalUpdatePool) GetUnbondingDuration ¶ added in v1.6.0
func (m *ProposalUpdatePool) GetUnbondingDuration() *time.Duration
func (*ProposalUpdatePool) GetValidators ¶
func (m *ProposalUpdatePool) GetValidators() []string
func (*ProposalUpdatePool) Marshal ¶
func (m *ProposalUpdatePool) Marshal() (dAtA []byte, err error)
func (*ProposalUpdatePool) MarshalTo ¶
func (m *ProposalUpdatePool) MarshalTo(dAtA []byte) (int, error)
func (*ProposalUpdatePool) MarshalToSizedBuffer ¶
func (m *ProposalUpdatePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalUpdatePool) ProposalRoute ¶
func (p *ProposalUpdatePool) ProposalRoute() string
func (*ProposalUpdatePool) ProposalType ¶
func (p *ProposalUpdatePool) ProposalType() string
func (*ProposalUpdatePool) ProtoMessage ¶
func (*ProposalUpdatePool) ProtoMessage()
func (*ProposalUpdatePool) Reset ¶
func (m *ProposalUpdatePool) Reset()
func (*ProposalUpdatePool) Size ¶
func (m *ProposalUpdatePool) Size() (n int)
func (ProposalUpdatePool) String ¶
func (p ProposalUpdatePool) String() string
func (*ProposalUpdatePool) Unmarshal ¶
func (m *ProposalUpdatePool) Unmarshal(dAtA []byte) error
func (*ProposalUpdatePool) ValidateBasic ¶
func (p *ProposalUpdatePool) ValidateBasic() error
func (*ProposalUpdatePool) XXX_DiscardUnknown ¶
func (m *ProposalUpdatePool) XXX_DiscardUnknown()
func (*ProposalUpdatePool) XXX_Marshal ¶
func (m *ProposalUpdatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalUpdatePool) XXX_Merge ¶
func (m *ProposalUpdatePool) XXX_Merge(src proto.Message)
func (*ProposalUpdatePool) XXX_Size ¶
func (m *ProposalUpdatePool) XXX_Size() int
func (*ProposalUpdatePool) XXX_Unmarshal ¶
func (m *ProposalUpdatePool) XXX_Unmarshal(b []byte) error
type QueryAccountDepositsRequest ¶
type QueryAccountDepositsRequest struct { DepositorAddress string `protobuf:"bytes,1,opt,name=depositor_address,json=depositorAddress,proto3" json:"depositor_address,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAccountDepositsRequest) Descriptor ¶
func (*QueryAccountDepositsRequest) Descriptor() ([]byte, []int)
func (*QueryAccountDepositsRequest) GetDepositorAddress ¶
func (m *QueryAccountDepositsRequest) GetDepositorAddress() string
func (*QueryAccountDepositsRequest) GetPagination ¶
func (m *QueryAccountDepositsRequest) GetPagination() *query.PageRequest
func (*QueryAccountDepositsRequest) Marshal ¶
func (m *QueryAccountDepositsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountDepositsRequest) MarshalTo ¶
func (m *QueryAccountDepositsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountDepositsRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountDepositsRequest) ProtoMessage ¶
func (*QueryAccountDepositsRequest) ProtoMessage()
func (*QueryAccountDepositsRequest) Reset ¶
func (m *QueryAccountDepositsRequest) Reset()
func (*QueryAccountDepositsRequest) Size ¶
func (m *QueryAccountDepositsRequest) Size() (n int)
func (*QueryAccountDepositsRequest) String ¶
func (m *QueryAccountDepositsRequest) String() string
func (*QueryAccountDepositsRequest) Unmarshal ¶
func (m *QueryAccountDepositsRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountDepositsRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountDepositsRequest) XXX_DiscardUnknown()
func (*QueryAccountDepositsRequest) XXX_Marshal ¶
func (m *QueryAccountDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountDepositsRequest) XXX_Merge ¶
func (m *QueryAccountDepositsRequest) XXX_Merge(src proto.Message)
func (*QueryAccountDepositsRequest) XXX_Size ¶
func (m *QueryAccountDepositsRequest) XXX_Size() int
func (*QueryAccountDepositsRequest) XXX_Unmarshal ¶
func (m *QueryAccountDepositsRequest) XXX_Unmarshal(b []byte) error
type QueryAccountPoolDepositsRequest ¶
type QueryAccountPoolDepositsRequest struct { DepositorAddress string `protobuf:"bytes,1,opt,name=depositor_address,json=depositorAddress,proto3" json:"depositor_address,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAccountPoolDepositsRequest) Descriptor ¶
func (*QueryAccountPoolDepositsRequest) Descriptor() ([]byte, []int)
func (*QueryAccountPoolDepositsRequest) GetDepositorAddress ¶
func (m *QueryAccountPoolDepositsRequest) GetDepositorAddress() string
func (*QueryAccountPoolDepositsRequest) GetPagination ¶
func (m *QueryAccountPoolDepositsRequest) GetPagination() *query.PageRequest
func (*QueryAccountPoolDepositsRequest) GetPoolId ¶
func (m *QueryAccountPoolDepositsRequest) GetPoolId() uint64
func (*QueryAccountPoolDepositsRequest) Marshal ¶
func (m *QueryAccountPoolDepositsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountPoolDepositsRequest) MarshalTo ¶
func (m *QueryAccountPoolDepositsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountPoolDepositsRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountPoolDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountPoolDepositsRequest) ProtoMessage ¶
func (*QueryAccountPoolDepositsRequest) ProtoMessage()
func (*QueryAccountPoolDepositsRequest) Reset ¶
func (m *QueryAccountPoolDepositsRequest) Reset()
func (*QueryAccountPoolDepositsRequest) Size ¶
func (m *QueryAccountPoolDepositsRequest) Size() (n int)
func (*QueryAccountPoolDepositsRequest) String ¶
func (m *QueryAccountPoolDepositsRequest) String() string
func (*QueryAccountPoolDepositsRequest) Unmarshal ¶
func (m *QueryAccountPoolDepositsRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountPoolDepositsRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountPoolDepositsRequest) XXX_DiscardUnknown()
func (*QueryAccountPoolDepositsRequest) XXX_Marshal ¶
func (m *QueryAccountPoolDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountPoolDepositsRequest) XXX_Merge ¶
func (m *QueryAccountPoolDepositsRequest) XXX_Merge(src proto.Message)
func (*QueryAccountPoolDepositsRequest) XXX_Size ¶
func (m *QueryAccountPoolDepositsRequest) XXX_Size() int
func (*QueryAccountPoolDepositsRequest) XXX_Unmarshal ¶
func (m *QueryAccountPoolDepositsRequest) XXX_Unmarshal(b []byte) error
type QueryAccountPoolDrawPrizesRequest ¶
type QueryAccountPoolDrawPrizesRequest struct { WinnerAddress string `protobuf:"bytes,1,opt,name=winner_address,json=winnerAddress,proto3" json:"winner_address,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DrawId uint64 `protobuf:"varint,3,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAccountPoolDrawPrizesRequest) Descriptor ¶
func (*QueryAccountPoolDrawPrizesRequest) Descriptor() ([]byte, []int)
func (*QueryAccountPoolDrawPrizesRequest) GetDrawId ¶
func (m *QueryAccountPoolDrawPrizesRequest) GetDrawId() uint64
func (*QueryAccountPoolDrawPrizesRequest) GetPagination ¶
func (m *QueryAccountPoolDrawPrizesRequest) GetPagination() *query.PageRequest
func (*QueryAccountPoolDrawPrizesRequest) GetPoolId ¶
func (m *QueryAccountPoolDrawPrizesRequest) GetPoolId() uint64
func (*QueryAccountPoolDrawPrizesRequest) GetWinnerAddress ¶
func (m *QueryAccountPoolDrawPrizesRequest) GetWinnerAddress() string
func (*QueryAccountPoolDrawPrizesRequest) Marshal ¶
func (m *QueryAccountPoolDrawPrizesRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountPoolDrawPrizesRequest) MarshalTo ¶
func (m *QueryAccountPoolDrawPrizesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountPoolDrawPrizesRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountPoolDrawPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountPoolDrawPrizesRequest) ProtoMessage ¶
func (*QueryAccountPoolDrawPrizesRequest) ProtoMessage()
func (*QueryAccountPoolDrawPrizesRequest) Reset ¶
func (m *QueryAccountPoolDrawPrizesRequest) Reset()
func (*QueryAccountPoolDrawPrizesRequest) Size ¶
func (m *QueryAccountPoolDrawPrizesRequest) Size() (n int)
func (*QueryAccountPoolDrawPrizesRequest) String ¶
func (m *QueryAccountPoolDrawPrizesRequest) String() string
func (*QueryAccountPoolDrawPrizesRequest) Unmarshal ¶
func (m *QueryAccountPoolDrawPrizesRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountPoolDrawPrizesRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountPoolDrawPrizesRequest) XXX_DiscardUnknown()
func (*QueryAccountPoolDrawPrizesRequest) XXX_Marshal ¶
func (m *QueryAccountPoolDrawPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountPoolDrawPrizesRequest) XXX_Merge ¶
func (m *QueryAccountPoolDrawPrizesRequest) XXX_Merge(src proto.Message)
func (*QueryAccountPoolDrawPrizesRequest) XXX_Size ¶
func (m *QueryAccountPoolDrawPrizesRequest) XXX_Size() int
func (*QueryAccountPoolDrawPrizesRequest) XXX_Unmarshal ¶
func (m *QueryAccountPoolDrawPrizesRequest) XXX_Unmarshal(b []byte) error
type QueryAccountPoolPrizesRequest ¶
type QueryAccountPoolPrizesRequest struct { WinnerAddress string `protobuf:"bytes,1,opt,name=winner_address,json=winnerAddress,proto3" json:"winner_address,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAccountPoolPrizesRequest) Descriptor ¶
func (*QueryAccountPoolPrizesRequest) Descriptor() ([]byte, []int)
func (*QueryAccountPoolPrizesRequest) GetPagination ¶
func (m *QueryAccountPoolPrizesRequest) GetPagination() *query.PageRequest
func (*QueryAccountPoolPrizesRequest) GetPoolId ¶
func (m *QueryAccountPoolPrizesRequest) GetPoolId() uint64
func (*QueryAccountPoolPrizesRequest) GetWinnerAddress ¶
func (m *QueryAccountPoolPrizesRequest) GetWinnerAddress() string
func (*QueryAccountPoolPrizesRequest) Marshal ¶
func (m *QueryAccountPoolPrizesRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountPoolPrizesRequest) MarshalTo ¶
func (m *QueryAccountPoolPrizesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountPoolPrizesRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountPoolPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountPoolPrizesRequest) ProtoMessage ¶
func (*QueryAccountPoolPrizesRequest) ProtoMessage()
func (*QueryAccountPoolPrizesRequest) Reset ¶
func (m *QueryAccountPoolPrizesRequest) Reset()
func (*QueryAccountPoolPrizesRequest) Size ¶
func (m *QueryAccountPoolPrizesRequest) Size() (n int)
func (*QueryAccountPoolPrizesRequest) String ¶
func (m *QueryAccountPoolPrizesRequest) String() string
func (*QueryAccountPoolPrizesRequest) Unmarshal ¶
func (m *QueryAccountPoolPrizesRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountPoolPrizesRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountPoolPrizesRequest) XXX_DiscardUnknown()
func (*QueryAccountPoolPrizesRequest) XXX_Marshal ¶
func (m *QueryAccountPoolPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountPoolPrizesRequest) XXX_Merge ¶
func (m *QueryAccountPoolPrizesRequest) XXX_Merge(src proto.Message)
func (*QueryAccountPoolPrizesRequest) XXX_Size ¶
func (m *QueryAccountPoolPrizesRequest) XXX_Size() int
func (*QueryAccountPoolPrizesRequest) XXX_Unmarshal ¶
func (m *QueryAccountPoolPrizesRequest) XXX_Unmarshal(b []byte) error
type QueryAccountPoolWithdrawalsRequest ¶
type QueryAccountPoolWithdrawalsRequest struct { DepositorAddress string `protobuf:"bytes,1,opt,name=depositor_address,json=depositorAddress,proto3" json:"depositor_address,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAccountPoolWithdrawalsRequest) Descriptor ¶
func (*QueryAccountPoolWithdrawalsRequest) Descriptor() ([]byte, []int)
func (*QueryAccountPoolWithdrawalsRequest) GetDepositorAddress ¶
func (m *QueryAccountPoolWithdrawalsRequest) GetDepositorAddress() string
func (*QueryAccountPoolWithdrawalsRequest) GetPagination ¶
func (m *QueryAccountPoolWithdrawalsRequest) GetPagination() *query.PageRequest
func (*QueryAccountPoolWithdrawalsRequest) GetPoolId ¶
func (m *QueryAccountPoolWithdrawalsRequest) GetPoolId() uint64
func (*QueryAccountPoolWithdrawalsRequest) Marshal ¶
func (m *QueryAccountPoolWithdrawalsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountPoolWithdrawalsRequest) MarshalTo ¶
func (m *QueryAccountPoolWithdrawalsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountPoolWithdrawalsRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountPoolWithdrawalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountPoolWithdrawalsRequest) ProtoMessage ¶
func (*QueryAccountPoolWithdrawalsRequest) ProtoMessage()
func (*QueryAccountPoolWithdrawalsRequest) Reset ¶
func (m *QueryAccountPoolWithdrawalsRequest) Reset()
func (*QueryAccountPoolWithdrawalsRequest) Size ¶
func (m *QueryAccountPoolWithdrawalsRequest) Size() (n int)
func (*QueryAccountPoolWithdrawalsRequest) String ¶
func (m *QueryAccountPoolWithdrawalsRequest) String() string
func (*QueryAccountPoolWithdrawalsRequest) Unmarshal ¶
func (m *QueryAccountPoolWithdrawalsRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountPoolWithdrawalsRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountPoolWithdrawalsRequest) XXX_DiscardUnknown()
func (*QueryAccountPoolWithdrawalsRequest) XXX_Marshal ¶
func (m *QueryAccountPoolWithdrawalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountPoolWithdrawalsRequest) XXX_Merge ¶
func (m *QueryAccountPoolWithdrawalsRequest) XXX_Merge(src proto.Message)
func (*QueryAccountPoolWithdrawalsRequest) XXX_Size ¶
func (m *QueryAccountPoolWithdrawalsRequest) XXX_Size() int
func (*QueryAccountPoolWithdrawalsRequest) XXX_Unmarshal ¶
func (m *QueryAccountPoolWithdrawalsRequest) XXX_Unmarshal(b []byte) error
type QueryAccountPrizesRequest ¶
type QueryAccountPrizesRequest struct { WinnerAddress string `protobuf:"bytes,1,opt,name=winner_address,json=winnerAddress,proto3" json:"winner_address,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAccountPrizesRequest) Descriptor ¶
func (*QueryAccountPrizesRequest) Descriptor() ([]byte, []int)
func (*QueryAccountPrizesRequest) GetPagination ¶
func (m *QueryAccountPrizesRequest) GetPagination() *query.PageRequest
func (*QueryAccountPrizesRequest) GetWinnerAddress ¶
func (m *QueryAccountPrizesRequest) GetWinnerAddress() string
func (*QueryAccountPrizesRequest) Marshal ¶
func (m *QueryAccountPrizesRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountPrizesRequest) MarshalTo ¶
func (m *QueryAccountPrizesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountPrizesRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountPrizesRequest) ProtoMessage ¶
func (*QueryAccountPrizesRequest) ProtoMessage()
func (*QueryAccountPrizesRequest) Reset ¶
func (m *QueryAccountPrizesRequest) Reset()
func (*QueryAccountPrizesRequest) Size ¶
func (m *QueryAccountPrizesRequest) Size() (n int)
func (*QueryAccountPrizesRequest) String ¶
func (m *QueryAccountPrizesRequest) String() string
func (*QueryAccountPrizesRequest) Unmarshal ¶
func (m *QueryAccountPrizesRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountPrizesRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountPrizesRequest) XXX_DiscardUnknown()
func (*QueryAccountPrizesRequest) XXX_Marshal ¶
func (m *QueryAccountPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountPrizesRequest) XXX_Merge ¶
func (m *QueryAccountPrizesRequest) XXX_Merge(src proto.Message)
func (*QueryAccountPrizesRequest) XXX_Size ¶
func (m *QueryAccountPrizesRequest) XXX_Size() int
func (*QueryAccountPrizesRequest) XXX_Unmarshal ¶
func (m *QueryAccountPrizesRequest) XXX_Unmarshal(b []byte) error
type QueryAccountWithdrawalsRequest ¶
type QueryAccountWithdrawalsRequest struct { DepositorAddress string `protobuf:"bytes,1,opt,name=depositor_address,json=depositorAddress,proto3" json:"depositor_address,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAccountWithdrawalsRequest) Descriptor ¶
func (*QueryAccountWithdrawalsRequest) Descriptor() ([]byte, []int)
func (*QueryAccountWithdrawalsRequest) GetDepositorAddress ¶
func (m *QueryAccountWithdrawalsRequest) GetDepositorAddress() string
func (*QueryAccountWithdrawalsRequest) GetPagination ¶
func (m *QueryAccountWithdrawalsRequest) GetPagination() *query.PageRequest
func (*QueryAccountWithdrawalsRequest) Marshal ¶
func (m *QueryAccountWithdrawalsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountWithdrawalsRequest) MarshalTo ¶
func (m *QueryAccountWithdrawalsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountWithdrawalsRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountWithdrawalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountWithdrawalsRequest) ProtoMessage ¶
func (*QueryAccountWithdrawalsRequest) ProtoMessage()
func (*QueryAccountWithdrawalsRequest) Reset ¶
func (m *QueryAccountWithdrawalsRequest) Reset()
func (*QueryAccountWithdrawalsRequest) Size ¶
func (m *QueryAccountWithdrawalsRequest) Size() (n int)
func (*QueryAccountWithdrawalsRequest) String ¶
func (m *QueryAccountWithdrawalsRequest) String() string
func (*QueryAccountWithdrawalsRequest) Unmarshal ¶
func (m *QueryAccountWithdrawalsRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountWithdrawalsRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountWithdrawalsRequest) XXX_DiscardUnknown()
func (*QueryAccountWithdrawalsRequest) XXX_Marshal ¶
func (m *QueryAccountWithdrawalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountWithdrawalsRequest) XXX_Merge ¶
func (m *QueryAccountWithdrawalsRequest) XXX_Merge(src proto.Message)
func (*QueryAccountWithdrawalsRequest) XXX_Size ¶
func (m *QueryAccountWithdrawalsRequest) XXX_Size() int
func (*QueryAccountWithdrawalsRequest) XXX_Unmarshal ¶
func (m *QueryAccountWithdrawalsRequest) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) Pools(ctx context.Context, in *QueryPoolsRequest, opts ...grpc.CallOption) (*QueryPoolsResponse, error) Pool(ctx context.Context, in *QueryPoolRequest, opts ...grpc.CallOption) (*QueryPoolResponse, error) Deposits(ctx context.Context, in *QueryDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error) PoolDeposits(ctx context.Context, in *QueryPoolDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error) PoolDeposit(ctx context.Context, in *QueryPoolDepositRequest, opts ...grpc.CallOption) (*QueryDepositResponse, error) AccountDeposits(ctx context.Context, in *QueryAccountDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error) AccountPoolDeposits(ctx context.Context, in *QueryAccountPoolDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error) Draws(ctx context.Context, in *QueryDrawsRequest, opts ...grpc.CallOption) (*QueryDrawsResponse, error) PoolDraws(ctx context.Context, in *QueryPoolDrawsRequest, opts ...grpc.CallOption) (*QueryDrawsResponse, error) PoolDraw(ctx context.Context, in *QueryPoolDrawRequest, opts ...grpc.CallOption) (*QueryDrawResponse, error) Prizes(ctx context.Context, in *QueryPrizesRequest, opts ...grpc.CallOption) (*QueryPrizesResponse, error) PoolPrizes(ctx context.Context, in *QueryPoolPrizesRequest, opts ...grpc.CallOption) (*QueryPrizesResponse, error) PoolDrawPrizes(ctx context.Context, in *QueryPoolDrawPrizesRequest, opts ...grpc.CallOption) (*QueryPrizesResponse, error) PoolDrawPrize(ctx context.Context, in *QueryPoolDrawPrizeRequest, opts ...grpc.CallOption) (*QueryPrizeResponse, error) AccountPrizes(ctx context.Context, in *QueryAccountPrizesRequest, opts ...grpc.CallOption) (*QueryPrizesResponse, error) AccountPoolPrizes(ctx context.Context, in *QueryAccountPoolPrizesRequest, opts ...grpc.CallOption) (*QueryPrizesResponse, error) AccountPoolDrawPrizes(ctx context.Context, in *QueryAccountPoolDrawPrizesRequest, opts ...grpc.CallOption) (*QueryPrizesResponse, error) Withdrawals(ctx context.Context, in *QueryWithdrawalsRequest, opts ...grpc.CallOption) (*QueryWithdrawalsResponse, error) PoolWithdrawals(ctx context.Context, in *QueryPoolWithdrawalsRequest, opts ...grpc.CallOption) (*QueryWithdrawalsResponse, error) PoolWithdrawal(ctx context.Context, in *QueryPoolWithdrawalRequest, opts ...grpc.CallOption) (*QueryWithdrawalResponse, error) AccountWithdrawals(ctx context.Context, in *QueryAccountWithdrawalsRequest, opts ...grpc.CallOption) (*QueryWithdrawalsResponse, error) AccountPoolWithdrawals(ctx context.Context, in *QueryAccountPoolWithdrawalsRequest, opts ...grpc.CallOption) (*QueryWithdrawalsResponse, 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 QueryDepositResponse ¶
type QueryDepositResponse struct {
Deposit Deposit `protobuf:"bytes,1,opt,name=deposit,proto3" json:"deposit"`
}
func (*QueryDepositResponse) Descriptor ¶
func (*QueryDepositResponse) Descriptor() ([]byte, []int)
func (*QueryDepositResponse) GetDeposit ¶
func (m *QueryDepositResponse) GetDeposit() Deposit
func (*QueryDepositResponse) Marshal ¶
func (m *QueryDepositResponse) Marshal() (dAtA []byte, err error)
func (*QueryDepositResponse) MarshalTo ¶
func (m *QueryDepositResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositResponse) MarshalToSizedBuffer ¶
func (m *QueryDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositResponse) ProtoMessage ¶
func (*QueryDepositResponse) ProtoMessage()
func (*QueryDepositResponse) Reset ¶
func (m *QueryDepositResponse) Reset()
func (*QueryDepositResponse) Size ¶
func (m *QueryDepositResponse) Size() (n int)
func (*QueryDepositResponse) String ¶
func (m *QueryDepositResponse) String() string
func (*QueryDepositResponse) Unmarshal ¶
func (m *QueryDepositResponse) Unmarshal(dAtA []byte) error
func (*QueryDepositResponse) XXX_DiscardUnknown ¶
func (m *QueryDepositResponse) XXX_DiscardUnknown()
func (*QueryDepositResponse) XXX_Marshal ¶
func (m *QueryDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositResponse) XXX_Merge ¶
func (m *QueryDepositResponse) XXX_Merge(src proto.Message)
func (*QueryDepositResponse) XXX_Size ¶
func (m *QueryDepositResponse) XXX_Size() int
func (*QueryDepositResponse) XXX_Unmarshal ¶
func (m *QueryDepositResponse) XXX_Unmarshal(b []byte) error
type QueryDepositsRequest ¶
type QueryDepositsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryDepositsRequest) Descriptor ¶
func (*QueryDepositsRequest) Descriptor() ([]byte, []int)
func (*QueryDepositsRequest) GetPagination ¶
func (m *QueryDepositsRequest) GetPagination() *query.PageRequest
func (*QueryDepositsRequest) Marshal ¶
func (m *QueryDepositsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDepositsRequest) MarshalTo ¶
func (m *QueryDepositsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositsRequest) MarshalToSizedBuffer ¶
func (m *QueryDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositsRequest) ProtoMessage ¶
func (*QueryDepositsRequest) ProtoMessage()
func (*QueryDepositsRequest) Reset ¶
func (m *QueryDepositsRequest) Reset()
func (*QueryDepositsRequest) Size ¶
func (m *QueryDepositsRequest) Size() (n int)
func (*QueryDepositsRequest) String ¶
func (m *QueryDepositsRequest) String() string
func (*QueryDepositsRequest) Unmarshal ¶
func (m *QueryDepositsRequest) Unmarshal(dAtA []byte) error
func (*QueryDepositsRequest) XXX_DiscardUnknown ¶
func (m *QueryDepositsRequest) XXX_DiscardUnknown()
func (*QueryDepositsRequest) XXX_Marshal ¶
func (m *QueryDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositsRequest) XXX_Merge ¶
func (m *QueryDepositsRequest) XXX_Merge(src proto.Message)
func (*QueryDepositsRequest) XXX_Size ¶
func (m *QueryDepositsRequest) XXX_Size() int
func (*QueryDepositsRequest) XXX_Unmarshal ¶
func (m *QueryDepositsRequest) XXX_Unmarshal(b []byte) error
type QueryDepositsResponse ¶
type QueryDepositsResponse struct { Deposits []Deposit `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryDepositsResponse) Descriptor ¶
func (*QueryDepositsResponse) Descriptor() ([]byte, []int)
func (*QueryDepositsResponse) GetDeposits ¶
func (m *QueryDepositsResponse) GetDeposits() []Deposit
func (*QueryDepositsResponse) GetPagination ¶
func (m *QueryDepositsResponse) GetPagination() *query.PageResponse
func (*QueryDepositsResponse) Marshal ¶
func (m *QueryDepositsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDepositsResponse) MarshalTo ¶
func (m *QueryDepositsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositsResponse) MarshalToSizedBuffer ¶
func (m *QueryDepositsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositsResponse) ProtoMessage ¶
func (*QueryDepositsResponse) ProtoMessage()
func (*QueryDepositsResponse) Reset ¶
func (m *QueryDepositsResponse) Reset()
func (*QueryDepositsResponse) Size ¶
func (m *QueryDepositsResponse) Size() (n int)
func (*QueryDepositsResponse) String ¶
func (m *QueryDepositsResponse) String() string
func (*QueryDepositsResponse) Unmarshal ¶
func (m *QueryDepositsResponse) Unmarshal(dAtA []byte) error
func (*QueryDepositsResponse) XXX_DiscardUnknown ¶
func (m *QueryDepositsResponse) XXX_DiscardUnknown()
func (*QueryDepositsResponse) XXX_Marshal ¶
func (m *QueryDepositsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositsResponse) XXX_Merge ¶
func (m *QueryDepositsResponse) XXX_Merge(src proto.Message)
func (*QueryDepositsResponse) XXX_Size ¶
func (m *QueryDepositsResponse) XXX_Size() int
func (*QueryDepositsResponse) XXX_Unmarshal ¶
func (m *QueryDepositsResponse) XXX_Unmarshal(b []byte) error
type QueryDrawResponse ¶
type QueryDrawResponse struct {
Draw *Draw `protobuf:"bytes,1,opt,name=draw,proto3" json:"draw,omitempty"`
}
func (*QueryDrawResponse) Descriptor ¶
func (*QueryDrawResponse) Descriptor() ([]byte, []int)
func (*QueryDrawResponse) GetDraw ¶
func (m *QueryDrawResponse) GetDraw() *Draw
func (*QueryDrawResponse) Marshal ¶
func (m *QueryDrawResponse) Marshal() (dAtA []byte, err error)
func (*QueryDrawResponse) MarshalTo ¶
func (m *QueryDrawResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDrawResponse) MarshalToSizedBuffer ¶
func (m *QueryDrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDrawResponse) ProtoMessage ¶
func (*QueryDrawResponse) ProtoMessage()
func (*QueryDrawResponse) Reset ¶
func (m *QueryDrawResponse) Reset()
func (*QueryDrawResponse) Size ¶
func (m *QueryDrawResponse) Size() (n int)
func (*QueryDrawResponse) String ¶
func (m *QueryDrawResponse) String() string
func (*QueryDrawResponse) Unmarshal ¶
func (m *QueryDrawResponse) Unmarshal(dAtA []byte) error
func (*QueryDrawResponse) XXX_DiscardUnknown ¶
func (m *QueryDrawResponse) XXX_DiscardUnknown()
func (*QueryDrawResponse) XXX_Marshal ¶
func (m *QueryDrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDrawResponse) XXX_Merge ¶
func (m *QueryDrawResponse) XXX_Merge(src proto.Message)
func (*QueryDrawResponse) XXX_Size ¶
func (m *QueryDrawResponse) XXX_Size() int
func (*QueryDrawResponse) XXX_Unmarshal ¶
func (m *QueryDrawResponse) XXX_Unmarshal(b []byte) error
type QueryDrawsRequest ¶
type QueryDrawsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryDrawsRequest) Descriptor ¶
func (*QueryDrawsRequest) Descriptor() ([]byte, []int)
func (*QueryDrawsRequest) GetPagination ¶
func (m *QueryDrawsRequest) GetPagination() *query.PageRequest
func (*QueryDrawsRequest) Marshal ¶
func (m *QueryDrawsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDrawsRequest) MarshalTo ¶
func (m *QueryDrawsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDrawsRequest) MarshalToSizedBuffer ¶
func (m *QueryDrawsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDrawsRequest) ProtoMessage ¶
func (*QueryDrawsRequest) ProtoMessage()
func (*QueryDrawsRequest) Reset ¶
func (m *QueryDrawsRequest) Reset()
func (*QueryDrawsRequest) Size ¶
func (m *QueryDrawsRequest) Size() (n int)
func (*QueryDrawsRequest) String ¶
func (m *QueryDrawsRequest) String() string
func (*QueryDrawsRequest) Unmarshal ¶
func (m *QueryDrawsRequest) Unmarshal(dAtA []byte) error
func (*QueryDrawsRequest) XXX_DiscardUnknown ¶
func (m *QueryDrawsRequest) XXX_DiscardUnknown()
func (*QueryDrawsRequest) XXX_Marshal ¶
func (m *QueryDrawsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDrawsRequest) XXX_Merge ¶
func (m *QueryDrawsRequest) XXX_Merge(src proto.Message)
func (*QueryDrawsRequest) XXX_Size ¶
func (m *QueryDrawsRequest) XXX_Size() int
func (*QueryDrawsRequest) XXX_Unmarshal ¶
func (m *QueryDrawsRequest) XXX_Unmarshal(b []byte) error
type QueryDrawsResponse ¶
type QueryDrawsResponse struct { Draws []Draw `protobuf:"bytes,1,rep,name=draws,proto3" json:"draws"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryDrawsResponse) Descriptor ¶
func (*QueryDrawsResponse) Descriptor() ([]byte, []int)
func (*QueryDrawsResponse) GetDraws ¶
func (m *QueryDrawsResponse) GetDraws() []Draw
func (*QueryDrawsResponse) GetPagination ¶
func (m *QueryDrawsResponse) GetPagination() *query.PageResponse
func (*QueryDrawsResponse) Marshal ¶
func (m *QueryDrawsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDrawsResponse) MarshalTo ¶
func (m *QueryDrawsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDrawsResponse) MarshalToSizedBuffer ¶
func (m *QueryDrawsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDrawsResponse) ProtoMessage ¶
func (*QueryDrawsResponse) ProtoMessage()
func (*QueryDrawsResponse) Reset ¶
func (m *QueryDrawsResponse) Reset()
func (*QueryDrawsResponse) Size ¶
func (m *QueryDrawsResponse) Size() (n int)
func (*QueryDrawsResponse) String ¶
func (m *QueryDrawsResponse) String() string
func (*QueryDrawsResponse) Unmarshal ¶
func (m *QueryDrawsResponse) Unmarshal(dAtA []byte) error
func (*QueryDrawsResponse) XXX_DiscardUnknown ¶
func (m *QueryDrawsResponse) XXX_DiscardUnknown()
func (*QueryDrawsResponse) XXX_Marshal ¶
func (m *QueryDrawsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDrawsResponse) XXX_Merge ¶
func (m *QueryDrawsResponse) XXX_Merge(src proto.Message)
func (*QueryDrawsResponse) XXX_Size ¶
func (m *QueryDrawsResponse) XXX_Size() int
func (*QueryDrawsResponse) XXX_Unmarshal ¶
func (m *QueryDrawsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryPoolDepositRequest ¶
type QueryPoolDepositRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DepositId uint64 `protobuf:"varint,2,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"` }
func (*QueryPoolDepositRequest) Descriptor ¶
func (*QueryPoolDepositRequest) Descriptor() ([]byte, []int)
func (*QueryPoolDepositRequest) GetDepositId ¶
func (m *QueryPoolDepositRequest) GetDepositId() uint64
func (*QueryPoolDepositRequest) GetPoolId ¶
func (m *QueryPoolDepositRequest) GetPoolId() uint64
func (*QueryPoolDepositRequest) Marshal ¶
func (m *QueryPoolDepositRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolDepositRequest) MarshalTo ¶
func (m *QueryPoolDepositRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolDepositRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolDepositRequest) ProtoMessage ¶
func (*QueryPoolDepositRequest) ProtoMessage()
func (*QueryPoolDepositRequest) Reset ¶
func (m *QueryPoolDepositRequest) Reset()
func (*QueryPoolDepositRequest) Size ¶
func (m *QueryPoolDepositRequest) Size() (n int)
func (*QueryPoolDepositRequest) String ¶
func (m *QueryPoolDepositRequest) String() string
func (*QueryPoolDepositRequest) Unmarshal ¶
func (m *QueryPoolDepositRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolDepositRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolDepositRequest) XXX_DiscardUnknown()
func (*QueryPoolDepositRequest) XXX_Marshal ¶
func (m *QueryPoolDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolDepositRequest) XXX_Merge ¶
func (m *QueryPoolDepositRequest) XXX_Merge(src proto.Message)
func (*QueryPoolDepositRequest) XXX_Size ¶
func (m *QueryPoolDepositRequest) XXX_Size() int
func (*QueryPoolDepositRequest) XXX_Unmarshal ¶
func (m *QueryPoolDepositRequest) XXX_Unmarshal(b []byte) error
type QueryPoolDepositsRequest ¶
type QueryPoolDepositsRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPoolDepositsRequest) Descriptor ¶
func (*QueryPoolDepositsRequest) Descriptor() ([]byte, []int)
func (*QueryPoolDepositsRequest) GetPagination ¶
func (m *QueryPoolDepositsRequest) GetPagination() *query.PageRequest
func (*QueryPoolDepositsRequest) GetPoolId ¶
func (m *QueryPoolDepositsRequest) GetPoolId() uint64
func (*QueryPoolDepositsRequest) Marshal ¶
func (m *QueryPoolDepositsRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolDepositsRequest) MarshalTo ¶
func (m *QueryPoolDepositsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolDepositsRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolDepositsRequest) ProtoMessage ¶
func (*QueryPoolDepositsRequest) ProtoMessage()
func (*QueryPoolDepositsRequest) Reset ¶
func (m *QueryPoolDepositsRequest) Reset()
func (*QueryPoolDepositsRequest) Size ¶
func (m *QueryPoolDepositsRequest) Size() (n int)
func (*QueryPoolDepositsRequest) String ¶
func (m *QueryPoolDepositsRequest) String() string
func (*QueryPoolDepositsRequest) Unmarshal ¶
func (m *QueryPoolDepositsRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolDepositsRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolDepositsRequest) XXX_DiscardUnknown()
func (*QueryPoolDepositsRequest) XXX_Marshal ¶
func (m *QueryPoolDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolDepositsRequest) XXX_Merge ¶
func (m *QueryPoolDepositsRequest) XXX_Merge(src proto.Message)
func (*QueryPoolDepositsRequest) XXX_Size ¶
func (m *QueryPoolDepositsRequest) XXX_Size() int
func (*QueryPoolDepositsRequest) XXX_Unmarshal ¶
func (m *QueryPoolDepositsRequest) XXX_Unmarshal(b []byte) error
type QueryPoolDrawPrizeRequest ¶
type QueryPoolDrawPrizeRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DrawId uint64 `protobuf:"varint,2,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` PrizeId uint64 `protobuf:"varint,3,opt,name=prize_id,json=prizeId,proto3" json:"prize_id,omitempty"` }
func (*QueryPoolDrawPrizeRequest) Descriptor ¶
func (*QueryPoolDrawPrizeRequest) Descriptor() ([]byte, []int)
func (*QueryPoolDrawPrizeRequest) GetDrawId ¶
func (m *QueryPoolDrawPrizeRequest) GetDrawId() uint64
func (*QueryPoolDrawPrizeRequest) GetPoolId ¶
func (m *QueryPoolDrawPrizeRequest) GetPoolId() uint64
func (*QueryPoolDrawPrizeRequest) GetPrizeId ¶
func (m *QueryPoolDrawPrizeRequest) GetPrizeId() uint64
func (*QueryPoolDrawPrizeRequest) Marshal ¶
func (m *QueryPoolDrawPrizeRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolDrawPrizeRequest) MarshalTo ¶
func (m *QueryPoolDrawPrizeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolDrawPrizeRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolDrawPrizeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolDrawPrizeRequest) ProtoMessage ¶
func (*QueryPoolDrawPrizeRequest) ProtoMessage()
func (*QueryPoolDrawPrizeRequest) Reset ¶
func (m *QueryPoolDrawPrizeRequest) Reset()
func (*QueryPoolDrawPrizeRequest) Size ¶
func (m *QueryPoolDrawPrizeRequest) Size() (n int)
func (*QueryPoolDrawPrizeRequest) String ¶
func (m *QueryPoolDrawPrizeRequest) String() string
func (*QueryPoolDrawPrizeRequest) Unmarshal ¶
func (m *QueryPoolDrawPrizeRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolDrawPrizeRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolDrawPrizeRequest) XXX_DiscardUnknown()
func (*QueryPoolDrawPrizeRequest) XXX_Marshal ¶
func (m *QueryPoolDrawPrizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolDrawPrizeRequest) XXX_Merge ¶
func (m *QueryPoolDrawPrizeRequest) XXX_Merge(src proto.Message)
func (*QueryPoolDrawPrizeRequest) XXX_Size ¶
func (m *QueryPoolDrawPrizeRequest) XXX_Size() int
func (*QueryPoolDrawPrizeRequest) XXX_Unmarshal ¶
func (m *QueryPoolDrawPrizeRequest) XXX_Unmarshal(b []byte) error
type QueryPoolDrawPrizesRequest ¶
type QueryPoolDrawPrizesRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DrawId uint64 `protobuf:"varint,2,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPoolDrawPrizesRequest) Descriptor ¶
func (*QueryPoolDrawPrizesRequest) Descriptor() ([]byte, []int)
func (*QueryPoolDrawPrizesRequest) GetDrawId ¶
func (m *QueryPoolDrawPrizesRequest) GetDrawId() uint64
func (*QueryPoolDrawPrizesRequest) GetPagination ¶
func (m *QueryPoolDrawPrizesRequest) GetPagination() *query.PageRequest
func (*QueryPoolDrawPrizesRequest) GetPoolId ¶
func (m *QueryPoolDrawPrizesRequest) GetPoolId() uint64
func (*QueryPoolDrawPrizesRequest) Marshal ¶
func (m *QueryPoolDrawPrizesRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolDrawPrizesRequest) MarshalTo ¶
func (m *QueryPoolDrawPrizesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolDrawPrizesRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolDrawPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolDrawPrizesRequest) ProtoMessage ¶
func (*QueryPoolDrawPrizesRequest) ProtoMessage()
func (*QueryPoolDrawPrizesRequest) Reset ¶
func (m *QueryPoolDrawPrizesRequest) Reset()
func (*QueryPoolDrawPrizesRequest) Size ¶
func (m *QueryPoolDrawPrizesRequest) Size() (n int)
func (*QueryPoolDrawPrizesRequest) String ¶
func (m *QueryPoolDrawPrizesRequest) String() string
func (*QueryPoolDrawPrizesRequest) Unmarshal ¶
func (m *QueryPoolDrawPrizesRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolDrawPrizesRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolDrawPrizesRequest) XXX_DiscardUnknown()
func (*QueryPoolDrawPrizesRequest) XXX_Marshal ¶
func (m *QueryPoolDrawPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolDrawPrizesRequest) XXX_Merge ¶
func (m *QueryPoolDrawPrizesRequest) XXX_Merge(src proto.Message)
func (*QueryPoolDrawPrizesRequest) XXX_Size ¶
func (m *QueryPoolDrawPrizesRequest) XXX_Size() int
func (*QueryPoolDrawPrizesRequest) XXX_Unmarshal ¶
func (m *QueryPoolDrawPrizesRequest) XXX_Unmarshal(b []byte) error
type QueryPoolDrawRequest ¶
type QueryPoolDrawRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DrawId uint64 `protobuf:"varint,2,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` }
func (*QueryPoolDrawRequest) Descriptor ¶
func (*QueryPoolDrawRequest) Descriptor() ([]byte, []int)
func (*QueryPoolDrawRequest) GetDrawId ¶
func (m *QueryPoolDrawRequest) GetDrawId() uint64
func (*QueryPoolDrawRequest) GetPoolId ¶
func (m *QueryPoolDrawRequest) GetPoolId() uint64
func (*QueryPoolDrawRequest) Marshal ¶
func (m *QueryPoolDrawRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolDrawRequest) MarshalTo ¶
func (m *QueryPoolDrawRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolDrawRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolDrawRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolDrawRequest) ProtoMessage ¶
func (*QueryPoolDrawRequest) ProtoMessage()
func (*QueryPoolDrawRequest) Reset ¶
func (m *QueryPoolDrawRequest) Reset()
func (*QueryPoolDrawRequest) Size ¶
func (m *QueryPoolDrawRequest) Size() (n int)
func (*QueryPoolDrawRequest) String ¶
func (m *QueryPoolDrawRequest) String() string
func (*QueryPoolDrawRequest) Unmarshal ¶
func (m *QueryPoolDrawRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolDrawRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolDrawRequest) XXX_DiscardUnknown()
func (*QueryPoolDrawRequest) XXX_Marshal ¶
func (m *QueryPoolDrawRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolDrawRequest) XXX_Merge ¶
func (m *QueryPoolDrawRequest) XXX_Merge(src proto.Message)
func (*QueryPoolDrawRequest) XXX_Size ¶
func (m *QueryPoolDrawRequest) XXX_Size() int
func (*QueryPoolDrawRequest) XXX_Unmarshal ¶
func (m *QueryPoolDrawRequest) XXX_Unmarshal(b []byte) error
type QueryPoolDrawsRequest ¶
type QueryPoolDrawsRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPoolDrawsRequest) Descriptor ¶
func (*QueryPoolDrawsRequest) Descriptor() ([]byte, []int)
func (*QueryPoolDrawsRequest) GetPagination ¶
func (m *QueryPoolDrawsRequest) GetPagination() *query.PageRequest
func (*QueryPoolDrawsRequest) GetPoolId ¶
func (m *QueryPoolDrawsRequest) GetPoolId() uint64
func (*QueryPoolDrawsRequest) Marshal ¶
func (m *QueryPoolDrawsRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolDrawsRequest) MarshalTo ¶
func (m *QueryPoolDrawsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolDrawsRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolDrawsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolDrawsRequest) ProtoMessage ¶
func (*QueryPoolDrawsRequest) ProtoMessage()
func (*QueryPoolDrawsRequest) Reset ¶
func (m *QueryPoolDrawsRequest) Reset()
func (*QueryPoolDrawsRequest) Size ¶
func (m *QueryPoolDrawsRequest) Size() (n int)
func (*QueryPoolDrawsRequest) String ¶
func (m *QueryPoolDrawsRequest) String() string
func (*QueryPoolDrawsRequest) Unmarshal ¶
func (m *QueryPoolDrawsRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolDrawsRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolDrawsRequest) XXX_DiscardUnknown()
func (*QueryPoolDrawsRequest) XXX_Marshal ¶
func (m *QueryPoolDrawsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolDrawsRequest) XXX_Merge ¶
func (m *QueryPoolDrawsRequest) XXX_Merge(src proto.Message)
func (*QueryPoolDrawsRequest) XXX_Size ¶
func (m *QueryPoolDrawsRequest) XXX_Size() int
func (*QueryPoolDrawsRequest) XXX_Unmarshal ¶
func (m *QueryPoolDrawsRequest) XXX_Unmarshal(b []byte) error
type QueryPoolPrizesRequest ¶
type QueryPoolPrizesRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPoolPrizesRequest) Descriptor ¶
func (*QueryPoolPrizesRequest) Descriptor() ([]byte, []int)
func (*QueryPoolPrizesRequest) GetPagination ¶
func (m *QueryPoolPrizesRequest) GetPagination() *query.PageRequest
func (*QueryPoolPrizesRequest) GetPoolId ¶
func (m *QueryPoolPrizesRequest) GetPoolId() uint64
func (*QueryPoolPrizesRequest) Marshal ¶
func (m *QueryPoolPrizesRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolPrizesRequest) MarshalTo ¶
func (m *QueryPoolPrizesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolPrizesRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolPrizesRequest) ProtoMessage ¶
func (*QueryPoolPrizesRequest) ProtoMessage()
func (*QueryPoolPrizesRequest) Reset ¶
func (m *QueryPoolPrizesRequest) Reset()
func (*QueryPoolPrizesRequest) Size ¶
func (m *QueryPoolPrizesRequest) Size() (n int)
func (*QueryPoolPrizesRequest) String ¶
func (m *QueryPoolPrizesRequest) String() string
func (*QueryPoolPrizesRequest) Unmarshal ¶
func (m *QueryPoolPrizesRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolPrizesRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolPrizesRequest) XXX_DiscardUnknown()
func (*QueryPoolPrizesRequest) XXX_Marshal ¶
func (m *QueryPoolPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolPrizesRequest) XXX_Merge ¶
func (m *QueryPoolPrizesRequest) XXX_Merge(src proto.Message)
func (*QueryPoolPrizesRequest) XXX_Size ¶
func (m *QueryPoolPrizesRequest) XXX_Size() int
func (*QueryPoolPrizesRequest) XXX_Unmarshal ¶
func (m *QueryPoolPrizesRequest) 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 QueryPoolWithdrawalRequest ¶
type QueryPoolWithdrawalRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` WithdrawalId uint64 `protobuf:"varint,2,opt,name=withdrawal_id,json=withdrawalId,proto3" json:"withdrawal_id,omitempty"` }
func (*QueryPoolWithdrawalRequest) Descriptor ¶
func (*QueryPoolWithdrawalRequest) Descriptor() ([]byte, []int)
func (*QueryPoolWithdrawalRequest) GetPoolId ¶
func (m *QueryPoolWithdrawalRequest) GetPoolId() uint64
func (*QueryPoolWithdrawalRequest) GetWithdrawalId ¶
func (m *QueryPoolWithdrawalRequest) GetWithdrawalId() uint64
func (*QueryPoolWithdrawalRequest) Marshal ¶
func (m *QueryPoolWithdrawalRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolWithdrawalRequest) MarshalTo ¶
func (m *QueryPoolWithdrawalRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolWithdrawalRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolWithdrawalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolWithdrawalRequest) ProtoMessage ¶
func (*QueryPoolWithdrawalRequest) ProtoMessage()
func (*QueryPoolWithdrawalRequest) Reset ¶
func (m *QueryPoolWithdrawalRequest) Reset()
func (*QueryPoolWithdrawalRequest) Size ¶
func (m *QueryPoolWithdrawalRequest) Size() (n int)
func (*QueryPoolWithdrawalRequest) String ¶
func (m *QueryPoolWithdrawalRequest) String() string
func (*QueryPoolWithdrawalRequest) Unmarshal ¶
func (m *QueryPoolWithdrawalRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolWithdrawalRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolWithdrawalRequest) XXX_DiscardUnknown()
func (*QueryPoolWithdrawalRequest) XXX_Marshal ¶
func (m *QueryPoolWithdrawalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolWithdrawalRequest) XXX_Merge ¶
func (m *QueryPoolWithdrawalRequest) XXX_Merge(src proto.Message)
func (*QueryPoolWithdrawalRequest) XXX_Size ¶
func (m *QueryPoolWithdrawalRequest) XXX_Size() int
func (*QueryPoolWithdrawalRequest) XXX_Unmarshal ¶
func (m *QueryPoolWithdrawalRequest) XXX_Unmarshal(b []byte) error
type QueryPoolWithdrawalsRequest ¶
type QueryPoolWithdrawalsRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPoolWithdrawalsRequest) Descriptor ¶
func (*QueryPoolWithdrawalsRequest) Descriptor() ([]byte, []int)
func (*QueryPoolWithdrawalsRequest) GetPagination ¶
func (m *QueryPoolWithdrawalsRequest) GetPagination() *query.PageRequest
func (*QueryPoolWithdrawalsRequest) GetPoolId ¶
func (m *QueryPoolWithdrawalsRequest) GetPoolId() uint64
func (*QueryPoolWithdrawalsRequest) Marshal ¶
func (m *QueryPoolWithdrawalsRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolWithdrawalsRequest) MarshalTo ¶
func (m *QueryPoolWithdrawalsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolWithdrawalsRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolWithdrawalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolWithdrawalsRequest) ProtoMessage ¶
func (*QueryPoolWithdrawalsRequest) ProtoMessage()
func (*QueryPoolWithdrawalsRequest) Reset ¶
func (m *QueryPoolWithdrawalsRequest) Reset()
func (*QueryPoolWithdrawalsRequest) Size ¶
func (m *QueryPoolWithdrawalsRequest) Size() (n int)
func (*QueryPoolWithdrawalsRequest) String ¶
func (m *QueryPoolWithdrawalsRequest) String() string
func (*QueryPoolWithdrawalsRequest) Unmarshal ¶
func (m *QueryPoolWithdrawalsRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolWithdrawalsRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolWithdrawalsRequest) XXX_DiscardUnknown()
func (*QueryPoolWithdrawalsRequest) XXX_Marshal ¶
func (m *QueryPoolWithdrawalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolWithdrawalsRequest) XXX_Merge ¶
func (m *QueryPoolWithdrawalsRequest) XXX_Merge(src proto.Message)
func (*QueryPoolWithdrawalsRequest) XXX_Size ¶
func (m *QueryPoolWithdrawalsRequest) XXX_Size() int
func (*QueryPoolWithdrawalsRequest) XXX_Unmarshal ¶
func (m *QueryPoolWithdrawalsRequest) XXX_Unmarshal(b []byte) error
type QueryPoolsRequest ¶
type QueryPoolsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryPoolsRequest) Descriptor ¶
func (*QueryPoolsRequest) Descriptor() ([]byte, []int)
func (*QueryPoolsRequest) GetPagination ¶
func (m *QueryPoolsRequest) GetPagination() *query.PageRequest
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"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPoolsResponse) Descriptor ¶
func (*QueryPoolsResponse) Descriptor() ([]byte, []int)
func (*QueryPoolsResponse) GetPagination ¶
func (m *QueryPoolsResponse) GetPagination() *query.PageResponse
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 QueryPrizeResponse ¶
type QueryPrizeResponse struct {
Prize Prize `protobuf:"bytes,1,opt,name=prize,proto3" json:"prize"`
}
func (*QueryPrizeResponse) Descriptor ¶
func (*QueryPrizeResponse) Descriptor() ([]byte, []int)
func (*QueryPrizeResponse) GetPrize ¶
func (m *QueryPrizeResponse) GetPrize() Prize
func (*QueryPrizeResponse) Marshal ¶
func (m *QueryPrizeResponse) Marshal() (dAtA []byte, err error)
func (*QueryPrizeResponse) MarshalTo ¶
func (m *QueryPrizeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPrizeResponse) MarshalToSizedBuffer ¶
func (m *QueryPrizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPrizeResponse) ProtoMessage ¶
func (*QueryPrizeResponse) ProtoMessage()
func (*QueryPrizeResponse) Reset ¶
func (m *QueryPrizeResponse) Reset()
func (*QueryPrizeResponse) Size ¶
func (m *QueryPrizeResponse) Size() (n int)
func (*QueryPrizeResponse) String ¶
func (m *QueryPrizeResponse) String() string
func (*QueryPrizeResponse) Unmarshal ¶
func (m *QueryPrizeResponse) Unmarshal(dAtA []byte) error
func (*QueryPrizeResponse) XXX_DiscardUnknown ¶
func (m *QueryPrizeResponse) XXX_DiscardUnknown()
func (*QueryPrizeResponse) XXX_Marshal ¶
func (m *QueryPrizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPrizeResponse) XXX_Merge ¶
func (m *QueryPrizeResponse) XXX_Merge(src proto.Message)
func (*QueryPrizeResponse) XXX_Size ¶
func (m *QueryPrizeResponse) XXX_Size() int
func (*QueryPrizeResponse) XXX_Unmarshal ¶
func (m *QueryPrizeResponse) XXX_Unmarshal(b []byte) error
type QueryPrizesRequest ¶
type QueryPrizesRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryPrizesRequest) Descriptor ¶
func (*QueryPrizesRequest) Descriptor() ([]byte, []int)
func (*QueryPrizesRequest) GetPagination ¶
func (m *QueryPrizesRequest) GetPagination() *query.PageRequest
func (*QueryPrizesRequest) Marshal ¶
func (m *QueryPrizesRequest) Marshal() (dAtA []byte, err error)
func (*QueryPrizesRequest) MarshalTo ¶
func (m *QueryPrizesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPrizesRequest) MarshalToSizedBuffer ¶
func (m *QueryPrizesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPrizesRequest) ProtoMessage ¶
func (*QueryPrizesRequest) ProtoMessage()
func (*QueryPrizesRequest) Reset ¶
func (m *QueryPrizesRequest) Reset()
func (*QueryPrizesRequest) Size ¶
func (m *QueryPrizesRequest) Size() (n int)
func (*QueryPrizesRequest) String ¶
func (m *QueryPrizesRequest) String() string
func (*QueryPrizesRequest) Unmarshal ¶
func (m *QueryPrizesRequest) Unmarshal(dAtA []byte) error
func (*QueryPrizesRequest) XXX_DiscardUnknown ¶
func (m *QueryPrizesRequest) XXX_DiscardUnknown()
func (*QueryPrizesRequest) XXX_Marshal ¶
func (m *QueryPrizesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPrizesRequest) XXX_Merge ¶
func (m *QueryPrizesRequest) XXX_Merge(src proto.Message)
func (*QueryPrizesRequest) XXX_Size ¶
func (m *QueryPrizesRequest) XXX_Size() int
func (*QueryPrizesRequest) XXX_Unmarshal ¶
func (m *QueryPrizesRequest) XXX_Unmarshal(b []byte) error
type QueryPrizesResponse ¶
type QueryPrizesResponse struct { Prizes []Prize `protobuf:"bytes,1,rep,name=prizes,proto3" json:"prizes"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPrizesResponse) Descriptor ¶
func (*QueryPrizesResponse) Descriptor() ([]byte, []int)
func (*QueryPrizesResponse) GetPagination ¶
func (m *QueryPrizesResponse) GetPagination() *query.PageResponse
func (*QueryPrizesResponse) GetPrizes ¶
func (m *QueryPrizesResponse) GetPrizes() []Prize
func (*QueryPrizesResponse) Marshal ¶
func (m *QueryPrizesResponse) Marshal() (dAtA []byte, err error)
func (*QueryPrizesResponse) MarshalTo ¶
func (m *QueryPrizesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPrizesResponse) MarshalToSizedBuffer ¶
func (m *QueryPrizesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPrizesResponse) ProtoMessage ¶
func (*QueryPrizesResponse) ProtoMessage()
func (*QueryPrizesResponse) Reset ¶
func (m *QueryPrizesResponse) Reset()
func (*QueryPrizesResponse) Size ¶
func (m *QueryPrizesResponse) Size() (n int)
func (*QueryPrizesResponse) String ¶
func (m *QueryPrizesResponse) String() string
func (*QueryPrizesResponse) Unmarshal ¶
func (m *QueryPrizesResponse) Unmarshal(dAtA []byte) error
func (*QueryPrizesResponse) XXX_DiscardUnknown ¶
func (m *QueryPrizesResponse) XXX_DiscardUnknown()
func (*QueryPrizesResponse) XXX_Marshal ¶
func (m *QueryPrizesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPrizesResponse) XXX_Merge ¶
func (m *QueryPrizesResponse) XXX_Merge(src proto.Message)
func (*QueryPrizesResponse) XXX_Size ¶
func (m *QueryPrizesResponse) XXX_Size() int
func (*QueryPrizesResponse) XXX_Unmarshal ¶
func (m *QueryPrizesResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) Pools(context.Context, *QueryPoolsRequest) (*QueryPoolsResponse, error) Pool(context.Context, *QueryPoolRequest) (*QueryPoolResponse, error) Deposits(context.Context, *QueryDepositsRequest) (*QueryDepositsResponse, error) PoolDeposits(context.Context, *QueryPoolDepositsRequest) (*QueryDepositsResponse, error) PoolDeposit(context.Context, *QueryPoolDepositRequest) (*QueryDepositResponse, error) AccountDeposits(context.Context, *QueryAccountDepositsRequest) (*QueryDepositsResponse, error) AccountPoolDeposits(context.Context, *QueryAccountPoolDepositsRequest) (*QueryDepositsResponse, error) Draws(context.Context, *QueryDrawsRequest) (*QueryDrawsResponse, error) PoolDraws(context.Context, *QueryPoolDrawsRequest) (*QueryDrawsResponse, error) PoolDraw(context.Context, *QueryPoolDrawRequest) (*QueryDrawResponse, error) Prizes(context.Context, *QueryPrizesRequest) (*QueryPrizesResponse, error) PoolPrizes(context.Context, *QueryPoolPrizesRequest) (*QueryPrizesResponse, error) PoolDrawPrizes(context.Context, *QueryPoolDrawPrizesRequest) (*QueryPrizesResponse, error) PoolDrawPrize(context.Context, *QueryPoolDrawPrizeRequest) (*QueryPrizeResponse, error) AccountPrizes(context.Context, *QueryAccountPrizesRequest) (*QueryPrizesResponse, error) AccountPoolPrizes(context.Context, *QueryAccountPoolPrizesRequest) (*QueryPrizesResponse, error) AccountPoolDrawPrizes(context.Context, *QueryAccountPoolDrawPrizesRequest) (*QueryPrizesResponse, error) Withdrawals(context.Context, *QueryWithdrawalsRequest) (*QueryWithdrawalsResponse, error) PoolWithdrawals(context.Context, *QueryPoolWithdrawalsRequest) (*QueryWithdrawalsResponse, error) PoolWithdrawal(context.Context, *QueryPoolWithdrawalRequest) (*QueryWithdrawalResponse, error) AccountWithdrawals(context.Context, *QueryAccountWithdrawalsRequest) (*QueryWithdrawalsResponse, error) AccountPoolWithdrawals(context.Context, *QueryAccountPoolWithdrawalsRequest) (*QueryWithdrawalsResponse, error) }
QueryServer is the server API for Query service.
type QueryWithdrawalResponse ¶
type QueryWithdrawalResponse struct {
Withdrawal Withdrawal `protobuf:"bytes,1,opt,name=withdrawal,proto3" json:"withdrawal"`
}
func (*QueryWithdrawalResponse) Descriptor ¶
func (*QueryWithdrawalResponse) Descriptor() ([]byte, []int)
func (*QueryWithdrawalResponse) GetWithdrawal ¶
func (m *QueryWithdrawalResponse) GetWithdrawal() Withdrawal
func (*QueryWithdrawalResponse) Marshal ¶
func (m *QueryWithdrawalResponse) Marshal() (dAtA []byte, err error)
func (*QueryWithdrawalResponse) MarshalTo ¶
func (m *QueryWithdrawalResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryWithdrawalResponse) MarshalToSizedBuffer ¶
func (m *QueryWithdrawalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWithdrawalResponse) ProtoMessage ¶
func (*QueryWithdrawalResponse) ProtoMessage()
func (*QueryWithdrawalResponse) Reset ¶
func (m *QueryWithdrawalResponse) Reset()
func (*QueryWithdrawalResponse) Size ¶
func (m *QueryWithdrawalResponse) Size() (n int)
func (*QueryWithdrawalResponse) String ¶
func (m *QueryWithdrawalResponse) String() string
func (*QueryWithdrawalResponse) Unmarshal ¶
func (m *QueryWithdrawalResponse) Unmarshal(dAtA []byte) error
func (*QueryWithdrawalResponse) XXX_DiscardUnknown ¶
func (m *QueryWithdrawalResponse) XXX_DiscardUnknown()
func (*QueryWithdrawalResponse) XXX_Marshal ¶
func (m *QueryWithdrawalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWithdrawalResponse) XXX_Merge ¶
func (m *QueryWithdrawalResponse) XXX_Merge(src proto.Message)
func (*QueryWithdrawalResponse) XXX_Size ¶
func (m *QueryWithdrawalResponse) XXX_Size() int
func (*QueryWithdrawalResponse) XXX_Unmarshal ¶
func (m *QueryWithdrawalResponse) XXX_Unmarshal(b []byte) error
type QueryWithdrawalsRequest ¶
type QueryWithdrawalsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryWithdrawalsRequest) Descriptor ¶
func (*QueryWithdrawalsRequest) Descriptor() ([]byte, []int)
func (*QueryWithdrawalsRequest) GetPagination ¶
func (m *QueryWithdrawalsRequest) GetPagination() *query.PageRequest
func (*QueryWithdrawalsRequest) Marshal ¶
func (m *QueryWithdrawalsRequest) Marshal() (dAtA []byte, err error)
func (*QueryWithdrawalsRequest) MarshalTo ¶
func (m *QueryWithdrawalsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryWithdrawalsRequest) MarshalToSizedBuffer ¶
func (m *QueryWithdrawalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWithdrawalsRequest) ProtoMessage ¶
func (*QueryWithdrawalsRequest) ProtoMessage()
func (*QueryWithdrawalsRequest) Reset ¶
func (m *QueryWithdrawalsRequest) Reset()
func (*QueryWithdrawalsRequest) Size ¶
func (m *QueryWithdrawalsRequest) Size() (n int)
func (*QueryWithdrawalsRequest) String ¶
func (m *QueryWithdrawalsRequest) String() string
func (*QueryWithdrawalsRequest) Unmarshal ¶
func (m *QueryWithdrawalsRequest) Unmarshal(dAtA []byte) error
func (*QueryWithdrawalsRequest) XXX_DiscardUnknown ¶
func (m *QueryWithdrawalsRequest) XXX_DiscardUnknown()
func (*QueryWithdrawalsRequest) XXX_Marshal ¶
func (m *QueryWithdrawalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWithdrawalsRequest) XXX_Merge ¶
func (m *QueryWithdrawalsRequest) XXX_Merge(src proto.Message)
func (*QueryWithdrawalsRequest) XXX_Size ¶
func (m *QueryWithdrawalsRequest) XXX_Size() int
func (*QueryWithdrawalsRequest) XXX_Unmarshal ¶
func (m *QueryWithdrawalsRequest) XXX_Unmarshal(b []byte) error
type QueryWithdrawalsResponse ¶
type QueryWithdrawalsResponse struct { Withdrawals []Withdrawal `protobuf:"bytes,1,rep,name=withdrawals,proto3" json:"withdrawals"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryWithdrawalsResponse) Descriptor ¶
func (*QueryWithdrawalsResponse) Descriptor() ([]byte, []int)
func (*QueryWithdrawalsResponse) GetPagination ¶
func (m *QueryWithdrawalsResponse) GetPagination() *query.PageResponse
func (*QueryWithdrawalsResponse) GetWithdrawals ¶
func (m *QueryWithdrawalsResponse) GetWithdrawals() []Withdrawal
func (*QueryWithdrawalsResponse) Marshal ¶
func (m *QueryWithdrawalsResponse) Marshal() (dAtA []byte, err error)
func (*QueryWithdrawalsResponse) MarshalTo ¶
func (m *QueryWithdrawalsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryWithdrawalsResponse) MarshalToSizedBuffer ¶
func (m *QueryWithdrawalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWithdrawalsResponse) ProtoMessage ¶
func (*QueryWithdrawalsResponse) ProtoMessage()
func (*QueryWithdrawalsResponse) Reset ¶
func (m *QueryWithdrawalsResponse) Reset()
func (*QueryWithdrawalsResponse) Size ¶
func (m *QueryWithdrawalsResponse) Size() (n int)
func (*QueryWithdrawalsResponse) String ¶
func (m *QueryWithdrawalsResponse) String() string
func (*QueryWithdrawalsResponse) Unmarshal ¶
func (m *QueryWithdrawalsResponse) Unmarshal(dAtA []byte) error
func (*QueryWithdrawalsResponse) XXX_DiscardUnknown ¶
func (m *QueryWithdrawalsResponse) XXX_DiscardUnknown()
func (*QueryWithdrawalsResponse) XXX_Marshal ¶
func (m *QueryWithdrawalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWithdrawalsResponse) XXX_Merge ¶
func (m *QueryWithdrawalsResponse) XXX_Merge(src proto.Message)
func (*QueryWithdrawalsResponse) XXX_Size ¶
func (m *QueryWithdrawalsResponse) XXX_Size() int
func (*QueryWithdrawalsResponse) XXX_Unmarshal ¶
func (m *QueryWithdrawalsResponse) XXX_Unmarshal(b []byte) error
type Redelegate ¶ added in v1.5.0
type Redelegate struct { State RedelegateState `protobuf:"varint,1,opt,name=state,proto3,enum=lum.network.millions.RedelegateState" json:"state,omitempty"` ErrorState RedelegateState `` /* 134-byte string literal not displayed */ }
func (*Redelegate) Descriptor ¶ added in v1.5.0
func (*Redelegate) Descriptor() ([]byte, []int)
func (*Redelegate) GetErrorState ¶ added in v1.5.0
func (m *Redelegate) GetErrorState() RedelegateState
func (*Redelegate) GetState ¶ added in v1.5.0
func (m *Redelegate) GetState() RedelegateState
func (*Redelegate) Marshal ¶ added in v1.5.0
func (m *Redelegate) Marshal() (dAtA []byte, err error)
func (*Redelegate) MarshalTo ¶ added in v1.5.0
func (m *Redelegate) MarshalTo(dAtA []byte) (int, error)
func (*Redelegate) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *Redelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Redelegate) ProtoMessage ¶ added in v1.5.0
func (*Redelegate) ProtoMessage()
func (*Redelegate) Reset ¶ added in v1.5.0
func (m *Redelegate) Reset()
func (*Redelegate) Size ¶ added in v1.5.0
func (m *Redelegate) Size() (n int)
func (*Redelegate) String ¶ added in v1.5.0
func (m *Redelegate) String() string
func (*Redelegate) Unmarshal ¶ added in v1.5.0
func (m *Redelegate) Unmarshal(dAtA []byte) error
func (*Redelegate) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *Redelegate) XXX_DiscardUnknown()
func (*Redelegate) XXX_Marshal ¶ added in v1.5.0
func (m *Redelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Redelegate) XXX_Merge ¶ added in v1.5.0
func (m *Redelegate) XXX_Merge(src proto.Message)
func (*Redelegate) XXX_Size ¶ added in v1.5.0
func (m *Redelegate) XXX_Size() int
func (*Redelegate) XXX_Unmarshal ¶ added in v1.5.0
func (m *Redelegate) XXX_Unmarshal(b []byte) error
type RedelegateCallback ¶
type RedelegateCallback struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` OperatorAddress string `protobuf:"bytes,2,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` SplitDelegations []*SplitDelegation `protobuf:"bytes,3,rep,name=split_delegations,json=splitDelegations,proto3" json:"split_delegations,omitempty"` }
func (*RedelegateCallback) Descriptor ¶
func (*RedelegateCallback) Descriptor() ([]byte, []int)
func (*RedelegateCallback) GetOperatorAddress ¶ added in v1.5.0
func (m *RedelegateCallback) GetOperatorAddress() string
func (*RedelegateCallback) GetPoolId ¶
func (m *RedelegateCallback) GetPoolId() uint64
func (*RedelegateCallback) GetSplitDelegations ¶ added in v1.5.0
func (m *RedelegateCallback) GetSplitDelegations() []*SplitDelegation
func (*RedelegateCallback) Marshal ¶
func (m *RedelegateCallback) Marshal() (dAtA []byte, err error)
func (*RedelegateCallback) MarshalTo ¶
func (m *RedelegateCallback) MarshalTo(dAtA []byte) (int, error)
func (*RedelegateCallback) MarshalToSizedBuffer ¶
func (m *RedelegateCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RedelegateCallback) ProtoMessage ¶
func (*RedelegateCallback) ProtoMessage()
func (*RedelegateCallback) Reset ¶
func (m *RedelegateCallback) Reset()
func (*RedelegateCallback) Size ¶
func (m *RedelegateCallback) Size() (n int)
func (*RedelegateCallback) String ¶
func (m *RedelegateCallback) String() string
func (*RedelegateCallback) Unmarshal ¶
func (m *RedelegateCallback) Unmarshal(dAtA []byte) error
func (*RedelegateCallback) XXX_DiscardUnknown ¶
func (m *RedelegateCallback) XXX_DiscardUnknown()
func (*RedelegateCallback) XXX_Marshal ¶
func (m *RedelegateCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedelegateCallback) XXX_Merge ¶
func (m *RedelegateCallback) XXX_Merge(src proto.Message)
func (*RedelegateCallback) XXX_Size ¶
func (m *RedelegateCallback) XXX_Size() int
func (*RedelegateCallback) XXX_Unmarshal ¶
func (m *RedelegateCallback) XXX_Unmarshal(b []byte) error
type RedelegateState ¶ added in v1.5.0
type RedelegateState int32
const ( RedelegateState_Unspecified RedelegateState = 0 RedelegateState_IcaRedelegate RedelegateState = 1 RedelegateState_Success RedelegateState = 2 RedelegateState_Failure RedelegateState = 3 )
func (RedelegateState) EnumDescriptor ¶ added in v1.5.0
func (RedelegateState) EnumDescriptor() ([]byte, []int)
func (RedelegateState) String ¶ added in v1.5.0
func (x RedelegateState) String() string
type SetWithdrawAddressCallback ¶
type SetWithdrawAddressCallback struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}
func (*SetWithdrawAddressCallback) Descriptor ¶
func (*SetWithdrawAddressCallback) Descriptor() ([]byte, []int)
func (*SetWithdrawAddressCallback) GetPoolId ¶
func (m *SetWithdrawAddressCallback) GetPoolId() uint64
func (*SetWithdrawAddressCallback) Marshal ¶
func (m *SetWithdrawAddressCallback) Marshal() (dAtA []byte, err error)
func (*SetWithdrawAddressCallback) MarshalTo ¶
func (m *SetWithdrawAddressCallback) MarshalTo(dAtA []byte) (int, error)
func (*SetWithdrawAddressCallback) MarshalToSizedBuffer ¶
func (m *SetWithdrawAddressCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetWithdrawAddressCallback) ProtoMessage ¶
func (*SetWithdrawAddressCallback) ProtoMessage()
func (*SetWithdrawAddressCallback) Reset ¶
func (m *SetWithdrawAddressCallback) Reset()
func (*SetWithdrawAddressCallback) Size ¶
func (m *SetWithdrawAddressCallback) Size() (n int)
func (*SetWithdrawAddressCallback) String ¶
func (m *SetWithdrawAddressCallback) String() string
func (*SetWithdrawAddressCallback) Unmarshal ¶
func (m *SetWithdrawAddressCallback) Unmarshal(dAtA []byte) error
func (*SetWithdrawAddressCallback) XXX_DiscardUnknown ¶
func (m *SetWithdrawAddressCallback) XXX_DiscardUnknown()
func (*SetWithdrawAddressCallback) XXX_Marshal ¶
func (m *SetWithdrawAddressCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetWithdrawAddressCallback) XXX_Merge ¶
func (m *SetWithdrawAddressCallback) XXX_Merge(src proto.Message)
func (*SetWithdrawAddressCallback) XXX_Size ¶
func (m *SetWithdrawAddressCallback) XXX_Size() int
func (*SetWithdrawAddressCallback) XXX_Unmarshal ¶
func (m *SetWithdrawAddressCallback) XXX_Unmarshal(b []byte) error
type SplitDelegation ¶
type SplitDelegation struct { ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` 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"` }
func (*SplitDelegation) Descriptor ¶
func (*SplitDelegation) Descriptor() ([]byte, []int)
func (*SplitDelegation) GetValidatorAddress ¶
func (m *SplitDelegation) GetValidatorAddress() string
func (*SplitDelegation) Marshal ¶
func (m *SplitDelegation) Marshal() (dAtA []byte, err error)
func (*SplitDelegation) MarshalToSizedBuffer ¶
func (m *SplitDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SplitDelegation) ProtoMessage ¶
func (*SplitDelegation) ProtoMessage()
func (*SplitDelegation) Reset ¶
func (m *SplitDelegation) Reset()
func (*SplitDelegation) Size ¶
func (m *SplitDelegation) Size() (n int)
func (*SplitDelegation) String ¶
func (m *SplitDelegation) String() string
func (*SplitDelegation) Unmarshal ¶
func (m *SplitDelegation) Unmarshal(dAtA []byte) error
func (*SplitDelegation) XXX_DiscardUnknown ¶
func (m *SplitDelegation) XXX_DiscardUnknown()
func (*SplitDelegation) XXX_Marshal ¶
func (m *SplitDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SplitDelegation) XXX_Merge ¶
func (m *SplitDelegation) XXX_Merge(src proto.Message)
func (*SplitDelegation) XXX_Size ¶
func (m *SplitDelegation) XXX_Size() int
func (*SplitDelegation) XXX_Unmarshal ¶
func (m *SplitDelegation) XXX_Unmarshal(b []byte) error
type TransferFromNativeCallback ¶
type TransferFromNativeCallback struct { Type TransferType `protobuf:"varint,1,opt,name=type,proto3,enum=lum.network.millions.TransferType" json:"type,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DrawId uint64 `protobuf:"varint,3,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` WithdrawalId uint64 `protobuf:"varint,4,opt,name=withdrawal_id,json=withdrawalId,proto3" json:"withdrawal_id,omitempty"` }
func (*TransferFromNativeCallback) Descriptor ¶
func (*TransferFromNativeCallback) Descriptor() ([]byte, []int)
func (*TransferFromNativeCallback) GetDrawId ¶
func (m *TransferFromNativeCallback) GetDrawId() uint64
func (*TransferFromNativeCallback) GetPoolId ¶
func (m *TransferFromNativeCallback) GetPoolId() uint64
func (*TransferFromNativeCallback) GetType ¶
func (m *TransferFromNativeCallback) GetType() TransferType
func (*TransferFromNativeCallback) GetWithdrawalId ¶
func (m *TransferFromNativeCallback) GetWithdrawalId() uint64
func (*TransferFromNativeCallback) Marshal ¶
func (m *TransferFromNativeCallback) Marshal() (dAtA []byte, err error)
func (*TransferFromNativeCallback) MarshalTo ¶
func (m *TransferFromNativeCallback) MarshalTo(dAtA []byte) (int, error)
func (*TransferFromNativeCallback) MarshalToSizedBuffer ¶
func (m *TransferFromNativeCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransferFromNativeCallback) ProtoMessage ¶
func (*TransferFromNativeCallback) ProtoMessage()
func (*TransferFromNativeCallback) Reset ¶
func (m *TransferFromNativeCallback) Reset()
func (*TransferFromNativeCallback) Size ¶
func (m *TransferFromNativeCallback) Size() (n int)
func (*TransferFromNativeCallback) String ¶
func (m *TransferFromNativeCallback) String() string
func (*TransferFromNativeCallback) Unmarshal ¶
func (m *TransferFromNativeCallback) Unmarshal(dAtA []byte) error
func (*TransferFromNativeCallback) XXX_DiscardUnknown ¶
func (m *TransferFromNativeCallback) XXX_DiscardUnknown()
func (*TransferFromNativeCallback) XXX_Marshal ¶
func (m *TransferFromNativeCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferFromNativeCallback) XXX_Merge ¶
func (m *TransferFromNativeCallback) XXX_Merge(src proto.Message)
func (*TransferFromNativeCallback) XXX_Size ¶
func (m *TransferFromNativeCallback) XXX_Size() int
func (*TransferFromNativeCallback) XXX_Unmarshal ¶
func (m *TransferFromNativeCallback) XXX_Unmarshal(b []byte) error
type TransferToNativeCallback ¶
type TransferToNativeCallback struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DepositId uint64 `protobuf:"varint,2,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"` }
func (*TransferToNativeCallback) Descriptor ¶
func (*TransferToNativeCallback) Descriptor() ([]byte, []int)
func (*TransferToNativeCallback) GetDepositId ¶
func (m *TransferToNativeCallback) GetDepositId() uint64
func (*TransferToNativeCallback) GetPoolId ¶
func (m *TransferToNativeCallback) GetPoolId() uint64
func (*TransferToNativeCallback) Marshal ¶
func (m *TransferToNativeCallback) Marshal() (dAtA []byte, err error)
func (*TransferToNativeCallback) MarshalTo ¶
func (m *TransferToNativeCallback) MarshalTo(dAtA []byte) (int, error)
func (*TransferToNativeCallback) MarshalToSizedBuffer ¶
func (m *TransferToNativeCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransferToNativeCallback) ProtoMessage ¶
func (*TransferToNativeCallback) ProtoMessage()
func (*TransferToNativeCallback) Reset ¶
func (m *TransferToNativeCallback) Reset()
func (*TransferToNativeCallback) Size ¶
func (m *TransferToNativeCallback) Size() (n int)
func (*TransferToNativeCallback) String ¶
func (m *TransferToNativeCallback) String() string
func (*TransferToNativeCallback) Unmarshal ¶
func (m *TransferToNativeCallback) Unmarshal(dAtA []byte) error
func (*TransferToNativeCallback) XXX_DiscardUnknown ¶
func (m *TransferToNativeCallback) XXX_DiscardUnknown()
func (*TransferToNativeCallback) XXX_Marshal ¶
func (m *TransferToNativeCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferToNativeCallback) XXX_Merge ¶
func (m *TransferToNativeCallback) XXX_Merge(src proto.Message)
func (*TransferToNativeCallback) XXX_Size ¶
func (m *TransferToNativeCallback) XXX_Size() int
func (*TransferToNativeCallback) XXX_Unmarshal ¶
func (m *TransferToNativeCallback) XXX_Unmarshal(b []byte) error
type TransferType ¶
type TransferType int32
const ( TransferType_Unspecified TransferType = 0 TransferType_Claim TransferType = 1 TransferType_Withdraw TransferType = 2 )
func (TransferType) EnumDescriptor ¶
func (TransferType) EnumDescriptor() ([]byte, []int)
func (TransferType) String ¶
func (x TransferType) String() string
type UndelegateCallback ¶
type UndelegateCallback struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` WithdrawalIds []uint64 `protobuf:"varint,4,rep,packed,name=withdrawal_ids,json=withdrawalIds,proto3" json:"withdrawal_ids,omitempty"` }
func (*UndelegateCallback) Descriptor ¶
func (*UndelegateCallback) Descriptor() ([]byte, []int)
func (*UndelegateCallback) GetPoolId ¶
func (m *UndelegateCallback) GetPoolId() uint64
func (*UndelegateCallback) GetWithdrawalIds ¶ added in v1.5.2
func (m *UndelegateCallback) GetWithdrawalIds() []uint64
func (*UndelegateCallback) Marshal ¶
func (m *UndelegateCallback) Marshal() (dAtA []byte, err error)
func (*UndelegateCallback) MarshalTo ¶
func (m *UndelegateCallback) MarshalTo(dAtA []byte) (int, error)
func (*UndelegateCallback) MarshalToSizedBuffer ¶
func (m *UndelegateCallback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UndelegateCallback) ProtoMessage ¶
func (*UndelegateCallback) ProtoMessage()
func (*UndelegateCallback) Reset ¶
func (m *UndelegateCallback) Reset()
func (*UndelegateCallback) Size ¶
func (m *UndelegateCallback) Size() (n int)
func (*UndelegateCallback) String ¶
func (m *UndelegateCallback) String() string
func (*UndelegateCallback) Unmarshal ¶
func (m *UndelegateCallback) Unmarshal(dAtA []byte) error
func (*UndelegateCallback) XXX_DiscardUnknown ¶
func (m *UndelegateCallback) XXX_DiscardUnknown()
func (*UndelegateCallback) XXX_Marshal ¶
func (m *UndelegateCallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UndelegateCallback) XXX_Merge ¶
func (m *UndelegateCallback) XXX_Merge(src proto.Message)
func (*UndelegateCallback) XXX_Size ¶
func (m *UndelegateCallback) XXX_Size() int
func (*UndelegateCallback) XXX_Unmarshal ¶
func (m *UndelegateCallback) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ClaimPrize ¶
func (*UnimplementedMsgServer) ClaimPrize(ctx context.Context, req *MsgClaimPrize) (*MsgClaimPrizeResponse, error)
func (*UnimplementedMsgServer) Deposit ¶
func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error)
func (*UnimplementedMsgServer) DepositEdit ¶ added in v1.5.0
func (*UnimplementedMsgServer) DepositEdit(ctx context.Context, req *MsgDepositEdit) (*MsgDepositEditResponse, error)
func (*UnimplementedMsgServer) DepositRetry ¶
func (*UnimplementedMsgServer) DepositRetry(ctx context.Context, req *MsgDepositRetry) (*MsgDepositRetryResponse, error)
func (*UnimplementedMsgServer) DrawRetry ¶
func (*UnimplementedMsgServer) DrawRetry(ctx context.Context, req *MsgDrawRetry) (*MsgDrawRetryResponse, error)
func (*UnimplementedMsgServer) GenerateSeed ¶ added in v1.6.0
func (*UnimplementedMsgServer) GenerateSeed(ctx context.Context, req *MsgGenerateSeed) (*MsgGenerateSeedResponse, error)
func (*UnimplementedMsgServer) RestoreInterchainAccounts ¶
func (*UnimplementedMsgServer) RestoreInterchainAccounts(ctx context.Context, req *MsgRestoreInterchainAccounts) (*MsgRestoreInterchainAccountsResponse, error)
func (*UnimplementedMsgServer) WithdrawDeposit ¶
func (*UnimplementedMsgServer) WithdrawDeposit(ctx context.Context, req *MsgWithdrawDeposit) (*MsgWithdrawDepositResponse, error)
func (*UnimplementedMsgServer) WithdrawDepositRetry ¶
func (*UnimplementedMsgServer) WithdrawDepositRetry(ctx context.Context, req *MsgWithdrawDepositRetry) (*MsgWithdrawDepositRetryResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AccountDeposits ¶
func (*UnimplementedQueryServer) AccountDeposits(ctx context.Context, req *QueryAccountDepositsRequest) (*QueryDepositsResponse, error)
func (*UnimplementedQueryServer) AccountPoolDeposits ¶
func (*UnimplementedQueryServer) AccountPoolDeposits(ctx context.Context, req *QueryAccountPoolDepositsRequest) (*QueryDepositsResponse, error)
func (*UnimplementedQueryServer) AccountPoolDrawPrizes ¶
func (*UnimplementedQueryServer) AccountPoolDrawPrizes(ctx context.Context, req *QueryAccountPoolDrawPrizesRequest) (*QueryPrizesResponse, error)
func (*UnimplementedQueryServer) AccountPoolPrizes ¶
func (*UnimplementedQueryServer) AccountPoolPrizes(ctx context.Context, req *QueryAccountPoolPrizesRequest) (*QueryPrizesResponse, error)
func (*UnimplementedQueryServer) AccountPoolWithdrawals ¶
func (*UnimplementedQueryServer) AccountPoolWithdrawals(ctx context.Context, req *QueryAccountPoolWithdrawalsRequest) (*QueryWithdrawalsResponse, error)
func (*UnimplementedQueryServer) AccountPrizes ¶
func (*UnimplementedQueryServer) AccountPrizes(ctx context.Context, req *QueryAccountPrizesRequest) (*QueryPrizesResponse, error)
func (*UnimplementedQueryServer) AccountWithdrawals ¶
func (*UnimplementedQueryServer) AccountWithdrawals(ctx context.Context, req *QueryAccountWithdrawalsRequest) (*QueryWithdrawalsResponse, error)
func (*UnimplementedQueryServer) Deposits ¶
func (*UnimplementedQueryServer) Deposits(ctx context.Context, req *QueryDepositsRequest) (*QueryDepositsResponse, error)
func (*UnimplementedQueryServer) Draws ¶
func (*UnimplementedQueryServer) Draws(ctx context.Context, req *QueryDrawsRequest) (*QueryDrawsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Pool ¶
func (*UnimplementedQueryServer) Pool(ctx context.Context, req *QueryPoolRequest) (*QueryPoolResponse, error)
func (*UnimplementedQueryServer) PoolDeposit ¶
func (*UnimplementedQueryServer) PoolDeposit(ctx context.Context, req *QueryPoolDepositRequest) (*QueryDepositResponse, error)
func (*UnimplementedQueryServer) PoolDeposits ¶
func (*UnimplementedQueryServer) PoolDeposits(ctx context.Context, req *QueryPoolDepositsRequest) (*QueryDepositsResponse, error)
func (*UnimplementedQueryServer) PoolDraw ¶
func (*UnimplementedQueryServer) PoolDraw(ctx context.Context, req *QueryPoolDrawRequest) (*QueryDrawResponse, error)
func (*UnimplementedQueryServer) PoolDrawPrize ¶
func (*UnimplementedQueryServer) PoolDrawPrize(ctx context.Context, req *QueryPoolDrawPrizeRequest) (*QueryPrizeResponse, error)
func (*UnimplementedQueryServer) PoolDrawPrizes ¶
func (*UnimplementedQueryServer) PoolDrawPrizes(ctx context.Context, req *QueryPoolDrawPrizesRequest) (*QueryPrizesResponse, error)
func (*UnimplementedQueryServer) PoolDraws ¶
func (*UnimplementedQueryServer) PoolDraws(ctx context.Context, req *QueryPoolDrawsRequest) (*QueryDrawsResponse, error)
func (*UnimplementedQueryServer) PoolPrizes ¶
func (*UnimplementedQueryServer) PoolPrizes(ctx context.Context, req *QueryPoolPrizesRequest) (*QueryPrizesResponse, error)
func (*UnimplementedQueryServer) PoolWithdrawal ¶
func (*UnimplementedQueryServer) PoolWithdrawal(ctx context.Context, req *QueryPoolWithdrawalRequest) (*QueryWithdrawalResponse, error)
func (*UnimplementedQueryServer) PoolWithdrawals ¶
func (*UnimplementedQueryServer) PoolWithdrawals(ctx context.Context, req *QueryPoolWithdrawalsRequest) (*QueryWithdrawalsResponse, error)
func (*UnimplementedQueryServer) Pools ¶
func (*UnimplementedQueryServer) Pools(ctx context.Context, req *QueryPoolsRequest) (*QueryPoolsResponse, error)
func (*UnimplementedQueryServer) Prizes ¶
func (*UnimplementedQueryServer) Prizes(ctx context.Context, req *QueryPrizesRequest) (*QueryPrizesResponse, error)
func (*UnimplementedQueryServer) Withdrawals ¶
func (*UnimplementedQueryServer) Withdrawals(ctx context.Context, req *QueryWithdrawalsRequest) (*QueryWithdrawalsResponse, error)
type Withdrawal ¶
type Withdrawal struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` DepositId uint64 `protobuf:"varint,2,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"` WithdrawalId uint64 `protobuf:"varint,3,opt,name=withdrawal_id,json=withdrawalId,proto3" json:"withdrawal_id,omitempty"` State WithdrawalState `protobuf:"varint,4,opt,name=state,proto3,enum=lum.network.millions.WithdrawalState" json:"state,omitempty"` ErrorState WithdrawalState `` /* 134-byte string literal not displayed */ DepositorAddress string `protobuf:"bytes,6,opt,name=depositor_address,json=depositorAddress,proto3" json:"depositor_address,omitempty"` ToAddress string `protobuf:"bytes,7,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` Amount types.Coin `protobuf:"bytes,8,opt,name=amount,proto3" json:"amount"` CreatedAtHeight int64 `protobuf:"varint,9,opt,name=created_at_height,json=createdAtHeight,proto3" json:"created_at_height,omitempty"` UpdatedAtHeight int64 `protobuf:"varint,10,opt,name=updated_at_height,json=updatedAtHeight,proto3" json:"updated_at_height,omitempty"` UnbondingEndsAt *time.Time `protobuf:"bytes,11,opt,name=unbonding_ends_at,json=unbondingEndsAt,proto3,stdtime" json:"unbonding_ends_at,omitempty"` CreatedAt time.Time `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"` UpdatedAt time.Time `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"` }
func (*Withdrawal) Descriptor ¶
func (*Withdrawal) Descriptor() ([]byte, []int)
func (*Withdrawal) GetAmount ¶
func (m *Withdrawal) GetAmount() types.Coin
func (*Withdrawal) GetCreatedAt ¶
func (m *Withdrawal) GetCreatedAt() time.Time
func (*Withdrawal) GetCreatedAtHeight ¶
func (m *Withdrawal) GetCreatedAtHeight() int64
func (*Withdrawal) GetDepositId ¶
func (m *Withdrawal) GetDepositId() uint64
func (*Withdrawal) GetDepositorAddress ¶
func (m *Withdrawal) GetDepositorAddress() string
func (*Withdrawal) GetErrorState ¶
func (m *Withdrawal) GetErrorState() WithdrawalState
func (*Withdrawal) GetPoolId ¶
func (m *Withdrawal) GetPoolId() uint64
func (*Withdrawal) GetState ¶
func (m *Withdrawal) GetState() WithdrawalState
func (*Withdrawal) GetToAddress ¶
func (m *Withdrawal) GetToAddress() string
func (*Withdrawal) GetUnbondingEndsAt ¶
func (m *Withdrawal) GetUnbondingEndsAt() *time.Time
func (*Withdrawal) GetUpdatedAt ¶
func (m *Withdrawal) GetUpdatedAt() time.Time
func (*Withdrawal) GetUpdatedAtHeight ¶
func (m *Withdrawal) GetUpdatedAtHeight() int64
func (*Withdrawal) GetWithdrawalId ¶
func (m *Withdrawal) GetWithdrawalId() uint64
func (*Withdrawal) Marshal ¶
func (m *Withdrawal) Marshal() (dAtA []byte, err error)
func (*Withdrawal) MarshalToSizedBuffer ¶
func (m *Withdrawal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Withdrawal) ProtoMessage ¶
func (*Withdrawal) ProtoMessage()
func (*Withdrawal) Reset ¶
func (m *Withdrawal) Reset()
func (*Withdrawal) Size ¶
func (m *Withdrawal) Size() (n int)
func (*Withdrawal) String ¶
func (m *Withdrawal) String() string
func (*Withdrawal) Unmarshal ¶
func (m *Withdrawal) Unmarshal(dAtA []byte) error
func (*Withdrawal) ValidateBasic ¶
func (withdrawal *Withdrawal) ValidateBasic() error
ValidateBasic validates if a withdrawal is complete and valid
func (*Withdrawal) XXX_DiscardUnknown ¶
func (m *Withdrawal) XXX_DiscardUnknown()
func (*Withdrawal) XXX_Marshal ¶
func (m *Withdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Withdrawal) XXX_Merge ¶
func (m *Withdrawal) XXX_Merge(src proto.Message)
func (*Withdrawal) XXX_Size ¶
func (m *Withdrawal) XXX_Size() int
func (*Withdrawal) XXX_Unmarshal ¶
func (m *Withdrawal) XXX_Unmarshal(b []byte) error
type WithdrawalIDs ¶
type WithdrawalIDs struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` WithdrawalId uint64 `protobuf:"varint,2,opt,name=withdrawal_id,json=withdrawalId,proto3" json:"withdrawal_id,omitempty"` }
func (*WithdrawalIDs) Descriptor ¶
func (*WithdrawalIDs) Descriptor() ([]byte, []int)
func (*WithdrawalIDs) GetPoolId ¶
func (m *WithdrawalIDs) GetPoolId() uint64
func (*WithdrawalIDs) GetWithdrawalId ¶
func (m *WithdrawalIDs) GetWithdrawalId() uint64
func (*WithdrawalIDs) Marshal ¶
func (m *WithdrawalIDs) Marshal() (dAtA []byte, err error)
func (*WithdrawalIDs) MarshalToSizedBuffer ¶
func (m *WithdrawalIDs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WithdrawalIDs) ProtoMessage ¶
func (*WithdrawalIDs) ProtoMessage()
func (*WithdrawalIDs) Reset ¶
func (m *WithdrawalIDs) Reset()
func (*WithdrawalIDs) Size ¶
func (m *WithdrawalIDs) Size() (n int)
func (*WithdrawalIDs) String ¶
func (m *WithdrawalIDs) String() string
func (*WithdrawalIDs) Unmarshal ¶
func (m *WithdrawalIDs) Unmarshal(dAtA []byte) error
func (*WithdrawalIDs) XXX_DiscardUnknown ¶
func (m *WithdrawalIDs) XXX_DiscardUnknown()
func (*WithdrawalIDs) XXX_Marshal ¶
func (m *WithdrawalIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawalIDs) XXX_Merge ¶
func (m *WithdrawalIDs) XXX_Merge(src proto.Message)
func (*WithdrawalIDs) XXX_Size ¶
func (m *WithdrawalIDs) XXX_Size() int
func (*WithdrawalIDs) XXX_Unmarshal ¶
func (m *WithdrawalIDs) XXX_Unmarshal(b []byte) error
type WithdrawalIDsCollection ¶
type WithdrawalIDsCollection struct {
WithdrawalsIds []WithdrawalIDs `protobuf:"bytes,1,rep,name=withdrawals_ids,json=withdrawalsIds,proto3" json:"withdrawals_ids"`
}
func (*WithdrawalIDsCollection) Descriptor ¶
func (*WithdrawalIDsCollection) Descriptor() ([]byte, []int)
func (*WithdrawalIDsCollection) GetWithdrawalsIds ¶
func (m *WithdrawalIDsCollection) GetWithdrawalsIds() []WithdrawalIDs
func (*WithdrawalIDsCollection) Marshal ¶
func (m *WithdrawalIDsCollection) Marshal() (dAtA []byte, err error)
func (*WithdrawalIDsCollection) MarshalTo ¶
func (m *WithdrawalIDsCollection) MarshalTo(dAtA []byte) (int, error)
func (*WithdrawalIDsCollection) MarshalToSizedBuffer ¶
func (m *WithdrawalIDsCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WithdrawalIDsCollection) ProtoMessage ¶
func (*WithdrawalIDsCollection) ProtoMessage()
func (*WithdrawalIDsCollection) Reset ¶
func (m *WithdrawalIDsCollection) Reset()
func (*WithdrawalIDsCollection) Size ¶
func (m *WithdrawalIDsCollection) Size() (n int)
func (*WithdrawalIDsCollection) String ¶
func (m *WithdrawalIDsCollection) String() string
func (*WithdrawalIDsCollection) Unmarshal ¶
func (m *WithdrawalIDsCollection) Unmarshal(dAtA []byte) error
func (*WithdrawalIDsCollection) XXX_DiscardUnknown ¶
func (m *WithdrawalIDsCollection) XXX_DiscardUnknown()
func (*WithdrawalIDsCollection) XXX_Marshal ¶
func (m *WithdrawalIDsCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawalIDsCollection) XXX_Merge ¶
func (m *WithdrawalIDsCollection) XXX_Merge(src proto.Message)
func (*WithdrawalIDsCollection) XXX_Size ¶
func (m *WithdrawalIDsCollection) XXX_Size() int
func (*WithdrawalIDsCollection) XXX_Unmarshal ¶
func (m *WithdrawalIDsCollection) XXX_Unmarshal(b []byte) error
type WithdrawalState ¶
type WithdrawalState int32
const ( WithdrawalState_Unspecified WithdrawalState = 0 WithdrawalState_IcaUndelegate WithdrawalState = 1 WithdrawalState_IcaUnbonding WithdrawalState = 2 WithdrawalState_IbcTransfer WithdrawalState = 3 WithdrawalState_Failure WithdrawalState = 4 WithdrawalState_Pending WithdrawalState = 5 )
func (WithdrawalState) EnumDescriptor ¶
func (WithdrawalState) EnumDescriptor() ([]byte, []int)
func (WithdrawalState) String ¶
func (x WithdrawalState) String() string
Source Files ¶
- callbacks.pb.go
- codec.go
- deposit.go
- deposit.pb.go
- draw.go
- draw.pb.go
- draw_schedule.go
- draw_schedule.pb.go
- epoch.go
- epoch.pb.go
- errors.go
- events.go
- genesis.go
- genesis.pb.go
- gov.pb.go
- keys.go
- message_claim_prize.go
- message_deposit.go
- message_deposit_edit.go
- message_deposit_retry.go
- message_draw_retry.go
- message_generate_seed.go
- message_restore_interchain_accounts.go
- message_withdraw_deposit.go
- message_withdraw_deposit_retry.go
- params.go
- params.pb.go
- pool.go
- pool.pb.go
- pool_validator.go
- prize.go
- prize.pb.go
- prize_batch.go
- prize_batch.pb.go
- prize_ref.pb.go
- prize_strategy.go
- prize_strategy.pb.go
- proposal_register_pool.go
- proposal_update_params.go
- proposal_update_pool.go
- query.pb.go
- query.pb.gw.go
- redelegate.pb.go
- tx.pb.go
- withdrawal.go
- withdrawal.pb.go