Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AccountKeyPath(campaignID uint64, address string) []byte
- func CampaignChainsKey(campaignID uint64) []byte
- func CheckCampaignName(campaignName string) error
- func CheckShares(shares Shares) error
- func CheckVouchers(vouchers sdk.Coins, campaignID uint64) error
- func IsEqualShares(shares, newShares Shares) bool
- func IsTotalSharesReached(shares Shares, maximumTotalShareNumber uint64) (bool, error)
- func KeyPrefix(p string) []byte
- func MainnetAccountAllKey(campaignID uint64) []byte
- func MainnetVestingAccountAllKey(campaignID uint64) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- 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 SharesToVouchers(shares Shares, campaignID uint64) (sdk.Coins, error)
- func UpdateTotalSupply(coins, updatedCoins sdk.Coins) sdk.Coins
- func ValidateTotalSupply(totalSupply sdk.Coins, supplyRange TotalSupplyRange) error
- func VoucherCampaign(denom string) (uint64, error)
- func VoucherDenom(campaignID uint64, denom string) string
- func VoucherToShareDenom(campaignID uint64, denom string) string
- type AccountKeeper
- type BankKeeper
- type Campaign
- func (*Campaign) Descriptor() ([]byte, []int)
- func (m *Campaign) GetAllocatedShares() Shares
- func (m *Campaign) GetCampaignID() uint64
- func (m *Campaign) GetCampaignName() string
- func (m *Campaign) GetCoordinatorID() uint64
- func (m *Campaign) GetCreatedAt() int64
- func (m *Campaign) GetMainnetID() uint64
- func (m *Campaign) GetMainnetInitialized() bool
- func (m *Campaign) GetMetadata() []byte
- func (m *Campaign) GetSpecialAllocations() SpecialAllocations
- func (m *Campaign) GetTotalSupply() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Campaign) Marshal() (dAtA []byte, err error)
- func (m *Campaign) MarshalTo(dAtA []byte) (int, error)
- func (m *Campaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Campaign) ProtoMessage()
- func (m *Campaign) Reset()
- func (m *Campaign) Size() (n int)
- func (m *Campaign) String() string
- func (m *Campaign) Unmarshal(dAtA []byte) error
- func (m Campaign) Validate(totalShareNumber uint64) error
- func (m *Campaign) XXX_DiscardUnknown()
- func (m *Campaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Campaign) XXX_Merge(src proto.Message)
- func (m *Campaign) XXX_Size() int
- func (m *Campaign) XXX_Unmarshal(b []byte) error
- type CampaignChains
- func (*CampaignChains) Descriptor() ([]byte, []int)
- func (m *CampaignChains) GetCampaignID() uint64
- func (m *CampaignChains) GetChains() []uint64
- func (m *CampaignChains) Marshal() (dAtA []byte, err error)
- func (m *CampaignChains) MarshalTo(dAtA []byte) (int, error)
- func (m *CampaignChains) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CampaignChains) ProtoMessage()
- func (m *CampaignChains) Reset()
- func (m *CampaignChains) Size() (n int)
- func (m *CampaignChains) String() string
- func (m *CampaignChains) Unmarshal(dAtA []byte) error
- func (m *CampaignChains) XXX_DiscardUnknown()
- func (m *CampaignChains) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CampaignChains) XXX_Merge(src proto.Message)
- func (m *CampaignChains) XXX_Size() int
- func (m *CampaignChains) XXX_Unmarshal(b []byte) error
- type DistributionKeeper
- type EventCampaignAuctionCreated
- func (*EventCampaignAuctionCreated) Descriptor() ([]byte, []int)
- func (m *EventCampaignAuctionCreated) GetAuctionID() uint64
- func (m *EventCampaignAuctionCreated) GetCampaignID() uint64
- func (m *EventCampaignAuctionCreated) Marshal() (dAtA []byte, err error)
- func (m *EventCampaignAuctionCreated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCampaignAuctionCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCampaignAuctionCreated) ProtoMessage()
- func (m *EventCampaignAuctionCreated) Reset()
- func (m *EventCampaignAuctionCreated) Size() (n int)
- func (m *EventCampaignAuctionCreated) String() string
- func (m *EventCampaignAuctionCreated) Unmarshal(dAtA []byte) error
- func (m *EventCampaignAuctionCreated) XXX_DiscardUnknown()
- func (m *EventCampaignAuctionCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCampaignAuctionCreated) XXX_Merge(src proto.Message)
- func (m *EventCampaignAuctionCreated) XXX_Size() int
- func (m *EventCampaignAuctionCreated) XXX_Unmarshal(b []byte) error
- type EventCampaignChainAdded
- func (*EventCampaignChainAdded) Descriptor() ([]byte, []int)
- func (m *EventCampaignChainAdded) GetCampaignID() uint64
- func (m *EventCampaignChainAdded) GetLaunchID() uint64
- func (m *EventCampaignChainAdded) Marshal() (dAtA []byte, err error)
- func (m *EventCampaignChainAdded) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCampaignChainAdded) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCampaignChainAdded) ProtoMessage()
- func (m *EventCampaignChainAdded) Reset()
- func (m *EventCampaignChainAdded) Size() (n int)
- func (m *EventCampaignChainAdded) String() string
- func (m *EventCampaignChainAdded) Unmarshal(dAtA []byte) error
- func (m *EventCampaignChainAdded) XXX_DiscardUnknown()
- func (m *EventCampaignChainAdded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCampaignChainAdded) XXX_Merge(src proto.Message)
- func (m *EventCampaignChainAdded) XXX_Size() int
- func (m *EventCampaignChainAdded) XXX_Unmarshal(b []byte) error
- type EventCampaignCreated
- func (*EventCampaignCreated) Descriptor() ([]byte, []int)
- func (m *EventCampaignCreated) GetCampaignID() uint64
- func (m *EventCampaignCreated) GetCoordinatorAddress() string
- func (m *EventCampaignCreated) GetCoordinatorID() uint64
- func (m *EventCampaignCreated) Marshal() (dAtA []byte, err error)
- func (m *EventCampaignCreated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCampaignCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCampaignCreated) ProtoMessage()
- func (m *EventCampaignCreated) Reset()
- func (m *EventCampaignCreated) Size() (n int)
- func (m *EventCampaignCreated) String() string
- func (m *EventCampaignCreated) Unmarshal(dAtA []byte) error
- func (m *EventCampaignCreated) XXX_DiscardUnknown()
- func (m *EventCampaignCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCampaignCreated) XXX_Merge(src proto.Message)
- func (m *EventCampaignCreated) XXX_Size() int
- func (m *EventCampaignCreated) XXX_Unmarshal(b []byte) error
- type EventCampaignInfoUpdated
- func (*EventCampaignInfoUpdated) Descriptor() ([]byte, []int)
- func (m *EventCampaignInfoUpdated) GetCampaignID() uint64
- func (m *EventCampaignInfoUpdated) GetCampaignName() string
- func (m *EventCampaignInfoUpdated) GetCoordinatorAddress() string
- func (m *EventCampaignInfoUpdated) GetMetadata() []byte
- func (m *EventCampaignInfoUpdated) Marshal() (dAtA []byte, err error)
- func (m *EventCampaignInfoUpdated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCampaignInfoUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCampaignInfoUpdated) ProtoMessage()
- func (m *EventCampaignInfoUpdated) Reset()
- func (m *EventCampaignInfoUpdated) Size() (n int)
- func (m *EventCampaignInfoUpdated) String() string
- func (m *EventCampaignInfoUpdated) Unmarshal(dAtA []byte) error
- func (m *EventCampaignInfoUpdated) XXX_DiscardUnknown()
- func (m *EventCampaignInfoUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCampaignInfoUpdated) XXX_Merge(src proto.Message)
- func (m *EventCampaignInfoUpdated) XXX_Size() int
- func (m *EventCampaignInfoUpdated) XXX_Unmarshal(b []byte) error
- type EventCampaignMainnetInitialized
- func (*EventCampaignMainnetInitialized) Descriptor() ([]byte, []int)
- func (m *EventCampaignMainnetInitialized) GetCampaignID() uint64
- func (m *EventCampaignMainnetInitialized) GetCoordinatorAddress() string
- func (m *EventCampaignMainnetInitialized) GetMainnetID() uint64
- func (m *EventCampaignMainnetInitialized) Marshal() (dAtA []byte, err error)
- func (m *EventCampaignMainnetInitialized) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCampaignMainnetInitialized) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCampaignMainnetInitialized) ProtoMessage()
- func (m *EventCampaignMainnetInitialized) Reset()
- func (m *EventCampaignMainnetInitialized) Size() (n int)
- func (m *EventCampaignMainnetInitialized) String() string
- func (m *EventCampaignMainnetInitialized) Unmarshal(dAtA []byte) error
- func (m *EventCampaignMainnetInitialized) XXX_DiscardUnknown()
- func (m *EventCampaignMainnetInitialized) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCampaignMainnetInitialized) XXX_Merge(src proto.Message)
- func (m *EventCampaignMainnetInitialized) XXX_Size() int
- func (m *EventCampaignMainnetInitialized) XXX_Unmarshal(b []byte) error
- type EventCampaignSharesUpdated
- func (*EventCampaignSharesUpdated) Descriptor() ([]byte, []int)
- func (m *EventCampaignSharesUpdated) GetAllocatedShares() Shares
- func (m *EventCampaignSharesUpdated) GetCampaignID() uint64
- func (m *EventCampaignSharesUpdated) GetCoordinatorAddress() string
- func (m *EventCampaignSharesUpdated) Marshal() (dAtA []byte, err error)
- func (m *EventCampaignSharesUpdated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCampaignSharesUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCampaignSharesUpdated) ProtoMessage()
- func (m *EventCampaignSharesUpdated) Reset()
- func (m *EventCampaignSharesUpdated) Size() (n int)
- func (m *EventCampaignSharesUpdated) String() string
- func (m *EventCampaignSharesUpdated) Unmarshal(dAtA []byte) error
- func (m *EventCampaignSharesUpdated) XXX_DiscardUnknown()
- func (m *EventCampaignSharesUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCampaignSharesUpdated) XXX_Merge(src proto.Message)
- func (m *EventCampaignSharesUpdated) XXX_Size() int
- func (m *EventCampaignSharesUpdated) XXX_Unmarshal(b []byte) error
- type EventCampaignTotalSupplyUpdated
- func (*EventCampaignTotalSupplyUpdated) Descriptor() ([]byte, []int)
- func (m *EventCampaignTotalSupplyUpdated) GetCampaignID() uint64
- func (m *EventCampaignTotalSupplyUpdated) GetCoordinatorAddress() string
- func (m *EventCampaignTotalSupplyUpdated) GetTotalSupply() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *EventCampaignTotalSupplyUpdated) Marshal() (dAtA []byte, err error)
- func (m *EventCampaignTotalSupplyUpdated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCampaignTotalSupplyUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCampaignTotalSupplyUpdated) ProtoMessage()
- func (m *EventCampaignTotalSupplyUpdated) Reset()
- func (m *EventCampaignTotalSupplyUpdated) Size() (n int)
- func (m *EventCampaignTotalSupplyUpdated) String() string
- func (m *EventCampaignTotalSupplyUpdated) Unmarshal(dAtA []byte) error
- func (m *EventCampaignTotalSupplyUpdated) XXX_DiscardUnknown()
- func (m *EventCampaignTotalSupplyUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCampaignTotalSupplyUpdated) XXX_Merge(src proto.Message)
- func (m *EventCampaignTotalSupplyUpdated) XXX_Size() int
- func (m *EventCampaignTotalSupplyUpdated) XXX_Unmarshal(b []byte) error
- type EventMainnetAccountCreated
- func (*EventMainnetAccountCreated) Descriptor() ([]byte, []int)
- func (m *EventMainnetAccountCreated) GetAddress() string
- func (m *EventMainnetAccountCreated) GetCampaignID() uint64
- func (m *EventMainnetAccountCreated) GetShares() Shares
- func (m *EventMainnetAccountCreated) Marshal() (dAtA []byte, err error)
- func (m *EventMainnetAccountCreated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMainnetAccountCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMainnetAccountCreated) ProtoMessage()
- func (m *EventMainnetAccountCreated) Reset()
- func (m *EventMainnetAccountCreated) Size() (n int)
- func (m *EventMainnetAccountCreated) String() string
- func (m *EventMainnetAccountCreated) Unmarshal(dAtA []byte) error
- func (m *EventMainnetAccountCreated) XXX_DiscardUnknown()
- func (m *EventMainnetAccountCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMainnetAccountCreated) XXX_Merge(src proto.Message)
- func (m *EventMainnetAccountCreated) XXX_Size() int
- func (m *EventMainnetAccountCreated) XXX_Unmarshal(b []byte) error
- type EventMainnetAccountRemoved
- func (*EventMainnetAccountRemoved) Descriptor() ([]byte, []int)
- func (m *EventMainnetAccountRemoved) GetAddress() string
- func (m *EventMainnetAccountRemoved) GetCampaignID() uint64
- func (m *EventMainnetAccountRemoved) Marshal() (dAtA []byte, err error)
- func (m *EventMainnetAccountRemoved) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMainnetAccountRemoved) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMainnetAccountRemoved) ProtoMessage()
- func (m *EventMainnetAccountRemoved) Reset()
- func (m *EventMainnetAccountRemoved) Size() (n int)
- func (m *EventMainnetAccountRemoved) String() string
- func (m *EventMainnetAccountRemoved) Unmarshal(dAtA []byte) error
- func (m *EventMainnetAccountRemoved) XXX_DiscardUnknown()
- func (m *EventMainnetAccountRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMainnetAccountRemoved) XXX_Merge(src proto.Message)
- func (m *EventMainnetAccountRemoved) XXX_Size() int
- func (m *EventMainnetAccountRemoved) XXX_Unmarshal(b []byte) error
- type EventMainnetAccountUpdated
- func (*EventMainnetAccountUpdated) Descriptor() ([]byte, []int)
- func (m *EventMainnetAccountUpdated) GetAddress() string
- func (m *EventMainnetAccountUpdated) GetCampaignID() uint64
- func (m *EventMainnetAccountUpdated) GetShares() Shares
- func (m *EventMainnetAccountUpdated) Marshal() (dAtA []byte, err error)
- func (m *EventMainnetAccountUpdated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMainnetAccountUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMainnetAccountUpdated) ProtoMessage()
- func (m *EventMainnetAccountUpdated) Reset()
- func (m *EventMainnetAccountUpdated) Size() (n int)
- func (m *EventMainnetAccountUpdated) String() string
- func (m *EventMainnetAccountUpdated) Unmarshal(dAtA []byte) error
- func (m *EventMainnetAccountUpdated) XXX_DiscardUnknown()
- func (m *EventMainnetAccountUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMainnetAccountUpdated) XXX_Merge(src proto.Message)
- func (m *EventMainnetAccountUpdated) XXX_Size() int
- func (m *EventMainnetAccountUpdated) XXX_Unmarshal(b []byte) error
- type EventMainnetVestingAccountCreated
- func (*EventMainnetVestingAccountCreated) Descriptor() ([]byte, []int)
- func (m *EventMainnetVestingAccountCreated) GetAddress() string
- func (m *EventMainnetVestingAccountCreated) GetCampaignID() uint64
- func (m *EventMainnetVestingAccountCreated) GetVestingOptions() ShareVestingOptions
- func (m *EventMainnetVestingAccountCreated) Marshal() (dAtA []byte, err error)
- func (m *EventMainnetVestingAccountCreated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMainnetVestingAccountCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMainnetVestingAccountCreated) ProtoMessage()
- func (m *EventMainnetVestingAccountCreated) Reset()
- func (m *EventMainnetVestingAccountCreated) Size() (n int)
- func (m *EventMainnetVestingAccountCreated) String() string
- func (m *EventMainnetVestingAccountCreated) Unmarshal(dAtA []byte) error
- func (m *EventMainnetVestingAccountCreated) XXX_DiscardUnknown()
- func (m *EventMainnetVestingAccountCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMainnetVestingAccountCreated) XXX_Merge(src proto.Message)
- func (m *EventMainnetVestingAccountCreated) XXX_Size() int
- func (m *EventMainnetVestingAccountCreated) XXX_Unmarshal(b []byte) error
- type EventMainnetVestingAccountUpdated
- func (*EventMainnetVestingAccountUpdated) Descriptor() ([]byte, []int)
- func (m *EventMainnetVestingAccountUpdated) GetAddress() string
- func (m *EventMainnetVestingAccountUpdated) GetCampaignID() uint64
- func (m *EventMainnetVestingAccountUpdated) GetVestingOptions() ShareVestingOptions
- func (m *EventMainnetVestingAccountUpdated) Marshal() (dAtA []byte, err error)
- func (m *EventMainnetVestingAccountUpdated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMainnetVestingAccountUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMainnetVestingAccountUpdated) ProtoMessage()
- func (m *EventMainnetVestingAccountUpdated) Reset()
- func (m *EventMainnetVestingAccountUpdated) Size() (n int)
- func (m *EventMainnetVestingAccountUpdated) String() string
- func (m *EventMainnetVestingAccountUpdated) Unmarshal(dAtA []byte) error
- func (m *EventMainnetVestingAccountUpdated) XXX_DiscardUnknown()
- func (m *EventMainnetVestingAccountUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMainnetVestingAccountUpdated) XXX_Merge(src proto.Message)
- func (m *EventMainnetVestingAccountUpdated) XXX_Size() int
- func (m *EventMainnetVestingAccountUpdated) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetCampaignChains() []CampaignChains
- func (m *GenesisState) GetCampaignCounter() uint64
- func (m *GenesisState) GetCampaigns() []Campaign
- func (m *GenesisState) GetMainnetAccounts() []MainnetAccount
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetTotalShares() uint64
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MainnetAccount
- func (*MainnetAccount) Descriptor() ([]byte, []int)
- func (m *MainnetAccount) GetAddress() string
- func (m *MainnetAccount) GetCampaignID() uint64
- func (m *MainnetAccount) GetShares() Shares
- func (m *MainnetAccount) Marshal() (dAtA []byte, err error)
- func (m *MainnetAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MainnetAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MainnetAccount) ProtoMessage()
- func (m *MainnetAccount) Reset()
- func (m *MainnetAccount) Size() (n int)
- func (m *MainnetAccount) String() string
- func (m *MainnetAccount) Unmarshal(dAtA []byte) error
- func (m *MainnetAccount) XXX_DiscardUnknown()
- func (m *MainnetAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MainnetAccount) XXX_Merge(src proto.Message)
- func (m *MainnetAccount) XXX_Size() int
- func (m *MainnetAccount) XXX_Unmarshal(b []byte) error
- type MainnetAccountBalance
- func (*MainnetAccountBalance) Descriptor() ([]byte, []int)
- func (m *MainnetAccountBalance) GetAddress() string
- func (m *MainnetAccountBalance) GetCampaignID() uint64
- func (m *MainnetAccountBalance) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MainnetAccountBalance) Marshal() (dAtA []byte, err error)
- func (m *MainnetAccountBalance) MarshalTo(dAtA []byte) (int, error)
- func (m *MainnetAccountBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MainnetAccountBalance) ProtoMessage()
- func (m *MainnetAccountBalance) Reset()
- func (m *MainnetAccountBalance) Size() (n int)
- func (m *MainnetAccountBalance) String() string
- func (m *MainnetAccountBalance) Unmarshal(dAtA []byte) error
- func (m *MainnetAccountBalance) XXX_DiscardUnknown()
- func (m *MainnetAccountBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MainnetAccountBalance) XXX_Merge(src proto.Message)
- func (m *MainnetAccountBalance) XXX_Size() int
- func (m *MainnetAccountBalance) XXX_Unmarshal(b []byte) error
- type MsgBurnVouchers
- func (*MsgBurnVouchers) Descriptor() ([]byte, []int)
- func (m *MsgBurnVouchers) GetCampaignID() uint64
- func (m *MsgBurnVouchers) GetSender() string
- func (msg *MsgBurnVouchers) GetSignBytes() []byte
- func (msg *MsgBurnVouchers) GetSigners() []sdk.AccAddress
- func (m *MsgBurnVouchers) GetVouchers() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgBurnVouchers) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnVouchers) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnVouchers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnVouchers) ProtoMessage()
- func (m *MsgBurnVouchers) Reset()
- func (msg *MsgBurnVouchers) Route() string
- func (m *MsgBurnVouchers) Size() (n int)
- func (m *MsgBurnVouchers) String() string
- func (msg *MsgBurnVouchers) Type() string
- func (m *MsgBurnVouchers) Unmarshal(dAtA []byte) error
- func (msg *MsgBurnVouchers) ValidateBasic() error
- func (m *MsgBurnVouchers) XXX_DiscardUnknown()
- func (m *MsgBurnVouchers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnVouchers) XXX_Merge(src proto.Message)
- func (m *MsgBurnVouchers) XXX_Size() int
- func (m *MsgBurnVouchers) XXX_Unmarshal(b []byte) error
- type MsgBurnVouchersResponse
- func (*MsgBurnVouchersResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnVouchersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnVouchersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnVouchersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnVouchersResponse) ProtoMessage()
- func (m *MsgBurnVouchersResponse) Reset()
- func (m *MsgBurnVouchersResponse) Size() (n int)
- func (m *MsgBurnVouchersResponse) String() string
- func (m *MsgBurnVouchersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnVouchersResponse) XXX_DiscardUnknown()
- func (m *MsgBurnVouchersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnVouchersResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnVouchersResponse) XXX_Size() int
- func (m *MsgBurnVouchersResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateCampaign
- func (*MsgCreateCampaign) Descriptor() ([]byte, []int)
- func (m *MsgCreateCampaign) GetCampaignName() string
- func (m *MsgCreateCampaign) GetCoordinator() string
- func (m *MsgCreateCampaign) GetMetadata() []byte
- func (msg *MsgCreateCampaign) GetSignBytes() []byte
- func (msg *MsgCreateCampaign) GetSigners() []sdk.AccAddress
- func (m *MsgCreateCampaign) GetTotalSupply() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgCreateCampaign) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCampaign) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCampaign) ProtoMessage()
- func (m *MsgCreateCampaign) Reset()
- func (msg *MsgCreateCampaign) Route() string
- func (m *MsgCreateCampaign) Size() (n int)
- func (m *MsgCreateCampaign) String() string
- func (msg *MsgCreateCampaign) Type() string
- func (m *MsgCreateCampaign) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateCampaign) ValidateBasic() error
- func (m *MsgCreateCampaign) XXX_DiscardUnknown()
- func (m *MsgCreateCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCampaign) XXX_Merge(src proto.Message)
- func (m *MsgCreateCampaign) XXX_Size() int
- func (m *MsgCreateCampaign) XXX_Unmarshal(b []byte) error
- type MsgCreateCampaignResponse
- func (*MsgCreateCampaignResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateCampaignResponse) GetCampaignID() uint64
- func (m *MsgCreateCampaignResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCampaignResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCampaignResponse) ProtoMessage()
- func (m *MsgCreateCampaignResponse) Reset()
- func (m *MsgCreateCampaignResponse) Size() (n int)
- func (m *MsgCreateCampaignResponse) String() string
- func (m *MsgCreateCampaignResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateCampaignResponse) XXX_DiscardUnknown()
- func (m *MsgCreateCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCampaignResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateCampaignResponse) XXX_Size() int
- func (m *MsgCreateCampaignResponse) XXX_Unmarshal(b []byte) error
- type MsgEditCampaign
- func (*MsgEditCampaign) Descriptor() ([]byte, []int)
- func (m *MsgEditCampaign) GetCampaignID() uint64
- func (m *MsgEditCampaign) GetCoordinator() string
- func (m *MsgEditCampaign) GetMetadata() []byte
- func (m *MsgEditCampaign) GetName() string
- func (msg *MsgEditCampaign) GetSignBytes() []byte
- func (msg *MsgEditCampaign) GetSigners() []sdk.AccAddress
- func (m *MsgEditCampaign) Marshal() (dAtA []byte, err error)
- func (m *MsgEditCampaign) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditCampaign) ProtoMessage()
- func (m *MsgEditCampaign) Reset()
- func (msg *MsgEditCampaign) Route() string
- func (m *MsgEditCampaign) Size() (n int)
- func (m *MsgEditCampaign) String() string
- func (msg *MsgEditCampaign) Type() string
- func (m *MsgEditCampaign) Unmarshal(dAtA []byte) error
- func (msg *MsgEditCampaign) ValidateBasic() error
- func (m *MsgEditCampaign) XXX_DiscardUnknown()
- func (m *MsgEditCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditCampaign) XXX_Merge(src proto.Message)
- func (m *MsgEditCampaign) XXX_Size() int
- func (m *MsgEditCampaign) XXX_Unmarshal(b []byte) error
- type MsgEditCampaignResponse
- func (*MsgEditCampaignResponse) Descriptor() ([]byte, []int)
- func (m *MsgEditCampaignResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEditCampaignResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditCampaignResponse) ProtoMessage()
- func (m *MsgEditCampaignResponse) Reset()
- func (m *MsgEditCampaignResponse) Size() (n int)
- func (m *MsgEditCampaignResponse) String() string
- func (m *MsgEditCampaignResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEditCampaignResponse) XXX_DiscardUnknown()
- func (m *MsgEditCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditCampaignResponse) XXX_Merge(src proto.Message)
- func (m *MsgEditCampaignResponse) XXX_Size() int
- func (m *MsgEditCampaignResponse) XXX_Unmarshal(b []byte) error
- type MsgInitializeMainnet
- func (*MsgInitializeMainnet) Descriptor() ([]byte, []int)
- func (m *MsgInitializeMainnet) GetCampaignID() uint64
- func (m *MsgInitializeMainnet) GetCoordinator() string
- func (m *MsgInitializeMainnet) GetMainnetChainID() string
- func (msg *MsgInitializeMainnet) GetSignBytes() []byte
- func (msg *MsgInitializeMainnet) GetSigners() []sdk.AccAddress
- func (m *MsgInitializeMainnet) GetSourceHash() string
- func (m *MsgInitializeMainnet) GetSourceURL() string
- func (m *MsgInitializeMainnet) Marshal() (dAtA []byte, err error)
- func (m *MsgInitializeMainnet) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitializeMainnet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitializeMainnet) ProtoMessage()
- func (m *MsgInitializeMainnet) Reset()
- func (msg *MsgInitializeMainnet) Route() string
- func (m *MsgInitializeMainnet) Size() (n int)
- func (m *MsgInitializeMainnet) String() string
- func (msg *MsgInitializeMainnet) Type() string
- func (m *MsgInitializeMainnet) Unmarshal(dAtA []byte) error
- func (msg *MsgInitializeMainnet) ValidateBasic() error
- func (m *MsgInitializeMainnet) XXX_DiscardUnknown()
- func (m *MsgInitializeMainnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitializeMainnet) XXX_Merge(src proto.Message)
- func (m *MsgInitializeMainnet) XXX_Size() int
- func (m *MsgInitializeMainnet) XXX_Unmarshal(b []byte) error
- type MsgInitializeMainnetResponse
- func (*MsgInitializeMainnetResponse) Descriptor() ([]byte, []int)
- func (m *MsgInitializeMainnetResponse) GetMainnetID() uint64
- func (m *MsgInitializeMainnetResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInitializeMainnetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitializeMainnetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitializeMainnetResponse) ProtoMessage()
- func (m *MsgInitializeMainnetResponse) Reset()
- func (m *MsgInitializeMainnetResponse) Size() (n int)
- func (m *MsgInitializeMainnetResponse) String() string
- func (m *MsgInitializeMainnetResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInitializeMainnetResponse) XXX_DiscardUnknown()
- func (m *MsgInitializeMainnetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitializeMainnetResponse) XXX_Merge(src proto.Message)
- func (m *MsgInitializeMainnetResponse) XXX_Size() int
- func (m *MsgInitializeMainnetResponse) XXX_Unmarshal(b []byte) error
- type MsgMintVouchers
- func (*MsgMintVouchers) Descriptor() ([]byte, []int)
- func (m *MsgMintVouchers) GetCampaignID() uint64
- func (m *MsgMintVouchers) GetCoordinator() string
- func (m *MsgMintVouchers) GetShares() Shares
- func (msg *MsgMintVouchers) GetSignBytes() []byte
- func (msg *MsgMintVouchers) GetSigners() []sdk.AccAddress
- func (m *MsgMintVouchers) Marshal() (dAtA []byte, err error)
- func (m *MsgMintVouchers) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintVouchers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintVouchers) ProtoMessage()
- func (m *MsgMintVouchers) Reset()
- func (msg *MsgMintVouchers) Route() string
- func (m *MsgMintVouchers) Size() (n int)
- func (m *MsgMintVouchers) String() string
- func (msg *MsgMintVouchers) Type() string
- func (m *MsgMintVouchers) Unmarshal(dAtA []byte) error
- func (msg *MsgMintVouchers) ValidateBasic() error
- func (m *MsgMintVouchers) XXX_DiscardUnknown()
- func (m *MsgMintVouchers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintVouchers) XXX_Merge(src proto.Message)
- func (m *MsgMintVouchers) XXX_Size() int
- func (m *MsgMintVouchers) XXX_Unmarshal(b []byte) error
- type MsgMintVouchersResponse
- func (*MsgMintVouchersResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintVouchersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintVouchersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintVouchersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintVouchersResponse) ProtoMessage()
- func (m *MsgMintVouchersResponse) Reset()
- func (m *MsgMintVouchersResponse) Size() (n int)
- func (m *MsgMintVouchersResponse) String() string
- func (m *MsgMintVouchersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintVouchersResponse) XXX_DiscardUnknown()
- func (m *MsgMintVouchersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintVouchersResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintVouchersResponse) XXX_Size() int
- func (m *MsgMintVouchersResponse) XXX_Unmarshal(b []byte) error
- type MsgRedeemVouchers
- func (*MsgRedeemVouchers) Descriptor() ([]byte, []int)
- func (m *MsgRedeemVouchers) GetAccount() string
- func (m *MsgRedeemVouchers) GetCampaignID() uint64
- func (m *MsgRedeemVouchers) GetSender() string
- func (msg *MsgRedeemVouchers) GetSignBytes() []byte
- func (msg *MsgRedeemVouchers) GetSigners() []sdk.AccAddress
- func (m *MsgRedeemVouchers) GetVouchers() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgRedeemVouchers) Marshal() (dAtA []byte, err error)
- func (m *MsgRedeemVouchers) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRedeemVouchers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRedeemVouchers) ProtoMessage()
- func (m *MsgRedeemVouchers) Reset()
- func (msg *MsgRedeemVouchers) Route() string
- func (m *MsgRedeemVouchers) Size() (n int)
- func (m *MsgRedeemVouchers) String() string
- func (msg *MsgRedeemVouchers) Type() string
- func (m *MsgRedeemVouchers) Unmarshal(dAtA []byte) error
- func (msg *MsgRedeemVouchers) ValidateBasic() error
- func (m *MsgRedeemVouchers) XXX_DiscardUnknown()
- func (m *MsgRedeemVouchers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRedeemVouchers) XXX_Merge(src proto.Message)
- func (m *MsgRedeemVouchers) XXX_Size() int
- func (m *MsgRedeemVouchers) XXX_Unmarshal(b []byte) error
- type MsgRedeemVouchersResponse
- func (*MsgRedeemVouchersResponse) Descriptor() ([]byte, []int)
- func (m *MsgRedeemVouchersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRedeemVouchersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRedeemVouchersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRedeemVouchersResponse) ProtoMessage()
- func (m *MsgRedeemVouchersResponse) Reset()
- func (m *MsgRedeemVouchersResponse) Size() (n int)
- func (m *MsgRedeemVouchersResponse) String() string
- func (m *MsgRedeemVouchersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRedeemVouchersResponse) XXX_DiscardUnknown()
- func (m *MsgRedeemVouchersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRedeemVouchersResponse) XXX_Merge(src proto.Message)
- func (m *MsgRedeemVouchersResponse) XXX_Size() int
- func (m *MsgRedeemVouchersResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUnredeemVouchers
- func (*MsgUnredeemVouchers) Descriptor() ([]byte, []int)
- func (m *MsgUnredeemVouchers) GetCampaignID() uint64
- func (m *MsgUnredeemVouchers) GetSender() string
- func (m *MsgUnredeemVouchers) GetShares() Shares
- func (msg *MsgUnredeemVouchers) GetSignBytes() []byte
- func (msg *MsgUnredeemVouchers) GetSigners() []sdk.AccAddress
- func (m *MsgUnredeemVouchers) Marshal() (dAtA []byte, err error)
- func (m *MsgUnredeemVouchers) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnredeemVouchers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnredeemVouchers) ProtoMessage()
- func (m *MsgUnredeemVouchers) Reset()
- func (msg *MsgUnredeemVouchers) Route() string
- func (m *MsgUnredeemVouchers) Size() (n int)
- func (m *MsgUnredeemVouchers) String() string
- func (msg *MsgUnredeemVouchers) Type() string
- func (m *MsgUnredeemVouchers) Unmarshal(dAtA []byte) error
- func (msg *MsgUnredeemVouchers) ValidateBasic() error
- func (m *MsgUnredeemVouchers) XXX_DiscardUnknown()
- func (m *MsgUnredeemVouchers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnredeemVouchers) XXX_Merge(src proto.Message)
- func (m *MsgUnredeemVouchers) XXX_Size() int
- func (m *MsgUnredeemVouchers) XXX_Unmarshal(b []byte) error
- type MsgUnredeemVouchersResponse
- func (*MsgUnredeemVouchersResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnredeemVouchersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnredeemVouchersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnredeemVouchersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnredeemVouchersResponse) ProtoMessage()
- func (m *MsgUnredeemVouchersResponse) Reset()
- func (m *MsgUnredeemVouchersResponse) Size() (n int)
- func (m *MsgUnredeemVouchersResponse) String() string
- func (m *MsgUnredeemVouchersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnredeemVouchersResponse) XXX_DiscardUnknown()
- func (m *MsgUnredeemVouchersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnredeemVouchersResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnredeemVouchersResponse) XXX_Size() int
- func (m *MsgUnredeemVouchersResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateSpecialAllocations
- func (*MsgUpdateSpecialAllocations) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSpecialAllocations) GetCampaignID() uint64
- func (m *MsgUpdateSpecialAllocations) GetCoordinator() string
- func (msg *MsgUpdateSpecialAllocations) GetSignBytes() []byte
- func (msg *MsgUpdateSpecialAllocations) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateSpecialAllocations) GetSpecialAllocations() SpecialAllocations
- func (m *MsgUpdateSpecialAllocations) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSpecialAllocations) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSpecialAllocations) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSpecialAllocations) ProtoMessage()
- func (m *MsgUpdateSpecialAllocations) Reset()
- func (msg *MsgUpdateSpecialAllocations) Route() string
- func (m *MsgUpdateSpecialAllocations) Size() (n int)
- func (m *MsgUpdateSpecialAllocations) String() string
- func (msg *MsgUpdateSpecialAllocations) Type() string
- func (m *MsgUpdateSpecialAllocations) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateSpecialAllocations) ValidateBasic() error
- func (m *MsgUpdateSpecialAllocations) XXX_DiscardUnknown()
- func (m *MsgUpdateSpecialAllocations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSpecialAllocations) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSpecialAllocations) XXX_Size() int
- func (m *MsgUpdateSpecialAllocations) XXX_Unmarshal(b []byte) error
- type MsgUpdateSpecialAllocationsResponse
- func (*MsgUpdateSpecialAllocationsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSpecialAllocationsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSpecialAllocationsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSpecialAllocationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSpecialAllocationsResponse) ProtoMessage()
- func (m *MsgUpdateSpecialAllocationsResponse) Reset()
- func (m *MsgUpdateSpecialAllocationsResponse) Size() (n int)
- func (m *MsgUpdateSpecialAllocationsResponse) String() string
- func (m *MsgUpdateSpecialAllocationsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateSpecialAllocationsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateSpecialAllocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSpecialAllocationsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSpecialAllocationsResponse) XXX_Size() int
- func (m *MsgUpdateSpecialAllocationsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateTotalSupply
- func (*MsgUpdateTotalSupply) Descriptor() ([]byte, []int)
- func (m *MsgUpdateTotalSupply) GetCampaignID() uint64
- func (m *MsgUpdateTotalSupply) GetCoordinator() string
- func (msg *MsgUpdateTotalSupply) GetSignBytes() []byte
- func (msg *MsgUpdateTotalSupply) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateTotalSupply) GetTotalSupplyUpdate() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgUpdateTotalSupply) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateTotalSupply) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateTotalSupply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateTotalSupply) ProtoMessage()
- func (m *MsgUpdateTotalSupply) Reset()
- func (msg *MsgUpdateTotalSupply) Route() string
- func (m *MsgUpdateTotalSupply) Size() (n int)
- func (m *MsgUpdateTotalSupply) String() string
- func (msg *MsgUpdateTotalSupply) Type() string
- func (m *MsgUpdateTotalSupply) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateTotalSupply) ValidateBasic() error
- func (m *MsgUpdateTotalSupply) XXX_DiscardUnknown()
- func (m *MsgUpdateTotalSupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateTotalSupply) XXX_Merge(src proto.Message)
- func (m *MsgUpdateTotalSupply) XXX_Size() int
- func (m *MsgUpdateTotalSupply) XXX_Unmarshal(b []byte) error
- type MsgUpdateTotalSupplyResponse
- func (*MsgUpdateTotalSupplyResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateTotalSupplyResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateTotalSupplyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateTotalSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateTotalSupplyResponse) ProtoMessage()
- func (m *MsgUpdateTotalSupplyResponse) Reset()
- func (m *MsgUpdateTotalSupplyResponse) Size() (n int)
- func (m *MsgUpdateTotalSupplyResponse) String() string
- func (m *MsgUpdateTotalSupplyResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateTotalSupplyResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateTotalSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateTotalSupplyResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateTotalSupplyResponse) XXX_Size() int
- func (m *MsgUpdateTotalSupplyResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetCampaignCreationFee() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Params) GetTotalSupplyRange() TotalSupplyRange
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) ValidateBasic() 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 ProfileKeeper
- type QueryAllCampaignRequest
- func (*QueryAllCampaignRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllCampaignRequest) GetPagination() *query.PageRequest
- func (m *QueryAllCampaignRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCampaignRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCampaignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCampaignRequest) ProtoMessage()
- func (m *QueryAllCampaignRequest) Reset()
- func (m *QueryAllCampaignRequest) Size() (n int)
- func (m *QueryAllCampaignRequest) String() string
- func (m *QueryAllCampaignRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllCampaignRequest) XXX_DiscardUnknown()
- func (m *QueryAllCampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCampaignRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllCampaignRequest) XXX_Size() int
- func (m *QueryAllCampaignRequest) XXX_Unmarshal(b []byte) error
- type QueryAllCampaignResponse
- func (*QueryAllCampaignResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllCampaignResponse) GetCampaign() []Campaign
- func (m *QueryAllCampaignResponse) GetPagination() *query.PageResponse
- func (m *QueryAllCampaignResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCampaignResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCampaignResponse) ProtoMessage()
- func (m *QueryAllCampaignResponse) Reset()
- func (m *QueryAllCampaignResponse) Size() (n int)
- func (m *QueryAllCampaignResponse) String() string
- func (m *QueryAllCampaignResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllCampaignResponse) XXX_DiscardUnknown()
- func (m *QueryAllCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCampaignResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllCampaignResponse) XXX_Size() int
- func (m *QueryAllCampaignResponse) XXX_Unmarshal(b []byte) error
- type QueryAllMainnetAccountBalanceRequest
- func (*QueryAllMainnetAccountBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllMainnetAccountBalanceRequest) GetCampaignID() uint64
- func (m *QueryAllMainnetAccountBalanceRequest) GetPagination() *query.PageRequest
- func (m *QueryAllMainnetAccountBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllMainnetAccountBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllMainnetAccountBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllMainnetAccountBalanceRequest) ProtoMessage()
- func (m *QueryAllMainnetAccountBalanceRequest) Reset()
- func (m *QueryAllMainnetAccountBalanceRequest) Size() (n int)
- func (m *QueryAllMainnetAccountBalanceRequest) String() string
- func (m *QueryAllMainnetAccountBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllMainnetAccountBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryAllMainnetAccountBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllMainnetAccountBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllMainnetAccountBalanceRequest) XXX_Size() int
- func (m *QueryAllMainnetAccountBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryAllMainnetAccountBalanceResponse
- func (*QueryAllMainnetAccountBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllMainnetAccountBalanceResponse) GetMainnetAccountBalance() []MainnetAccountBalance
- func (m *QueryAllMainnetAccountBalanceResponse) GetPagination() *query.PageResponse
- func (m *QueryAllMainnetAccountBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllMainnetAccountBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllMainnetAccountBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllMainnetAccountBalanceResponse) ProtoMessage()
- func (m *QueryAllMainnetAccountBalanceResponse) Reset()
- func (m *QueryAllMainnetAccountBalanceResponse) Size() (n int)
- func (m *QueryAllMainnetAccountBalanceResponse) String() string
- func (m *QueryAllMainnetAccountBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllMainnetAccountBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryAllMainnetAccountBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllMainnetAccountBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllMainnetAccountBalanceResponse) XXX_Size() int
- func (m *QueryAllMainnetAccountBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryAllMainnetAccountRequest
- func (*QueryAllMainnetAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllMainnetAccountRequest) GetCampaignID() uint64
- func (m *QueryAllMainnetAccountRequest) GetPagination() *query.PageRequest
- func (m *QueryAllMainnetAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllMainnetAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllMainnetAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllMainnetAccountRequest) ProtoMessage()
- func (m *QueryAllMainnetAccountRequest) Reset()
- func (m *QueryAllMainnetAccountRequest) Size() (n int)
- func (m *QueryAllMainnetAccountRequest) String() string
- func (m *QueryAllMainnetAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllMainnetAccountRequest) XXX_DiscardUnknown()
- func (m *QueryAllMainnetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllMainnetAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllMainnetAccountRequest) XXX_Size() int
- func (m *QueryAllMainnetAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryAllMainnetAccountResponse
- func (*QueryAllMainnetAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllMainnetAccountResponse) GetMainnetAccount() []MainnetAccount
- func (m *QueryAllMainnetAccountResponse) GetPagination() *query.PageResponse
- func (m *QueryAllMainnetAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllMainnetAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllMainnetAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllMainnetAccountResponse) ProtoMessage()
- func (m *QueryAllMainnetAccountResponse) Reset()
- func (m *QueryAllMainnetAccountResponse) Size() (n int)
- func (m *QueryAllMainnetAccountResponse) String() string
- func (m *QueryAllMainnetAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllMainnetAccountResponse) XXX_DiscardUnknown()
- func (m *QueryAllMainnetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllMainnetAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllMainnetAccountResponse) XXX_Size() int
- func (m *QueryAllMainnetAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetCampaignChainsRequest
- func (*QueryGetCampaignChainsRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetCampaignChainsRequest) GetCampaignID() uint64
- func (m *QueryGetCampaignChainsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCampaignChainsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCampaignChainsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCampaignChainsRequest) ProtoMessage()
- func (m *QueryGetCampaignChainsRequest) Reset()
- func (m *QueryGetCampaignChainsRequest) Size() (n int)
- func (m *QueryGetCampaignChainsRequest) String() string
- func (m *QueryGetCampaignChainsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetCampaignChainsRequest) XXX_DiscardUnknown()
- func (m *QueryGetCampaignChainsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCampaignChainsRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetCampaignChainsRequest) XXX_Size() int
- func (m *QueryGetCampaignChainsRequest) XXX_Unmarshal(b []byte) error
- type QueryGetCampaignChainsResponse
- func (*QueryGetCampaignChainsResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetCampaignChainsResponse) GetCampaignChains() CampaignChains
- func (m *QueryGetCampaignChainsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCampaignChainsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCampaignChainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCampaignChainsResponse) ProtoMessage()
- func (m *QueryGetCampaignChainsResponse) Reset()
- func (m *QueryGetCampaignChainsResponse) Size() (n int)
- func (m *QueryGetCampaignChainsResponse) String() string
- func (m *QueryGetCampaignChainsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetCampaignChainsResponse) XXX_DiscardUnknown()
- func (m *QueryGetCampaignChainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCampaignChainsResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetCampaignChainsResponse) XXX_Size() int
- func (m *QueryGetCampaignChainsResponse) XXX_Unmarshal(b []byte) error
- type QueryGetCampaignRequest
- func (*QueryGetCampaignRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetCampaignRequest) GetCampaignID() uint64
- func (m *QueryGetCampaignRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCampaignRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCampaignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCampaignRequest) ProtoMessage()
- func (m *QueryGetCampaignRequest) Reset()
- func (m *QueryGetCampaignRequest) Size() (n int)
- func (m *QueryGetCampaignRequest) String() string
- func (m *QueryGetCampaignRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetCampaignRequest) XXX_DiscardUnknown()
- func (m *QueryGetCampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCampaignRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetCampaignRequest) XXX_Size() int
- func (m *QueryGetCampaignRequest) XXX_Unmarshal(b []byte) error
- type QueryGetCampaignResponse
- func (*QueryGetCampaignResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetCampaignResponse) GetCampaign() Campaign
- func (m *QueryGetCampaignResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCampaignResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCampaignResponse) ProtoMessage()
- func (m *QueryGetCampaignResponse) Reset()
- func (m *QueryGetCampaignResponse) Size() (n int)
- func (m *QueryGetCampaignResponse) String() string
- func (m *QueryGetCampaignResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetCampaignResponse) XXX_DiscardUnknown()
- func (m *QueryGetCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCampaignResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetCampaignResponse) XXX_Size() int
- func (m *QueryGetCampaignResponse) XXX_Unmarshal(b []byte) error
- type QueryGetMainnetAccountBalanceRequest
- func (*QueryGetMainnetAccountBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetMainnetAccountBalanceRequest) GetAddress() string
- func (m *QueryGetMainnetAccountBalanceRequest) GetCampaignID() uint64
- func (m *QueryGetMainnetAccountBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMainnetAccountBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMainnetAccountBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMainnetAccountBalanceRequest) ProtoMessage()
- func (m *QueryGetMainnetAccountBalanceRequest) Reset()
- func (m *QueryGetMainnetAccountBalanceRequest) Size() (n int)
- func (m *QueryGetMainnetAccountBalanceRequest) String() string
- func (m *QueryGetMainnetAccountBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetMainnetAccountBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryGetMainnetAccountBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMainnetAccountBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetMainnetAccountBalanceRequest) XXX_Size() int
- func (m *QueryGetMainnetAccountBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryGetMainnetAccountBalanceResponse
- func (*QueryGetMainnetAccountBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetMainnetAccountBalanceResponse) GetMainnetAccountBalance() MainnetAccountBalance
- func (m *QueryGetMainnetAccountBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMainnetAccountBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMainnetAccountBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMainnetAccountBalanceResponse) ProtoMessage()
- func (m *QueryGetMainnetAccountBalanceResponse) Reset()
- func (m *QueryGetMainnetAccountBalanceResponse) Size() (n int)
- func (m *QueryGetMainnetAccountBalanceResponse) String() string
- func (m *QueryGetMainnetAccountBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetMainnetAccountBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryGetMainnetAccountBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMainnetAccountBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetMainnetAccountBalanceResponse) XXX_Size() int
- func (m *QueryGetMainnetAccountBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryGetMainnetAccountRequest
- func (*QueryGetMainnetAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetMainnetAccountRequest) GetAddress() string
- func (m *QueryGetMainnetAccountRequest) GetCampaignID() uint64
- func (m *QueryGetMainnetAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMainnetAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMainnetAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMainnetAccountRequest) ProtoMessage()
- func (m *QueryGetMainnetAccountRequest) Reset()
- func (m *QueryGetMainnetAccountRequest) Size() (n int)
- func (m *QueryGetMainnetAccountRequest) String() string
- func (m *QueryGetMainnetAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetMainnetAccountRequest) XXX_DiscardUnknown()
- func (m *QueryGetMainnetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMainnetAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetMainnetAccountRequest) XXX_Size() int
- func (m *QueryGetMainnetAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryGetMainnetAccountResponse
- func (*QueryGetMainnetAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetMainnetAccountResponse) GetMainnetAccount() MainnetAccount
- func (m *QueryGetMainnetAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMainnetAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMainnetAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMainnetAccountResponse) ProtoMessage()
- func (m *QueryGetMainnetAccountResponse) Reset()
- func (m *QueryGetMainnetAccountResponse) Size() (n int)
- func (m *QueryGetMainnetAccountResponse) String() string
- func (m *QueryGetMainnetAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetMainnetAccountResponse) XXX_DiscardUnknown()
- func (m *QueryGetMainnetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMainnetAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetMainnetAccountResponse) XXX_Size() int
- func (m *QueryGetMainnetAccountResponse) 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 QueryServer
- type QuerySpecialAllocationsBalanceRequest
- func (*QuerySpecialAllocationsBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QuerySpecialAllocationsBalanceRequest) GetCampaignID() uint64
- func (m *QuerySpecialAllocationsBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySpecialAllocationsBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpecialAllocationsBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpecialAllocationsBalanceRequest) ProtoMessage()
- func (m *QuerySpecialAllocationsBalanceRequest) Reset()
- func (m *QuerySpecialAllocationsBalanceRequest) Size() (n int)
- func (m *QuerySpecialAllocationsBalanceRequest) String() string
- func (m *QuerySpecialAllocationsBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySpecialAllocationsBalanceRequest) XXX_DiscardUnknown()
- func (m *QuerySpecialAllocationsBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpecialAllocationsBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QuerySpecialAllocationsBalanceRequest) XXX_Size() int
- func (m *QuerySpecialAllocationsBalanceRequest) XXX_Unmarshal(b []byte) error
- type QuerySpecialAllocationsBalanceResponse
- func (*QuerySpecialAllocationsBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QuerySpecialAllocationsBalanceResponse) GetClaimableAirdrop() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QuerySpecialAllocationsBalanceResponse) GetGenesisDistribution() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QuerySpecialAllocationsBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySpecialAllocationsBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpecialAllocationsBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpecialAllocationsBalanceResponse) ProtoMessage()
- func (m *QuerySpecialAllocationsBalanceResponse) Reset()
- func (m *QuerySpecialAllocationsBalanceResponse) Size() (n int)
- func (m *QuerySpecialAllocationsBalanceResponse) String() string
- func (m *QuerySpecialAllocationsBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySpecialAllocationsBalanceResponse) XXX_DiscardUnknown()
- func (m *QuerySpecialAllocationsBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpecialAllocationsBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QuerySpecialAllocationsBalanceResponse) XXX_Size() int
- func (m *QuerySpecialAllocationsBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryTotalSharesRequest
- func (*QueryTotalSharesRequest) Descriptor() ([]byte, []int)
- func (m *QueryTotalSharesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalSharesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalSharesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalSharesRequest) ProtoMessage()
- func (m *QueryTotalSharesRequest) Reset()
- func (m *QueryTotalSharesRequest) Size() (n int)
- func (m *QueryTotalSharesRequest) String() string
- func (m *QueryTotalSharesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTotalSharesRequest) XXX_DiscardUnknown()
- func (m *QueryTotalSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalSharesRequest) XXX_Merge(src proto.Message)
- func (m *QueryTotalSharesRequest) XXX_Size() int
- func (m *QueryTotalSharesRequest) XXX_Unmarshal(b []byte) error
- type QueryTotalSharesResponse
- func (*QueryTotalSharesResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalSharesResponse) GetTotalShares() uint64
- func (m *QueryTotalSharesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalSharesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalSharesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalSharesResponse) ProtoMessage()
- func (m *QueryTotalSharesResponse) Reset()
- func (m *QueryTotalSharesResponse) Size() (n int)
- func (m *QueryTotalSharesResponse) String() string
- func (m *QueryTotalSharesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalSharesResponse) XXX_DiscardUnknown()
- func (m *QueryTotalSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalSharesResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalSharesResponse) XXX_Size() int
- func (m *QueryTotalSharesResponse) XXX_Unmarshal(b []byte) error
- type ShareDelayedVesting
- func (*ShareDelayedVesting) Descriptor() ([]byte, []int)
- func (m *ShareDelayedVesting) GetEndTime() time.Time
- func (m *ShareDelayedVesting) GetTotalShares() Shares
- func (m *ShareDelayedVesting) GetVesting() Shares
- func (m *ShareDelayedVesting) Marshal() (dAtA []byte, err error)
- func (m *ShareDelayedVesting) MarshalTo(dAtA []byte) (int, error)
- func (m *ShareDelayedVesting) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ShareDelayedVesting) ProtoMessage()
- func (m *ShareDelayedVesting) Reset()
- func (m *ShareDelayedVesting) Size() (n int)
- func (m *ShareDelayedVesting) String() string
- func (m *ShareDelayedVesting) Unmarshal(dAtA []byte) error
- func (m *ShareDelayedVesting) XXX_DiscardUnknown()
- func (m *ShareDelayedVesting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShareDelayedVesting) XXX_Merge(src proto.Message)
- func (m *ShareDelayedVesting) XXX_Size() int
- func (m *ShareDelayedVesting) XXX_Unmarshal(b []byte) error
- type ShareVestingOptions
- func (*ShareVestingOptions) Descriptor() ([]byte, []int)
- func (m *ShareVestingOptions) GetDelayedVesting() *ShareDelayedVesting
- func (m *ShareVestingOptions) GetOptions() isShareVestingOptions_Options
- func (m *ShareVestingOptions) Marshal() (dAtA []byte, err error)
- func (m *ShareVestingOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *ShareVestingOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ShareVestingOptions) ProtoMessage()
- func (m *ShareVestingOptions) Reset()
- func (m *ShareVestingOptions) Size() (n int)
- func (m *ShareVestingOptions) String() string
- func (m *ShareVestingOptions) Unmarshal(dAtA []byte) error
- func (m ShareVestingOptions) Validate() error
- func (m *ShareVestingOptions) XXX_DiscardUnknown()
- func (m *ShareVestingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShareVestingOptions) XXX_Merge(src proto.Message)
- func (*ShareVestingOptions) XXX_OneofWrappers() []interface{}
- func (m *ShareVestingOptions) XXX_Size() int
- func (m *ShareVestingOptions) XXX_Unmarshal(b []byte) error
- type ShareVestingOptions_DelayedVesting
- type Shares
- func DecreaseShares(shares, toDecrease Shares) (Shares, error)
- func EmptyShares() Shares
- func IncreaseShares(shares, newShares Shares) Shares
- func NewShares(str string) (Shares, error)
- func NewSharesFromCoins(coins sdk.Coins) Shares
- func VouchersToShares(vouchers sdk.Coins, campaignID uint64) (Shares, error)
- type SpecialAllocations
- func (*SpecialAllocations) Descriptor() ([]byte, []int)
- func (m *SpecialAllocations) GetClaimableAirdrop() Shares
- func (m *SpecialAllocations) GetGenesisDistribution() Shares
- func (m *SpecialAllocations) Marshal() (dAtA []byte, err error)
- func (m *SpecialAllocations) MarshalTo(dAtA []byte) (int, error)
- func (m *SpecialAllocations) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpecialAllocations) ProtoMessage()
- func (m *SpecialAllocations) Reset()
- func (m *SpecialAllocations) Size() (n int)
- func (m *SpecialAllocations) String() string
- func (sa SpecialAllocations) TotalShares() Shares
- func (m *SpecialAllocations) Unmarshal(dAtA []byte) error
- func (sa SpecialAllocations) Validate() error
- func (m *SpecialAllocations) XXX_DiscardUnknown()
- func (m *SpecialAllocations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpecialAllocations) XXX_Merge(src proto.Message)
- func (m *SpecialAllocations) XXX_Size() int
- func (m *SpecialAllocations) XXX_Unmarshal(b []byte) error
- type TotalSupplyRange
- func (*TotalSupplyRange) Descriptor() ([]byte, []int)
- func (m *TotalSupplyRange) Marshal() (dAtA []byte, err error)
- func (m *TotalSupplyRange) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalSupplyRange) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalSupplyRange) ProtoMessage()
- func (m *TotalSupplyRange) Reset()
- func (m *TotalSupplyRange) Size() (n int)
- func (m *TotalSupplyRange) String() string
- func (m *TotalSupplyRange) Unmarshal(dAtA []byte) error
- func (sr TotalSupplyRange) ValidateBasic() error
- func (m *TotalSupplyRange) XXX_DiscardUnknown()
- func (m *TotalSupplyRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalSupplyRange) XXX_Merge(src proto.Message)
- func (m *TotalSupplyRange) XXX_Size() int
- func (m *TotalSupplyRange) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) BurnVouchers(ctx context.Context, req *MsgBurnVouchers) (*MsgBurnVouchersResponse, error)
- func (*UnimplementedMsgServer) CreateCampaign(ctx context.Context, req *MsgCreateCampaign) (*MsgCreateCampaignResponse, error)
- func (*UnimplementedMsgServer) EditCampaign(ctx context.Context, req *MsgEditCampaign) (*MsgEditCampaignResponse, error)
- func (*UnimplementedMsgServer) InitializeMainnet(ctx context.Context, req *MsgInitializeMainnet) (*MsgInitializeMainnetResponse, error)
- func (*UnimplementedMsgServer) MintVouchers(ctx context.Context, req *MsgMintVouchers) (*MsgMintVouchersResponse, error)
- func (*UnimplementedMsgServer) RedeemVouchers(ctx context.Context, req *MsgRedeemVouchers) (*MsgRedeemVouchersResponse, error)
- func (*UnimplementedMsgServer) UnredeemVouchers(ctx context.Context, req *MsgUnredeemVouchers) (*MsgUnredeemVouchersResponse, error)
- func (*UnimplementedMsgServer) UpdateSpecialAllocations(ctx context.Context, req *MsgUpdateSpecialAllocations) (*MsgUpdateSpecialAllocationsResponse, error)
- func (*UnimplementedMsgServer) UpdateTotalSupply(ctx context.Context, req *MsgUpdateTotalSupply) (*MsgUpdateTotalSupplyResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Campaign(ctx context.Context, req *QueryGetCampaignRequest) (*QueryGetCampaignResponse, error)
- func (*UnimplementedQueryServer) CampaignAll(ctx context.Context, req *QueryAllCampaignRequest) (*QueryAllCampaignResponse, error)
- func (*UnimplementedQueryServer) CampaignChains(ctx context.Context, req *QueryGetCampaignChainsRequest) (*QueryGetCampaignChainsResponse, error)
- func (*UnimplementedQueryServer) MainnetAccount(ctx context.Context, req *QueryGetMainnetAccountRequest) (*QueryGetMainnetAccountResponse, error)
- func (*UnimplementedQueryServer) MainnetAccountAll(ctx context.Context, req *QueryAllMainnetAccountRequest) (*QueryAllMainnetAccountResponse, error)
- func (*UnimplementedQueryServer) MainnetAccountBalance(ctx context.Context, req *QueryGetMainnetAccountBalanceRequest) (*QueryGetMainnetAccountBalanceResponse, error)
- func (*UnimplementedQueryServer) MainnetAccountBalanceAll(ctx context.Context, req *QueryAllMainnetAccountBalanceRequest) (*QueryAllMainnetAccountBalanceResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) SpecialAllocationsBalance(ctx context.Context, req *QuerySpecialAllocationsBalanceRequest) (*QuerySpecialAllocationsBalanceResponse, error)
- func (*UnimplementedQueryServer) TotalShares(ctx context.Context, req *QueryTotalSharesRequest) (*QueryTotalSharesResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "campaign" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_campaign" // CampaignKey is the prefix to retrieve all Campaign CampaignKey = "Campaign/value/" // CampaignCounterKey is the prefix to store campaign count CampaignCounterKey = "Campaign/count/" TotalSharesKey = "TotalShares/value/" // CampaignChainsKeyPrefix is the prefix to retrieve all CampaignChains CampaignChainsKeyPrefix = "CampaignChains/value/" // MainnetAccountKeyPrefix is the prefix to retrieve all MainnetAccount MainnetAccountKeyPrefix = "MainnetAccount/value/" // MainnetVestingAccountKeyPrefix is the prefix to retrieve all MainnetVestingAccount MainnetVestingAccountKeyPrefix = "MainnetVestingAccount/value/" )
const ( // VoucherSeparator is used in voucher denom to separate the denom component VoucherSeparator = "/" // VoucherPrefix is the prefix used to represent a voucher denomination VoucherPrefix = "v" + VoucherSeparator )
const (
CampaignNameMaxLength = 50
)
const ( // A sdk.Coin containing this prefix must never be represented in a balance in the bank module SharePrefix = "s/" )
const TypeMsgBurnVouchers = "burn_vouchers"
const TypeMsgCreateCampaign = "create_campaign"
const TypeMsgEditCampaign = "edit_campaign"
const TypeMsgInitializeMainnet = "initialize_mainnet"
const TypeMsgMintVouchers = "mint_vouchers"
const TypeMsgRedeemVouchers = "redeem_vouchers"
const TypeMsgUnredeemVouchers = "unredeem_vouchers"
const TypeMsgUpdateSpecialAllocations = "update_special_allocations"
const TypeMsgUpdateTotalSupply = "update_total_supply"
Variables ¶
var ( ErrInvalidLengthCampaign = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCampaign = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCampaign = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthCampaignChains = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCampaignChains = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCampaignChains = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidTotalSupply = sdkerrors.Register(ModuleName, 2, "invalid total supply") ErrCampaignNotFound = sdkerrors.Register(ModuleName, 3, "campaign not found") ErrMainnetInitialized = sdkerrors.Register(ModuleName, 4, "mainnet initialized") ErrAccountNotFound = sdkerrors.Register(ModuleName, 7, "account not found") ErrVouchersMinting = sdkerrors.Register(ModuleName, 9, "vouchers can't be minted") ErrInvalidVouchers = sdkerrors.Register(ModuleName, 10, "invalid vouchers") ErrNoMatchVouchers = sdkerrors.Register(ModuleName, 11, "vouchers don't match to campaign") ErrInsufficientVouchers = sdkerrors.Register(ModuleName, 12, "account with insufficient vouchers") ErrInvalidCampaignName = sdkerrors.Register(ModuleName, 13, "invalid campaign name") ErrInvalidSupplyRange = sdkerrors.Register(ModuleName, 14, "invalid total supply range") ErrInvalidMetadataLength = sdkerrors.Register(ModuleName, 15, "metadata field too long") ErrMainnetLaunchTriggered = sdkerrors.Register(ModuleName, 16, "mainnet launch already triggered") ErrInvalidSpecialAllocations = sdkerrors.Register(ModuleName, 17, "invalid special allocations") ErrInvalidMainnetInfo = sdkerrors.Register(ModuleName, 18, "invalid mainnet info") ErrCannotUpdateCampaign = sdkerrors.Register(ModuleName, 19, "cannot update campaign") ErrInvalidVoucherAddress = sdkerrors.Register(ModuleName, 20, "invalid address for voucher operation") ErrFundCommunityPool = sdkerrors.Register(ModuleName, 21, "unable to fund community pool") )
x/campaign module sentinel errors
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
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 ( ErrInvalidLengthMainnetAccount = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMainnetAccount = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMainnetAccount = fmt.Errorf("proto: unexpected end of group") )
var ( DefaultMinTotalSupply = sdkmath.NewInt(100) // One hundred DefaultMaxTotalSupply = sdkmath.NewInt(1_000_000_000_000_000) // One Quadrillion DefaultCampaignCreationFee = sdk.Coins(nil) // EmptyCoins KeyTotalSupplyRange = []byte("TotalSupplyRange") KeyCampaignCreationFee = []byte("CampaignCreationFee") )
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 ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthSpecialAllocations = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSpecialAllocations = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSpecialAllocations = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func AccountKeyPath ¶
AccountKeyPath returns the store key path without prefix for an account defined by a campaign ID and an address
func CampaignChainsKey ¶
CampaignChainsKey returns the store key to retrieve a CampaignChains from the index fields
func CheckCampaignName ¶
CheckCampaignName verifies the name is valid as a campaign name
func CheckShares ¶
CheckShares checks if given shares are valid shares
func CheckVouchers ¶
CheckVouchers checks if given Vouchers are valid
func IsEqualShares ¶
IsEqualShares returns true if the two sets of Shares have the same value
func IsTotalSharesReached ¶
IsTotalSharesReached checks if the provided shares overflow the total number of shares
func MainnetAccountAllKey ¶
MainnetAccountAllKey returns the store key to retrieve all MainnetAccount by campaign id
func MainnetVestingAccountAllKey ¶
MainnetVestingAccountAllKey returns the store key to retrieve all MainnetVestingAccount by campaign id
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
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 SharesToVouchers ¶
SharesToVouchers returns new Coins vouchers from the Shares representation
func UpdateTotalSupply ¶
UpdateTotalSupply returns updated total supply by adding new denoms and replacing existing ones This method doesn't check coins format
func ValidateTotalSupply ¶
func ValidateTotalSupply(totalSupply sdk.Coins, supplyRange TotalSupplyRange) error
ValidateTotalSupply checks whether the total supply for each denom is within the provided total supply range
func VoucherCampaign ¶
VoucherCampaign returns the campaign associated to a voucher denom
func VoucherDenom ¶
VoucherDenom returns the Voucher name with prefix
func VoucherToShareDenom ¶
VoucherToShareDenom remove the voucher prefix and add the share prefix
Types ¶
type AccountKeeper ¶
type BankKeeper ¶
type BankKeeper interface {
GetSupply(ctx sdk.Context, denom string) sdk.Coin
MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
IterateAllBalances(ctx sdk.Context, cb func(sdk.AccAddress, sdk.Coin) bool)
IterateAccountBalances(ctx sdk.Context, addr sdk.AccAddress, cb func(sdk.Coin) bool)
}
type Campaign ¶
type Campaign struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
CampaignName string `protobuf:"bytes,2,opt,name=campaignName,proto3" json:"campaignName,omitempty"`
CoordinatorID uint64 `protobuf:"varint,3,opt,name=coordinatorID,proto3" json:"coordinatorID,omitempty"`
CreatedAt int64 `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
MainnetID uint64 `protobuf:"varint,5,opt,name=mainnetID,proto3" json:"mainnetID,omitempty"`
MainnetInitialized bool `protobuf:"varint,6,opt,name=mainnetInitialized,proto3" json:"mainnetInitialized,omitempty"`
TotalSupply github_com_cosmos_cosmos_sdk_types.Coins `` /* 168-byte string literal not displayed */
SpecialAllocations SpecialAllocations `protobuf:"bytes,9,opt,name=specialAllocations,proto3" json:"specialAllocations"`
Metadata []byte `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
func NewCampaign ¶
func NewCampaign( campaignID uint64, campaignName string, coordinatorID uint64, totalSupply sdk.Coins, metadata []byte, createdAt int64, ) Campaign
NewCampaign returns a new initialized campaign
func (*Campaign) Descriptor ¶
func (*Campaign) GetAllocatedShares ¶
func (*Campaign) GetCampaignID ¶
func (*Campaign) GetCampaignName ¶
func (*Campaign) GetCoordinatorID ¶
func (*Campaign) GetCreatedAt ¶
func (*Campaign) GetMainnetID ¶
func (*Campaign) GetMainnetInitialized ¶
func (*Campaign) GetMetadata ¶
func (*Campaign) GetSpecialAllocations ¶
func (m *Campaign) GetSpecialAllocations() SpecialAllocations
func (*Campaign) GetTotalSupply ¶
func (m *Campaign) GetTotalSupply() github_com_cosmos_cosmos_sdk_types.Coins
func (*Campaign) MarshalToSizedBuffer ¶
func (*Campaign) ProtoMessage ¶
func (*Campaign) ProtoMessage()
func (*Campaign) XXX_DiscardUnknown ¶
func (m *Campaign) XXX_DiscardUnknown()
func (*Campaign) XXX_Marshal ¶
func (*Campaign) XXX_Unmarshal ¶
type CampaignChains ¶
type CampaignChains struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Chains []uint64 `protobuf:"varint,2,rep,packed,name=chains,proto3" json:"chains,omitempty"`
}
func (*CampaignChains) Descriptor ¶
func (*CampaignChains) Descriptor() ([]byte, []int)
func (*CampaignChains) GetCampaignID ¶
func (m *CampaignChains) GetCampaignID() uint64
func (*CampaignChains) GetChains ¶
func (m *CampaignChains) GetChains() []uint64
func (*CampaignChains) Marshal ¶
func (m *CampaignChains) Marshal() (dAtA []byte, err error)
func (*CampaignChains) MarshalToSizedBuffer ¶
func (m *CampaignChains) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CampaignChains) ProtoMessage ¶
func (*CampaignChains) ProtoMessage()
func (*CampaignChains) Reset ¶
func (m *CampaignChains) Reset()
func (*CampaignChains) Size ¶
func (m *CampaignChains) Size() (n int)
func (*CampaignChains) String ¶
func (m *CampaignChains) String() string
func (*CampaignChains) Unmarshal ¶
func (m *CampaignChains) Unmarshal(dAtA []byte) error
func (*CampaignChains) XXX_DiscardUnknown ¶
func (m *CampaignChains) XXX_DiscardUnknown()
func (*CampaignChains) XXX_Marshal ¶
func (m *CampaignChains) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CampaignChains) XXX_Merge ¶
func (m *CampaignChains) XXX_Merge(src proto.Message)
func (*CampaignChains) XXX_Size ¶
func (m *CampaignChains) XXX_Size() int
func (*CampaignChains) XXX_Unmarshal ¶
func (m *CampaignChains) XXX_Unmarshal(b []byte) error
type DistributionKeeper ¶
type EventCampaignAuctionCreated ¶
type EventCampaignAuctionCreated struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
AuctionID uint64 `protobuf:"varint,2,opt,name=auctionID,proto3" json:"auctionID,omitempty"`
}
func (*EventCampaignAuctionCreated) Descriptor ¶
func (*EventCampaignAuctionCreated) Descriptor() ([]byte, []int)
func (*EventCampaignAuctionCreated) GetAuctionID ¶
func (m *EventCampaignAuctionCreated) GetAuctionID() uint64
func (*EventCampaignAuctionCreated) GetCampaignID ¶
func (m *EventCampaignAuctionCreated) GetCampaignID() uint64
func (*EventCampaignAuctionCreated) Marshal ¶
func (m *EventCampaignAuctionCreated) Marshal() (dAtA []byte, err error)
func (*EventCampaignAuctionCreated) MarshalTo ¶
func (m *EventCampaignAuctionCreated) MarshalTo(dAtA []byte) (int, error)
func (*EventCampaignAuctionCreated) MarshalToSizedBuffer ¶
func (m *EventCampaignAuctionCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCampaignAuctionCreated) ProtoMessage ¶
func (*EventCampaignAuctionCreated) ProtoMessage()
func (*EventCampaignAuctionCreated) Reset ¶
func (m *EventCampaignAuctionCreated) Reset()
func (*EventCampaignAuctionCreated) Size ¶
func (m *EventCampaignAuctionCreated) Size() (n int)
func (*EventCampaignAuctionCreated) String ¶
func (m *EventCampaignAuctionCreated) String() string
func (*EventCampaignAuctionCreated) Unmarshal ¶
func (m *EventCampaignAuctionCreated) Unmarshal(dAtA []byte) error
func (*EventCampaignAuctionCreated) XXX_DiscardUnknown ¶
func (m *EventCampaignAuctionCreated) XXX_DiscardUnknown()
func (*EventCampaignAuctionCreated) XXX_Marshal ¶
func (m *EventCampaignAuctionCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCampaignAuctionCreated) XXX_Merge ¶
func (m *EventCampaignAuctionCreated) XXX_Merge(src proto.Message)
func (*EventCampaignAuctionCreated) XXX_Size ¶
func (m *EventCampaignAuctionCreated) XXX_Size() int
func (*EventCampaignAuctionCreated) XXX_Unmarshal ¶
func (m *EventCampaignAuctionCreated) XXX_Unmarshal(b []byte) error
type EventCampaignChainAdded ¶
type EventCampaignChainAdded struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
LaunchID uint64 `protobuf:"varint,2,opt,name=launchID,proto3" json:"launchID,omitempty"`
}
func (*EventCampaignChainAdded) Descriptor ¶
func (*EventCampaignChainAdded) Descriptor() ([]byte, []int)
func (*EventCampaignChainAdded) GetCampaignID ¶
func (m *EventCampaignChainAdded) GetCampaignID() uint64
func (*EventCampaignChainAdded) GetLaunchID ¶
func (m *EventCampaignChainAdded) GetLaunchID() uint64
func (*EventCampaignChainAdded) Marshal ¶
func (m *EventCampaignChainAdded) Marshal() (dAtA []byte, err error)
func (*EventCampaignChainAdded) MarshalTo ¶
func (m *EventCampaignChainAdded) MarshalTo(dAtA []byte) (int, error)
func (*EventCampaignChainAdded) MarshalToSizedBuffer ¶
func (m *EventCampaignChainAdded) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCampaignChainAdded) ProtoMessage ¶
func (*EventCampaignChainAdded) ProtoMessage()
func (*EventCampaignChainAdded) Reset ¶
func (m *EventCampaignChainAdded) Reset()
func (*EventCampaignChainAdded) Size ¶
func (m *EventCampaignChainAdded) Size() (n int)
func (*EventCampaignChainAdded) String ¶
func (m *EventCampaignChainAdded) String() string
func (*EventCampaignChainAdded) Unmarshal ¶
func (m *EventCampaignChainAdded) Unmarshal(dAtA []byte) error
func (*EventCampaignChainAdded) XXX_DiscardUnknown ¶
func (m *EventCampaignChainAdded) XXX_DiscardUnknown()
func (*EventCampaignChainAdded) XXX_Marshal ¶
func (m *EventCampaignChainAdded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCampaignChainAdded) XXX_Merge ¶
func (m *EventCampaignChainAdded) XXX_Merge(src proto.Message)
func (*EventCampaignChainAdded) XXX_Size ¶
func (m *EventCampaignChainAdded) XXX_Size() int
func (*EventCampaignChainAdded) XXX_Unmarshal ¶
func (m *EventCampaignChainAdded) XXX_Unmarshal(b []byte) error
type EventCampaignCreated ¶
type EventCampaignCreated struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
CoordinatorAddress string `protobuf:"bytes,2,opt,name=coordinatorAddress,proto3" json:"coordinatorAddress,omitempty"`
CoordinatorID uint64 `protobuf:"varint,3,opt,name=coordinatorID,proto3" json:"coordinatorID,omitempty"`
}
func (*EventCampaignCreated) Descriptor ¶
func (*EventCampaignCreated) Descriptor() ([]byte, []int)
func (*EventCampaignCreated) GetCampaignID ¶
func (m *EventCampaignCreated) GetCampaignID() uint64
func (*EventCampaignCreated) GetCoordinatorAddress ¶
func (m *EventCampaignCreated) GetCoordinatorAddress() string
func (*EventCampaignCreated) GetCoordinatorID ¶
func (m *EventCampaignCreated) GetCoordinatorID() uint64
func (*EventCampaignCreated) Marshal ¶
func (m *EventCampaignCreated) Marshal() (dAtA []byte, err error)
func (*EventCampaignCreated) MarshalTo ¶
func (m *EventCampaignCreated) MarshalTo(dAtA []byte) (int, error)
func (*EventCampaignCreated) MarshalToSizedBuffer ¶
func (m *EventCampaignCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCampaignCreated) ProtoMessage ¶
func (*EventCampaignCreated) ProtoMessage()
func (*EventCampaignCreated) Reset ¶
func (m *EventCampaignCreated) Reset()
func (*EventCampaignCreated) Size ¶
func (m *EventCampaignCreated) Size() (n int)
func (*EventCampaignCreated) String ¶
func (m *EventCampaignCreated) String() string
func (*EventCampaignCreated) Unmarshal ¶
func (m *EventCampaignCreated) Unmarshal(dAtA []byte) error
func (*EventCampaignCreated) XXX_DiscardUnknown ¶
func (m *EventCampaignCreated) XXX_DiscardUnknown()
func (*EventCampaignCreated) XXX_Marshal ¶
func (m *EventCampaignCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCampaignCreated) XXX_Merge ¶
func (m *EventCampaignCreated) XXX_Merge(src proto.Message)
func (*EventCampaignCreated) XXX_Size ¶
func (m *EventCampaignCreated) XXX_Size() int
func (*EventCampaignCreated) XXX_Unmarshal ¶
func (m *EventCampaignCreated) XXX_Unmarshal(b []byte) error
type EventCampaignInfoUpdated ¶
type EventCampaignInfoUpdated struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
CoordinatorAddress string `protobuf:"bytes,2,opt,name=coordinatorAddress,proto3" json:"coordinatorAddress,omitempty"`
CampaignName string `protobuf:"bytes,3,opt,name=campaignName,proto3" json:"campaignName,omitempty"`
Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
func (*EventCampaignInfoUpdated) Descriptor ¶
func (*EventCampaignInfoUpdated) Descriptor() ([]byte, []int)
func (*EventCampaignInfoUpdated) GetCampaignID ¶
func (m *EventCampaignInfoUpdated) GetCampaignID() uint64
func (*EventCampaignInfoUpdated) GetCampaignName ¶
func (m *EventCampaignInfoUpdated) GetCampaignName() string
func (*EventCampaignInfoUpdated) GetCoordinatorAddress ¶
func (m *EventCampaignInfoUpdated) GetCoordinatorAddress() string
func (*EventCampaignInfoUpdated) GetMetadata ¶
func (m *EventCampaignInfoUpdated) GetMetadata() []byte
func (*EventCampaignInfoUpdated) Marshal ¶
func (m *EventCampaignInfoUpdated) Marshal() (dAtA []byte, err error)
func (*EventCampaignInfoUpdated) MarshalTo ¶
func (m *EventCampaignInfoUpdated) MarshalTo(dAtA []byte) (int, error)
func (*EventCampaignInfoUpdated) MarshalToSizedBuffer ¶
func (m *EventCampaignInfoUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCampaignInfoUpdated) ProtoMessage ¶
func (*EventCampaignInfoUpdated) ProtoMessage()
func (*EventCampaignInfoUpdated) Reset ¶
func (m *EventCampaignInfoUpdated) Reset()
func (*EventCampaignInfoUpdated) Size ¶
func (m *EventCampaignInfoUpdated) Size() (n int)
func (*EventCampaignInfoUpdated) String ¶
func (m *EventCampaignInfoUpdated) String() string
func (*EventCampaignInfoUpdated) Unmarshal ¶
func (m *EventCampaignInfoUpdated) Unmarshal(dAtA []byte) error
func (*EventCampaignInfoUpdated) XXX_DiscardUnknown ¶
func (m *EventCampaignInfoUpdated) XXX_DiscardUnknown()
func (*EventCampaignInfoUpdated) XXX_Marshal ¶
func (m *EventCampaignInfoUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCampaignInfoUpdated) XXX_Merge ¶
func (m *EventCampaignInfoUpdated) XXX_Merge(src proto.Message)
func (*EventCampaignInfoUpdated) XXX_Size ¶
func (m *EventCampaignInfoUpdated) XXX_Size() int
func (*EventCampaignInfoUpdated) XXX_Unmarshal ¶
func (m *EventCampaignInfoUpdated) XXX_Unmarshal(b []byte) error
type EventCampaignMainnetInitialized ¶
type EventCampaignMainnetInitialized struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
CoordinatorAddress string `protobuf:"bytes,2,opt,name=coordinatorAddress,proto3" json:"coordinatorAddress,omitempty"`
MainnetID uint64 `protobuf:"varint,3,opt,name=mainnetID,proto3" json:"mainnetID,omitempty"`
}
func (*EventCampaignMainnetInitialized) Descriptor ¶
func (*EventCampaignMainnetInitialized) Descriptor() ([]byte, []int)
func (*EventCampaignMainnetInitialized) GetCampaignID ¶
func (m *EventCampaignMainnetInitialized) GetCampaignID() uint64
func (*EventCampaignMainnetInitialized) GetCoordinatorAddress ¶
func (m *EventCampaignMainnetInitialized) GetCoordinatorAddress() string
func (*EventCampaignMainnetInitialized) GetMainnetID ¶
func (m *EventCampaignMainnetInitialized) GetMainnetID() uint64
func (*EventCampaignMainnetInitialized) Marshal ¶
func (m *EventCampaignMainnetInitialized) Marshal() (dAtA []byte, err error)
func (*EventCampaignMainnetInitialized) MarshalTo ¶
func (m *EventCampaignMainnetInitialized) MarshalTo(dAtA []byte) (int, error)
func (*EventCampaignMainnetInitialized) MarshalToSizedBuffer ¶
func (m *EventCampaignMainnetInitialized) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCampaignMainnetInitialized) ProtoMessage ¶
func (*EventCampaignMainnetInitialized) ProtoMessage()
func (*EventCampaignMainnetInitialized) Reset ¶
func (m *EventCampaignMainnetInitialized) Reset()
func (*EventCampaignMainnetInitialized) Size ¶
func (m *EventCampaignMainnetInitialized) Size() (n int)
func (*EventCampaignMainnetInitialized) String ¶
func (m *EventCampaignMainnetInitialized) String() string
func (*EventCampaignMainnetInitialized) Unmarshal ¶
func (m *EventCampaignMainnetInitialized) Unmarshal(dAtA []byte) error
func (*EventCampaignMainnetInitialized) XXX_DiscardUnknown ¶
func (m *EventCampaignMainnetInitialized) XXX_DiscardUnknown()
func (*EventCampaignMainnetInitialized) XXX_Marshal ¶
func (m *EventCampaignMainnetInitialized) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCampaignMainnetInitialized) XXX_Merge ¶
func (m *EventCampaignMainnetInitialized) XXX_Merge(src proto.Message)
func (*EventCampaignMainnetInitialized) XXX_Size ¶
func (m *EventCampaignMainnetInitialized) XXX_Size() int
func (*EventCampaignMainnetInitialized) XXX_Unmarshal ¶
func (m *EventCampaignMainnetInitialized) XXX_Unmarshal(b []byte) error
type EventCampaignSharesUpdated ¶
type EventCampaignSharesUpdated struct {
}
func (*EventCampaignSharesUpdated) Descriptor ¶
func (*EventCampaignSharesUpdated) Descriptor() ([]byte, []int)
func (*EventCampaignSharesUpdated) GetAllocatedShares ¶
func (m *EventCampaignSharesUpdated) GetAllocatedShares() Shares
func (*EventCampaignSharesUpdated) GetCampaignID ¶
func (m *EventCampaignSharesUpdated) GetCampaignID() uint64
func (*EventCampaignSharesUpdated) GetCoordinatorAddress ¶
func (m *EventCampaignSharesUpdated) GetCoordinatorAddress() string
func (*EventCampaignSharesUpdated) Marshal ¶
func (m *EventCampaignSharesUpdated) Marshal() (dAtA []byte, err error)
func (*EventCampaignSharesUpdated) MarshalTo ¶
func (m *EventCampaignSharesUpdated) MarshalTo(dAtA []byte) (int, error)
func (*EventCampaignSharesUpdated) MarshalToSizedBuffer ¶
func (m *EventCampaignSharesUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCampaignSharesUpdated) ProtoMessage ¶
func (*EventCampaignSharesUpdated) ProtoMessage()
func (*EventCampaignSharesUpdated) Reset ¶
func (m *EventCampaignSharesUpdated) Reset()
func (*EventCampaignSharesUpdated) Size ¶
func (m *EventCampaignSharesUpdated) Size() (n int)
func (*EventCampaignSharesUpdated) String ¶
func (m *EventCampaignSharesUpdated) String() string
func (*EventCampaignSharesUpdated) Unmarshal ¶
func (m *EventCampaignSharesUpdated) Unmarshal(dAtA []byte) error
func (*EventCampaignSharesUpdated) XXX_DiscardUnknown ¶
func (m *EventCampaignSharesUpdated) XXX_DiscardUnknown()
func (*EventCampaignSharesUpdated) XXX_Marshal ¶
func (m *EventCampaignSharesUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCampaignSharesUpdated) XXX_Merge ¶
func (m *EventCampaignSharesUpdated) XXX_Merge(src proto.Message)
func (*EventCampaignSharesUpdated) XXX_Size ¶
func (m *EventCampaignSharesUpdated) XXX_Size() int
func (*EventCampaignSharesUpdated) XXX_Unmarshal ¶
func (m *EventCampaignSharesUpdated) XXX_Unmarshal(b []byte) error
type EventCampaignTotalSupplyUpdated ¶
type EventCampaignTotalSupplyUpdated struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
CoordinatorAddress string `protobuf:"bytes,2,opt,name=coordinatorAddress,proto3" json:"coordinatorAddress,omitempty"`
TotalSupply github_com_cosmos_cosmos_sdk_types.Coins `` /* 168-byte string literal not displayed */
}
func (*EventCampaignTotalSupplyUpdated) Descriptor ¶
func (*EventCampaignTotalSupplyUpdated) Descriptor() ([]byte, []int)
func (*EventCampaignTotalSupplyUpdated) GetCampaignID ¶
func (m *EventCampaignTotalSupplyUpdated) GetCampaignID() uint64
func (*EventCampaignTotalSupplyUpdated) GetCoordinatorAddress ¶
func (m *EventCampaignTotalSupplyUpdated) GetCoordinatorAddress() string
func (*EventCampaignTotalSupplyUpdated) GetTotalSupply ¶
func (m *EventCampaignTotalSupplyUpdated) GetTotalSupply() github_com_cosmos_cosmos_sdk_types.Coins
func (*EventCampaignTotalSupplyUpdated) Marshal ¶
func (m *EventCampaignTotalSupplyUpdated) Marshal() (dAtA []byte, err error)
func (*EventCampaignTotalSupplyUpdated) MarshalTo ¶
func (m *EventCampaignTotalSupplyUpdated) MarshalTo(dAtA []byte) (int, error)
func (*EventCampaignTotalSupplyUpdated) MarshalToSizedBuffer ¶
func (m *EventCampaignTotalSupplyUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCampaignTotalSupplyUpdated) ProtoMessage ¶
func (*EventCampaignTotalSupplyUpdated) ProtoMessage()
func (*EventCampaignTotalSupplyUpdated) Reset ¶
func (m *EventCampaignTotalSupplyUpdated) Reset()
func (*EventCampaignTotalSupplyUpdated) Size ¶
func (m *EventCampaignTotalSupplyUpdated) Size() (n int)
func (*EventCampaignTotalSupplyUpdated) String ¶
func (m *EventCampaignTotalSupplyUpdated) String() string
func (*EventCampaignTotalSupplyUpdated) Unmarshal ¶
func (m *EventCampaignTotalSupplyUpdated) Unmarshal(dAtA []byte) error
func (*EventCampaignTotalSupplyUpdated) XXX_DiscardUnknown ¶
func (m *EventCampaignTotalSupplyUpdated) XXX_DiscardUnknown()
func (*EventCampaignTotalSupplyUpdated) XXX_Marshal ¶
func (m *EventCampaignTotalSupplyUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCampaignTotalSupplyUpdated) XXX_Merge ¶
func (m *EventCampaignTotalSupplyUpdated) XXX_Merge(src proto.Message)
func (*EventCampaignTotalSupplyUpdated) XXX_Size ¶
func (m *EventCampaignTotalSupplyUpdated) XXX_Size() int
func (*EventCampaignTotalSupplyUpdated) XXX_Unmarshal ¶
func (m *EventCampaignTotalSupplyUpdated) XXX_Unmarshal(b []byte) error
type EventMainnetAccountCreated ¶
type EventMainnetAccountCreated struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}
func (*EventMainnetAccountCreated) Descriptor ¶
func (*EventMainnetAccountCreated) Descriptor() ([]byte, []int)
func (*EventMainnetAccountCreated) GetAddress ¶
func (m *EventMainnetAccountCreated) GetAddress() string
func (*EventMainnetAccountCreated) GetCampaignID ¶
func (m *EventMainnetAccountCreated) GetCampaignID() uint64
func (*EventMainnetAccountCreated) GetShares ¶
func (m *EventMainnetAccountCreated) GetShares() Shares
func (*EventMainnetAccountCreated) Marshal ¶
func (m *EventMainnetAccountCreated) Marshal() (dAtA []byte, err error)
func (*EventMainnetAccountCreated) MarshalTo ¶
func (m *EventMainnetAccountCreated) MarshalTo(dAtA []byte) (int, error)
func (*EventMainnetAccountCreated) MarshalToSizedBuffer ¶
func (m *EventMainnetAccountCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMainnetAccountCreated) ProtoMessage ¶
func (*EventMainnetAccountCreated) ProtoMessage()
func (*EventMainnetAccountCreated) Reset ¶
func (m *EventMainnetAccountCreated) Reset()
func (*EventMainnetAccountCreated) Size ¶
func (m *EventMainnetAccountCreated) Size() (n int)
func (*EventMainnetAccountCreated) String ¶
func (m *EventMainnetAccountCreated) String() string
func (*EventMainnetAccountCreated) Unmarshal ¶
func (m *EventMainnetAccountCreated) Unmarshal(dAtA []byte) error
func (*EventMainnetAccountCreated) XXX_DiscardUnknown ¶
func (m *EventMainnetAccountCreated) XXX_DiscardUnknown()
func (*EventMainnetAccountCreated) XXX_Marshal ¶
func (m *EventMainnetAccountCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMainnetAccountCreated) XXX_Merge ¶
func (m *EventMainnetAccountCreated) XXX_Merge(src proto.Message)
func (*EventMainnetAccountCreated) XXX_Size ¶
func (m *EventMainnetAccountCreated) XXX_Size() int
func (*EventMainnetAccountCreated) XXX_Unmarshal ¶
func (m *EventMainnetAccountCreated) XXX_Unmarshal(b []byte) error
type EventMainnetAccountRemoved ¶
type EventMainnetAccountRemoved struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}
func (*EventMainnetAccountRemoved) Descriptor ¶
func (*EventMainnetAccountRemoved) Descriptor() ([]byte, []int)
func (*EventMainnetAccountRemoved) GetAddress ¶
func (m *EventMainnetAccountRemoved) GetAddress() string
func (*EventMainnetAccountRemoved) GetCampaignID ¶
func (m *EventMainnetAccountRemoved) GetCampaignID() uint64
func (*EventMainnetAccountRemoved) Marshal ¶
func (m *EventMainnetAccountRemoved) Marshal() (dAtA []byte, err error)
func (*EventMainnetAccountRemoved) MarshalTo ¶
func (m *EventMainnetAccountRemoved) MarshalTo(dAtA []byte) (int, error)
func (*EventMainnetAccountRemoved) MarshalToSizedBuffer ¶
func (m *EventMainnetAccountRemoved) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMainnetAccountRemoved) ProtoMessage ¶
func (*EventMainnetAccountRemoved) ProtoMessage()
func (*EventMainnetAccountRemoved) Reset ¶
func (m *EventMainnetAccountRemoved) Reset()
func (*EventMainnetAccountRemoved) Size ¶
func (m *EventMainnetAccountRemoved) Size() (n int)
func (*EventMainnetAccountRemoved) String ¶
func (m *EventMainnetAccountRemoved) String() string
func (*EventMainnetAccountRemoved) Unmarshal ¶
func (m *EventMainnetAccountRemoved) Unmarshal(dAtA []byte) error
func (*EventMainnetAccountRemoved) XXX_DiscardUnknown ¶
func (m *EventMainnetAccountRemoved) XXX_DiscardUnknown()
func (*EventMainnetAccountRemoved) XXX_Marshal ¶
func (m *EventMainnetAccountRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMainnetAccountRemoved) XXX_Merge ¶
func (m *EventMainnetAccountRemoved) XXX_Merge(src proto.Message)
func (*EventMainnetAccountRemoved) XXX_Size ¶
func (m *EventMainnetAccountRemoved) XXX_Size() int
func (*EventMainnetAccountRemoved) XXX_Unmarshal ¶
func (m *EventMainnetAccountRemoved) XXX_Unmarshal(b []byte) error
type EventMainnetAccountUpdated ¶
type EventMainnetAccountUpdated struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}
func (*EventMainnetAccountUpdated) Descriptor ¶
func (*EventMainnetAccountUpdated) Descriptor() ([]byte, []int)
func (*EventMainnetAccountUpdated) GetAddress ¶
func (m *EventMainnetAccountUpdated) GetAddress() string
func (*EventMainnetAccountUpdated) GetCampaignID ¶
func (m *EventMainnetAccountUpdated) GetCampaignID() uint64
func (*EventMainnetAccountUpdated) GetShares ¶
func (m *EventMainnetAccountUpdated) GetShares() Shares
func (*EventMainnetAccountUpdated) Marshal ¶
func (m *EventMainnetAccountUpdated) Marshal() (dAtA []byte, err error)
func (*EventMainnetAccountUpdated) MarshalTo ¶
func (m *EventMainnetAccountUpdated) MarshalTo(dAtA []byte) (int, error)
func (*EventMainnetAccountUpdated) MarshalToSizedBuffer ¶
func (m *EventMainnetAccountUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMainnetAccountUpdated) ProtoMessage ¶
func (*EventMainnetAccountUpdated) ProtoMessage()
func (*EventMainnetAccountUpdated) Reset ¶
func (m *EventMainnetAccountUpdated) Reset()
func (*EventMainnetAccountUpdated) Size ¶
func (m *EventMainnetAccountUpdated) Size() (n int)
func (*EventMainnetAccountUpdated) String ¶
func (m *EventMainnetAccountUpdated) String() string
func (*EventMainnetAccountUpdated) Unmarshal ¶
func (m *EventMainnetAccountUpdated) Unmarshal(dAtA []byte) error
func (*EventMainnetAccountUpdated) XXX_DiscardUnknown ¶
func (m *EventMainnetAccountUpdated) XXX_DiscardUnknown()
func (*EventMainnetAccountUpdated) XXX_Marshal ¶
func (m *EventMainnetAccountUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMainnetAccountUpdated) XXX_Merge ¶
func (m *EventMainnetAccountUpdated) XXX_Merge(src proto.Message)
func (*EventMainnetAccountUpdated) XXX_Size ¶
func (m *EventMainnetAccountUpdated) XXX_Size() int
func (*EventMainnetAccountUpdated) XXX_Unmarshal ¶
func (m *EventMainnetAccountUpdated) XXX_Unmarshal(b []byte) error
type EventMainnetVestingAccountCreated ¶
type EventMainnetVestingAccountCreated struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
VestingOptions ShareVestingOptions `protobuf:"bytes,3,opt,name=vestingOptions,proto3" json:"vestingOptions"`
}
func (*EventMainnetVestingAccountCreated) Descriptor ¶
func (*EventMainnetVestingAccountCreated) Descriptor() ([]byte, []int)
func (*EventMainnetVestingAccountCreated) GetAddress ¶
func (m *EventMainnetVestingAccountCreated) GetAddress() string
func (*EventMainnetVestingAccountCreated) GetCampaignID ¶
func (m *EventMainnetVestingAccountCreated) GetCampaignID() uint64
func (*EventMainnetVestingAccountCreated) GetVestingOptions ¶
func (m *EventMainnetVestingAccountCreated) GetVestingOptions() ShareVestingOptions
func (*EventMainnetVestingAccountCreated) Marshal ¶
func (m *EventMainnetVestingAccountCreated) Marshal() (dAtA []byte, err error)
func (*EventMainnetVestingAccountCreated) MarshalTo ¶
func (m *EventMainnetVestingAccountCreated) MarshalTo(dAtA []byte) (int, error)
func (*EventMainnetVestingAccountCreated) MarshalToSizedBuffer ¶
func (m *EventMainnetVestingAccountCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMainnetVestingAccountCreated) ProtoMessage ¶
func (*EventMainnetVestingAccountCreated) ProtoMessage()
func (*EventMainnetVestingAccountCreated) Reset ¶
func (m *EventMainnetVestingAccountCreated) Reset()
func (*EventMainnetVestingAccountCreated) Size ¶
func (m *EventMainnetVestingAccountCreated) Size() (n int)
func (*EventMainnetVestingAccountCreated) String ¶
func (m *EventMainnetVestingAccountCreated) String() string
func (*EventMainnetVestingAccountCreated) Unmarshal ¶
func (m *EventMainnetVestingAccountCreated) Unmarshal(dAtA []byte) error
func (*EventMainnetVestingAccountCreated) XXX_DiscardUnknown ¶
func (m *EventMainnetVestingAccountCreated) XXX_DiscardUnknown()
func (*EventMainnetVestingAccountCreated) XXX_Marshal ¶
func (m *EventMainnetVestingAccountCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMainnetVestingAccountCreated) XXX_Merge ¶
func (m *EventMainnetVestingAccountCreated) XXX_Merge(src proto.Message)
func (*EventMainnetVestingAccountCreated) XXX_Size ¶
func (m *EventMainnetVestingAccountCreated) XXX_Size() int
func (*EventMainnetVestingAccountCreated) XXX_Unmarshal ¶
func (m *EventMainnetVestingAccountCreated) XXX_Unmarshal(b []byte) error
type EventMainnetVestingAccountUpdated ¶
type EventMainnetVestingAccountUpdated struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
VestingOptions ShareVestingOptions `protobuf:"bytes,3,opt,name=vestingOptions,proto3" json:"vestingOptions"`
}
func (*EventMainnetVestingAccountUpdated) Descriptor ¶
func (*EventMainnetVestingAccountUpdated) Descriptor() ([]byte, []int)
func (*EventMainnetVestingAccountUpdated) GetAddress ¶
func (m *EventMainnetVestingAccountUpdated) GetAddress() string
func (*EventMainnetVestingAccountUpdated) GetCampaignID ¶
func (m *EventMainnetVestingAccountUpdated) GetCampaignID() uint64
func (*EventMainnetVestingAccountUpdated) GetVestingOptions ¶
func (m *EventMainnetVestingAccountUpdated) GetVestingOptions() ShareVestingOptions
func (*EventMainnetVestingAccountUpdated) Marshal ¶
func (m *EventMainnetVestingAccountUpdated) Marshal() (dAtA []byte, err error)
func (*EventMainnetVestingAccountUpdated) MarshalTo ¶
func (m *EventMainnetVestingAccountUpdated) MarshalTo(dAtA []byte) (int, error)
func (*EventMainnetVestingAccountUpdated) MarshalToSizedBuffer ¶
func (m *EventMainnetVestingAccountUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMainnetVestingAccountUpdated) ProtoMessage ¶
func (*EventMainnetVestingAccountUpdated) ProtoMessage()
func (*EventMainnetVestingAccountUpdated) Reset ¶
func (m *EventMainnetVestingAccountUpdated) Reset()
func (*EventMainnetVestingAccountUpdated) Size ¶
func (m *EventMainnetVestingAccountUpdated) Size() (n int)
func (*EventMainnetVestingAccountUpdated) String ¶
func (m *EventMainnetVestingAccountUpdated) String() string
func (*EventMainnetVestingAccountUpdated) Unmarshal ¶
func (m *EventMainnetVestingAccountUpdated) Unmarshal(dAtA []byte) error
func (*EventMainnetVestingAccountUpdated) XXX_DiscardUnknown ¶
func (m *EventMainnetVestingAccountUpdated) XXX_DiscardUnknown()
func (*EventMainnetVestingAccountUpdated) XXX_Marshal ¶
func (m *EventMainnetVestingAccountUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMainnetVestingAccountUpdated) XXX_Merge ¶
func (m *EventMainnetVestingAccountUpdated) XXX_Merge(src proto.Message)
func (*EventMainnetVestingAccountUpdated) XXX_Size ¶
func (m *EventMainnetVestingAccountUpdated) XXX_Size() int
func (*EventMainnetVestingAccountUpdated) XXX_Unmarshal ¶
func (m *EventMainnetVestingAccountUpdated) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
Campaigns []Campaign `protobuf:"bytes,1,rep,name=campaigns,proto3" json:"campaigns"`
CampaignCounter uint64 `protobuf:"varint,2,opt,name=campaignCounter,proto3" json:"campaignCounter,omitempty"`
CampaignChains []CampaignChains `protobuf:"bytes,3,rep,name=campaignChains,proto3" json:"campaignChains"`
MainnetAccounts []MainnetAccount `protobuf:"bytes,4,rep,name=mainnetAccounts,proto3" json:"mainnetAccounts"`
Params Params `protobuf:"bytes,6,opt,name=params,proto3" json:"params"`
}
GenesisState defines the campaign module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetCampaignChains ¶
func (m *GenesisState) GetCampaignChains() []CampaignChains
func (*GenesisState) GetCampaignCounter ¶
func (m *GenesisState) GetCampaignCounter() uint64
func (*GenesisState) GetCampaigns ¶
func (m *GenesisState) GetCampaigns() []Campaign
func (*GenesisState) GetMainnetAccounts ¶
func (m *GenesisState) GetMainnetAccounts() []MainnetAccount
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetTotalShares ¶
func (m *GenesisState) GetTotalShares() uint64
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MainnetAccount ¶
type MainnetAccount struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}
func (*MainnetAccount) Descriptor ¶
func (*MainnetAccount) Descriptor() ([]byte, []int)
func (*MainnetAccount) GetAddress ¶
func (m *MainnetAccount) GetAddress() string
func (*MainnetAccount) GetCampaignID ¶
func (m *MainnetAccount) GetCampaignID() uint64
func (*MainnetAccount) GetShares ¶
func (m *MainnetAccount) GetShares() Shares
func (*MainnetAccount) Marshal ¶
func (m *MainnetAccount) Marshal() (dAtA []byte, err error)
func (*MainnetAccount) MarshalToSizedBuffer ¶
func (m *MainnetAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MainnetAccount) ProtoMessage ¶
func (*MainnetAccount) ProtoMessage()
func (*MainnetAccount) Reset ¶
func (m *MainnetAccount) Reset()
func (*MainnetAccount) Size ¶
func (m *MainnetAccount) Size() (n int)
func (*MainnetAccount) String ¶
func (m *MainnetAccount) String() string
func (*MainnetAccount) Unmarshal ¶
func (m *MainnetAccount) Unmarshal(dAtA []byte) error
func (*MainnetAccount) XXX_DiscardUnknown ¶
func (m *MainnetAccount) XXX_DiscardUnknown()
func (*MainnetAccount) XXX_Marshal ¶
func (m *MainnetAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MainnetAccount) XXX_Merge ¶
func (m *MainnetAccount) XXX_Merge(src proto.Message)
func (*MainnetAccount) XXX_Size ¶
func (m *MainnetAccount) XXX_Size() int
func (*MainnetAccount) XXX_Unmarshal ¶
func (m *MainnetAccount) XXX_Unmarshal(b []byte) error
type MainnetAccountBalance ¶
type MainnetAccountBalance struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
Coins github_com_cosmos_cosmos_sdk_types.Coins `` /* 156-byte string literal not displayed */
}
func (*MainnetAccountBalance) Descriptor ¶
func (*MainnetAccountBalance) Descriptor() ([]byte, []int)
func (*MainnetAccountBalance) GetAddress ¶
func (m *MainnetAccountBalance) GetAddress() string
func (*MainnetAccountBalance) GetCampaignID ¶
func (m *MainnetAccountBalance) GetCampaignID() uint64
func (*MainnetAccountBalance) GetCoins ¶
func (m *MainnetAccountBalance) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*MainnetAccountBalance) Marshal ¶
func (m *MainnetAccountBalance) Marshal() (dAtA []byte, err error)
func (*MainnetAccountBalance) MarshalTo ¶
func (m *MainnetAccountBalance) MarshalTo(dAtA []byte) (int, error)
func (*MainnetAccountBalance) MarshalToSizedBuffer ¶
func (m *MainnetAccountBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MainnetAccountBalance) ProtoMessage ¶
func (*MainnetAccountBalance) ProtoMessage()
func (*MainnetAccountBalance) Reset ¶
func (m *MainnetAccountBalance) Reset()
func (*MainnetAccountBalance) Size ¶
func (m *MainnetAccountBalance) Size() (n int)
func (*MainnetAccountBalance) String ¶
func (m *MainnetAccountBalance) String() string
func (*MainnetAccountBalance) Unmarshal ¶
func (m *MainnetAccountBalance) Unmarshal(dAtA []byte) error
func (*MainnetAccountBalance) XXX_DiscardUnknown ¶
func (m *MainnetAccountBalance) XXX_DiscardUnknown()
func (*MainnetAccountBalance) XXX_Marshal ¶
func (m *MainnetAccountBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MainnetAccountBalance) XXX_Merge ¶
func (m *MainnetAccountBalance) XXX_Merge(src proto.Message)
func (*MainnetAccountBalance) XXX_Size ¶
func (m *MainnetAccountBalance) XXX_Size() int
func (*MainnetAccountBalance) XXX_Unmarshal ¶
func (m *MainnetAccountBalance) XXX_Unmarshal(b []byte) error
type MsgBurnVouchers ¶
type MsgBurnVouchers struct {
Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
CampaignID uint64 `protobuf:"varint,2,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Vouchers github_com_cosmos_cosmos_sdk_types.Coins `` /* 162-byte string literal not displayed */
}
func NewMsgBurnVouchers ¶
func NewMsgBurnVouchers(sender string, campaignID uint64, vouchers sdk.Coins) *MsgBurnVouchers
func (*MsgBurnVouchers) Descriptor ¶
func (*MsgBurnVouchers) Descriptor() ([]byte, []int)
func (*MsgBurnVouchers) GetCampaignID ¶
func (m *MsgBurnVouchers) GetCampaignID() uint64
func (*MsgBurnVouchers) GetSender ¶
func (m *MsgBurnVouchers) GetSender() string
func (*MsgBurnVouchers) GetSignBytes ¶
func (msg *MsgBurnVouchers) GetSignBytes() []byte
func (*MsgBurnVouchers) GetSigners ¶
func (msg *MsgBurnVouchers) GetSigners() []sdk.AccAddress
func (*MsgBurnVouchers) GetVouchers ¶
func (m *MsgBurnVouchers) GetVouchers() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgBurnVouchers) Marshal ¶
func (m *MsgBurnVouchers) Marshal() (dAtA []byte, err error)
func (*MsgBurnVouchers) MarshalToSizedBuffer ¶
func (m *MsgBurnVouchers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnVouchers) ProtoMessage ¶
func (*MsgBurnVouchers) ProtoMessage()
func (*MsgBurnVouchers) Reset ¶
func (m *MsgBurnVouchers) Reset()
func (*MsgBurnVouchers) Route ¶
func (msg *MsgBurnVouchers) Route() string
func (*MsgBurnVouchers) Size ¶
func (m *MsgBurnVouchers) Size() (n int)
func (*MsgBurnVouchers) String ¶
func (m *MsgBurnVouchers) String() string
func (*MsgBurnVouchers) Type ¶
func (msg *MsgBurnVouchers) Type() string
func (*MsgBurnVouchers) Unmarshal ¶
func (m *MsgBurnVouchers) Unmarshal(dAtA []byte) error
func (*MsgBurnVouchers) ValidateBasic ¶
func (msg *MsgBurnVouchers) ValidateBasic() error
func (*MsgBurnVouchers) XXX_DiscardUnknown ¶
func (m *MsgBurnVouchers) XXX_DiscardUnknown()
func (*MsgBurnVouchers) XXX_Marshal ¶
func (m *MsgBurnVouchers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnVouchers) XXX_Merge ¶
func (m *MsgBurnVouchers) XXX_Merge(src proto.Message)
func (*MsgBurnVouchers) XXX_Size ¶
func (m *MsgBurnVouchers) XXX_Size() int
func (*MsgBurnVouchers) XXX_Unmarshal ¶
func (m *MsgBurnVouchers) XXX_Unmarshal(b []byte) error
type MsgBurnVouchersResponse ¶
type MsgBurnVouchersResponse struct {
}
func (*MsgBurnVouchersResponse) Descriptor ¶
func (*MsgBurnVouchersResponse) Descriptor() ([]byte, []int)
func (*MsgBurnVouchersResponse) Marshal ¶
func (m *MsgBurnVouchersResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnVouchersResponse) MarshalTo ¶
func (m *MsgBurnVouchersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnVouchersResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnVouchersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnVouchersResponse) ProtoMessage ¶
func (*MsgBurnVouchersResponse) ProtoMessage()
func (*MsgBurnVouchersResponse) Reset ¶
func (m *MsgBurnVouchersResponse) Reset()
func (*MsgBurnVouchersResponse) Size ¶
func (m *MsgBurnVouchersResponse) Size() (n int)
func (*MsgBurnVouchersResponse) String ¶
func (m *MsgBurnVouchersResponse) String() string
func (*MsgBurnVouchersResponse) Unmarshal ¶
func (m *MsgBurnVouchersResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnVouchersResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnVouchersResponse) XXX_DiscardUnknown()
func (*MsgBurnVouchersResponse) XXX_Marshal ¶
func (m *MsgBurnVouchersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnVouchersResponse) XXX_Merge ¶
func (m *MsgBurnVouchersResponse) XXX_Merge(src proto.Message)
func (*MsgBurnVouchersResponse) XXX_Size ¶
func (m *MsgBurnVouchersResponse) XXX_Size() int
func (*MsgBurnVouchersResponse) XXX_Unmarshal ¶
func (m *MsgBurnVouchersResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface {
CreateCampaign(ctx context.Context, in *MsgCreateCampaign, opts ...grpc.CallOption) (*MsgCreateCampaignResponse, error)
EditCampaign(ctx context.Context, in *MsgEditCampaign, opts ...grpc.CallOption) (*MsgEditCampaignResponse, error)
UpdateTotalSupply(ctx context.Context, in *MsgUpdateTotalSupply, opts ...grpc.CallOption) (*MsgUpdateTotalSupplyResponse, error)
UpdateSpecialAllocations(ctx context.Context, in *MsgUpdateSpecialAllocations, opts ...grpc.CallOption) (*MsgUpdateSpecialAllocationsResponse, error)
InitializeMainnet(ctx context.Context, in *MsgInitializeMainnet, opts ...grpc.CallOption) (*MsgInitializeMainnetResponse, error)
MintVouchers(ctx context.Context, in *MsgMintVouchers, opts ...grpc.CallOption) (*MsgMintVouchersResponse, error)
BurnVouchers(ctx context.Context, in *MsgBurnVouchers, opts ...grpc.CallOption) (*MsgBurnVouchersResponse, error)
RedeemVouchers(ctx context.Context, in *MsgRedeemVouchers, opts ...grpc.CallOption) (*MsgRedeemVouchersResponse, error)
UnredeemVouchers(ctx context.Context, in *MsgUnredeemVouchers, opts ...grpc.CallOption) (*MsgUnredeemVouchersResponse, 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 MsgCreateCampaign ¶
type MsgCreateCampaign struct {
Coordinator string `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator,omitempty"`
CampaignName string `protobuf:"bytes,2,opt,name=campaignName,proto3" json:"campaignName,omitempty"`
TotalSupply github_com_cosmos_cosmos_sdk_types.Coins `` /* 168-byte string literal not displayed */
Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
func NewMsgCreateCampaign ¶
func (*MsgCreateCampaign) Descriptor ¶
func (*MsgCreateCampaign) Descriptor() ([]byte, []int)
func (*MsgCreateCampaign) GetCampaignName ¶
func (m *MsgCreateCampaign) GetCampaignName() string
func (*MsgCreateCampaign) GetCoordinator ¶
func (m *MsgCreateCampaign) GetCoordinator() string
func (*MsgCreateCampaign) GetMetadata ¶
func (m *MsgCreateCampaign) GetMetadata() []byte
func (*MsgCreateCampaign) GetSignBytes ¶
func (msg *MsgCreateCampaign) GetSignBytes() []byte
func (*MsgCreateCampaign) GetSigners ¶
func (msg *MsgCreateCampaign) GetSigners() []sdk.AccAddress
func (*MsgCreateCampaign) GetTotalSupply ¶
func (m *MsgCreateCampaign) GetTotalSupply() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgCreateCampaign) Marshal ¶
func (m *MsgCreateCampaign) Marshal() (dAtA []byte, err error)
func (*MsgCreateCampaign) MarshalTo ¶
func (m *MsgCreateCampaign) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateCampaign) MarshalToSizedBuffer ¶
func (m *MsgCreateCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateCampaign) ProtoMessage ¶
func (*MsgCreateCampaign) ProtoMessage()
func (*MsgCreateCampaign) Reset ¶
func (m *MsgCreateCampaign) Reset()
func (*MsgCreateCampaign) Route ¶
func (msg *MsgCreateCampaign) Route() string
func (*MsgCreateCampaign) Size ¶
func (m *MsgCreateCampaign) Size() (n int)
func (*MsgCreateCampaign) String ¶
func (m *MsgCreateCampaign) String() string
func (*MsgCreateCampaign) Type ¶
func (msg *MsgCreateCampaign) Type() string
func (*MsgCreateCampaign) Unmarshal ¶
func (m *MsgCreateCampaign) Unmarshal(dAtA []byte) error
func (*MsgCreateCampaign) ValidateBasic ¶
func (msg *MsgCreateCampaign) ValidateBasic() error
func (*MsgCreateCampaign) XXX_DiscardUnknown ¶
func (m *MsgCreateCampaign) XXX_DiscardUnknown()
func (*MsgCreateCampaign) XXX_Marshal ¶
func (m *MsgCreateCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateCampaign) XXX_Merge ¶
func (m *MsgCreateCampaign) XXX_Merge(src proto.Message)
func (*MsgCreateCampaign) XXX_Size ¶
func (m *MsgCreateCampaign) XXX_Size() int
func (*MsgCreateCampaign) XXX_Unmarshal ¶
func (m *MsgCreateCampaign) XXX_Unmarshal(b []byte) error
type MsgCreateCampaignResponse ¶
type MsgCreateCampaignResponse struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
}
func (*MsgCreateCampaignResponse) Descriptor ¶
func (*MsgCreateCampaignResponse) Descriptor() ([]byte, []int)
func (*MsgCreateCampaignResponse) GetCampaignID ¶
func (m *MsgCreateCampaignResponse) GetCampaignID() uint64
func (*MsgCreateCampaignResponse) Marshal ¶
func (m *MsgCreateCampaignResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateCampaignResponse) MarshalTo ¶
func (m *MsgCreateCampaignResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateCampaignResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateCampaignResponse) ProtoMessage ¶
func (*MsgCreateCampaignResponse) ProtoMessage()
func (*MsgCreateCampaignResponse) Reset ¶
func (m *MsgCreateCampaignResponse) Reset()
func (*MsgCreateCampaignResponse) Size ¶
func (m *MsgCreateCampaignResponse) Size() (n int)
func (*MsgCreateCampaignResponse) String ¶
func (m *MsgCreateCampaignResponse) String() string
func (*MsgCreateCampaignResponse) Unmarshal ¶
func (m *MsgCreateCampaignResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateCampaignResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateCampaignResponse) XXX_DiscardUnknown()
func (*MsgCreateCampaignResponse) XXX_Marshal ¶
func (m *MsgCreateCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateCampaignResponse) XXX_Merge ¶
func (m *MsgCreateCampaignResponse) XXX_Merge(src proto.Message)
func (*MsgCreateCampaignResponse) XXX_Size ¶
func (m *MsgCreateCampaignResponse) XXX_Size() int
func (*MsgCreateCampaignResponse) XXX_Unmarshal ¶
func (m *MsgCreateCampaignResponse) XXX_Unmarshal(b []byte) error
type MsgEditCampaign ¶
type MsgEditCampaign struct {
Coordinator string `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator,omitempty"`
CampaignID uint64 `protobuf:"varint,2,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
func NewMsgEditCampaign ¶
func NewMsgEditCampaign(coordinator string, campaignID uint64, name string, metadata []byte) *MsgEditCampaign
func (*MsgEditCampaign) Descriptor ¶
func (*MsgEditCampaign) Descriptor() ([]byte, []int)
func (*MsgEditCampaign) GetCampaignID ¶
func (m *MsgEditCampaign) GetCampaignID() uint64
func (*MsgEditCampaign) GetCoordinator ¶
func (m *MsgEditCampaign) GetCoordinator() string
func (*MsgEditCampaign) GetMetadata ¶
func (m *MsgEditCampaign) GetMetadata() []byte
func (*MsgEditCampaign) GetName ¶
func (m *MsgEditCampaign) GetName() string
func (*MsgEditCampaign) GetSignBytes ¶
func (msg *MsgEditCampaign) GetSignBytes() []byte
func (*MsgEditCampaign) GetSigners ¶
func (msg *MsgEditCampaign) GetSigners() []sdk.AccAddress
func (*MsgEditCampaign) Marshal ¶
func (m *MsgEditCampaign) Marshal() (dAtA []byte, err error)
func (*MsgEditCampaign) MarshalToSizedBuffer ¶
func (m *MsgEditCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditCampaign) ProtoMessage ¶
func (*MsgEditCampaign) ProtoMessage()
func (*MsgEditCampaign) Reset ¶
func (m *MsgEditCampaign) Reset()
func (*MsgEditCampaign) Route ¶
func (msg *MsgEditCampaign) Route() string
func (*MsgEditCampaign) Size ¶
func (m *MsgEditCampaign) Size() (n int)
func (*MsgEditCampaign) String ¶
func (m *MsgEditCampaign) String() string
func (*MsgEditCampaign) Type ¶
func (msg *MsgEditCampaign) Type() string
func (*MsgEditCampaign) Unmarshal ¶
func (m *MsgEditCampaign) Unmarshal(dAtA []byte) error
func (*MsgEditCampaign) ValidateBasic ¶
func (msg *MsgEditCampaign) ValidateBasic() error
func (*MsgEditCampaign) XXX_DiscardUnknown ¶
func (m *MsgEditCampaign) XXX_DiscardUnknown()
func (*MsgEditCampaign) XXX_Marshal ¶
func (m *MsgEditCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditCampaign) XXX_Merge ¶
func (m *MsgEditCampaign) XXX_Merge(src proto.Message)
func (*MsgEditCampaign) XXX_Size ¶
func (m *MsgEditCampaign) XXX_Size() int
func (*MsgEditCampaign) XXX_Unmarshal ¶
func (m *MsgEditCampaign) XXX_Unmarshal(b []byte) error
type MsgEditCampaignResponse ¶
type MsgEditCampaignResponse struct {
}
func (*MsgEditCampaignResponse) Descriptor ¶
func (*MsgEditCampaignResponse) Descriptor() ([]byte, []int)
func (*MsgEditCampaignResponse) Marshal ¶
func (m *MsgEditCampaignResponse) Marshal() (dAtA []byte, err error)
func (*MsgEditCampaignResponse) MarshalTo ¶
func (m *MsgEditCampaignResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEditCampaignResponse) MarshalToSizedBuffer ¶
func (m *MsgEditCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditCampaignResponse) ProtoMessage ¶
func (*MsgEditCampaignResponse) ProtoMessage()
func (*MsgEditCampaignResponse) Reset ¶
func (m *MsgEditCampaignResponse) Reset()
func (*MsgEditCampaignResponse) Size ¶
func (m *MsgEditCampaignResponse) Size() (n int)
func (*MsgEditCampaignResponse) String ¶
func (m *MsgEditCampaignResponse) String() string
func (*MsgEditCampaignResponse) Unmarshal ¶
func (m *MsgEditCampaignResponse) Unmarshal(dAtA []byte) error
func (*MsgEditCampaignResponse) XXX_DiscardUnknown ¶
func (m *MsgEditCampaignResponse) XXX_DiscardUnknown()
func (*MsgEditCampaignResponse) XXX_Marshal ¶
func (m *MsgEditCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditCampaignResponse) XXX_Merge ¶
func (m *MsgEditCampaignResponse) XXX_Merge(src proto.Message)
func (*MsgEditCampaignResponse) XXX_Size ¶
func (m *MsgEditCampaignResponse) XXX_Size() int
func (*MsgEditCampaignResponse) XXX_Unmarshal ¶
func (m *MsgEditCampaignResponse) XXX_Unmarshal(b []byte) error
type MsgInitializeMainnet ¶
type MsgInitializeMainnet struct {
Coordinator string `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator,omitempty"`
CampaignID uint64 `protobuf:"varint,2,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
SourceURL string `protobuf:"bytes,3,opt,name=sourceURL,proto3" json:"sourceURL,omitempty"`
SourceHash string `protobuf:"bytes,4,opt,name=sourceHash,proto3" json:"sourceHash,omitempty"`
MainnetChainID string `protobuf:"bytes,5,opt,name=mainnetChainID,proto3" json:"mainnetChainID,omitempty"`
}
func NewMsgInitializeMainnet ¶
func NewMsgInitializeMainnet( coordinator string, campaignID uint64, sourceURL, sourceHash, mainnetChainID string, ) *MsgInitializeMainnet
func (*MsgInitializeMainnet) Descriptor ¶
func (*MsgInitializeMainnet) Descriptor() ([]byte, []int)
func (*MsgInitializeMainnet) GetCampaignID ¶
func (m *MsgInitializeMainnet) GetCampaignID() uint64
func (*MsgInitializeMainnet) GetCoordinator ¶
func (m *MsgInitializeMainnet) GetCoordinator() string
func (*MsgInitializeMainnet) GetMainnetChainID ¶
func (m *MsgInitializeMainnet) GetMainnetChainID() string
func (*MsgInitializeMainnet) GetSignBytes ¶
func (msg *MsgInitializeMainnet) GetSignBytes() []byte
func (*MsgInitializeMainnet) GetSigners ¶
func (msg *MsgInitializeMainnet) GetSigners() []sdk.AccAddress
func (*MsgInitializeMainnet) GetSourceHash ¶
func (m *MsgInitializeMainnet) GetSourceHash() string
func (*MsgInitializeMainnet) GetSourceURL ¶
func (m *MsgInitializeMainnet) GetSourceURL() string
func (*MsgInitializeMainnet) Marshal ¶
func (m *MsgInitializeMainnet) Marshal() (dAtA []byte, err error)
func (*MsgInitializeMainnet) MarshalTo ¶
func (m *MsgInitializeMainnet) MarshalTo(dAtA []byte) (int, error)
func (*MsgInitializeMainnet) MarshalToSizedBuffer ¶
func (m *MsgInitializeMainnet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitializeMainnet) ProtoMessage ¶
func (*MsgInitializeMainnet) ProtoMessage()
func (*MsgInitializeMainnet) Reset ¶
func (m *MsgInitializeMainnet) Reset()
func (*MsgInitializeMainnet) Route ¶
func (msg *MsgInitializeMainnet) Route() string
func (*MsgInitializeMainnet) Size ¶
func (m *MsgInitializeMainnet) Size() (n int)
func (*MsgInitializeMainnet) String ¶
func (m *MsgInitializeMainnet) String() string
func (*MsgInitializeMainnet) Type ¶
func (msg *MsgInitializeMainnet) Type() string
func (*MsgInitializeMainnet) Unmarshal ¶
func (m *MsgInitializeMainnet) Unmarshal(dAtA []byte) error
func (*MsgInitializeMainnet) ValidateBasic ¶
func (msg *MsgInitializeMainnet) ValidateBasic() error
func (*MsgInitializeMainnet) XXX_DiscardUnknown ¶
func (m *MsgInitializeMainnet) XXX_DiscardUnknown()
func (*MsgInitializeMainnet) XXX_Marshal ¶
func (m *MsgInitializeMainnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitializeMainnet) XXX_Merge ¶
func (m *MsgInitializeMainnet) XXX_Merge(src proto.Message)
func (*MsgInitializeMainnet) XXX_Size ¶
func (m *MsgInitializeMainnet) XXX_Size() int
func (*MsgInitializeMainnet) XXX_Unmarshal ¶
func (m *MsgInitializeMainnet) XXX_Unmarshal(b []byte) error
type MsgInitializeMainnetResponse ¶
type MsgInitializeMainnetResponse struct {
MainnetID uint64 `protobuf:"varint,1,opt,name=mainnetID,proto3" json:"mainnetID,omitempty"`
}
func (*MsgInitializeMainnetResponse) Descriptor ¶
func (*MsgInitializeMainnetResponse) Descriptor() ([]byte, []int)
func (*MsgInitializeMainnetResponse) GetMainnetID ¶
func (m *MsgInitializeMainnetResponse) GetMainnetID() uint64
func (*MsgInitializeMainnetResponse) Marshal ¶
func (m *MsgInitializeMainnetResponse) Marshal() (dAtA []byte, err error)
func (*MsgInitializeMainnetResponse) MarshalTo ¶
func (m *MsgInitializeMainnetResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgInitializeMainnetResponse) MarshalToSizedBuffer ¶
func (m *MsgInitializeMainnetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitializeMainnetResponse) ProtoMessage ¶
func (*MsgInitializeMainnetResponse) ProtoMessage()
func (*MsgInitializeMainnetResponse) Reset ¶
func (m *MsgInitializeMainnetResponse) Reset()
func (*MsgInitializeMainnetResponse) Size ¶
func (m *MsgInitializeMainnetResponse) Size() (n int)
func (*MsgInitializeMainnetResponse) String ¶
func (m *MsgInitializeMainnetResponse) String() string
func (*MsgInitializeMainnetResponse) Unmarshal ¶
func (m *MsgInitializeMainnetResponse) Unmarshal(dAtA []byte) error
func (*MsgInitializeMainnetResponse) XXX_DiscardUnknown ¶
func (m *MsgInitializeMainnetResponse) XXX_DiscardUnknown()
func (*MsgInitializeMainnetResponse) XXX_Marshal ¶
func (m *MsgInitializeMainnetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitializeMainnetResponse) XXX_Merge ¶
func (m *MsgInitializeMainnetResponse) XXX_Merge(src proto.Message)
func (*MsgInitializeMainnetResponse) XXX_Size ¶
func (m *MsgInitializeMainnetResponse) XXX_Size() int
func (*MsgInitializeMainnetResponse) XXX_Unmarshal ¶
func (m *MsgInitializeMainnetResponse) XXX_Unmarshal(b []byte) error
type MsgMintVouchers ¶
type MsgMintVouchers struct {
Coordinator string `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator,omitempty"`
CampaignID uint64 `protobuf:"varint,2,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
}
func NewMsgMintVouchers ¶
func NewMsgMintVouchers(coordinator string, campaignID uint64, shares Shares) *MsgMintVouchers
func (*MsgMintVouchers) Descriptor ¶
func (*MsgMintVouchers) Descriptor() ([]byte, []int)
func (*MsgMintVouchers) GetCampaignID ¶
func (m *MsgMintVouchers) GetCampaignID() uint64
func (*MsgMintVouchers) GetCoordinator ¶
func (m *MsgMintVouchers) GetCoordinator() string
func (*MsgMintVouchers) GetShares ¶
func (m *MsgMintVouchers) GetShares() Shares
func (*MsgMintVouchers) GetSignBytes ¶
func (msg *MsgMintVouchers) GetSignBytes() []byte
func (*MsgMintVouchers) GetSigners ¶
func (msg *MsgMintVouchers) GetSigners() []sdk.AccAddress
func (*MsgMintVouchers) Marshal ¶
func (m *MsgMintVouchers) Marshal() (dAtA []byte, err error)
func (*MsgMintVouchers) MarshalToSizedBuffer ¶
func (m *MsgMintVouchers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintVouchers) ProtoMessage ¶
func (*MsgMintVouchers) ProtoMessage()
func (*MsgMintVouchers) Reset ¶
func (m *MsgMintVouchers) Reset()
func (*MsgMintVouchers) Route ¶
func (msg *MsgMintVouchers) Route() string
func (*MsgMintVouchers) Size ¶
func (m *MsgMintVouchers) Size() (n int)
func (*MsgMintVouchers) String ¶
func (m *MsgMintVouchers) String() string
func (*MsgMintVouchers) Type ¶
func (msg *MsgMintVouchers) Type() string
func (*MsgMintVouchers) Unmarshal ¶
func (m *MsgMintVouchers) Unmarshal(dAtA []byte) error
func (*MsgMintVouchers) ValidateBasic ¶
func (msg *MsgMintVouchers) ValidateBasic() error
func (*MsgMintVouchers) XXX_DiscardUnknown ¶
func (m *MsgMintVouchers) XXX_DiscardUnknown()
func (*MsgMintVouchers) XXX_Marshal ¶
func (m *MsgMintVouchers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintVouchers) XXX_Merge ¶
func (m *MsgMintVouchers) XXX_Merge(src proto.Message)
func (*MsgMintVouchers) XXX_Size ¶
func (m *MsgMintVouchers) XXX_Size() int
func (*MsgMintVouchers) XXX_Unmarshal ¶
func (m *MsgMintVouchers) XXX_Unmarshal(b []byte) error
type MsgMintVouchersResponse ¶
type MsgMintVouchersResponse struct {
}
func (*MsgMintVouchersResponse) Descriptor ¶
func (*MsgMintVouchersResponse) Descriptor() ([]byte, []int)
func (*MsgMintVouchersResponse) Marshal ¶
func (m *MsgMintVouchersResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintVouchersResponse) MarshalTo ¶
func (m *MsgMintVouchersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintVouchersResponse) MarshalToSizedBuffer ¶
func (m *MsgMintVouchersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintVouchersResponse) ProtoMessage ¶
func (*MsgMintVouchersResponse) ProtoMessage()
func (*MsgMintVouchersResponse) Reset ¶
func (m *MsgMintVouchersResponse) Reset()
func (*MsgMintVouchersResponse) Size ¶
func (m *MsgMintVouchersResponse) Size() (n int)
func (*MsgMintVouchersResponse) String ¶
func (m *MsgMintVouchersResponse) String() string
func (*MsgMintVouchersResponse) Unmarshal ¶
func (m *MsgMintVouchersResponse) Unmarshal(dAtA []byte) error
func (*MsgMintVouchersResponse) XXX_DiscardUnknown ¶
func (m *MsgMintVouchersResponse) XXX_DiscardUnknown()
func (*MsgMintVouchersResponse) XXX_Marshal ¶
func (m *MsgMintVouchersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintVouchersResponse) XXX_Merge ¶
func (m *MsgMintVouchersResponse) XXX_Merge(src proto.Message)
func (*MsgMintVouchersResponse) XXX_Size ¶
func (m *MsgMintVouchersResponse) XXX_Size() int
func (*MsgMintVouchersResponse) XXX_Unmarshal ¶
func (m *MsgMintVouchersResponse) XXX_Unmarshal(b []byte) error
type MsgRedeemVouchers ¶
type MsgRedeemVouchers struct {
Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
CampaignID uint64 `protobuf:"varint,2,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
Vouchers github_com_cosmos_cosmos_sdk_types.Coins `` /* 162-byte string literal not displayed */
}
func NewMsgRedeemVouchers ¶
func NewMsgRedeemVouchers(sender, account string, campaignID uint64, vouchers sdk.Coins) *MsgRedeemVouchers
func (*MsgRedeemVouchers) Descriptor ¶
func (*MsgRedeemVouchers) Descriptor() ([]byte, []int)
func (*MsgRedeemVouchers) GetAccount ¶
func (m *MsgRedeemVouchers) GetAccount() string
func (*MsgRedeemVouchers) GetCampaignID ¶
func (m *MsgRedeemVouchers) GetCampaignID() uint64
func (*MsgRedeemVouchers) GetSender ¶
func (m *MsgRedeemVouchers) GetSender() string
func (*MsgRedeemVouchers) GetSignBytes ¶
func (msg *MsgRedeemVouchers) GetSignBytes() []byte
func (*MsgRedeemVouchers) GetSigners ¶
func (msg *MsgRedeemVouchers) GetSigners() []sdk.AccAddress
func (*MsgRedeemVouchers) GetVouchers ¶
func (m *MsgRedeemVouchers) GetVouchers() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgRedeemVouchers) Marshal ¶
func (m *MsgRedeemVouchers) Marshal() (dAtA []byte, err error)
func (*MsgRedeemVouchers) MarshalTo ¶
func (m *MsgRedeemVouchers) MarshalTo(dAtA []byte) (int, error)
func (*MsgRedeemVouchers) MarshalToSizedBuffer ¶
func (m *MsgRedeemVouchers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRedeemVouchers) ProtoMessage ¶
func (*MsgRedeemVouchers) ProtoMessage()
func (*MsgRedeemVouchers) Reset ¶
func (m *MsgRedeemVouchers) Reset()
func (*MsgRedeemVouchers) Route ¶
func (msg *MsgRedeemVouchers) Route() string
func (*MsgRedeemVouchers) Size ¶
func (m *MsgRedeemVouchers) Size() (n int)
func (*MsgRedeemVouchers) String ¶
func (m *MsgRedeemVouchers) String() string
func (*MsgRedeemVouchers) Type ¶
func (msg *MsgRedeemVouchers) Type() string
func (*MsgRedeemVouchers) Unmarshal ¶
func (m *MsgRedeemVouchers) Unmarshal(dAtA []byte) error
func (*MsgRedeemVouchers) ValidateBasic ¶
func (msg *MsgRedeemVouchers) ValidateBasic() error
func (*MsgRedeemVouchers) XXX_DiscardUnknown ¶
func (m *MsgRedeemVouchers) XXX_DiscardUnknown()
func (*MsgRedeemVouchers) XXX_Marshal ¶
func (m *MsgRedeemVouchers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRedeemVouchers) XXX_Merge ¶
func (m *MsgRedeemVouchers) XXX_Merge(src proto.Message)
func (*MsgRedeemVouchers) XXX_Size ¶
func (m *MsgRedeemVouchers) XXX_Size() int
func (*MsgRedeemVouchers) XXX_Unmarshal ¶
func (m *MsgRedeemVouchers) XXX_Unmarshal(b []byte) error
type MsgRedeemVouchersResponse ¶
type MsgRedeemVouchersResponse struct {
}
func (*MsgRedeemVouchersResponse) Descriptor ¶
func (*MsgRedeemVouchersResponse) Descriptor() ([]byte, []int)
func (*MsgRedeemVouchersResponse) Marshal ¶
func (m *MsgRedeemVouchersResponse) Marshal() (dAtA []byte, err error)
func (*MsgRedeemVouchersResponse) MarshalTo ¶
func (m *MsgRedeemVouchersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRedeemVouchersResponse) MarshalToSizedBuffer ¶
func (m *MsgRedeemVouchersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRedeemVouchersResponse) ProtoMessage ¶
func (*MsgRedeemVouchersResponse) ProtoMessage()
func (*MsgRedeemVouchersResponse) Reset ¶
func (m *MsgRedeemVouchersResponse) Reset()
func (*MsgRedeemVouchersResponse) Size ¶
func (m *MsgRedeemVouchersResponse) Size() (n int)
func (*MsgRedeemVouchersResponse) String ¶
func (m *MsgRedeemVouchersResponse) String() string
func (*MsgRedeemVouchersResponse) Unmarshal ¶
func (m *MsgRedeemVouchersResponse) Unmarshal(dAtA []byte) error
func (*MsgRedeemVouchersResponse) XXX_DiscardUnknown ¶
func (m *MsgRedeemVouchersResponse) XXX_DiscardUnknown()
func (*MsgRedeemVouchersResponse) XXX_Marshal ¶
func (m *MsgRedeemVouchersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRedeemVouchersResponse) XXX_Merge ¶
func (m *MsgRedeemVouchersResponse) XXX_Merge(src proto.Message)
func (*MsgRedeemVouchersResponse) XXX_Size ¶
func (m *MsgRedeemVouchersResponse) XXX_Size() int
func (*MsgRedeemVouchersResponse) XXX_Unmarshal ¶
func (m *MsgRedeemVouchersResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
CreateCampaign(context.Context, *MsgCreateCampaign) (*MsgCreateCampaignResponse, error)
EditCampaign(context.Context, *MsgEditCampaign) (*MsgEditCampaignResponse, error)
UpdateTotalSupply(context.Context, *MsgUpdateTotalSupply) (*MsgUpdateTotalSupplyResponse, error)
UpdateSpecialAllocations(context.Context, *MsgUpdateSpecialAllocations) (*MsgUpdateSpecialAllocationsResponse, error)
InitializeMainnet(context.Context, *MsgInitializeMainnet) (*MsgInitializeMainnetResponse, error)
MintVouchers(context.Context, *MsgMintVouchers) (*MsgMintVouchersResponse, error)
BurnVouchers(context.Context, *MsgBurnVouchers) (*MsgBurnVouchersResponse, error)
RedeemVouchers(context.Context, *MsgRedeemVouchers) (*MsgRedeemVouchersResponse, error)
UnredeemVouchers(context.Context, *MsgUnredeemVouchers) (*MsgUnredeemVouchersResponse, error)
}
MsgServer is the server API for Msg service.
type MsgUnredeemVouchers ¶
type MsgUnredeemVouchers struct {
Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
CampaignID uint64 `protobuf:"varint,2,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
}
func NewMsgUnredeemVouchers ¶
func NewMsgUnredeemVouchers(sender string, campaignID uint64, shares Shares) *MsgUnredeemVouchers
func (*MsgUnredeemVouchers) Descriptor ¶
func (*MsgUnredeemVouchers) Descriptor() ([]byte, []int)
func (*MsgUnredeemVouchers) GetCampaignID ¶
func (m *MsgUnredeemVouchers) GetCampaignID() uint64
func (*MsgUnredeemVouchers) GetSender ¶
func (m *MsgUnredeemVouchers) GetSender() string
func (*MsgUnredeemVouchers) GetShares ¶
func (m *MsgUnredeemVouchers) GetShares() Shares
func (*MsgUnredeemVouchers) GetSignBytes ¶
func (msg *MsgUnredeemVouchers) GetSignBytes() []byte
func (*MsgUnredeemVouchers) GetSigners ¶
func (msg *MsgUnredeemVouchers) GetSigners() []sdk.AccAddress
func (*MsgUnredeemVouchers) Marshal ¶
func (m *MsgUnredeemVouchers) Marshal() (dAtA []byte, err error)
func (*MsgUnredeemVouchers) MarshalTo ¶
func (m *MsgUnredeemVouchers) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnredeemVouchers) MarshalToSizedBuffer ¶
func (m *MsgUnredeemVouchers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnredeemVouchers) ProtoMessage ¶
func (*MsgUnredeemVouchers) ProtoMessage()
func (*MsgUnredeemVouchers) Reset ¶
func (m *MsgUnredeemVouchers) Reset()
func (*MsgUnredeemVouchers) Route ¶
func (msg *MsgUnredeemVouchers) Route() string
func (*MsgUnredeemVouchers) Size ¶
func (m *MsgUnredeemVouchers) Size() (n int)
func (*MsgUnredeemVouchers) String ¶
func (m *MsgUnredeemVouchers) String() string
func (*MsgUnredeemVouchers) Type ¶
func (msg *MsgUnredeemVouchers) Type() string
func (*MsgUnredeemVouchers) Unmarshal ¶
func (m *MsgUnredeemVouchers) Unmarshal(dAtA []byte) error
func (*MsgUnredeemVouchers) ValidateBasic ¶
func (msg *MsgUnredeemVouchers) ValidateBasic() error
func (*MsgUnredeemVouchers) XXX_DiscardUnknown ¶
func (m *MsgUnredeemVouchers) XXX_DiscardUnknown()
func (*MsgUnredeemVouchers) XXX_Marshal ¶
func (m *MsgUnredeemVouchers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnredeemVouchers) XXX_Merge ¶
func (m *MsgUnredeemVouchers) XXX_Merge(src proto.Message)
func (*MsgUnredeemVouchers) XXX_Size ¶
func (m *MsgUnredeemVouchers) XXX_Size() int
func (*MsgUnredeemVouchers) XXX_Unmarshal ¶
func (m *MsgUnredeemVouchers) XXX_Unmarshal(b []byte) error
type MsgUnredeemVouchersResponse ¶
type MsgUnredeemVouchersResponse struct {
}
func (*MsgUnredeemVouchersResponse) Descriptor ¶
func (*MsgUnredeemVouchersResponse) Descriptor() ([]byte, []int)
func (*MsgUnredeemVouchersResponse) Marshal ¶
func (m *MsgUnredeemVouchersResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnredeemVouchersResponse) MarshalTo ¶
func (m *MsgUnredeemVouchersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnredeemVouchersResponse) MarshalToSizedBuffer ¶
func (m *MsgUnredeemVouchersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnredeemVouchersResponse) ProtoMessage ¶
func (*MsgUnredeemVouchersResponse) ProtoMessage()
func (*MsgUnredeemVouchersResponse) Reset ¶
func (m *MsgUnredeemVouchersResponse) Reset()
func (*MsgUnredeemVouchersResponse) Size ¶
func (m *MsgUnredeemVouchersResponse) Size() (n int)
func (*MsgUnredeemVouchersResponse) String ¶
func (m *MsgUnredeemVouchersResponse) String() string
func (*MsgUnredeemVouchersResponse) Unmarshal ¶
func (m *MsgUnredeemVouchersResponse) Unmarshal(dAtA []byte) error
func (*MsgUnredeemVouchersResponse) XXX_DiscardUnknown ¶
func (m *MsgUnredeemVouchersResponse) XXX_DiscardUnknown()
func (*MsgUnredeemVouchersResponse) XXX_Marshal ¶
func (m *MsgUnredeemVouchersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnredeemVouchersResponse) XXX_Merge ¶
func (m *MsgUnredeemVouchersResponse) XXX_Merge(src proto.Message)
func (*MsgUnredeemVouchersResponse) XXX_Size ¶
func (m *MsgUnredeemVouchersResponse) XXX_Size() int
func (*MsgUnredeemVouchersResponse) XXX_Unmarshal ¶
func (m *MsgUnredeemVouchersResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateSpecialAllocations ¶
type MsgUpdateSpecialAllocations struct {
Coordinator string `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator,omitempty"`
CampaignID uint64 `protobuf:"varint,2,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
SpecialAllocations SpecialAllocations `protobuf:"bytes,3,opt,name=specialAllocations,proto3" json:"specialAllocations"`
}
func NewMsgUpdateSpecialAllocations ¶
func NewMsgUpdateSpecialAllocations( coordinator string, campaignID uint64, specialAllocations SpecialAllocations, ) *MsgUpdateSpecialAllocations
func (*MsgUpdateSpecialAllocations) Descriptor ¶
func (*MsgUpdateSpecialAllocations) Descriptor() ([]byte, []int)
func (*MsgUpdateSpecialAllocations) GetCampaignID ¶
func (m *MsgUpdateSpecialAllocations) GetCampaignID() uint64
func (*MsgUpdateSpecialAllocations) GetCoordinator ¶
func (m *MsgUpdateSpecialAllocations) GetCoordinator() string
func (*MsgUpdateSpecialAllocations) GetSignBytes ¶
func (msg *MsgUpdateSpecialAllocations) GetSignBytes() []byte
func (*MsgUpdateSpecialAllocations) GetSigners ¶
func (msg *MsgUpdateSpecialAllocations) GetSigners() []sdk.AccAddress
func (*MsgUpdateSpecialAllocations) GetSpecialAllocations ¶
func (m *MsgUpdateSpecialAllocations) GetSpecialAllocations() SpecialAllocations
func (*MsgUpdateSpecialAllocations) Marshal ¶
func (m *MsgUpdateSpecialAllocations) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSpecialAllocations) MarshalTo ¶
func (m *MsgUpdateSpecialAllocations) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSpecialAllocations) MarshalToSizedBuffer ¶
func (m *MsgUpdateSpecialAllocations) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSpecialAllocations) ProtoMessage ¶
func (*MsgUpdateSpecialAllocations) ProtoMessage()
func (*MsgUpdateSpecialAllocations) Reset ¶
func (m *MsgUpdateSpecialAllocations) Reset()
func (*MsgUpdateSpecialAllocations) Route ¶
func (msg *MsgUpdateSpecialAllocations) Route() string
func (*MsgUpdateSpecialAllocations) Size ¶
func (m *MsgUpdateSpecialAllocations) Size() (n int)
func (*MsgUpdateSpecialAllocations) String ¶
func (m *MsgUpdateSpecialAllocations) String() string
func (*MsgUpdateSpecialAllocations) Type ¶
func (msg *MsgUpdateSpecialAllocations) Type() string
func (*MsgUpdateSpecialAllocations) Unmarshal ¶
func (m *MsgUpdateSpecialAllocations) Unmarshal(dAtA []byte) error
func (*MsgUpdateSpecialAllocations) ValidateBasic ¶
func (msg *MsgUpdateSpecialAllocations) ValidateBasic() error
func (*MsgUpdateSpecialAllocations) XXX_DiscardUnknown ¶
func (m *MsgUpdateSpecialAllocations) XXX_DiscardUnknown()
func (*MsgUpdateSpecialAllocations) XXX_Marshal ¶
func (m *MsgUpdateSpecialAllocations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSpecialAllocations) XXX_Merge ¶
func (m *MsgUpdateSpecialAllocations) XXX_Merge(src proto.Message)
func (*MsgUpdateSpecialAllocations) XXX_Size ¶
func (m *MsgUpdateSpecialAllocations) XXX_Size() int
func (*MsgUpdateSpecialAllocations) XXX_Unmarshal ¶
func (m *MsgUpdateSpecialAllocations) XXX_Unmarshal(b []byte) error
type MsgUpdateSpecialAllocationsResponse ¶
type MsgUpdateSpecialAllocationsResponse struct {
}
func (*MsgUpdateSpecialAllocationsResponse) Descriptor ¶
func (*MsgUpdateSpecialAllocationsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateSpecialAllocationsResponse) Marshal ¶
func (m *MsgUpdateSpecialAllocationsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSpecialAllocationsResponse) MarshalTo ¶
func (m *MsgUpdateSpecialAllocationsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSpecialAllocationsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateSpecialAllocationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSpecialAllocationsResponse) ProtoMessage ¶
func (*MsgUpdateSpecialAllocationsResponse) ProtoMessage()
func (*MsgUpdateSpecialAllocationsResponse) Reset ¶
func (m *MsgUpdateSpecialAllocationsResponse) Reset()
func (*MsgUpdateSpecialAllocationsResponse) Size ¶
func (m *MsgUpdateSpecialAllocationsResponse) Size() (n int)
func (*MsgUpdateSpecialAllocationsResponse) String ¶
func (m *MsgUpdateSpecialAllocationsResponse) String() string
func (*MsgUpdateSpecialAllocationsResponse) Unmarshal ¶
func (m *MsgUpdateSpecialAllocationsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateSpecialAllocationsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateSpecialAllocationsResponse) XXX_DiscardUnknown()
func (*MsgUpdateSpecialAllocationsResponse) XXX_Marshal ¶
func (m *MsgUpdateSpecialAllocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSpecialAllocationsResponse) XXX_Merge ¶
func (m *MsgUpdateSpecialAllocationsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateSpecialAllocationsResponse) XXX_Size ¶
func (m *MsgUpdateSpecialAllocationsResponse) XXX_Size() int
func (*MsgUpdateSpecialAllocationsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateSpecialAllocationsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateTotalSupply ¶
type MsgUpdateTotalSupply struct {
Coordinator string `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator,omitempty"`
CampaignID uint64 `protobuf:"varint,2,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
TotalSupplyUpdate github_com_cosmos_cosmos_sdk_types.Coins `` /* 180-byte string literal not displayed */
}
func NewMsgUpdateTotalSupply ¶
func NewMsgUpdateTotalSupply(coordinator string, campaignID uint64, totalSupplyUpdate sdk.Coins) *MsgUpdateTotalSupply
func (*MsgUpdateTotalSupply) Descriptor ¶
func (*MsgUpdateTotalSupply) Descriptor() ([]byte, []int)
func (*MsgUpdateTotalSupply) GetCampaignID ¶
func (m *MsgUpdateTotalSupply) GetCampaignID() uint64
func (*MsgUpdateTotalSupply) GetCoordinator ¶
func (m *MsgUpdateTotalSupply) GetCoordinator() string
func (*MsgUpdateTotalSupply) GetSignBytes ¶
func (msg *MsgUpdateTotalSupply) GetSignBytes() []byte
func (*MsgUpdateTotalSupply) GetSigners ¶
func (msg *MsgUpdateTotalSupply) GetSigners() []sdk.AccAddress
func (*MsgUpdateTotalSupply) GetTotalSupplyUpdate ¶
func (m *MsgUpdateTotalSupply) GetTotalSupplyUpdate() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgUpdateTotalSupply) Marshal ¶
func (m *MsgUpdateTotalSupply) Marshal() (dAtA []byte, err error)
func (*MsgUpdateTotalSupply) MarshalTo ¶
func (m *MsgUpdateTotalSupply) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateTotalSupply) MarshalToSizedBuffer ¶
func (m *MsgUpdateTotalSupply) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateTotalSupply) ProtoMessage ¶
func (*MsgUpdateTotalSupply) ProtoMessage()
func (*MsgUpdateTotalSupply) Reset ¶
func (m *MsgUpdateTotalSupply) Reset()
func (*MsgUpdateTotalSupply) Route ¶
func (msg *MsgUpdateTotalSupply) Route() string
func (*MsgUpdateTotalSupply) Size ¶
func (m *MsgUpdateTotalSupply) Size() (n int)
func (*MsgUpdateTotalSupply) String ¶
func (m *MsgUpdateTotalSupply) String() string
func (*MsgUpdateTotalSupply) Type ¶
func (msg *MsgUpdateTotalSupply) Type() string
func (*MsgUpdateTotalSupply) Unmarshal ¶
func (m *MsgUpdateTotalSupply) Unmarshal(dAtA []byte) error
func (*MsgUpdateTotalSupply) ValidateBasic ¶
func (msg *MsgUpdateTotalSupply) ValidateBasic() error
func (*MsgUpdateTotalSupply) XXX_DiscardUnknown ¶
func (m *MsgUpdateTotalSupply) XXX_DiscardUnknown()
func (*MsgUpdateTotalSupply) XXX_Marshal ¶
func (m *MsgUpdateTotalSupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateTotalSupply) XXX_Merge ¶
func (m *MsgUpdateTotalSupply) XXX_Merge(src proto.Message)
func (*MsgUpdateTotalSupply) XXX_Size ¶
func (m *MsgUpdateTotalSupply) XXX_Size() int
func (*MsgUpdateTotalSupply) XXX_Unmarshal ¶
func (m *MsgUpdateTotalSupply) XXX_Unmarshal(b []byte) error
type MsgUpdateTotalSupplyResponse ¶
type MsgUpdateTotalSupplyResponse struct {
}
func (*MsgUpdateTotalSupplyResponse) Descriptor ¶
func (*MsgUpdateTotalSupplyResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateTotalSupplyResponse) Marshal ¶
func (m *MsgUpdateTotalSupplyResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateTotalSupplyResponse) MarshalTo ¶
func (m *MsgUpdateTotalSupplyResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateTotalSupplyResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateTotalSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateTotalSupplyResponse) ProtoMessage ¶
func (*MsgUpdateTotalSupplyResponse) ProtoMessage()
func (*MsgUpdateTotalSupplyResponse) Reset ¶
func (m *MsgUpdateTotalSupplyResponse) Reset()
func (*MsgUpdateTotalSupplyResponse) Size ¶
func (m *MsgUpdateTotalSupplyResponse) Size() (n int)
func (*MsgUpdateTotalSupplyResponse) String ¶
func (m *MsgUpdateTotalSupplyResponse) String() string
func (*MsgUpdateTotalSupplyResponse) Unmarshal ¶
func (m *MsgUpdateTotalSupplyResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateTotalSupplyResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateTotalSupplyResponse) XXX_DiscardUnknown()
func (*MsgUpdateTotalSupplyResponse) XXX_Marshal ¶
func (m *MsgUpdateTotalSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateTotalSupplyResponse) XXX_Merge ¶
func (m *MsgUpdateTotalSupplyResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateTotalSupplyResponse) XXX_Size ¶
func (m *MsgUpdateTotalSupplyResponse) XXX_Size() int
func (*MsgUpdateTotalSupplyResponse) XXX_Unmarshal ¶
func (m *MsgUpdateTotalSupplyResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct {
TotalSupplyRange TotalSupplyRange `protobuf:"bytes,1,opt,name=totalSupplyRange,proto3" json:"totalSupplyRange"`
CampaignCreationFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 184-byte string literal not displayed */
}
Params defines the set of params for the campaign module.
func (*Params) Descriptor ¶
func (*Params) GetCampaignCreationFee ¶
func (m *Params) GetCampaignCreationFee() github_com_cosmos_cosmos_sdk_types.Coins
func (*Params) GetTotalSupplyRange ¶
func (m *Params) GetTotalSupplyRange() TotalSupplyRange
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (Params) ValidateBasic ¶
ValidateBasic performs basic validation on campaign parameters.
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type ProfileKeeper ¶
type ProfileKeeper interface {
GetAllCoordinator(ctx sdk.Context) []profiletypes.Coordinator
GetCoordinator(ctx sdk.Context, id uint64) (val profiletypes.Coordinator, found bool)
CoordinatorIDFromAddress(ctx sdk.Context, address string) (id uint64, err error)
}
type QueryAllCampaignRequest ¶
type QueryAllCampaignRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllCampaignRequest) Descriptor ¶
func (*QueryAllCampaignRequest) Descriptor() ([]byte, []int)
func (*QueryAllCampaignRequest) GetPagination ¶
func (m *QueryAllCampaignRequest) GetPagination() *query.PageRequest
func (*QueryAllCampaignRequest) Marshal ¶
func (m *QueryAllCampaignRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllCampaignRequest) MarshalTo ¶
func (m *QueryAllCampaignRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllCampaignRequest) MarshalToSizedBuffer ¶
func (m *QueryAllCampaignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllCampaignRequest) ProtoMessage ¶
func (*QueryAllCampaignRequest) ProtoMessage()
func (*QueryAllCampaignRequest) Reset ¶
func (m *QueryAllCampaignRequest) Reset()
func (*QueryAllCampaignRequest) Size ¶
func (m *QueryAllCampaignRequest) Size() (n int)
func (*QueryAllCampaignRequest) String ¶
func (m *QueryAllCampaignRequest) String() string
func (*QueryAllCampaignRequest) Unmarshal ¶
func (m *QueryAllCampaignRequest) Unmarshal(dAtA []byte) error
func (*QueryAllCampaignRequest) XXX_DiscardUnknown ¶
func (m *QueryAllCampaignRequest) XXX_DiscardUnknown()
func (*QueryAllCampaignRequest) XXX_Marshal ¶
func (m *QueryAllCampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllCampaignRequest) XXX_Merge ¶
func (m *QueryAllCampaignRequest) XXX_Merge(src proto.Message)
func (*QueryAllCampaignRequest) XXX_Size ¶
func (m *QueryAllCampaignRequest) XXX_Size() int
func (*QueryAllCampaignRequest) XXX_Unmarshal ¶
func (m *QueryAllCampaignRequest) XXX_Unmarshal(b []byte) error
type QueryAllCampaignResponse ¶
type QueryAllCampaignResponse struct {
Campaign []Campaign `protobuf:"bytes,1,rep,name=campaign,proto3" json:"campaign"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllCampaignResponse) Descriptor ¶
func (*QueryAllCampaignResponse) Descriptor() ([]byte, []int)
func (*QueryAllCampaignResponse) GetCampaign ¶
func (m *QueryAllCampaignResponse) GetCampaign() []Campaign
func (*QueryAllCampaignResponse) GetPagination ¶
func (m *QueryAllCampaignResponse) GetPagination() *query.PageResponse
func (*QueryAllCampaignResponse) Marshal ¶
func (m *QueryAllCampaignResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllCampaignResponse) MarshalTo ¶
func (m *QueryAllCampaignResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllCampaignResponse) MarshalToSizedBuffer ¶
func (m *QueryAllCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllCampaignResponse) ProtoMessage ¶
func (*QueryAllCampaignResponse) ProtoMessage()
func (*QueryAllCampaignResponse) Reset ¶
func (m *QueryAllCampaignResponse) Reset()
func (*QueryAllCampaignResponse) Size ¶
func (m *QueryAllCampaignResponse) Size() (n int)
func (*QueryAllCampaignResponse) String ¶
func (m *QueryAllCampaignResponse) String() string
func (*QueryAllCampaignResponse) Unmarshal ¶
func (m *QueryAllCampaignResponse) Unmarshal(dAtA []byte) error
func (*QueryAllCampaignResponse) XXX_DiscardUnknown ¶
func (m *QueryAllCampaignResponse) XXX_DiscardUnknown()
func (*QueryAllCampaignResponse) XXX_Marshal ¶
func (m *QueryAllCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllCampaignResponse) XXX_Merge ¶
func (m *QueryAllCampaignResponse) XXX_Merge(src proto.Message)
func (*QueryAllCampaignResponse) XXX_Size ¶
func (m *QueryAllCampaignResponse) XXX_Size() int
func (*QueryAllCampaignResponse) XXX_Unmarshal ¶
func (m *QueryAllCampaignResponse) XXX_Unmarshal(b []byte) error
type QueryAllMainnetAccountBalanceRequest ¶
type QueryAllMainnetAccountBalanceRequest struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllMainnetAccountBalanceRequest) Descriptor ¶
func (*QueryAllMainnetAccountBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryAllMainnetAccountBalanceRequest) GetCampaignID ¶
func (m *QueryAllMainnetAccountBalanceRequest) GetCampaignID() uint64
func (*QueryAllMainnetAccountBalanceRequest) GetPagination ¶
func (m *QueryAllMainnetAccountBalanceRequest) GetPagination() *query.PageRequest
func (*QueryAllMainnetAccountBalanceRequest) Marshal ¶
func (m *QueryAllMainnetAccountBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllMainnetAccountBalanceRequest) MarshalTo ¶
func (m *QueryAllMainnetAccountBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllMainnetAccountBalanceRequest) MarshalToSizedBuffer ¶
func (m *QueryAllMainnetAccountBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllMainnetAccountBalanceRequest) ProtoMessage ¶
func (*QueryAllMainnetAccountBalanceRequest) ProtoMessage()
func (*QueryAllMainnetAccountBalanceRequest) Reset ¶
func (m *QueryAllMainnetAccountBalanceRequest) Reset()
func (*QueryAllMainnetAccountBalanceRequest) Size ¶
func (m *QueryAllMainnetAccountBalanceRequest) Size() (n int)
func (*QueryAllMainnetAccountBalanceRequest) String ¶
func (m *QueryAllMainnetAccountBalanceRequest) String() string
func (*QueryAllMainnetAccountBalanceRequest) Unmarshal ¶
func (m *QueryAllMainnetAccountBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryAllMainnetAccountBalanceRequest) XXX_DiscardUnknown ¶
func (m *QueryAllMainnetAccountBalanceRequest) XXX_DiscardUnknown()
func (*QueryAllMainnetAccountBalanceRequest) XXX_Marshal ¶
func (m *QueryAllMainnetAccountBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllMainnetAccountBalanceRequest) XXX_Merge ¶
func (m *QueryAllMainnetAccountBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryAllMainnetAccountBalanceRequest) XXX_Size ¶
func (m *QueryAllMainnetAccountBalanceRequest) XXX_Size() int
func (*QueryAllMainnetAccountBalanceRequest) XXX_Unmarshal ¶
func (m *QueryAllMainnetAccountBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryAllMainnetAccountBalanceResponse ¶
type QueryAllMainnetAccountBalanceResponse struct {
MainnetAccountBalance []MainnetAccountBalance `protobuf:"bytes,1,rep,name=mainnetAccountBalance,proto3" json:"mainnetAccountBalance"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllMainnetAccountBalanceResponse) Descriptor ¶
func (*QueryAllMainnetAccountBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryAllMainnetAccountBalanceResponse) GetMainnetAccountBalance ¶
func (m *QueryAllMainnetAccountBalanceResponse) GetMainnetAccountBalance() []MainnetAccountBalance
func (*QueryAllMainnetAccountBalanceResponse) GetPagination ¶
func (m *QueryAllMainnetAccountBalanceResponse) GetPagination() *query.PageResponse
func (*QueryAllMainnetAccountBalanceResponse) Marshal ¶
func (m *QueryAllMainnetAccountBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllMainnetAccountBalanceResponse) MarshalTo ¶
func (m *QueryAllMainnetAccountBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllMainnetAccountBalanceResponse) MarshalToSizedBuffer ¶
func (m *QueryAllMainnetAccountBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllMainnetAccountBalanceResponse) ProtoMessage ¶
func (*QueryAllMainnetAccountBalanceResponse) ProtoMessage()
func (*QueryAllMainnetAccountBalanceResponse) Reset ¶
func (m *QueryAllMainnetAccountBalanceResponse) Reset()
func (*QueryAllMainnetAccountBalanceResponse) Size ¶
func (m *QueryAllMainnetAccountBalanceResponse) Size() (n int)
func (*QueryAllMainnetAccountBalanceResponse) String ¶
func (m *QueryAllMainnetAccountBalanceResponse) String() string
func (*QueryAllMainnetAccountBalanceResponse) Unmarshal ¶
func (m *QueryAllMainnetAccountBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryAllMainnetAccountBalanceResponse) XXX_DiscardUnknown ¶
func (m *QueryAllMainnetAccountBalanceResponse) XXX_DiscardUnknown()
func (*QueryAllMainnetAccountBalanceResponse) XXX_Marshal ¶
func (m *QueryAllMainnetAccountBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllMainnetAccountBalanceResponse) XXX_Merge ¶
func (m *QueryAllMainnetAccountBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryAllMainnetAccountBalanceResponse) XXX_Size ¶
func (m *QueryAllMainnetAccountBalanceResponse) XXX_Size() int
func (*QueryAllMainnetAccountBalanceResponse) XXX_Unmarshal ¶
func (m *QueryAllMainnetAccountBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryAllMainnetAccountRequest ¶
type QueryAllMainnetAccountRequest struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllMainnetAccountRequest) Descriptor ¶
func (*QueryAllMainnetAccountRequest) Descriptor() ([]byte, []int)
func (*QueryAllMainnetAccountRequest) GetCampaignID ¶
func (m *QueryAllMainnetAccountRequest) GetCampaignID() uint64
func (*QueryAllMainnetAccountRequest) GetPagination ¶
func (m *QueryAllMainnetAccountRequest) GetPagination() *query.PageRequest
func (*QueryAllMainnetAccountRequest) Marshal ¶
func (m *QueryAllMainnetAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllMainnetAccountRequest) MarshalTo ¶
func (m *QueryAllMainnetAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllMainnetAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryAllMainnetAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllMainnetAccountRequest) ProtoMessage ¶
func (*QueryAllMainnetAccountRequest) ProtoMessage()
func (*QueryAllMainnetAccountRequest) Reset ¶
func (m *QueryAllMainnetAccountRequest) Reset()
func (*QueryAllMainnetAccountRequest) Size ¶
func (m *QueryAllMainnetAccountRequest) Size() (n int)
func (*QueryAllMainnetAccountRequest) String ¶
func (m *QueryAllMainnetAccountRequest) String() string
func (*QueryAllMainnetAccountRequest) Unmarshal ¶
func (m *QueryAllMainnetAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryAllMainnetAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryAllMainnetAccountRequest) XXX_DiscardUnknown()
func (*QueryAllMainnetAccountRequest) XXX_Marshal ¶
func (m *QueryAllMainnetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllMainnetAccountRequest) XXX_Merge ¶
func (m *QueryAllMainnetAccountRequest) XXX_Merge(src proto.Message)
func (*QueryAllMainnetAccountRequest) XXX_Size ¶
func (m *QueryAllMainnetAccountRequest) XXX_Size() int
func (*QueryAllMainnetAccountRequest) XXX_Unmarshal ¶
func (m *QueryAllMainnetAccountRequest) XXX_Unmarshal(b []byte) error
type QueryAllMainnetAccountResponse ¶
type QueryAllMainnetAccountResponse struct {
MainnetAccount []MainnetAccount `protobuf:"bytes,1,rep,name=mainnetAccount,proto3" json:"mainnetAccount"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllMainnetAccountResponse) Descriptor ¶
func (*QueryAllMainnetAccountResponse) Descriptor() ([]byte, []int)
func (*QueryAllMainnetAccountResponse) GetMainnetAccount ¶
func (m *QueryAllMainnetAccountResponse) GetMainnetAccount() []MainnetAccount
func (*QueryAllMainnetAccountResponse) GetPagination ¶
func (m *QueryAllMainnetAccountResponse) GetPagination() *query.PageResponse
func (*QueryAllMainnetAccountResponse) Marshal ¶
func (m *QueryAllMainnetAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllMainnetAccountResponse) MarshalTo ¶
func (m *QueryAllMainnetAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllMainnetAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryAllMainnetAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllMainnetAccountResponse) ProtoMessage ¶
func (*QueryAllMainnetAccountResponse) ProtoMessage()
func (*QueryAllMainnetAccountResponse) Reset ¶
func (m *QueryAllMainnetAccountResponse) Reset()
func (*QueryAllMainnetAccountResponse) Size ¶
func (m *QueryAllMainnetAccountResponse) Size() (n int)
func (*QueryAllMainnetAccountResponse) String ¶
func (m *QueryAllMainnetAccountResponse) String() string
func (*QueryAllMainnetAccountResponse) Unmarshal ¶
func (m *QueryAllMainnetAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryAllMainnetAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryAllMainnetAccountResponse) XXX_DiscardUnknown()
func (*QueryAllMainnetAccountResponse) XXX_Marshal ¶
func (m *QueryAllMainnetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllMainnetAccountResponse) XXX_Merge ¶
func (m *QueryAllMainnetAccountResponse) XXX_Merge(src proto.Message)
func (*QueryAllMainnetAccountResponse) XXX_Size ¶
func (m *QueryAllMainnetAccountResponse) XXX_Size() int
func (*QueryAllMainnetAccountResponse) XXX_Unmarshal ¶
func (m *QueryAllMainnetAccountResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface {
// Queries a campaign by id.
Campaign(ctx context.Context, in *QueryGetCampaignRequest, opts ...grpc.CallOption) (*QueryGetCampaignResponse, error)
// Queries a list of campaign items.
CampaignAll(ctx context.Context, in *QueryAllCampaignRequest, opts ...grpc.CallOption) (*QueryAllCampaignResponse, error)
// Queries a campaignChains by index.
CampaignChains(ctx context.Context, in *QueryGetCampaignChainsRequest, opts ...grpc.CallOption) (*QueryGetCampaignChainsResponse, error)
// Queries a list of SpecialAllocationsBalance items.
SpecialAllocationsBalance(ctx context.Context, in *QuerySpecialAllocationsBalanceRequest, opts ...grpc.CallOption) (*QuerySpecialAllocationsBalanceResponse, error)
// Queries a mainnetAccount by index.
MainnetAccount(ctx context.Context, in *QueryGetMainnetAccountRequest, opts ...grpc.CallOption) (*QueryGetMainnetAccountResponse, error)
// Queries a list of mainnetAccount items.
MainnetAccountAll(ctx context.Context, in *QueryAllMainnetAccountRequest, opts ...grpc.CallOption) (*QueryAllMainnetAccountResponse, error)
// Queries a mainnetAccountBalance by index.
MainnetAccountBalance(ctx context.Context, in *QueryGetMainnetAccountBalanceRequest, opts ...grpc.CallOption) (*QueryGetMainnetAccountBalanceResponse, error)
// Queries a list of mainnetAccountBalance items.
MainnetAccountBalanceAll(ctx context.Context, in *QueryAllMainnetAccountBalanceRequest, opts ...grpc.CallOption) (*QueryAllMainnetAccountBalanceResponse, error)
// Params queries the parameters of the module.
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
TotalShares(ctx context.Context, in *QueryTotalSharesRequest, opts ...grpc.CallOption) (*QueryTotalSharesResponse, 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 QueryGetCampaignChainsRequest ¶
type QueryGetCampaignChainsRequest struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
}
func (*QueryGetCampaignChainsRequest) Descriptor ¶
func (*QueryGetCampaignChainsRequest) Descriptor() ([]byte, []int)
func (*QueryGetCampaignChainsRequest) GetCampaignID ¶
func (m *QueryGetCampaignChainsRequest) GetCampaignID() uint64
func (*QueryGetCampaignChainsRequest) Marshal ¶
func (m *QueryGetCampaignChainsRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetCampaignChainsRequest) MarshalTo ¶
func (m *QueryGetCampaignChainsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetCampaignChainsRequest) MarshalToSizedBuffer ¶
func (m *QueryGetCampaignChainsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetCampaignChainsRequest) ProtoMessage ¶
func (*QueryGetCampaignChainsRequest) ProtoMessage()
func (*QueryGetCampaignChainsRequest) Reset ¶
func (m *QueryGetCampaignChainsRequest) Reset()
func (*QueryGetCampaignChainsRequest) Size ¶
func (m *QueryGetCampaignChainsRequest) Size() (n int)
func (*QueryGetCampaignChainsRequest) String ¶
func (m *QueryGetCampaignChainsRequest) String() string
func (*QueryGetCampaignChainsRequest) Unmarshal ¶
func (m *QueryGetCampaignChainsRequest) Unmarshal(dAtA []byte) error
func (*QueryGetCampaignChainsRequest) XXX_DiscardUnknown ¶
func (m *QueryGetCampaignChainsRequest) XXX_DiscardUnknown()
func (*QueryGetCampaignChainsRequest) XXX_Marshal ¶
func (m *QueryGetCampaignChainsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetCampaignChainsRequest) XXX_Merge ¶
func (m *QueryGetCampaignChainsRequest) XXX_Merge(src proto.Message)
func (*QueryGetCampaignChainsRequest) XXX_Size ¶
func (m *QueryGetCampaignChainsRequest) XXX_Size() int
func (*QueryGetCampaignChainsRequest) XXX_Unmarshal ¶
func (m *QueryGetCampaignChainsRequest) XXX_Unmarshal(b []byte) error
type QueryGetCampaignChainsResponse ¶
type QueryGetCampaignChainsResponse struct {
CampaignChains CampaignChains `protobuf:"bytes,1,opt,name=campaignChains,proto3" json:"campaignChains"`
}
func (*QueryGetCampaignChainsResponse) Descriptor ¶
func (*QueryGetCampaignChainsResponse) Descriptor() ([]byte, []int)
func (*QueryGetCampaignChainsResponse) GetCampaignChains ¶
func (m *QueryGetCampaignChainsResponse) GetCampaignChains() CampaignChains
func (*QueryGetCampaignChainsResponse) Marshal ¶
func (m *QueryGetCampaignChainsResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetCampaignChainsResponse) MarshalTo ¶
func (m *QueryGetCampaignChainsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetCampaignChainsResponse) MarshalToSizedBuffer ¶
func (m *QueryGetCampaignChainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetCampaignChainsResponse) ProtoMessage ¶
func (*QueryGetCampaignChainsResponse) ProtoMessage()
func (*QueryGetCampaignChainsResponse) Reset ¶
func (m *QueryGetCampaignChainsResponse) Reset()
func (*QueryGetCampaignChainsResponse) Size ¶
func (m *QueryGetCampaignChainsResponse) Size() (n int)
func (*QueryGetCampaignChainsResponse) String ¶
func (m *QueryGetCampaignChainsResponse) String() string
func (*QueryGetCampaignChainsResponse) Unmarshal ¶
func (m *QueryGetCampaignChainsResponse) Unmarshal(dAtA []byte) error
func (*QueryGetCampaignChainsResponse) XXX_DiscardUnknown ¶
func (m *QueryGetCampaignChainsResponse) XXX_DiscardUnknown()
func (*QueryGetCampaignChainsResponse) XXX_Marshal ¶
func (m *QueryGetCampaignChainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetCampaignChainsResponse) XXX_Merge ¶
func (m *QueryGetCampaignChainsResponse) XXX_Merge(src proto.Message)
func (*QueryGetCampaignChainsResponse) XXX_Size ¶
func (m *QueryGetCampaignChainsResponse) XXX_Size() int
func (*QueryGetCampaignChainsResponse) XXX_Unmarshal ¶
func (m *QueryGetCampaignChainsResponse) XXX_Unmarshal(b []byte) error
type QueryGetCampaignRequest ¶
type QueryGetCampaignRequest struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
}
func (*QueryGetCampaignRequest) Descriptor ¶
func (*QueryGetCampaignRequest) Descriptor() ([]byte, []int)
func (*QueryGetCampaignRequest) GetCampaignID ¶
func (m *QueryGetCampaignRequest) GetCampaignID() uint64
func (*QueryGetCampaignRequest) Marshal ¶
func (m *QueryGetCampaignRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetCampaignRequest) MarshalTo ¶
func (m *QueryGetCampaignRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetCampaignRequest) MarshalToSizedBuffer ¶
func (m *QueryGetCampaignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetCampaignRequest) ProtoMessage ¶
func (*QueryGetCampaignRequest) ProtoMessage()
func (*QueryGetCampaignRequest) Reset ¶
func (m *QueryGetCampaignRequest) Reset()
func (*QueryGetCampaignRequest) Size ¶
func (m *QueryGetCampaignRequest) Size() (n int)
func (*QueryGetCampaignRequest) String ¶
func (m *QueryGetCampaignRequest) String() string
func (*QueryGetCampaignRequest) Unmarshal ¶
func (m *QueryGetCampaignRequest) Unmarshal(dAtA []byte) error
func (*QueryGetCampaignRequest) XXX_DiscardUnknown ¶
func (m *QueryGetCampaignRequest) XXX_DiscardUnknown()
func (*QueryGetCampaignRequest) XXX_Marshal ¶
func (m *QueryGetCampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetCampaignRequest) XXX_Merge ¶
func (m *QueryGetCampaignRequest) XXX_Merge(src proto.Message)
func (*QueryGetCampaignRequest) XXX_Size ¶
func (m *QueryGetCampaignRequest) XXX_Size() int
func (*QueryGetCampaignRequest) XXX_Unmarshal ¶
func (m *QueryGetCampaignRequest) XXX_Unmarshal(b []byte) error
type QueryGetCampaignResponse ¶
type QueryGetCampaignResponse struct {
Campaign Campaign `protobuf:"bytes,1,opt,name=campaign,proto3" json:"campaign"`
}
func (*QueryGetCampaignResponse) Descriptor ¶
func (*QueryGetCampaignResponse) Descriptor() ([]byte, []int)
func (*QueryGetCampaignResponse) GetCampaign ¶
func (m *QueryGetCampaignResponse) GetCampaign() Campaign
func (*QueryGetCampaignResponse) Marshal ¶
func (m *QueryGetCampaignResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetCampaignResponse) MarshalTo ¶
func (m *QueryGetCampaignResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetCampaignResponse) MarshalToSizedBuffer ¶
func (m *QueryGetCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetCampaignResponse) ProtoMessage ¶
func (*QueryGetCampaignResponse) ProtoMessage()
func (*QueryGetCampaignResponse) Reset ¶
func (m *QueryGetCampaignResponse) Reset()
func (*QueryGetCampaignResponse) Size ¶
func (m *QueryGetCampaignResponse) Size() (n int)
func (*QueryGetCampaignResponse) String ¶
func (m *QueryGetCampaignResponse) String() string
func (*QueryGetCampaignResponse) Unmarshal ¶
func (m *QueryGetCampaignResponse) Unmarshal(dAtA []byte) error
func (*QueryGetCampaignResponse) XXX_DiscardUnknown ¶
func (m *QueryGetCampaignResponse) XXX_DiscardUnknown()
func (*QueryGetCampaignResponse) XXX_Marshal ¶
func (m *QueryGetCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetCampaignResponse) XXX_Merge ¶
func (m *QueryGetCampaignResponse) XXX_Merge(src proto.Message)
func (*QueryGetCampaignResponse) XXX_Size ¶
func (m *QueryGetCampaignResponse) XXX_Size() int
func (*QueryGetCampaignResponse) XXX_Unmarshal ¶
func (m *QueryGetCampaignResponse) XXX_Unmarshal(b []byte) error
type QueryGetMainnetAccountBalanceRequest ¶
type QueryGetMainnetAccountBalanceRequest struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryGetMainnetAccountBalanceRequest) Descriptor ¶
func (*QueryGetMainnetAccountBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryGetMainnetAccountBalanceRequest) GetAddress ¶
func (m *QueryGetMainnetAccountBalanceRequest) GetAddress() string
func (*QueryGetMainnetAccountBalanceRequest) GetCampaignID ¶
func (m *QueryGetMainnetAccountBalanceRequest) GetCampaignID() uint64
func (*QueryGetMainnetAccountBalanceRequest) Marshal ¶
func (m *QueryGetMainnetAccountBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetMainnetAccountBalanceRequest) MarshalTo ¶
func (m *QueryGetMainnetAccountBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMainnetAccountBalanceRequest) MarshalToSizedBuffer ¶
func (m *QueryGetMainnetAccountBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMainnetAccountBalanceRequest) ProtoMessage ¶
func (*QueryGetMainnetAccountBalanceRequest) ProtoMessage()
func (*QueryGetMainnetAccountBalanceRequest) Reset ¶
func (m *QueryGetMainnetAccountBalanceRequest) Reset()
func (*QueryGetMainnetAccountBalanceRequest) Size ¶
func (m *QueryGetMainnetAccountBalanceRequest) Size() (n int)
func (*QueryGetMainnetAccountBalanceRequest) String ¶
func (m *QueryGetMainnetAccountBalanceRequest) String() string
func (*QueryGetMainnetAccountBalanceRequest) Unmarshal ¶
func (m *QueryGetMainnetAccountBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryGetMainnetAccountBalanceRequest) XXX_DiscardUnknown ¶
func (m *QueryGetMainnetAccountBalanceRequest) XXX_DiscardUnknown()
func (*QueryGetMainnetAccountBalanceRequest) XXX_Marshal ¶
func (m *QueryGetMainnetAccountBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMainnetAccountBalanceRequest) XXX_Merge ¶
func (m *QueryGetMainnetAccountBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryGetMainnetAccountBalanceRequest) XXX_Size ¶
func (m *QueryGetMainnetAccountBalanceRequest) XXX_Size() int
func (*QueryGetMainnetAccountBalanceRequest) XXX_Unmarshal ¶
func (m *QueryGetMainnetAccountBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryGetMainnetAccountBalanceResponse ¶
type QueryGetMainnetAccountBalanceResponse struct {
MainnetAccountBalance MainnetAccountBalance `protobuf:"bytes,1,opt,name=mainnetAccountBalance,proto3" json:"mainnetAccountBalance"`
}
func (*QueryGetMainnetAccountBalanceResponse) Descriptor ¶
func (*QueryGetMainnetAccountBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryGetMainnetAccountBalanceResponse) GetMainnetAccountBalance ¶
func (m *QueryGetMainnetAccountBalanceResponse) GetMainnetAccountBalance() MainnetAccountBalance
func (*QueryGetMainnetAccountBalanceResponse) Marshal ¶
func (m *QueryGetMainnetAccountBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetMainnetAccountBalanceResponse) MarshalTo ¶
func (m *QueryGetMainnetAccountBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMainnetAccountBalanceResponse) MarshalToSizedBuffer ¶
func (m *QueryGetMainnetAccountBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMainnetAccountBalanceResponse) ProtoMessage ¶
func (*QueryGetMainnetAccountBalanceResponse) ProtoMessage()
func (*QueryGetMainnetAccountBalanceResponse) Reset ¶
func (m *QueryGetMainnetAccountBalanceResponse) Reset()
func (*QueryGetMainnetAccountBalanceResponse) Size ¶
func (m *QueryGetMainnetAccountBalanceResponse) Size() (n int)
func (*QueryGetMainnetAccountBalanceResponse) String ¶
func (m *QueryGetMainnetAccountBalanceResponse) String() string
func (*QueryGetMainnetAccountBalanceResponse) Unmarshal ¶
func (m *QueryGetMainnetAccountBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryGetMainnetAccountBalanceResponse) XXX_DiscardUnknown ¶
func (m *QueryGetMainnetAccountBalanceResponse) XXX_DiscardUnknown()
func (*QueryGetMainnetAccountBalanceResponse) XXX_Marshal ¶
func (m *QueryGetMainnetAccountBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMainnetAccountBalanceResponse) XXX_Merge ¶
func (m *QueryGetMainnetAccountBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryGetMainnetAccountBalanceResponse) XXX_Size ¶
func (m *QueryGetMainnetAccountBalanceResponse) XXX_Size() int
func (*QueryGetMainnetAccountBalanceResponse) XXX_Unmarshal ¶
func (m *QueryGetMainnetAccountBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryGetMainnetAccountRequest ¶
type QueryGetMainnetAccountRequest struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryGetMainnetAccountRequest) Descriptor ¶
func (*QueryGetMainnetAccountRequest) Descriptor() ([]byte, []int)
func (*QueryGetMainnetAccountRequest) GetAddress ¶
func (m *QueryGetMainnetAccountRequest) GetAddress() string
func (*QueryGetMainnetAccountRequest) GetCampaignID ¶
func (m *QueryGetMainnetAccountRequest) GetCampaignID() uint64
func (*QueryGetMainnetAccountRequest) Marshal ¶
func (m *QueryGetMainnetAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetMainnetAccountRequest) MarshalTo ¶
func (m *QueryGetMainnetAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMainnetAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryGetMainnetAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMainnetAccountRequest) ProtoMessage ¶
func (*QueryGetMainnetAccountRequest) ProtoMessage()
func (*QueryGetMainnetAccountRequest) Reset ¶
func (m *QueryGetMainnetAccountRequest) Reset()
func (*QueryGetMainnetAccountRequest) Size ¶
func (m *QueryGetMainnetAccountRequest) Size() (n int)
func (*QueryGetMainnetAccountRequest) String ¶
func (m *QueryGetMainnetAccountRequest) String() string
func (*QueryGetMainnetAccountRequest) Unmarshal ¶
func (m *QueryGetMainnetAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryGetMainnetAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryGetMainnetAccountRequest) XXX_DiscardUnknown()
func (*QueryGetMainnetAccountRequest) XXX_Marshal ¶
func (m *QueryGetMainnetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMainnetAccountRequest) XXX_Merge ¶
func (m *QueryGetMainnetAccountRequest) XXX_Merge(src proto.Message)
func (*QueryGetMainnetAccountRequest) XXX_Size ¶
func (m *QueryGetMainnetAccountRequest) XXX_Size() int
func (*QueryGetMainnetAccountRequest) XXX_Unmarshal ¶
func (m *QueryGetMainnetAccountRequest) XXX_Unmarshal(b []byte) error
type QueryGetMainnetAccountResponse ¶
type QueryGetMainnetAccountResponse struct {
MainnetAccount MainnetAccount `protobuf:"bytes,1,opt,name=mainnetAccount,proto3" json:"mainnetAccount"`
}
func (*QueryGetMainnetAccountResponse) Descriptor ¶
func (*QueryGetMainnetAccountResponse) Descriptor() ([]byte, []int)
func (*QueryGetMainnetAccountResponse) GetMainnetAccount ¶
func (m *QueryGetMainnetAccountResponse) GetMainnetAccount() MainnetAccount
func (*QueryGetMainnetAccountResponse) Marshal ¶
func (m *QueryGetMainnetAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetMainnetAccountResponse) MarshalTo ¶
func (m *QueryGetMainnetAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMainnetAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryGetMainnetAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMainnetAccountResponse) ProtoMessage ¶
func (*QueryGetMainnetAccountResponse) ProtoMessage()
func (*QueryGetMainnetAccountResponse) Reset ¶
func (m *QueryGetMainnetAccountResponse) Reset()
func (*QueryGetMainnetAccountResponse) Size ¶
func (m *QueryGetMainnetAccountResponse) Size() (n int)
func (*QueryGetMainnetAccountResponse) String ¶
func (m *QueryGetMainnetAccountResponse) String() string
func (*QueryGetMainnetAccountResponse) Unmarshal ¶
func (m *QueryGetMainnetAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryGetMainnetAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryGetMainnetAccountResponse) XXX_DiscardUnknown()
func (*QueryGetMainnetAccountResponse) XXX_Marshal ¶
func (m *QueryGetMainnetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMainnetAccountResponse) XXX_Merge ¶
func (m *QueryGetMainnetAccountResponse) XXX_Merge(src proto.Message)
func (*QueryGetMainnetAccountResponse) XXX_Size ¶
func (m *QueryGetMainnetAccountResponse) XXX_Size() int
func (*QueryGetMainnetAccountResponse) XXX_Unmarshal ¶
func (m *QueryGetMainnetAccountResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct {
}
QueryParamsRequest is request type for the Query/Params RPC method.
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"`
}
QueryParamsResponse is response type for the Query/Params RPC method.
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 QueryServer ¶
type QueryServer interface {
// Queries a campaign by id.
Campaign(context.Context, *QueryGetCampaignRequest) (*QueryGetCampaignResponse, error)
// Queries a list of campaign items.
CampaignAll(context.Context, *QueryAllCampaignRequest) (*QueryAllCampaignResponse, error)
// Queries a campaignChains by index.
CampaignChains(context.Context, *QueryGetCampaignChainsRequest) (*QueryGetCampaignChainsResponse, error)
// Queries a list of SpecialAllocationsBalance items.
SpecialAllocationsBalance(context.Context, *QuerySpecialAllocationsBalanceRequest) (*QuerySpecialAllocationsBalanceResponse, error)
// Queries a mainnetAccount by index.
MainnetAccount(context.Context, *QueryGetMainnetAccountRequest) (*QueryGetMainnetAccountResponse, error)
// Queries a list of mainnetAccount items.
MainnetAccountAll(context.Context, *QueryAllMainnetAccountRequest) (*QueryAllMainnetAccountResponse, error)
// Queries a mainnetAccountBalance by index.
MainnetAccountBalance(context.Context, *QueryGetMainnetAccountBalanceRequest) (*QueryGetMainnetAccountBalanceResponse, error)
// Queries a list of mainnetAccountBalance items.
MainnetAccountBalanceAll(context.Context, *QueryAllMainnetAccountBalanceRequest) (*QueryAllMainnetAccountBalanceResponse, error)
// Params queries the parameters of the module.
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
TotalShares(context.Context, *QueryTotalSharesRequest) (*QueryTotalSharesResponse, error)
}
QueryServer is the server API for Query service.
type QuerySpecialAllocationsBalanceRequest ¶
type QuerySpecialAllocationsBalanceRequest struct {
CampaignID uint64 `protobuf:"varint,1,opt,name=campaignID,proto3" json:"campaignID,omitempty"`
}
func (*QuerySpecialAllocationsBalanceRequest) Descriptor ¶
func (*QuerySpecialAllocationsBalanceRequest) Descriptor() ([]byte, []int)
func (*QuerySpecialAllocationsBalanceRequest) GetCampaignID ¶
func (m *QuerySpecialAllocationsBalanceRequest) GetCampaignID() uint64
func (*QuerySpecialAllocationsBalanceRequest) Marshal ¶
func (m *QuerySpecialAllocationsBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QuerySpecialAllocationsBalanceRequest) MarshalTo ¶
func (m *QuerySpecialAllocationsBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpecialAllocationsBalanceRequest) MarshalToSizedBuffer ¶
func (m *QuerySpecialAllocationsBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpecialAllocationsBalanceRequest) ProtoMessage ¶
func (*QuerySpecialAllocationsBalanceRequest) ProtoMessage()
func (*QuerySpecialAllocationsBalanceRequest) Reset ¶
func (m *QuerySpecialAllocationsBalanceRequest) Reset()
func (*QuerySpecialAllocationsBalanceRequest) Size ¶
func (m *QuerySpecialAllocationsBalanceRequest) Size() (n int)
func (*QuerySpecialAllocationsBalanceRequest) String ¶
func (m *QuerySpecialAllocationsBalanceRequest) String() string
func (*QuerySpecialAllocationsBalanceRequest) Unmarshal ¶
func (m *QuerySpecialAllocationsBalanceRequest) Unmarshal(dAtA []byte) error
func (*QuerySpecialAllocationsBalanceRequest) XXX_DiscardUnknown ¶
func (m *QuerySpecialAllocationsBalanceRequest) XXX_DiscardUnknown()
func (*QuerySpecialAllocationsBalanceRequest) XXX_Marshal ¶
func (m *QuerySpecialAllocationsBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpecialAllocationsBalanceRequest) XXX_Merge ¶
func (m *QuerySpecialAllocationsBalanceRequest) XXX_Merge(src proto.Message)
func (*QuerySpecialAllocationsBalanceRequest) XXX_Size ¶
func (m *QuerySpecialAllocationsBalanceRequest) XXX_Size() int
func (*QuerySpecialAllocationsBalanceRequest) XXX_Unmarshal ¶
func (m *QuerySpecialAllocationsBalanceRequest) XXX_Unmarshal(b []byte) error
type QuerySpecialAllocationsBalanceResponse ¶
type QuerySpecialAllocationsBalanceResponse struct {
GenesisDistribution github_com_cosmos_cosmos_sdk_types.Coins `` /* 184-byte string literal not displayed */
ClaimableAirdrop github_com_cosmos_cosmos_sdk_types.Coins `` /* 178-byte string literal not displayed */
}
func (*QuerySpecialAllocationsBalanceResponse) Descriptor ¶
func (*QuerySpecialAllocationsBalanceResponse) Descriptor() ([]byte, []int)
func (*QuerySpecialAllocationsBalanceResponse) GetClaimableAirdrop ¶
func (m *QuerySpecialAllocationsBalanceResponse) GetClaimableAirdrop() github_com_cosmos_cosmos_sdk_types.Coins
func (*QuerySpecialAllocationsBalanceResponse) GetGenesisDistribution ¶
func (m *QuerySpecialAllocationsBalanceResponse) GetGenesisDistribution() github_com_cosmos_cosmos_sdk_types.Coins
func (*QuerySpecialAllocationsBalanceResponse) Marshal ¶
func (m *QuerySpecialAllocationsBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QuerySpecialAllocationsBalanceResponse) MarshalTo ¶
func (m *QuerySpecialAllocationsBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpecialAllocationsBalanceResponse) MarshalToSizedBuffer ¶
func (m *QuerySpecialAllocationsBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpecialAllocationsBalanceResponse) ProtoMessage ¶
func (*QuerySpecialAllocationsBalanceResponse) ProtoMessage()
func (*QuerySpecialAllocationsBalanceResponse) Reset ¶
func (m *QuerySpecialAllocationsBalanceResponse) Reset()
func (*QuerySpecialAllocationsBalanceResponse) Size ¶
func (m *QuerySpecialAllocationsBalanceResponse) Size() (n int)
func (*QuerySpecialAllocationsBalanceResponse) String ¶
func (m *QuerySpecialAllocationsBalanceResponse) String() string
func (*QuerySpecialAllocationsBalanceResponse) Unmarshal ¶
func (m *QuerySpecialAllocationsBalanceResponse) Unmarshal(dAtA []byte) error
func (*QuerySpecialAllocationsBalanceResponse) XXX_DiscardUnknown ¶
func (m *QuerySpecialAllocationsBalanceResponse) XXX_DiscardUnknown()
func (*QuerySpecialAllocationsBalanceResponse) XXX_Marshal ¶
func (m *QuerySpecialAllocationsBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpecialAllocationsBalanceResponse) XXX_Merge ¶
func (m *QuerySpecialAllocationsBalanceResponse) XXX_Merge(src proto.Message)
func (*QuerySpecialAllocationsBalanceResponse) XXX_Size ¶
func (m *QuerySpecialAllocationsBalanceResponse) XXX_Size() int
func (*QuerySpecialAllocationsBalanceResponse) XXX_Unmarshal ¶
func (m *QuerySpecialAllocationsBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryTotalSharesRequest ¶
type QueryTotalSharesRequest struct {
}
func (*QueryTotalSharesRequest) Descriptor ¶
func (*QueryTotalSharesRequest) Descriptor() ([]byte, []int)
func (*QueryTotalSharesRequest) Marshal ¶
func (m *QueryTotalSharesRequest) Marshal() (dAtA []byte, err error)
func (*QueryTotalSharesRequest) MarshalTo ¶
func (m *QueryTotalSharesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalSharesRequest) MarshalToSizedBuffer ¶
func (m *QueryTotalSharesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalSharesRequest) ProtoMessage ¶
func (*QueryTotalSharesRequest) ProtoMessage()
func (*QueryTotalSharesRequest) Reset ¶
func (m *QueryTotalSharesRequest) Reset()
func (*QueryTotalSharesRequest) Size ¶
func (m *QueryTotalSharesRequest) Size() (n int)
func (*QueryTotalSharesRequest) String ¶
func (m *QueryTotalSharesRequest) String() string
func (*QueryTotalSharesRequest) Unmarshal ¶
func (m *QueryTotalSharesRequest) Unmarshal(dAtA []byte) error
func (*QueryTotalSharesRequest) XXX_DiscardUnknown ¶
func (m *QueryTotalSharesRequest) XXX_DiscardUnknown()
func (*QueryTotalSharesRequest) XXX_Marshal ¶
func (m *QueryTotalSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalSharesRequest) XXX_Merge ¶
func (m *QueryTotalSharesRequest) XXX_Merge(src proto.Message)
func (*QueryTotalSharesRequest) XXX_Size ¶
func (m *QueryTotalSharesRequest) XXX_Size() int
func (*QueryTotalSharesRequest) XXX_Unmarshal ¶
func (m *QueryTotalSharesRequest) XXX_Unmarshal(b []byte) error
type QueryTotalSharesResponse ¶
type QueryTotalSharesResponse struct {
}
func (*QueryTotalSharesResponse) Descriptor ¶
func (*QueryTotalSharesResponse) Descriptor() ([]byte, []int)
func (*QueryTotalSharesResponse) GetTotalShares ¶
func (m *QueryTotalSharesResponse) GetTotalShares() uint64
func (*QueryTotalSharesResponse) Marshal ¶
func (m *QueryTotalSharesResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalSharesResponse) MarshalTo ¶
func (m *QueryTotalSharesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalSharesResponse) MarshalToSizedBuffer ¶
func (m *QueryTotalSharesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalSharesResponse) ProtoMessage ¶
func (*QueryTotalSharesResponse) ProtoMessage()
func (*QueryTotalSharesResponse) Reset ¶
func (m *QueryTotalSharesResponse) Reset()
func (*QueryTotalSharesResponse) Size ¶
func (m *QueryTotalSharesResponse) Size() (n int)
func (*QueryTotalSharesResponse) String ¶
func (m *QueryTotalSharesResponse) String() string
func (*QueryTotalSharesResponse) Unmarshal ¶
func (m *QueryTotalSharesResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalSharesResponse) XXX_DiscardUnknown ¶
func (m *QueryTotalSharesResponse) XXX_DiscardUnknown()
func (*QueryTotalSharesResponse) XXX_Marshal ¶
func (m *QueryTotalSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalSharesResponse) XXX_Merge ¶
func (m *QueryTotalSharesResponse) XXX_Merge(src proto.Message)
func (*QueryTotalSharesResponse) XXX_Size ¶
func (m *QueryTotalSharesResponse) XXX_Size() int
func (*QueryTotalSharesResponse) XXX_Unmarshal ¶
func (m *QueryTotalSharesResponse) XXX_Unmarshal(b []byte) error
type ShareDelayedVesting ¶
type ShareDelayedVesting struct {
}
ShareDelayedVesting represents options for share delayed vesting Delayed vesting is the type of vesting where all vesting coins are vested once end time is reached
func (*ShareDelayedVesting) Descriptor ¶
func (*ShareDelayedVesting) Descriptor() ([]byte, []int)
func (*ShareDelayedVesting) GetEndTime ¶
func (m *ShareDelayedVesting) GetEndTime() time.Time
func (*ShareDelayedVesting) GetTotalShares ¶
func (m *ShareDelayedVesting) GetTotalShares() Shares
func (*ShareDelayedVesting) GetVesting ¶
func (m *ShareDelayedVesting) GetVesting() Shares
func (*ShareDelayedVesting) Marshal ¶
func (m *ShareDelayedVesting) Marshal() (dAtA []byte, err error)
func (*ShareDelayedVesting) MarshalTo ¶
func (m *ShareDelayedVesting) MarshalTo(dAtA []byte) (int, error)
func (*ShareDelayedVesting) MarshalToSizedBuffer ¶
func (m *ShareDelayedVesting) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ShareDelayedVesting) ProtoMessage ¶
func (*ShareDelayedVesting) ProtoMessage()
func (*ShareDelayedVesting) Reset ¶
func (m *ShareDelayedVesting) Reset()
func (*ShareDelayedVesting) Size ¶
func (m *ShareDelayedVesting) Size() (n int)
func (*ShareDelayedVesting) String ¶
func (m *ShareDelayedVesting) String() string
func (*ShareDelayedVesting) Unmarshal ¶
func (m *ShareDelayedVesting) Unmarshal(dAtA []byte) error
func (*ShareDelayedVesting) XXX_DiscardUnknown ¶
func (m *ShareDelayedVesting) XXX_DiscardUnknown()
func (*ShareDelayedVesting) XXX_Marshal ¶
func (m *ShareDelayedVesting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShareDelayedVesting) XXX_Merge ¶
func (m *ShareDelayedVesting) XXX_Merge(src proto.Message)
func (*ShareDelayedVesting) XXX_Size ¶
func (m *ShareDelayedVesting) XXX_Size() int
func (*ShareDelayedVesting) XXX_Unmarshal ¶
func (m *ShareDelayedVesting) XXX_Unmarshal(b []byte) error
type ShareVestingOptions ¶
type ShareVestingOptions struct {
// *ShareVestingOptions_DelayedVesting
Options isShareVestingOptions_Options `protobuf_oneof:"options"`
}
func NewShareDelayedVesting ¶
func NewShareDelayedVesting(totalShare, vesting Shares, endTime time.Time) *ShareVestingOptions
NewShareDelayedVesting return the ShareVestingOptions
func (*ShareVestingOptions) Descriptor ¶
func (*ShareVestingOptions) Descriptor() ([]byte, []int)
func (*ShareVestingOptions) GetDelayedVesting ¶
func (m *ShareVestingOptions) GetDelayedVesting() *ShareDelayedVesting
func (*ShareVestingOptions) GetOptions ¶
func (m *ShareVestingOptions) GetOptions() isShareVestingOptions_Options
func (*ShareVestingOptions) Marshal ¶
func (m *ShareVestingOptions) Marshal() (dAtA []byte, err error)
func (*ShareVestingOptions) MarshalTo ¶
func (m *ShareVestingOptions) MarshalTo(dAtA []byte) (int, error)
func (*ShareVestingOptions) MarshalToSizedBuffer ¶
func (m *ShareVestingOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ShareVestingOptions) ProtoMessage ¶
func (*ShareVestingOptions) ProtoMessage()
func (*ShareVestingOptions) Reset ¶
func (m *ShareVestingOptions) Reset()
func (*ShareVestingOptions) Size ¶
func (m *ShareVestingOptions) Size() (n int)
func (*ShareVestingOptions) String ¶
func (m *ShareVestingOptions) String() string
func (*ShareVestingOptions) Unmarshal ¶
func (m *ShareVestingOptions) Unmarshal(dAtA []byte) error
func (ShareVestingOptions) Validate ¶
func (m ShareVestingOptions) Validate() error
Validate check the ShareDelayedVesting object
func (*ShareVestingOptions) XXX_DiscardUnknown ¶
func (m *ShareVestingOptions) XXX_DiscardUnknown()
func (*ShareVestingOptions) XXX_Marshal ¶
func (m *ShareVestingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShareVestingOptions) XXX_Merge ¶
func (m *ShareVestingOptions) XXX_Merge(src proto.Message)
func (*ShareVestingOptions) XXX_OneofWrappers ¶
func (*ShareVestingOptions) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ShareVestingOptions) XXX_Size ¶
func (m *ShareVestingOptions) XXX_Size() int
func (*ShareVestingOptions) XXX_Unmarshal ¶
func (m *ShareVestingOptions) XXX_Unmarshal(b []byte) error
type ShareVestingOptions_DelayedVesting ¶
type ShareVestingOptions_DelayedVesting struct {
}
func (*ShareVestingOptions_DelayedVesting) MarshalTo ¶
func (m *ShareVestingOptions_DelayedVesting) MarshalTo(dAtA []byte) (int, error)
func (*ShareVestingOptions_DelayedVesting) MarshalToSizedBuffer ¶
func (m *ShareVestingOptions_DelayedVesting) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ShareVestingOptions_DelayedVesting) Size ¶
func (m *ShareVestingOptions_DelayedVesting) Size() (n int)
type Shares ¶
Shares represents the portion of a supply
func DecreaseShares ¶
DecreaseShares decreases the number of shares or returns a error if shares can't be decreased
func EmptyShares ¶
func EmptyShares() Shares
EmptyShares returns shares object that contains no share
func IncreaseShares ¶
IncreaseShares increases the number of shares
func NewSharesFromCoins ¶
NewSharesFromCoins returns new shares from the coins representation
func VouchersToShares ¶
VouchersToShares returns new Shares from the Coins vouchers representation
func (Shares) CoinsFromTotalSupply ¶
func (shares Shares) CoinsFromTotalSupply(totalSupply sdk.Coins, totalShareNumber uint64) (coins sdk.Coins, err error)
CoinsFromTotalSupply returns the coins from a total supply reflected by the shares
type SpecialAllocations ¶
type SpecialAllocations struct {
GenesisDistribution Shares `` /* 150-byte string literal not displayed */
ClaimableAirdrop Shares `` /* 144-byte string literal not displayed */
}
func EmptySpecialAllocations ¶
func EmptySpecialAllocations() SpecialAllocations
EmptySpecialAllocations returns special allocation with empty shares
func NewSpecialAllocations ¶
func NewSpecialAllocations(genesisDistribution, claimableAirdrop Shares) SpecialAllocations
NewSpecialAllocations returns new special allocations
func (*SpecialAllocations) Descriptor ¶
func (*SpecialAllocations) Descriptor() ([]byte, []int)
func (*SpecialAllocations) GetClaimableAirdrop ¶
func (m *SpecialAllocations) GetClaimableAirdrop() Shares
func (*SpecialAllocations) GetGenesisDistribution ¶
func (m *SpecialAllocations) GetGenesisDistribution() Shares
func (*SpecialAllocations) Marshal ¶
func (m *SpecialAllocations) Marshal() (dAtA []byte, err error)
func (*SpecialAllocations) MarshalTo ¶
func (m *SpecialAllocations) MarshalTo(dAtA []byte) (int, error)
func (*SpecialAllocations) MarshalToSizedBuffer ¶
func (m *SpecialAllocations) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SpecialAllocations) ProtoMessage ¶
func (*SpecialAllocations) ProtoMessage()
func (*SpecialAllocations) Reset ¶
func (m *SpecialAllocations) Reset()
func (*SpecialAllocations) Size ¶
func (m *SpecialAllocations) Size() (n int)
func (*SpecialAllocations) String ¶
func (m *SpecialAllocations) String() string
func (SpecialAllocations) TotalShares ¶
func (sa SpecialAllocations) TotalShares() Shares
TotalShares returns the total amount of shares for the special allocations
func (*SpecialAllocations) Unmarshal ¶
func (m *SpecialAllocations) Unmarshal(dAtA []byte) error
func (SpecialAllocations) Validate ¶
func (sa SpecialAllocations) Validate() error
Validate validates the special allocation structure
func (*SpecialAllocations) XXX_DiscardUnknown ¶
func (m *SpecialAllocations) XXX_DiscardUnknown()
func (*SpecialAllocations) XXX_Marshal ¶
func (m *SpecialAllocations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpecialAllocations) XXX_Merge ¶
func (m *SpecialAllocations) XXX_Merge(src proto.Message)
func (*SpecialAllocations) XXX_Size ¶
func (m *SpecialAllocations) XXX_Size() int
func (*SpecialAllocations) XXX_Unmarshal ¶
func (m *SpecialAllocations) XXX_Unmarshal(b []byte) error
type TotalSupplyRange ¶
type TotalSupplyRange struct {
MinTotalSupply github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=minTotalSupply,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"minTotalSupply"`
MaxTotalSupply github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=maxTotalSupply,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"maxTotalSupply"`
}
TotalSupplyRange defines the range of allowed values for total supply
func NewTotalSupplyRange ¶
func NewTotalSupplyRange(minTotalSupply, maxTotalSupply sdkmath.Int) TotalSupplyRange
NewTotalSupplyRange creates a new TotalSupplyRange instance
func (*TotalSupplyRange) Descriptor ¶
func (*TotalSupplyRange) Descriptor() ([]byte, []int)
func (*TotalSupplyRange) Marshal ¶
func (m *TotalSupplyRange) Marshal() (dAtA []byte, err error)
func (*TotalSupplyRange) MarshalToSizedBuffer ¶
func (m *TotalSupplyRange) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TotalSupplyRange) ProtoMessage ¶
func (*TotalSupplyRange) ProtoMessage()
func (*TotalSupplyRange) Reset ¶
func (m *TotalSupplyRange) Reset()
func (*TotalSupplyRange) Size ¶
func (m *TotalSupplyRange) Size() (n int)
func (*TotalSupplyRange) String ¶
func (m *TotalSupplyRange) String() string
func (*TotalSupplyRange) Unmarshal ¶
func (m *TotalSupplyRange) Unmarshal(dAtA []byte) error
func (TotalSupplyRange) ValidateBasic ¶
func (sr TotalSupplyRange) ValidateBasic() error
ValidateBasic performs basic validation on an instance of TotalSupplyRange
func (*TotalSupplyRange) XXX_DiscardUnknown ¶
func (m *TotalSupplyRange) XXX_DiscardUnknown()
func (*TotalSupplyRange) XXX_Marshal ¶
func (m *TotalSupplyRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalSupplyRange) XXX_Merge ¶
func (m *TotalSupplyRange) XXX_Merge(src proto.Message)
func (*TotalSupplyRange) XXX_Size ¶
func (m *TotalSupplyRange) XXX_Size() int
func (*TotalSupplyRange) XXX_Unmarshal ¶
func (m *TotalSupplyRange) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) BurnVouchers ¶
func (*UnimplementedMsgServer) BurnVouchers(ctx context.Context, req *MsgBurnVouchers) (*MsgBurnVouchersResponse, error)
func (*UnimplementedMsgServer) CreateCampaign ¶
func (*UnimplementedMsgServer) CreateCampaign(ctx context.Context, req *MsgCreateCampaign) (*MsgCreateCampaignResponse, error)
func (*UnimplementedMsgServer) EditCampaign ¶
func (*UnimplementedMsgServer) EditCampaign(ctx context.Context, req *MsgEditCampaign) (*MsgEditCampaignResponse, error)
func (*UnimplementedMsgServer) InitializeMainnet ¶
func (*UnimplementedMsgServer) InitializeMainnet(ctx context.Context, req *MsgInitializeMainnet) (*MsgInitializeMainnetResponse, error)
func (*UnimplementedMsgServer) MintVouchers ¶
func (*UnimplementedMsgServer) MintVouchers(ctx context.Context, req *MsgMintVouchers) (*MsgMintVouchersResponse, error)
func (*UnimplementedMsgServer) RedeemVouchers ¶
func (*UnimplementedMsgServer) RedeemVouchers(ctx context.Context, req *MsgRedeemVouchers) (*MsgRedeemVouchersResponse, error)
func (*UnimplementedMsgServer) UnredeemVouchers ¶
func (*UnimplementedMsgServer) UnredeemVouchers(ctx context.Context, req *MsgUnredeemVouchers) (*MsgUnredeemVouchersResponse, error)
func (*UnimplementedMsgServer) UpdateSpecialAllocations ¶
func (*UnimplementedMsgServer) UpdateSpecialAllocations(ctx context.Context, req *MsgUpdateSpecialAllocations) (*MsgUpdateSpecialAllocationsResponse, error)
func (*UnimplementedMsgServer) UpdateTotalSupply ¶
func (*UnimplementedMsgServer) UpdateTotalSupply(ctx context.Context, req *MsgUpdateTotalSupply) (*MsgUpdateTotalSupplyResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Campaign ¶
func (*UnimplementedQueryServer) Campaign(ctx context.Context, req *QueryGetCampaignRequest) (*QueryGetCampaignResponse, error)
func (*UnimplementedQueryServer) CampaignAll ¶
func (*UnimplementedQueryServer) CampaignAll(ctx context.Context, req *QueryAllCampaignRequest) (*QueryAllCampaignResponse, error)
func (*UnimplementedQueryServer) CampaignChains ¶
func (*UnimplementedQueryServer) CampaignChains(ctx context.Context, req *QueryGetCampaignChainsRequest) (*QueryGetCampaignChainsResponse, error)
func (*UnimplementedQueryServer) MainnetAccount ¶
func (*UnimplementedQueryServer) MainnetAccount(ctx context.Context, req *QueryGetMainnetAccountRequest) (*QueryGetMainnetAccountResponse, error)
func (*UnimplementedQueryServer) MainnetAccountAll ¶
func (*UnimplementedQueryServer) MainnetAccountAll(ctx context.Context, req *QueryAllMainnetAccountRequest) (*QueryAllMainnetAccountResponse, error)
func (*UnimplementedQueryServer) MainnetAccountBalance ¶
func (*UnimplementedQueryServer) MainnetAccountBalance(ctx context.Context, req *QueryGetMainnetAccountBalanceRequest) (*QueryGetMainnetAccountBalanceResponse, error)
func (*UnimplementedQueryServer) MainnetAccountBalanceAll ¶
func (*UnimplementedQueryServer) MainnetAccountBalanceAll(ctx context.Context, req *QueryAllMainnetAccountBalanceRequest) (*QueryAllMainnetAccountBalanceResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) SpecialAllocationsBalance ¶
func (*UnimplementedQueryServer) SpecialAllocationsBalance(ctx context.Context, req *QuerySpecialAllocationsBalanceRequest) (*QuerySpecialAllocationsBalanceResponse, error)
func (*UnimplementedQueryServer) TotalShares ¶
func (*UnimplementedQueryServer) TotalShares(ctx context.Context, req *QueryTotalSharesRequest) (*QueryTotalSharesResponse, error)
Source Files
¶
- campaign.go
- campaign.pb.go
- campaign_chains.pb.go
- codec.go
- errors.go
- events.pb.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- mainnet_account.pb.go
- msg_burn_vouchers.go
- msg_create_campaign.go
- msg_edit_campaign.go
- msg_initialize_mainnet.go
- msg_mint_vouchers.go
- msg_redeem_vouchers.go
- msg_unredeem_vouchers.go
- msg_update_special_allocations.go
- msg_update_total_supply.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- share_vesting_options.go
- shares.go
- special_allocations.go
- special_allocations.pb.go
- total_supply.go
- tx.pb.go
- vesting.pb.go
- voucher.go