Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParamKeyTable() paramstypes.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)
- func (m *Contract) GetAddress() string
- func (m *Contract) GetId() string
- func (m *Contract) Marshal() (dAtA []byte, err error)
- func (m *Contract) MarshalTo(dAtA []byte) (int, error)
- func (m *Contract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Contract) ProtoMessage()
- func (m *Contract) Reset()
- func (m *Contract) Size() (n int)
- func (m *Contract) String() string
- func (m *Contract) Unmarshal(dAtA []byte) error
- func (m *Contract) XXX_DiscardUnknown()
- func (m *Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contract) XXX_Merge(src proto.Message)
- func (m *Contract) XXX_Size() int
- func (m *Contract) XXX_Unmarshal(b []byte) error
- type ContractType
- type Cw1155Constraints
- func (*Cw1155Constraints) Descriptor() ([]byte, []int)
- func (m *Cw1155Constraints) GetValue() uint64
- func (m *Cw1155Constraints) Marshal() (dAtA []byte, err error)
- func (m *Cw1155Constraints) MarshalTo(dAtA []byte) (int, error)
- func (m *Cw1155Constraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Cw1155Constraints) ProtoMessage()
- func (m *Cw1155Constraints) Reset()
- func (m *Cw1155Constraints) Size() (n int)
- func (m *Cw1155Constraints) String() string
- func (m *Cw1155Constraints) Unmarshal(dAtA []byte) error
- func (m *Cw1155Constraints) XXX_DiscardUnknown()
- func (m *Cw1155Constraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cw1155Constraints) XXX_Merge(src proto.Message)
- func (m *Cw1155Constraints) XXX_Size() int
- func (m *Cw1155Constraints) XXX_Unmarshal(b []byte) error
- type Cw20Coin
- func (*Cw20Coin) Descriptor() ([]byte, []int)
- func (m *Cw20Coin) GetAddress() string
- func (m *Cw20Coin) GetAmount() uint64
- func (m *Cw20Coin) Marshal() (dAtA []byte, err error)
- func (m *Cw20Coin) MarshalTo(dAtA []byte) (int, error)
- func (m *Cw20Coin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Cw20Coin) ProtoMessage()
- func (m *Cw20Coin) Reset()
- func (m *Cw20Coin) Size() (n int)
- func (m *Cw20Coin) String() string
- func (m *Cw20Coin) Unmarshal(dAtA []byte) error
- func (m *Cw20Coin) XXX_DiscardUnknown()
- func (m *Cw20Coin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cw20Coin) XXX_Merge(src proto.Message)
- func (m *Cw20Coin) XXX_Size() int
- func (m *Cw20Coin) XXX_Unmarshal(b []byte) error
- type Cw20Constraints
- func (*Cw20Constraints) Descriptor() ([]byte, []int)
- func (m *Cw20Constraints) GetMaxAmmount() uint64
- func (m *Cw20Constraints) Marshal() (dAtA []byte, err error)
- func (m *Cw20Constraints) MarshalTo(dAtA []byte) (int, error)
- func (m *Cw20Constraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Cw20Constraints) ProtoMessage()
- func (m *Cw20Constraints) Reset()
- func (m *Cw20Constraints) Size() (n int)
- func (m *Cw20Constraints) String() string
- func (m *Cw20Constraints) Unmarshal(dAtA []byte) error
- func (m *Cw20Constraints) XXX_DiscardUnknown()
- func (m *Cw20Constraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cw20Constraints) XXX_Merge(src proto.Message)
- func (m *Cw20Constraints) XXX_Size() int
- func (m *Cw20Constraints) XXX_Unmarshal(b []byte) error
- type Cw721Constraints
- func (*Cw721Constraints) Descriptor() ([]byte, []int)
- func (m *Cw721Constraints) Marshal() (dAtA []byte, err error)
- func (m *Cw721Constraints) MarshalTo(dAtA []byte) (int, error)
- func (m *Cw721Constraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Cw721Constraints) ProtoMessage()
- func (m *Cw721Constraints) Reset()
- func (m *Cw721Constraints) Size() (n int)
- func (m *Cw721Constraints) String() string
- func (m *Cw721Constraints) Unmarshal(dAtA []byte) error
- func (m *Cw721Constraints) XXX_DiscardUnknown()
- func (m *Cw721Constraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cw721Constraints) XXX_Merge(src proto.Message)
- func (m *Cw721Constraints) XXX_Size() int
- func (m *Cw721Constraints) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetTokenMinters() []TokenMinter
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MintAuthorization
- func (a MintAuthorization) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*MintAuthorization) Descriptor() ([]byte, []int)
- func (m *MintAuthorization) GetConstraints() []*MintConstraints
- func (m *MintAuthorization) GetMinterDid() github_com_furya_official_fury_blockchain_x_iid_types.DIDFragment
- func (m *MintAuthorization) Marshal() (dAtA []byte, err error)
- func (m *MintAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *MintAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a MintAuthorization) MsgTypeURL() string
- func (*MintAuthorization) ProtoMessage()
- func (m *MintAuthorization) Reset()
- func (m *MintAuthorization) Size() (n int)
- func (m *MintAuthorization) String() string
- func (m *MintAuthorization) Unmarshal(dAtA []byte) error
- func (a MintAuthorization) ValidateBasic() error
- func (m *MintAuthorization) XXX_DiscardUnknown()
- func (m *MintAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintAuthorization) XXX_Merge(src proto.Message)
- func (m *MintAuthorization) XXX_Size() int
- func (m *MintAuthorization) XXX_Unmarshal(b []byte) error
- type MintConstraints
- func (*MintConstraints) Descriptor() ([]byte, []int)
- func (m *MintConstraints) GetContractAddress() string
- func (m *MintConstraints) GetContractConstraints() isMintConstraints_ContractConstraints
- func (m *MintConstraints) GetCw1155Constraints() *Cw1155Constraints
- func (m *MintConstraints) GetCw20Constraints() *Cw20Constraints
- func (m *MintConstraints) GetCw721Constraints() *Cw721Constraints
- func (m *MintConstraints) GetLimit() int64
- func (m *MintConstraints) Marshal() (dAtA []byte, err error)
- func (m *MintConstraints) MarshalTo(dAtA []byte) (int, error)
- func (m *MintConstraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintConstraints) ProtoMessage()
- func (m *MintConstraints) Reset()
- func (m *MintConstraints) Size() (n int)
- func (m *MintConstraints) String() string
- func (m *MintConstraints) Unmarshal(dAtA []byte) error
- func (m *MintConstraints) XXX_DiscardUnknown()
- func (m *MintConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintConstraints) XXX_Merge(src proto.Message)
- func (*MintConstraints) XXX_OneofWrappers() []interface{}
- func (m *MintConstraints) XXX_Size() int
- func (m *MintConstraints) XXX_Unmarshal(b []byte) error
- type MintConstraints_Cw1155Constraints
- type MintConstraints_Cw20Constraints
- type MintConstraints_Cw721Constraints
- type MintCw1155
- func (*MintCw1155) Descriptor() ([]byte, []int)
- func (m *MintCw1155) GetId() string
- func (m *MintCw1155) GetImage() string
- func (m *MintCw1155) GetTokenUri() isMintCw1155_TokenUri
- func (m *MintCw1155) GetUri() string
- func (m *MintCw1155) GetValue() uint64
- func (m *MintCw1155) Marshal() (dAtA []byte, err error)
- func (m *MintCw1155) MarshalTo(dAtA []byte) (int, error)
- func (m *MintCw1155) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintCw1155) ProtoMessage()
- func (m *MintCw1155) Reset()
- func (m *MintCw1155) Size() (n int)
- func (m *MintCw1155) String() string
- func (m *MintCw1155) Unmarshal(dAtA []byte) error
- func (m *MintCw1155) XXX_DiscardUnknown()
- func (m *MintCw1155) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintCw1155) XXX_Merge(src proto.Message)
- func (*MintCw1155) XXX_OneofWrappers() []interface{}
- func (m *MintCw1155) XXX_Size() int
- func (m *MintCw1155) XXX_Unmarshal(b []byte) error
- type MintCw1155_Image
- type MintCw1155_Uri
- type MintCw20
- func (*MintCw20) Descriptor() ([]byte, []int)
- func (m *MintCw20) GetAmount() uint64
- func (m *MintCw20) Marshal() (dAtA []byte, err error)
- func (m *MintCw20) MarshalTo(dAtA []byte) (int, error)
- func (m *MintCw20) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintCw20) ProtoMessage()
- func (m *MintCw20) Reset()
- func (m *MintCw20) Size() (n int)
- func (m *MintCw20) String() string
- func (m *MintCw20) Unmarshal(dAtA []byte) error
- func (m *MintCw20) XXX_DiscardUnknown()
- func (m *MintCw20) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintCw20) XXX_Merge(src proto.Message)
- func (m *MintCw20) XXX_Size() int
- func (m *MintCw20) XXX_Unmarshal(b []byte) error
- type MintCw721
- func (*MintCw721) Descriptor() ([]byte, []int)
- func (m *MintCw721) GetId() string
- func (m *MintCw721) GetImage() string
- func (m *MintCw721) GetProperties() encoding_json.RawMessage
- func (m *MintCw721) GetTokenUri() isMintCw721_TokenUri
- func (m *MintCw721) GetUri() string
- func (m *MintCw721) Marshal() (dAtA []byte, err error)
- func (m *MintCw721) MarshalTo(dAtA []byte) (int, error)
- func (m *MintCw721) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintCw721) ProtoMessage()
- func (m *MintCw721) Reset()
- func (m *MintCw721) Size() (n int)
- func (m *MintCw721) String() string
- func (m *MintCw721) Unmarshal(dAtA []byte) error
- func (m *MintCw721) XXX_DiscardUnknown()
- func (m *MintCw721) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintCw721) XXX_Merge(src proto.Message)
- func (*MintCw721) XXX_OneofWrappers() []interface{}
- func (m *MintCw721) XXX_Size() int
- func (m *MintCw721) XXX_Unmarshal(b []byte) error
- type MintCw721_Image
- type MintCw721_Uri
- type MsgClient
- type MsgCreateTokenResponse
- func (*MsgCreateTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateTokenResponse) ProtoMessage()
- func (m *MsgCreateTokenResponse) Reset()
- func (m *MsgCreateTokenResponse) Size() (n int)
- func (m *MsgCreateTokenResponse) String() string
- func (m *MsgCreateTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateTokenResponse) XXX_DiscardUnknown()
- func (m *MsgCreateTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateTokenResponse) XXX_Size() int
- func (m *MsgCreateTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgMint
- func (*MsgMint) Descriptor() ([]byte, []int)
- func (m *MsgMint) GetCw1155() *MintCw1155
- func (m *MsgMint) GetCw20() *MintCw20
- func (m *MsgMint) GetCw721() *MintCw721
- func (msg MsgMint) GetIidController() iidtypes.DIDFragment
- func (m *MsgMint) GetMintContract() isMsgMint_MintContract
- func (msg MsgMint) GetSignBytes() []byte
- func (msg MsgMint) GetSigners() []sdk.AccAddress
- func (m *MsgMint) Marshal() (dAtA []byte, err error)
- func (m *MsgMint) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMint) ProtoMessage()
- func (m *MsgMint) Reset()
- func (msg MsgMint) Route() string
- func (m *MsgMint) Size() (n int)
- func (m *MsgMint) String() string
- func (m *MsgMint) Unmarshal(dAtA []byte) error
- func (msg MsgMint) ValidateBasic() error
- func (m *MsgMint) XXX_DiscardUnknown()
- func (m *MsgMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMint) XXX_Merge(src proto.Message)
- func (*MsgMint) XXX_OneofWrappers() []interface{}
- func (m *MsgMint) XXX_Size() int
- func (m *MsgMint) XXX_Unmarshal(b []byte) error
- type MsgMintResponse
- func (*MsgMintResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintResponse) ProtoMessage()
- func (m *MsgMintResponse) Reset()
- func (m *MsgMintResponse) Size() (n int)
- func (m *MsgMintResponse) String() string
- func (m *MsgMintResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintResponse) XXX_DiscardUnknown()
- func (m *MsgMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintResponse) XXX_Size() int
- func (m *MsgMintResponse) XXX_Unmarshal(b []byte) error
- type MsgMint_Cw1155
- type MsgMint_Cw20
- type MsgMint_Cw721
- type MsgServer
- type MsgSetupMinter
- func (*MsgSetupMinter) Descriptor() ([]byte, []int)
- func (m *MsgSetupMinter) GetContractInfo() isMsgSetupMinter_ContractInfo
- func (m *MsgSetupMinter) GetCw1155() *SetupCw1155
- func (m *MsgSetupMinter) GetCw20() *SetupCw20
- func (m *MsgSetupMinter) GetCw721() *SetupCw721
- func (msg MsgSetupMinter) GetIidController() iidtypes.DIDFragment
- func (msg MsgSetupMinter) GetSignBytes() []byte
- func (msg MsgSetupMinter) GetSigners() []sdk.AccAddress
- func (m *MsgSetupMinter) Marshal() (dAtA []byte, err error)
- func (m *MsgSetupMinter) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetupMinter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetupMinter) ProtoMessage()
- func (m *MsgSetupMinter) Reset()
- func (msg MsgSetupMinter) Route() string
- func (m *MsgSetupMinter) Size() (n int)
- func (m *MsgSetupMinter) String() string
- func (m *MsgSetupMinter) Unmarshal(dAtA []byte) error
- func (msg MsgSetupMinter) ValidateBasic() error
- func (m *MsgSetupMinter) XXX_DiscardUnknown()
- func (m *MsgSetupMinter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetupMinter) XXX_Merge(src proto.Message)
- func (*MsgSetupMinter) XXX_OneofWrappers() []interface{}
- func (m *MsgSetupMinter) XXX_Size() int
- func (m *MsgSetupMinter) XXX_Unmarshal(b []byte) error
- type MsgSetupMinterResponse
- func (*MsgSetupMinterResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetupMinterResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetupMinterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetupMinterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetupMinterResponse) ProtoMessage()
- func (m *MsgSetupMinterResponse) Reset()
- func (m *MsgSetupMinterResponse) Size() (n int)
- func (m *MsgSetupMinterResponse) String() string
- func (m *MsgSetupMinterResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetupMinterResponse) XXX_DiscardUnknown()
- func (m *MsgSetupMinterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetupMinterResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetupMinterResponse) XXX_Size() int
- func (m *MsgSetupMinterResponse) XXX_Unmarshal(b []byte) error
- type MsgSetupMinter_Cw1155
- type MsgSetupMinter_Cw20
- type MsgSetupMinter_Cw721
- type MsgTransferToken
- func (*MsgTransferToken) Descriptor() ([]byte, []int)
- func (msg MsgTransferToken) GetIidController() iidtypes.DIDFragment
- func (msg MsgTransferToken) GetSignBytes() []byte
- func (msg MsgTransferToken) GetSigners() []sdk.AccAddress
- func (m *MsgTransferToken) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferToken) ProtoMessage()
- func (m *MsgTransferToken) Reset()
- func (msg MsgTransferToken) Route() string
- func (m *MsgTransferToken) Size() (n int)
- func (m *MsgTransferToken) String() string
- func (m *MsgTransferToken) Unmarshal(dAtA []byte) error
- func (msg MsgTransferToken) ValidateBasic() error
- func (m *MsgTransferToken) XXX_DiscardUnknown()
- func (m *MsgTransferToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferToken) XXX_Merge(src proto.Message)
- func (m *MsgTransferToken) XXX_Size() int
- func (m *MsgTransferToken) XXX_Unmarshal(b []byte) error
- type MsgTransferTokenResponse
- func (*MsgTransferTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferTokenResponse) ProtoMessage()
- func (m *MsgTransferTokenResponse) Reset()
- func (m *MsgTransferTokenResponse) Size() (n int)
- func (m *MsgTransferTokenResponse) String() string
- func (m *MsgTransferTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferTokenResponse) XXX_DiscardUnknown()
- func (m *MsgTransferTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferTokenResponse) XXX_Size() int
- func (m *MsgTransferTokenResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (p *Params) GetCw20ContractCode() uint64
- func (p *Params) GetCw721ContractCode() uint64
- func (p *Params) GetFury1155ContractCode() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramstypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryServer
- type QueryTokenConfigRequest
- func (*QueryTokenConfigRequest) Descriptor() ([]byte, []int)
- func (m *QueryTokenConfigRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenConfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenConfigRequest) ProtoMessage()
- func (m *QueryTokenConfigRequest) Reset()
- func (m *QueryTokenConfigRequest) Size() (n int)
- func (m *QueryTokenConfigRequest) String() string
- func (m *QueryTokenConfigRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTokenConfigRequest) XXX_DiscardUnknown()
- func (m *QueryTokenConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenConfigRequest) XXX_Merge(src proto.Message)
- func (m *QueryTokenConfigRequest) XXX_Size() int
- func (m *QueryTokenConfigRequest) XXX_Unmarshal(b []byte) error
- type QueryTokenConfigResponse
- func (*QueryTokenConfigResponse) Descriptor() ([]byte, []int)
- func (m *QueryTokenConfigResponse) GetMap() map[string]string
- func (m *QueryTokenConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenConfigResponse) ProtoMessage()
- func (m *QueryTokenConfigResponse) Reset()
- func (m *QueryTokenConfigResponse) Size() (n int)
- func (m *QueryTokenConfigResponse) String() string
- func (m *QueryTokenConfigResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTokenConfigResponse) XXX_DiscardUnknown()
- func (m *QueryTokenConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenConfigResponse) XXX_Merge(src proto.Message)
- func (m *QueryTokenConfigResponse) XXX_Size() int
- func (m *QueryTokenConfigResponse) XXX_Unmarshal(b []byte) error
- type QueryTokenDocRequest
- func (*QueryTokenDocRequest) Descriptor() ([]byte, []int)
- func (m *QueryTokenDocRequest) GetContractAddress() string
- func (m *QueryTokenDocRequest) GetMinterDid() string
- func (m *QueryTokenDocRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenDocRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenDocRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenDocRequest) ProtoMessage()
- func (m *QueryTokenDocRequest) Reset()
- func (m *QueryTokenDocRequest) Size() (n int)
- func (m *QueryTokenDocRequest) String() string
- func (m *QueryTokenDocRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTokenDocRequest) XXX_DiscardUnknown()
- func (m *QueryTokenDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenDocRequest) XXX_Merge(src proto.Message)
- func (m *QueryTokenDocRequest) XXX_Size() int
- func (m *QueryTokenDocRequest) XXX_Unmarshal(b []byte) error
- type QueryTokenDocResponse
- func (*QueryTokenDocResponse) Descriptor() ([]byte, []int)
- func (m *QueryTokenDocResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenDocResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenDocResponse) ProtoMessage()
- func (m *QueryTokenDocResponse) Reset()
- func (m *QueryTokenDocResponse) Size() (n int)
- func (m *QueryTokenDocResponse) String() string
- func (m *QueryTokenDocResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTokenDocResponse) XXX_DiscardUnknown()
- func (m *QueryTokenDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenDocResponse) XXX_Merge(src proto.Message)
- func (m *QueryTokenDocResponse) XXX_Size() int
- func (m *QueryTokenDocResponse) XXX_Unmarshal(b []byte) error
- type QueryTokenListRequest
- func (*QueryTokenListRequest) Descriptor() ([]byte, []int)
- func (m *QueryTokenListRequest) GetMinterDid() string
- func (m *QueryTokenListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenListRequest) ProtoMessage()
- func (m *QueryTokenListRequest) Reset()
- func (m *QueryTokenListRequest) Size() (n int)
- func (m *QueryTokenListRequest) String() string
- func (m *QueryTokenListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTokenListRequest) XXX_DiscardUnknown()
- func (m *QueryTokenListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenListRequest) XXX_Merge(src proto.Message)
- func (m *QueryTokenListRequest) XXX_Size() int
- func (m *QueryTokenListRequest) XXX_Unmarshal(b []byte) error
- type QueryTokenListResponse
- func (*QueryTokenListResponse) Descriptor() ([]byte, []int)
- func (m *QueryTokenListResponse) GetContracts() []*TokenMinter
- func (m *QueryTokenListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenListResponse) ProtoMessage()
- func (m *QueryTokenListResponse) Reset()
- func (m *QueryTokenListResponse) Size() (n int)
- func (m *QueryTokenListResponse) String() string
- func (m *QueryTokenListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTokenListResponse) XXX_DiscardUnknown()
- func (m *QueryTokenListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenListResponse) XXX_Merge(src proto.Message)
- func (m *QueryTokenListResponse) XXX_Size() int
- func (m *QueryTokenListResponse) XXX_Unmarshal(b []byte) error
- type SetTokenContractCodes
- func (*SetTokenContractCodes) Descriptor() ([]byte, []int)
- func (m *SetTokenContractCodes) GetCw20ContractCode() uint64
- func (m *SetTokenContractCodes) GetCw721ContractCode() uint64
- func (p *SetTokenContractCodes) GetDescription() string
- func (m *SetTokenContractCodes) GetFury1155ContractCode() uint64
- func (p *SetTokenContractCodes) GetTitle() string
- func (m *SetTokenContractCodes) Marshal() (dAtA []byte, err error)
- func (m *SetTokenContractCodes) MarshalTo(dAtA []byte) (int, error)
- func (m *SetTokenContractCodes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (sup *SetTokenContractCodes) ProposalRoute() string
- func (sup *SetTokenContractCodes) ProposalType() string
- func (*SetTokenContractCodes) ProtoMessage()
- func (m *SetTokenContractCodes) Reset()
- func (m *SetTokenContractCodes) Size() (n int)
- func (m *SetTokenContractCodes) String() string
- func (m *SetTokenContractCodes) Unmarshal(dAtA []byte) error
- func (sup *SetTokenContractCodes) ValidateBasic() error
- func (m *SetTokenContractCodes) XXX_DiscardUnknown()
- func (m *SetTokenContractCodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetTokenContractCodes) XXX_Merge(src proto.Message)
- func (m *SetTokenContractCodes) XXX_Size() int
- func (m *SetTokenContractCodes) XXX_Unmarshal(b []byte) error
- type SetupCw1155
- func (*SetupCw1155) Descriptor() ([]byte, []int)
- func (m *SetupCw1155) Marshal() (dAtA []byte, err error)
- func (m *SetupCw1155) MarshalTo(dAtA []byte) (int, error)
- func (m *SetupCw1155) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetupCw1155) ProtoMessage()
- func (m *SetupCw1155) Reset()
- func (m *SetupCw1155) Size() (n int)
- func (m *SetupCw1155) String() string
- func (m *SetupCw1155) Unmarshal(dAtA []byte) error
- func (m *SetupCw1155) XXX_DiscardUnknown()
- func (m *SetupCw1155) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetupCw1155) XXX_Merge(src proto.Message)
- func (m *SetupCw1155) XXX_Size() int
- func (m *SetupCw1155) XXX_Unmarshal(b []byte) error
- type SetupCw20
- func (*SetupCw20) Descriptor() ([]byte, []int)
- func (m *SetupCw20) GetCap() uint64
- func (m *SetupCw20) GetDecimals() uint32
- func (m *SetupCw20) GetInstialBalances() []*Cw20Coin
- func (m *SetupCw20) GetSymbol() string
- func (m *SetupCw20) Marshal() (dAtA []byte, err error)
- func (m *SetupCw20) MarshalTo(dAtA []byte) (int, error)
- func (m *SetupCw20) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetupCw20) ProtoMessage()
- func (m *SetupCw20) Reset()
- func (m *SetupCw20) Size() (n int)
- func (m *SetupCw20) String() string
- func (m *SetupCw20) Unmarshal(dAtA []byte) error
- func (m *SetupCw20) XXX_DiscardUnknown()
- func (m *SetupCw20) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetupCw20) XXX_Merge(src proto.Message)
- func (m *SetupCw20) XXX_Size() int
- func (m *SetupCw20) XXX_Unmarshal(b []byte) error
- type SetupCw721
- func (*SetupCw721) Descriptor() ([]byte, []int)
- func (m *SetupCw721) GetSymbol() string
- func (m *SetupCw721) Marshal() (dAtA []byte, err error)
- func (m *SetupCw721) MarshalTo(dAtA []byte) (int, error)
- func (m *SetupCw721) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetupCw721) ProtoMessage()
- func (m *SetupCw721) Reset()
- func (m *SetupCw721) Size() (n int)
- func (m *SetupCw721) String() string
- func (m *SetupCw721) Unmarshal(dAtA []byte) error
- func (m *SetupCw721) XXX_DiscardUnknown()
- func (m *SetupCw721) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetupCw721) XXX_Merge(src proto.Message)
- func (m *SetupCw721) XXX_Size() int
- func (m *SetupCw721) XXX_Unmarshal(b []byte) error
- type TokenMinter
- func (*TokenMinter) Descriptor() ([]byte, []int)
- func (m *TokenMinter) Marshal() (dAtA []byte, err error)
- func (m *TokenMinter) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenMinter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenMinter) ProtoMessage()
- func (m *TokenMinter) Reset()
- func (m *TokenMinter) Size() (n int)
- func (m *TokenMinter) String() string
- func (m *TokenMinter) Unmarshal(dAtA []byte) error
- func (m *TokenMinter) XXX_DiscardUnknown()
- func (m *TokenMinter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenMinter) XXX_Merge(src proto.Message)
- func (m *TokenMinter) XXX_Size() int
- func (m *TokenMinter) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) MintToken(ctx context.Context, req *MsgMint) (*MsgMintResponse, error)
- func (*UnimplementedMsgServer) SetupMinter(ctx context.Context, req *MsgSetupMinter) (*MsgSetupMinterResponse, error)
- func (*UnimplementedMsgServer) TransferToken(ctx context.Context, req *MsgTransferToken) (*MsgTransferTokenResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) TokenConfig(ctx context.Context, req *QueryTokenConfigRequest) (*QueryTokenConfigResponse, error)
- func (*UnimplementedQueryServer) TokenDoc(ctx context.Context, req *QueryTokenDocRequest) (*QueryTokenDocResponse, error)
- func (*UnimplementedQueryServer) TokenList(ctx context.Context, req *QueryTokenListRequest) (*QueryTokenListResponse, error)
Constants ¶
const ( ModuleName = "token" DefaultParamspace = ModuleName StoreKey = ModuleName RouterKey = ModuleName QuerierRoute = ModuleName MemStoreKey = "mem_token" )
Variables ¶
var ( ErrInvalidLengthAuthz = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAuthz = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAuthz = 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 ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = 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 ( KeyCw20ContractCode = []byte("Cw20ContractCode") KeyCw721ContractCode = []byte("Cw721ContractCode") KeyFury1155ContractCode = []byte("Fury1155ContractCode") )
var ( ErrInvalidLengthToken = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowToken = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupToken = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ContractType_name = map[int32]string{
0: "CW20",
1: "CW721",
2: "FURY1155",
}
var ContractType_value = map[string]int32{
"CW20": 0,
"CW721": 1,
"FURY1155": 2,
}
var ( // ModuleCdc references the global x/gov module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/gov and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
var (
ProposalTypeSetTokenContractCodes = "SetTokenContractCodes"
)
var (
TokenKey = []byte{0x01}
)
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type Contract ¶
type Contract struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address" yaml:"address"` }
func (*Contract) Descriptor ¶
func (*Contract) GetAddress ¶
func (*Contract) MarshalToSizedBuffer ¶
func (*Contract) ProtoMessage ¶
func (*Contract) ProtoMessage()
func (*Contract) XXX_DiscardUnknown ¶
func (m *Contract) XXX_DiscardUnknown()
func (*Contract) XXX_Marshal ¶
func (*Contract) XXX_Unmarshal ¶
type ContractType ¶
type ContractType int32
const ( ContractType_CW20 ContractType = 0 ContractType_CW721 ContractType = 1 ContractType_FURY1155 ContractType = 2 )
func (ContractType) EnumDescriptor ¶
func (ContractType) EnumDescriptor() ([]byte, []int)
func (ContractType) String ¶
func (x ContractType) String() string
type Cw1155Constraints ¶
type Cw1155Constraints struct {
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value" yaml:"value"`
}
func (*Cw1155Constraints) Descriptor ¶
func (*Cw1155Constraints) Descriptor() ([]byte, []int)
func (*Cw1155Constraints) GetValue ¶
func (m *Cw1155Constraints) GetValue() uint64
func (*Cw1155Constraints) Marshal ¶
func (m *Cw1155Constraints) Marshal() (dAtA []byte, err error)
func (*Cw1155Constraints) MarshalTo ¶
func (m *Cw1155Constraints) MarshalTo(dAtA []byte) (int, error)
func (*Cw1155Constraints) MarshalToSizedBuffer ¶
func (m *Cw1155Constraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Cw1155Constraints) ProtoMessage ¶
func (*Cw1155Constraints) ProtoMessage()
func (*Cw1155Constraints) Reset ¶
func (m *Cw1155Constraints) Reset()
func (*Cw1155Constraints) Size ¶
func (m *Cw1155Constraints) Size() (n int)
func (*Cw1155Constraints) String ¶
func (m *Cw1155Constraints) String() string
func (*Cw1155Constraints) Unmarshal ¶
func (m *Cw1155Constraints) Unmarshal(dAtA []byte) error
func (*Cw1155Constraints) XXX_DiscardUnknown ¶
func (m *Cw1155Constraints) XXX_DiscardUnknown()
func (*Cw1155Constraints) XXX_Marshal ¶
func (m *Cw1155Constraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cw1155Constraints) XXX_Merge ¶
func (m *Cw1155Constraints) XXX_Merge(src proto.Message)
func (*Cw1155Constraints) XXX_Size ¶
func (m *Cw1155Constraints) XXX_Size() int
func (*Cw1155Constraints) XXX_Unmarshal ¶
func (m *Cw1155Constraints) XXX_Unmarshal(b []byte) error
type Cw20Coin ¶
type Cw20Coin struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address" yaml:"address"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` }
func (*Cw20Coin) Descriptor ¶
func (*Cw20Coin) GetAddress ¶
func (*Cw20Coin) MarshalToSizedBuffer ¶
func (*Cw20Coin) ProtoMessage ¶
func (*Cw20Coin) ProtoMessage()
func (*Cw20Coin) XXX_DiscardUnknown ¶
func (m *Cw20Coin) XXX_DiscardUnknown()
func (*Cw20Coin) XXX_Marshal ¶
func (*Cw20Coin) XXX_Unmarshal ¶
type Cw20Constraints ¶
type Cw20Constraints struct {
MaxAmmount uint64 `protobuf:"varint,1,opt,name=maxAmmount,proto3" json:"max_ammount" yaml:"max_ammount"`
}
func (*Cw20Constraints) Descriptor ¶
func (*Cw20Constraints) Descriptor() ([]byte, []int)
func (*Cw20Constraints) GetMaxAmmount ¶
func (m *Cw20Constraints) GetMaxAmmount() uint64
func (*Cw20Constraints) Marshal ¶
func (m *Cw20Constraints) Marshal() (dAtA []byte, err error)
func (*Cw20Constraints) MarshalToSizedBuffer ¶
func (m *Cw20Constraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Cw20Constraints) ProtoMessage ¶
func (*Cw20Constraints) ProtoMessage()
func (*Cw20Constraints) Reset ¶
func (m *Cw20Constraints) Reset()
func (*Cw20Constraints) Size ¶
func (m *Cw20Constraints) Size() (n int)
func (*Cw20Constraints) String ¶
func (m *Cw20Constraints) String() string
func (*Cw20Constraints) Unmarshal ¶
func (m *Cw20Constraints) Unmarshal(dAtA []byte) error
func (*Cw20Constraints) XXX_DiscardUnknown ¶
func (m *Cw20Constraints) XXX_DiscardUnknown()
func (*Cw20Constraints) XXX_Marshal ¶
func (m *Cw20Constraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cw20Constraints) XXX_Merge ¶
func (m *Cw20Constraints) XXX_Merge(src proto.Message)
func (*Cw20Constraints) XXX_Size ¶
func (m *Cw20Constraints) XXX_Size() int
func (*Cw20Constraints) XXX_Unmarshal ¶
func (m *Cw20Constraints) XXX_Unmarshal(b []byte) error
type Cw721Constraints ¶
type Cw721Constraints struct { }
func (*Cw721Constraints) Descriptor ¶
func (*Cw721Constraints) Descriptor() ([]byte, []int)
func (*Cw721Constraints) Marshal ¶
func (m *Cw721Constraints) Marshal() (dAtA []byte, err error)
func (*Cw721Constraints) MarshalToSizedBuffer ¶
func (m *Cw721Constraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Cw721Constraints) ProtoMessage ¶
func (*Cw721Constraints) ProtoMessage()
func (*Cw721Constraints) Reset ¶
func (m *Cw721Constraints) Reset()
func (*Cw721Constraints) Size ¶
func (m *Cw721Constraints) Size() (n int)
func (*Cw721Constraints) String ¶
func (m *Cw721Constraints) String() string
func (*Cw721Constraints) Unmarshal ¶
func (m *Cw721Constraints) Unmarshal(dAtA []byte) error
func (*Cw721Constraints) XXX_DiscardUnknown ¶
func (m *Cw721Constraints) XXX_DiscardUnknown()
func (*Cw721Constraints) XXX_Marshal ¶
func (m *Cw721Constraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cw721Constraints) XXX_Merge ¶
func (m *Cw721Constraints) XXX_Merge(src proto.Message)
func (*Cw721Constraints) XXX_Size ¶
func (m *Cw721Constraints) XXX_Size() int
func (*Cw721Constraints) XXX_Unmarshal ¶
func (m *Cw721Constraints) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { TokenMinters []TokenMinter `protobuf:"bytes,1,rep,name=tokenMinters,proto3" json:"token_minters" yaml:"token_minters"` // repeated GenesisAccountMap account_maps = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"account_maps\""]; Params Params `protobuf:"bytes,2,opt,name=Params,proto3" json:"params" yaml:"params"` }
GenesisState defines the project module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetTokenMinters ¶
func (m *GenesisState) GetTokenMinters() []TokenMinter
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MintAuthorization ¶
type MintAuthorization struct { MinterDid github_com_furya_official_fury_blockchain_x_iid_types.DIDFragment `` /* 155-byte string literal not displayed */ Constraints []*MintConstraints `protobuf:"bytes,2,rep,name=constraints,proto3" json:"cw20_limits" yaml:"cw20_limits"` }
func NewMintAuthorization ¶
func NewMintAuthorization(minterDid iidtypes.DIDFragment, cw20Limit, cw721Limit, fury1155Limit int64) *MintAuthorization
NewMintAuthorization creates a new MintAuthorization object.
func (MintAuthorization) Accept ¶
func (a MintAuthorization) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
Accept implements Authorization.Accept.
func (*MintAuthorization) Descriptor ¶
func (*MintAuthorization) Descriptor() ([]byte, []int)
func (*MintAuthorization) GetConstraints ¶
func (m *MintAuthorization) GetConstraints() []*MintConstraints
func (*MintAuthorization) GetMinterDid ¶
func (m *MintAuthorization) GetMinterDid() github_com_furya_official_fury_blockchain_x_iid_types.DIDFragment
func (*MintAuthorization) Marshal ¶
func (m *MintAuthorization) Marshal() (dAtA []byte, err error)
func (*MintAuthorization) MarshalTo ¶
func (m *MintAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*MintAuthorization) MarshalToSizedBuffer ¶
func (m *MintAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (MintAuthorization) MsgTypeURL ¶
func (a MintAuthorization) MsgTypeURL() string
MsgTypeURL implements Authorization.MsgTypeURL.
func (*MintAuthorization) ProtoMessage ¶
func (*MintAuthorization) ProtoMessage()
func (*MintAuthorization) Reset ¶
func (m *MintAuthorization) Reset()
func (*MintAuthorization) Size ¶
func (m *MintAuthorization) Size() (n int)
func (*MintAuthorization) String ¶
func (m *MintAuthorization) String() string
func (*MintAuthorization) Unmarshal ¶
func (m *MintAuthorization) Unmarshal(dAtA []byte) error
func (MintAuthorization) ValidateBasic ¶
func (a MintAuthorization) ValidateBasic() error
ValidateBasic implements Authorization.ValidateBasic.
func (*MintAuthorization) XXX_DiscardUnknown ¶
func (m *MintAuthorization) XXX_DiscardUnknown()
func (*MintAuthorization) XXX_Marshal ¶
func (m *MintAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MintAuthorization) XXX_Merge ¶
func (m *MintAuthorization) XXX_Merge(src proto.Message)
func (*MintAuthorization) XXX_Size ¶
func (m *MintAuthorization) XXX_Size() int
func (*MintAuthorization) XXX_Unmarshal ¶
func (m *MintAuthorization) XXX_Unmarshal(b []byte) error
type MintConstraints ¶
type MintConstraints struct { ContractAddress string `protobuf:"bytes,1,opt,name=contractAddress,proto3" json:"contract_address" yaml:"contract_address"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit" yaml:"limit"` // Types that are valid to be assigned to ContractConstraints: // *MintConstraints_Cw20Constraints // *MintConstraints_Cw721Constraints // *MintConstraints_Cw1155Constraints ContractConstraints isMintConstraints_ContractConstraints `protobuf_oneof:"contract_constraints"` }
func (*MintConstraints) Descriptor ¶
func (*MintConstraints) Descriptor() ([]byte, []int)
func (*MintConstraints) GetContractAddress ¶
func (m *MintConstraints) GetContractAddress() string
func (*MintConstraints) GetContractConstraints ¶
func (m *MintConstraints) GetContractConstraints() isMintConstraints_ContractConstraints
func (*MintConstraints) GetCw1155Constraints ¶
func (m *MintConstraints) GetCw1155Constraints() *Cw1155Constraints
func (*MintConstraints) GetCw20Constraints ¶
func (m *MintConstraints) GetCw20Constraints() *Cw20Constraints
func (*MintConstraints) GetCw721Constraints ¶
func (m *MintConstraints) GetCw721Constraints() *Cw721Constraints
func (*MintConstraints) GetLimit ¶
func (m *MintConstraints) GetLimit() int64
func (*MintConstraints) Marshal ¶
func (m *MintConstraints) Marshal() (dAtA []byte, err error)
func (*MintConstraints) MarshalToSizedBuffer ¶
func (m *MintConstraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintConstraints) ProtoMessage ¶
func (*MintConstraints) ProtoMessage()
func (*MintConstraints) Reset ¶
func (m *MintConstraints) Reset()
func (*MintConstraints) Size ¶
func (m *MintConstraints) Size() (n int)
func (*MintConstraints) String ¶
func (m *MintConstraints) String() string
func (*MintConstraints) Unmarshal ¶
func (m *MintConstraints) Unmarshal(dAtA []byte) error
func (*MintConstraints) XXX_DiscardUnknown ¶
func (m *MintConstraints) XXX_DiscardUnknown()
func (*MintConstraints) XXX_Marshal ¶
func (m *MintConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MintConstraints) XXX_Merge ¶
func (m *MintConstraints) XXX_Merge(src proto.Message)
func (*MintConstraints) XXX_OneofWrappers ¶
func (*MintConstraints) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MintConstraints) XXX_Size ¶
func (m *MintConstraints) XXX_Size() int
func (*MintConstraints) XXX_Unmarshal ¶
func (m *MintConstraints) XXX_Unmarshal(b []byte) error
type MintConstraints_Cw1155Constraints ¶
type MintConstraints_Cw1155Constraints struct {
Cw1155Constraints *Cw1155Constraints `protobuf:"bytes,5,opt,name=cw1155Constraints,proto3,oneof" json:"cw1155_constraints" yaml:"cw1155_constraints"`
}
func (*MintConstraints_Cw1155Constraints) MarshalTo ¶
func (m *MintConstraints_Cw1155Constraints) MarshalTo(dAtA []byte) (int, error)
func (*MintConstraints_Cw1155Constraints) MarshalToSizedBuffer ¶
func (m *MintConstraints_Cw1155Constraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintConstraints_Cw1155Constraints) Size ¶
func (m *MintConstraints_Cw1155Constraints) Size() (n int)
type MintConstraints_Cw20Constraints ¶
type MintConstraints_Cw20Constraints struct {
Cw20Constraints *Cw20Constraints `protobuf:"bytes,3,opt,name=cw20Constraints,proto3,oneof" json:"cw20_constraints" yaml:"cw20_constraints"`
}
func (*MintConstraints_Cw20Constraints) MarshalTo ¶
func (m *MintConstraints_Cw20Constraints) MarshalTo(dAtA []byte) (int, error)
func (*MintConstraints_Cw20Constraints) MarshalToSizedBuffer ¶
func (m *MintConstraints_Cw20Constraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintConstraints_Cw20Constraints) Size ¶
func (m *MintConstraints_Cw20Constraints) Size() (n int)
type MintConstraints_Cw721Constraints ¶
type MintConstraints_Cw721Constraints struct {
Cw721Constraints *Cw721Constraints `protobuf:"bytes,4,opt,name=cw721Constraints,proto3,oneof" json:"cw721_constraints" yaml:"cw721_constraints"`
}
func (*MintConstraints_Cw721Constraints) MarshalTo ¶
func (m *MintConstraints_Cw721Constraints) MarshalTo(dAtA []byte) (int, error)
func (*MintConstraints_Cw721Constraints) MarshalToSizedBuffer ¶
func (m *MintConstraints_Cw721Constraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintConstraints_Cw721Constraints) Size ¶
func (m *MintConstraints_Cw721Constraints) Size() (n int)
type MintCw1155 ¶
type MintCw1155 struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Types that are valid to be assigned to TokenUri: // *MintCw1155_Image // *MintCw1155_Uri TokenUri isMintCw1155_TokenUri `protobuf_oneof:"token_uri"` Value uint64 `protobuf:"varint,4,opt,name=value,proto3" json:"value,omitempty"` }
func (*MintCw1155) Descriptor ¶
func (*MintCw1155) Descriptor() ([]byte, []int)
func (*MintCw1155) GetId ¶
func (m *MintCw1155) GetId() string
func (*MintCw1155) GetImage ¶
func (m *MintCw1155) GetImage() string
func (*MintCw1155) GetTokenUri ¶
func (m *MintCw1155) GetTokenUri() isMintCw1155_TokenUri
func (*MintCw1155) GetUri ¶
func (m *MintCw1155) GetUri() string
func (*MintCw1155) GetValue ¶
func (m *MintCw1155) GetValue() uint64
func (*MintCw1155) Marshal ¶
func (m *MintCw1155) Marshal() (dAtA []byte, err error)
func (*MintCw1155) MarshalToSizedBuffer ¶
func (m *MintCw1155) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintCw1155) ProtoMessage ¶
func (*MintCw1155) ProtoMessage()
func (*MintCw1155) Reset ¶
func (m *MintCw1155) Reset()
func (*MintCw1155) Size ¶
func (m *MintCw1155) Size() (n int)
func (*MintCw1155) String ¶
func (m *MintCw1155) String() string
func (*MintCw1155) Unmarshal ¶
func (m *MintCw1155) Unmarshal(dAtA []byte) error
func (*MintCw1155) XXX_DiscardUnknown ¶
func (m *MintCw1155) XXX_DiscardUnknown()
func (*MintCw1155) XXX_Marshal ¶
func (m *MintCw1155) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MintCw1155) XXX_Merge ¶
func (m *MintCw1155) XXX_Merge(src proto.Message)
func (*MintCw1155) XXX_OneofWrappers ¶
func (*MintCw1155) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MintCw1155) XXX_Size ¶
func (m *MintCw1155) XXX_Size() int
func (*MintCw1155) XXX_Unmarshal ¶
func (m *MintCw1155) XXX_Unmarshal(b []byte) error
type MintCw1155_Image ¶
type MintCw1155_Image struct {
Image string `protobuf:"bytes,2,opt,name=image,proto3,oneof" json:"image,omitempty"`
}
func (*MintCw1155_Image) MarshalToSizedBuffer ¶
func (m *MintCw1155_Image) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintCw1155_Image) Size ¶
func (m *MintCw1155_Image) Size() (n int)
type MintCw1155_Uri ¶
type MintCw1155_Uri struct {
Uri string `protobuf:"bytes,3,opt,name=uri,proto3,oneof" json:"uri,omitempty"`
}
func (*MintCw1155_Uri) MarshalToSizedBuffer ¶
func (m *MintCw1155_Uri) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintCw1155_Uri) Size ¶
func (m *MintCw1155_Uri) Size() (n int)
type MintCw20 ¶
type MintCw20 struct {
Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
}
func (*MintCw20) Descriptor ¶
func (*MintCw20) MarshalToSizedBuffer ¶
func (*MintCw20) ProtoMessage ¶
func (*MintCw20) ProtoMessage()
func (*MintCw20) XXX_DiscardUnknown ¶
func (m *MintCw20) XXX_DiscardUnknown()
func (*MintCw20) XXX_Marshal ¶
func (*MintCw20) XXX_Unmarshal ¶
type MintCw721 ¶
type MintCw721 struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Types that are valid to be assigned to TokenUri: // *MintCw721_Image // *MintCw721_Uri TokenUri isMintCw721_TokenUri `protobuf_oneof:"token_uri"` Properties encoding_json.RawMessage `protobuf:"bytes,4,opt,name=properties,proto3,casttype=encoding/json.RawMessage" json:"properties,omitempty" yaml:"data"` }
func (*MintCw721) Descriptor ¶
func (*MintCw721) GetProperties ¶
func (m *MintCw721) GetProperties() encoding_json.RawMessage
func (*MintCw721) GetTokenUri ¶
func (m *MintCw721) GetTokenUri() isMintCw721_TokenUri
func (*MintCw721) MarshalToSizedBuffer ¶
func (*MintCw721) ProtoMessage ¶
func (*MintCw721) ProtoMessage()
func (*MintCw721) XXX_DiscardUnknown ¶
func (m *MintCw721) XXX_DiscardUnknown()
func (*MintCw721) XXX_Marshal ¶
func (*MintCw721) XXX_OneofWrappers ¶
func (*MintCw721) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MintCw721) XXX_Unmarshal ¶
type MintCw721_Image ¶
type MintCw721_Image struct {
Image string `protobuf:"bytes,2,opt,name=image,proto3,oneof" json:"image,omitempty"`
}
func (*MintCw721_Image) MarshalToSizedBuffer ¶
func (m *MintCw721_Image) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintCw721_Image) Size ¶
func (m *MintCw721_Image) Size() (n int)
type MintCw721_Uri ¶
type MintCw721_Uri struct {
Uri string `protobuf:"bytes,3,opt,name=uri,proto3,oneof" json:"uri,omitempty"`
}
func (*MintCw721_Uri) MarshalToSizedBuffer ¶
func (m *MintCw721_Uri) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintCw721_Uri) Size ¶
func (m *MintCw721_Uri) Size() (n int)
type MsgClient ¶
type MsgClient interface { // CreateProject defines a method for creating a project. SetupMinter(ctx context.Context, in *MsgSetupMinter, opts ...grpc.CallOption) (*MsgSetupMinterResponse, error) MintToken(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) // Transfers an token and its nft to the recipient TransferToken(ctx context.Context, in *MsgTransferToken, opts ...grpc.CallOption) (*MsgTransferTokenResponse, 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 MsgCreateTokenResponse ¶
type MsgCreateTokenResponse struct { }
MsgCreateProjectResponse defines the Msg/CreateProject response type.
func (*MsgCreateTokenResponse) Descriptor ¶
func (*MsgCreateTokenResponse) Descriptor() ([]byte, []int)
func (*MsgCreateTokenResponse) Marshal ¶
func (m *MsgCreateTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateTokenResponse) MarshalTo ¶
func (m *MsgCreateTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateTokenResponse) ProtoMessage ¶
func (*MsgCreateTokenResponse) ProtoMessage()
func (*MsgCreateTokenResponse) Reset ¶
func (m *MsgCreateTokenResponse) Reset()
func (*MsgCreateTokenResponse) Size ¶
func (m *MsgCreateTokenResponse) Size() (n int)
func (*MsgCreateTokenResponse) String ¶
func (m *MsgCreateTokenResponse) String() string
func (*MsgCreateTokenResponse) Unmarshal ¶
func (m *MsgCreateTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateTokenResponse) XXX_DiscardUnknown()
func (*MsgCreateTokenResponse) XXX_Marshal ¶
func (m *MsgCreateTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateTokenResponse) XXX_Merge ¶
func (m *MsgCreateTokenResponse) XXX_Merge(src proto.Message)
func (*MsgCreateTokenResponse) XXX_Size ¶
func (m *MsgCreateTokenResponse) XXX_Size() int
func (*MsgCreateTokenResponse) XXX_Unmarshal ¶
func (m *MsgCreateTokenResponse) XXX_Unmarshal(b []byte) error
type MsgMint ¶
type MsgMint struct { MinterDid github_com_furya_official_fury_blockchain_x_iid_types.DIDFragment `` /* 155-byte string literal not displayed */ MinterAddress string `protobuf:"bytes,2,opt,name=minterAddress,proto3" json:"minter_address" yaml:"minter_address"` ContractAddress string `protobuf:"bytes,3,opt,name=contractAddress,proto3" json:"contract_address" yaml:"contract_address"` OwnerDid github_com_furya_official_fury_blockchain_x_iid_types.DIDFragment `` /* 154-byte string literal not displayed */ // Types that are valid to be assigned to MintContract: // *MsgMint_Cw20 // *MsgMint_Cw721 // *MsgMint_Cw1155 MintContract isMsgMint_MintContract `protobuf_oneof:"mint_contract"` }
func (*MsgMint) Descriptor ¶
func (*MsgMint) GetCw1155 ¶
func (m *MsgMint) GetCw1155() *MintCw1155
func (MsgMint) GetIidController ¶
func (msg MsgMint) GetIidController() iidtypes.DIDFragment
func (*MsgMint) GetMintContract ¶
func (m *MsgMint) GetMintContract() isMsgMint_MintContract
func (MsgMint) GetSignBytes ¶
func (MsgMint) GetSigners ¶
func (msg MsgMint) GetSigners() []sdk.AccAddress
func (*MsgMint) MarshalToSizedBuffer ¶
func (*MsgMint) ProtoMessage ¶
func (*MsgMint) ProtoMessage()
func (MsgMint) ValidateBasic ¶
func (*MsgMint) XXX_DiscardUnknown ¶
func (m *MsgMint) XXX_DiscardUnknown()
func (*MsgMint) XXX_Marshal ¶
func (*MsgMint) XXX_OneofWrappers ¶
func (*MsgMint) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MsgMint) XXX_Unmarshal ¶
type MsgMintResponse ¶
type MsgMintResponse struct { }
func (*MsgMintResponse) Descriptor ¶
func (*MsgMintResponse) Descriptor() ([]byte, []int)
func (*MsgMintResponse) Marshal ¶
func (m *MsgMintResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintResponse) MarshalToSizedBuffer ¶
func (m *MsgMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintResponse) ProtoMessage ¶
func (*MsgMintResponse) ProtoMessage()
func (*MsgMintResponse) Reset ¶
func (m *MsgMintResponse) Reset()
func (*MsgMintResponse) Size ¶
func (m *MsgMintResponse) Size() (n int)
func (*MsgMintResponse) String ¶
func (m *MsgMintResponse) String() string
func (*MsgMintResponse) Unmarshal ¶
func (m *MsgMintResponse) Unmarshal(dAtA []byte) error
func (*MsgMintResponse) XXX_DiscardUnknown ¶
func (m *MsgMintResponse) XXX_DiscardUnknown()
func (*MsgMintResponse) XXX_Marshal ¶
func (m *MsgMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintResponse) XXX_Merge ¶
func (m *MsgMintResponse) XXX_Merge(src proto.Message)
func (*MsgMintResponse) XXX_Size ¶
func (m *MsgMintResponse) XXX_Size() int
func (*MsgMintResponse) XXX_Unmarshal ¶
func (m *MsgMintResponse) XXX_Unmarshal(b []byte) error
type MsgMint_Cw1155 ¶
type MsgMint_Cw1155 struct {
Cw1155 *MintCw1155 `protobuf:"bytes,7,opt,name=cw1155,proto3,oneof" json:"cw1155" yaml:"cw1155"`
}
func (*MsgMint_Cw1155) MarshalToSizedBuffer ¶
func (m *MsgMint_Cw1155) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMint_Cw1155) Size ¶
func (m *MsgMint_Cw1155) Size() (n int)
type MsgMint_Cw20 ¶
type MsgMint_Cw20 struct {
Cw20 *MintCw20 `protobuf:"bytes,5,opt,name=cw20,proto3,oneof" json:"cw20" yaml:"cw20"`
}
func (*MsgMint_Cw20) MarshalToSizedBuffer ¶
func (m *MsgMint_Cw20) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMint_Cw20) Size ¶
func (m *MsgMint_Cw20) Size() (n int)
type MsgMint_Cw721 ¶
type MsgMint_Cw721 struct {
Cw721 *MintCw721 `protobuf:"bytes,6,opt,name=cw721,proto3,oneof" json:"cw721" yaml:"cw721"`
}
func (*MsgMint_Cw721) MarshalToSizedBuffer ¶
func (m *MsgMint_Cw721) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMint_Cw721) Size ¶
func (m *MsgMint_Cw721) Size() (n int)
type MsgServer ¶
type MsgServer interface { // CreateProject defines a method for creating a project. SetupMinter(context.Context, *MsgSetupMinter) (*MsgSetupMinterResponse, error) MintToken(context.Context, *MsgMint) (*MsgMintResponse, error) // Transfers an token and its nft to the recipient TransferToken(context.Context, *MsgTransferToken) (*MsgTransferTokenResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetupMinter ¶
type MsgSetupMinter struct { MinterDid github_com_furya_official_fury_blockchain_x_iid_types.DIDFragment `` /* 155-byte string literal not displayed */ MinterAddress string `protobuf:"bytes,2,opt,name=minterAddress,proto3" json:"minter_address" yaml:"minter_address"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name" yaml:"name"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description" yaml:"description"` // Types that are valid to be assigned to ContractInfo: // *MsgSetupMinter_Cw20 // *MsgSetupMinter_Cw721 // *MsgSetupMinter_Cw1155 ContractInfo isMsgSetupMinter_ContractInfo `protobuf_oneof:"contract_info"` }
func (*MsgSetupMinter) Descriptor ¶
func (*MsgSetupMinter) Descriptor() ([]byte, []int)
func (*MsgSetupMinter) GetContractInfo ¶
func (m *MsgSetupMinter) GetContractInfo() isMsgSetupMinter_ContractInfo
func (*MsgSetupMinter) GetCw1155 ¶
func (m *MsgSetupMinter) GetCw1155() *SetupCw1155
func (*MsgSetupMinter) GetCw20 ¶
func (m *MsgSetupMinter) GetCw20() *SetupCw20
func (*MsgSetupMinter) GetCw721 ¶
func (m *MsgSetupMinter) GetCw721() *SetupCw721
func (MsgSetupMinter) GetIidController ¶
func (msg MsgSetupMinter) GetIidController() iidtypes.DIDFragment
func didToAddressSplitter(did string) (sdk.AccAddress, error) { bech32 := strings.Split(did, ":") address, err := sdk.AccAddressFromBech32(bech32[len(bech32)-1]) if err != nil { return sdk.AccAddress{}, err } return address, nil }
func (MsgSetupMinter) GetSignBytes ¶
func (msg MsgSetupMinter) GetSignBytes() []byte
func (MsgSetupMinter) GetSigners ¶
func (msg MsgSetupMinter) GetSigners() []sdk.AccAddress
func (*MsgSetupMinter) Marshal ¶
func (m *MsgSetupMinter) Marshal() (dAtA []byte, err error)
func (*MsgSetupMinter) MarshalToSizedBuffer ¶
func (m *MsgSetupMinter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetupMinter) ProtoMessage ¶
func (*MsgSetupMinter) ProtoMessage()
func (*MsgSetupMinter) Reset ¶
func (m *MsgSetupMinter) Reset()
func (MsgSetupMinter) Route ¶
func (msg MsgSetupMinter) Route() string
func (msg MsgSetupMinter) Type() string { return TypeMsgSetupMinter }
func (*MsgSetupMinter) Size ¶
func (m *MsgSetupMinter) Size() (n int)
func (*MsgSetupMinter) String ¶
func (m *MsgSetupMinter) String() string
func (*MsgSetupMinter) Unmarshal ¶
func (m *MsgSetupMinter) Unmarshal(dAtA []byte) error
func (MsgSetupMinter) ValidateBasic ¶
func (msg MsgSetupMinter) ValidateBasic() error
func (*MsgSetupMinter) XXX_DiscardUnknown ¶
func (m *MsgSetupMinter) XXX_DiscardUnknown()
func (*MsgSetupMinter) XXX_Marshal ¶
func (m *MsgSetupMinter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetupMinter) XXX_Merge ¶
func (m *MsgSetupMinter) XXX_Merge(src proto.Message)
func (*MsgSetupMinter) XXX_OneofWrappers ¶
func (*MsgSetupMinter) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MsgSetupMinter) XXX_Size ¶
func (m *MsgSetupMinter) XXX_Size() int
func (*MsgSetupMinter) XXX_Unmarshal ¶
func (m *MsgSetupMinter) XXX_Unmarshal(b []byte) error
type MsgSetupMinterResponse ¶
type MsgSetupMinterResponse struct { }
func (*MsgSetupMinterResponse) Descriptor ¶
func (*MsgSetupMinterResponse) Descriptor() ([]byte, []int)
func (*MsgSetupMinterResponse) Marshal ¶
func (m *MsgSetupMinterResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetupMinterResponse) MarshalTo ¶
func (m *MsgSetupMinterResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetupMinterResponse) MarshalToSizedBuffer ¶
func (m *MsgSetupMinterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetupMinterResponse) ProtoMessage ¶
func (*MsgSetupMinterResponse) ProtoMessage()
func (*MsgSetupMinterResponse) Reset ¶
func (m *MsgSetupMinterResponse) Reset()
func (*MsgSetupMinterResponse) Size ¶
func (m *MsgSetupMinterResponse) Size() (n int)
func (*MsgSetupMinterResponse) String ¶
func (m *MsgSetupMinterResponse) String() string
func (*MsgSetupMinterResponse) Unmarshal ¶
func (m *MsgSetupMinterResponse) Unmarshal(dAtA []byte) error
func (*MsgSetupMinterResponse) XXX_DiscardUnknown ¶
func (m *MsgSetupMinterResponse) XXX_DiscardUnknown()
func (*MsgSetupMinterResponse) XXX_Marshal ¶
func (m *MsgSetupMinterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetupMinterResponse) XXX_Merge ¶
func (m *MsgSetupMinterResponse) XXX_Merge(src proto.Message)
func (*MsgSetupMinterResponse) XXX_Size ¶
func (m *MsgSetupMinterResponse) XXX_Size() int
func (*MsgSetupMinterResponse) XXX_Unmarshal ¶
func (m *MsgSetupMinterResponse) XXX_Unmarshal(b []byte) error
type MsgSetupMinter_Cw1155 ¶
type MsgSetupMinter_Cw1155 struct {
Cw1155 *SetupCw1155 `protobuf:"bytes,8,opt,name=cw1155,proto3,oneof" json:"cw1155" yaml:"cw1155"`
}
func (*MsgSetupMinter_Cw1155) MarshalTo ¶
func (m *MsgSetupMinter_Cw1155) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetupMinter_Cw1155) MarshalToSizedBuffer ¶
func (m *MsgSetupMinter_Cw1155) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetupMinter_Cw1155) Size ¶
func (m *MsgSetupMinter_Cw1155) Size() (n int)
type MsgSetupMinter_Cw20 ¶
type MsgSetupMinter_Cw20 struct {
Cw20 *SetupCw20 `protobuf:"bytes,6,opt,name=cw20,proto3,oneof" json:"cw20" yaml:"cw20"`
}
func (*MsgSetupMinter_Cw20) MarshalTo ¶
func (m *MsgSetupMinter_Cw20) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetupMinter_Cw20) MarshalToSizedBuffer ¶
func (m *MsgSetupMinter_Cw20) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetupMinter_Cw20) Size ¶
func (m *MsgSetupMinter_Cw20) Size() (n int)
type MsgSetupMinter_Cw721 ¶
type MsgSetupMinter_Cw721 struct {
Cw721 *SetupCw721 `protobuf:"bytes,7,opt,name=cw721,proto3,oneof" json:"cw721" yaml:"cw721"`
}
func (*MsgSetupMinter_Cw721) MarshalTo ¶
func (m *MsgSetupMinter_Cw721) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetupMinter_Cw721) MarshalToSizedBuffer ¶
func (m *MsgSetupMinter_Cw721) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetupMinter_Cw721) Size ¶
func (m *MsgSetupMinter_Cw721) Size() (n int)
type MsgTransferToken ¶
type MsgTransferToken struct { TokenDid string `protobuf:"bytes,1,opt,name=tokenDid,proto3" json:"token_did" yaml:"token_did"` OwnerDid string `protobuf:"bytes,2,opt,name=ownerDid,proto3" json:"owner_did" yaml:"owner_did"` OwnerAddress string `protobuf:"bytes,3,opt,name=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` RecipientDid string `protobuf:"bytes,4,opt,name=recipientDid,proto3" json:"recipient_did" yaml:"recipient_did"` }
func (*MsgTransferToken) Descriptor ¶
func (*MsgTransferToken) Descriptor() ([]byte, []int)
func (MsgTransferToken) GetIidController ¶
func (msg MsgTransferToken) GetIidController() iidtypes.DIDFragment
func (MsgTransferToken) GetSignBytes ¶
func (msg MsgTransferToken) GetSignBytes() []byte
func (MsgTransferToken) GetSigners ¶
func (msg MsgTransferToken) GetSigners() []sdk.AccAddress
func (*MsgTransferToken) Marshal ¶
func (m *MsgTransferToken) Marshal() (dAtA []byte, err error)
func (*MsgTransferToken) MarshalToSizedBuffer ¶
func (m *MsgTransferToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferToken) ProtoMessage ¶
func (*MsgTransferToken) ProtoMessage()
func (*MsgTransferToken) Reset ¶
func (m *MsgTransferToken) Reset()
func (MsgTransferToken) Route ¶
func (msg MsgTransferToken) Route() string
func (msg MsgMint) Type() string { return TypeMsgMintToken }
func (*MsgTransferToken) Size ¶
func (m *MsgTransferToken) Size() (n int)
func (*MsgTransferToken) String ¶
func (m *MsgTransferToken) String() string
func (*MsgTransferToken) Unmarshal ¶
func (m *MsgTransferToken) Unmarshal(dAtA []byte) error
func (MsgTransferToken) ValidateBasic ¶
func (msg MsgTransferToken) ValidateBasic() error
func (*MsgTransferToken) XXX_DiscardUnknown ¶
func (m *MsgTransferToken) XXX_DiscardUnknown()
func (*MsgTransferToken) XXX_Marshal ¶
func (m *MsgTransferToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferToken) XXX_Merge ¶
func (m *MsgTransferToken) XXX_Merge(src proto.Message)
func (*MsgTransferToken) XXX_Size ¶
func (m *MsgTransferToken) XXX_Size() int
func (*MsgTransferToken) XXX_Unmarshal ¶
func (m *MsgTransferToken) XXX_Unmarshal(b []byte) error
type MsgTransferTokenResponse ¶
type MsgTransferTokenResponse struct { }
MsgUpdateProjectStatusResponse defines the Msg/UpdateTokenStatus response type.
func (*MsgTransferTokenResponse) Descriptor ¶
func (*MsgTransferTokenResponse) Descriptor() ([]byte, []int)
func (*MsgTransferTokenResponse) Marshal ¶
func (m *MsgTransferTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferTokenResponse) MarshalTo ¶
func (m *MsgTransferTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferTokenResponse) ProtoMessage ¶
func (*MsgTransferTokenResponse) ProtoMessage()
func (*MsgTransferTokenResponse) Reset ¶
func (m *MsgTransferTokenResponse) Reset()
func (*MsgTransferTokenResponse) Size ¶
func (m *MsgTransferTokenResponse) Size() (n int)
func (*MsgTransferTokenResponse) String ¶
func (m *MsgTransferTokenResponse) String() string
func (*MsgTransferTokenResponse) Unmarshal ¶
func (m *MsgTransferTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferTokenResponse) XXX_DiscardUnknown()
func (*MsgTransferTokenResponse) XXX_Marshal ¶
func (m *MsgTransferTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferTokenResponse) XXX_Merge ¶
func (m *MsgTransferTokenResponse) XXX_Merge(src proto.Message)
func (*MsgTransferTokenResponse) XXX_Size ¶
func (m *MsgTransferTokenResponse) XXX_Size() int
func (*MsgTransferTokenResponse) XXX_Unmarshal ¶
func (m *MsgTransferTokenResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { Cw20ContractCode string `protobuf:"bytes,1,opt,name=cw20ContractCode,proto3" json:"cw20_contract_code" yaml:"cw20_contract_code"` Cw721ContractCode string `protobuf:"bytes,2,opt,name=cw721ContractCode,proto3" json:"cw721_contract_code" yaml:"cw721_contract_code"` Fury1155ContractCode string `protobuf:"bytes,3,opt,name=fury1155ContractCode,proto3" json:"fury1155_contract_code" yaml:"fury1155_contract_code"` }
func (*Params) Descriptor ¶
func (*Params) GetCw20ContractCode ¶
func (*Params) GetCw721ContractCode ¶
func (*Params) GetFury1155ContractCode ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramstypes.ParamSetPairs
// Implements params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { TokenList(ctx context.Context, in *QueryTokenListRequest, opts ...grpc.CallOption) (*QueryTokenListResponse, error) TokenDoc(ctx context.Context, in *QueryTokenDocRequest, opts ...grpc.CallOption) (*QueryTokenDocResponse, error) TokenConfig(ctx context.Context, in *QueryTokenConfigRequest, opts ...grpc.CallOption) (*QueryTokenConfigResponse, 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 QueryServer ¶
type QueryServer interface { TokenList(context.Context, *QueryTokenListRequest) (*QueryTokenListResponse, error) TokenDoc(context.Context, *QueryTokenDocRequest) (*QueryTokenDocResponse, error) TokenConfig(context.Context, *QueryTokenConfigRequest) (*QueryTokenConfigResponse, error) }
QueryServer is the server API for Query service.
type QueryTokenConfigRequest ¶
type QueryTokenConfigRequest struct { }
func (*QueryTokenConfigRequest) Descriptor ¶
func (*QueryTokenConfigRequest) Descriptor() ([]byte, []int)
func (*QueryTokenConfigRequest) Marshal ¶
func (m *QueryTokenConfigRequest) Marshal() (dAtA []byte, err error)
func (*QueryTokenConfigRequest) MarshalTo ¶
func (m *QueryTokenConfigRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenConfigRequest) MarshalToSizedBuffer ¶
func (m *QueryTokenConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenConfigRequest) ProtoMessage ¶
func (*QueryTokenConfigRequest) ProtoMessage()
func (*QueryTokenConfigRequest) Reset ¶
func (m *QueryTokenConfigRequest) Reset()
func (*QueryTokenConfigRequest) Size ¶
func (m *QueryTokenConfigRequest) Size() (n int)
func (*QueryTokenConfigRequest) String ¶
func (m *QueryTokenConfigRequest) String() string
func (*QueryTokenConfigRequest) Unmarshal ¶
func (m *QueryTokenConfigRequest) Unmarshal(dAtA []byte) error
func (*QueryTokenConfigRequest) XXX_DiscardUnknown ¶
func (m *QueryTokenConfigRequest) XXX_DiscardUnknown()
func (*QueryTokenConfigRequest) XXX_Marshal ¶
func (m *QueryTokenConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenConfigRequest) XXX_Merge ¶
func (m *QueryTokenConfigRequest) XXX_Merge(src proto.Message)
func (*QueryTokenConfigRequest) XXX_Size ¶
func (m *QueryTokenConfigRequest) XXX_Size() int
func (*QueryTokenConfigRequest) XXX_Unmarshal ¶
func (m *QueryTokenConfigRequest) XXX_Unmarshal(b []byte) error
type QueryTokenConfigResponse ¶
type QueryTokenConfigResponse struct {
Map map[string]string `` /* 161-byte string literal not displayed */
}
// QueryProjectDocResponse is the response type for the Query/ProjectDoc RPC method.
func (*QueryTokenConfigResponse) Descriptor ¶
func (*QueryTokenConfigResponse) Descriptor() ([]byte, []int)
func (*QueryTokenConfigResponse) GetMap ¶
func (m *QueryTokenConfigResponse) GetMap() map[string]string
func (*QueryTokenConfigResponse) Marshal ¶
func (m *QueryTokenConfigResponse) Marshal() (dAtA []byte, err error)
func (*QueryTokenConfigResponse) MarshalTo ¶
func (m *QueryTokenConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenConfigResponse) MarshalToSizedBuffer ¶
func (m *QueryTokenConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenConfigResponse) ProtoMessage ¶
func (*QueryTokenConfigResponse) ProtoMessage()
func (*QueryTokenConfigResponse) Reset ¶
func (m *QueryTokenConfigResponse) Reset()
func (*QueryTokenConfigResponse) Size ¶
func (m *QueryTokenConfigResponse) Size() (n int)
func (*QueryTokenConfigResponse) String ¶
func (m *QueryTokenConfigResponse) String() string
func (*QueryTokenConfigResponse) Unmarshal ¶
func (m *QueryTokenConfigResponse) Unmarshal(dAtA []byte) error
func (*QueryTokenConfigResponse) XXX_DiscardUnknown ¶
func (m *QueryTokenConfigResponse) XXX_DiscardUnknown()
func (*QueryTokenConfigResponse) XXX_Marshal ¶
func (m *QueryTokenConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenConfigResponse) XXX_Merge ¶
func (m *QueryTokenConfigResponse) XXX_Merge(src proto.Message)
func (*QueryTokenConfigResponse) XXX_Size ¶
func (m *QueryTokenConfigResponse) XXX_Size() int
func (*QueryTokenConfigResponse) XXX_Unmarshal ¶
func (m *QueryTokenConfigResponse) XXX_Unmarshal(b []byte) error
type QueryTokenDocRequest ¶
type QueryTokenDocRequest struct { MinterDid string `protobuf:"bytes,1,opt,name=minter_did,json=minterDid,proto3" json:"minter_did,omitempty" yaml:"minter_did"` ContractAddress string `` /* 130-byte string literal not displayed */ }
QueryProjectDocRequest is the request type for the Query/ProjectDoc RPC method.
func (*QueryTokenDocRequest) Descriptor ¶
func (*QueryTokenDocRequest) Descriptor() ([]byte, []int)
func (*QueryTokenDocRequest) GetContractAddress ¶
func (m *QueryTokenDocRequest) GetContractAddress() string
func (*QueryTokenDocRequest) GetMinterDid ¶
func (m *QueryTokenDocRequest) GetMinterDid() string
func (*QueryTokenDocRequest) Marshal ¶
func (m *QueryTokenDocRequest) Marshal() (dAtA []byte, err error)
func (*QueryTokenDocRequest) MarshalTo ¶
func (m *QueryTokenDocRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenDocRequest) MarshalToSizedBuffer ¶
func (m *QueryTokenDocRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenDocRequest) ProtoMessage ¶
func (*QueryTokenDocRequest) ProtoMessage()
func (*QueryTokenDocRequest) Reset ¶
func (m *QueryTokenDocRequest) Reset()
func (*QueryTokenDocRequest) Size ¶
func (m *QueryTokenDocRequest) Size() (n int)
func (*QueryTokenDocRequest) String ¶
func (m *QueryTokenDocRequest) String() string
func (*QueryTokenDocRequest) Unmarshal ¶
func (m *QueryTokenDocRequest) Unmarshal(dAtA []byte) error
func (*QueryTokenDocRequest) XXX_DiscardUnknown ¶
func (m *QueryTokenDocRequest) XXX_DiscardUnknown()
func (*QueryTokenDocRequest) XXX_Marshal ¶
func (m *QueryTokenDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenDocRequest) XXX_Merge ¶
func (m *QueryTokenDocRequest) XXX_Merge(src proto.Message)
func (*QueryTokenDocRequest) XXX_Size ¶
func (m *QueryTokenDocRequest) XXX_Size() int
func (*QueryTokenDocRequest) XXX_Unmarshal ¶
func (m *QueryTokenDocRequest) XXX_Unmarshal(b []byte) error
type QueryTokenDocResponse ¶
type QueryTokenDocResponse struct { }
// QueryProjectDocResponse is the response type for the Query/ProjectDoc RPC method.
func (*QueryTokenDocResponse) Descriptor ¶
func (*QueryTokenDocResponse) Descriptor() ([]byte, []int)
func (*QueryTokenDocResponse) Marshal ¶
func (m *QueryTokenDocResponse) Marshal() (dAtA []byte, err error)
func (*QueryTokenDocResponse) MarshalTo ¶
func (m *QueryTokenDocResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenDocResponse) MarshalToSizedBuffer ¶
func (m *QueryTokenDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenDocResponse) ProtoMessage ¶
func (*QueryTokenDocResponse) ProtoMessage()
func (*QueryTokenDocResponse) Reset ¶
func (m *QueryTokenDocResponse) Reset()
func (*QueryTokenDocResponse) Size ¶
func (m *QueryTokenDocResponse) Size() (n int)
func (*QueryTokenDocResponse) String ¶
func (m *QueryTokenDocResponse) String() string
func (*QueryTokenDocResponse) Unmarshal ¶
func (m *QueryTokenDocResponse) Unmarshal(dAtA []byte) error
func (*QueryTokenDocResponse) XXX_DiscardUnknown ¶
func (m *QueryTokenDocResponse) XXX_DiscardUnknown()
func (*QueryTokenDocResponse) XXX_Marshal ¶
func (m *QueryTokenDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenDocResponse) XXX_Merge ¶
func (m *QueryTokenDocResponse) XXX_Merge(src proto.Message)
func (*QueryTokenDocResponse) XXX_Size ¶
func (m *QueryTokenDocResponse) XXX_Size() int
func (*QueryTokenDocResponse) XXX_Unmarshal ¶
func (m *QueryTokenDocResponse) XXX_Unmarshal(b []byte) error
type QueryTokenListRequest ¶
type QueryTokenListRequest struct {
MinterDid string `protobuf:"bytes,1,opt,name=minter_did,json=minterDid,proto3" json:"minter_did,omitempty" yaml:"minter_did"`
}
func (*QueryTokenListRequest) Descriptor ¶
func (*QueryTokenListRequest) Descriptor() ([]byte, []int)
func (*QueryTokenListRequest) GetMinterDid ¶
func (m *QueryTokenListRequest) GetMinterDid() string
func (*QueryTokenListRequest) Marshal ¶
func (m *QueryTokenListRequest) Marshal() (dAtA []byte, err error)
func (*QueryTokenListRequest) MarshalTo ¶
func (m *QueryTokenListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenListRequest) MarshalToSizedBuffer ¶
func (m *QueryTokenListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenListRequest) ProtoMessage ¶
func (*QueryTokenListRequest) ProtoMessage()
func (*QueryTokenListRequest) Reset ¶
func (m *QueryTokenListRequest) Reset()
func (*QueryTokenListRequest) Size ¶
func (m *QueryTokenListRequest) Size() (n int)
func (*QueryTokenListRequest) String ¶
func (m *QueryTokenListRequest) String() string
func (*QueryTokenListRequest) Unmarshal ¶
func (m *QueryTokenListRequest) Unmarshal(dAtA []byte) error
func (*QueryTokenListRequest) XXX_DiscardUnknown ¶
func (m *QueryTokenListRequest) XXX_DiscardUnknown()
func (*QueryTokenListRequest) XXX_Marshal ¶
func (m *QueryTokenListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenListRequest) XXX_Merge ¶
func (m *QueryTokenListRequest) XXX_Merge(src proto.Message)
func (*QueryTokenListRequest) XXX_Size ¶
func (m *QueryTokenListRequest) XXX_Size() int
func (*QueryTokenListRequest) XXX_Unmarshal ¶
func (m *QueryTokenListRequest) XXX_Unmarshal(b []byte) error
type QueryTokenListResponse ¶
type QueryTokenListResponse struct {
Contracts []*TokenMinter `protobuf:"bytes,1,rep,name=contracts,proto3" json:"contracts,omitempty" yaml:"contracts"`
}
// QueryProjectDocResponse is the response type for the Query/ProjectDoc RPC method.
func (*QueryTokenListResponse) Descriptor ¶
func (*QueryTokenListResponse) Descriptor() ([]byte, []int)
func (*QueryTokenListResponse) GetContracts ¶
func (m *QueryTokenListResponse) GetContracts() []*TokenMinter
func (*QueryTokenListResponse) Marshal ¶
func (m *QueryTokenListResponse) Marshal() (dAtA []byte, err error)
func (*QueryTokenListResponse) MarshalTo ¶
func (m *QueryTokenListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenListResponse) MarshalToSizedBuffer ¶
func (m *QueryTokenListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenListResponse) ProtoMessage ¶
func (*QueryTokenListResponse) ProtoMessage()
func (*QueryTokenListResponse) Reset ¶
func (m *QueryTokenListResponse) Reset()
func (*QueryTokenListResponse) Size ¶
func (m *QueryTokenListResponse) Size() (n int)
func (*QueryTokenListResponse) String ¶
func (m *QueryTokenListResponse) String() string
func (*QueryTokenListResponse) Unmarshal ¶
func (m *QueryTokenListResponse) Unmarshal(dAtA []byte) error
func (*QueryTokenListResponse) XXX_DiscardUnknown ¶
func (m *QueryTokenListResponse) XXX_DiscardUnknown()
func (*QueryTokenListResponse) XXX_Marshal ¶
func (m *QueryTokenListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenListResponse) XXX_Merge ¶
func (m *QueryTokenListResponse) XXX_Merge(src proto.Message)
func (*QueryTokenListResponse) XXX_Size ¶
func (m *QueryTokenListResponse) XXX_Size() int
func (*QueryTokenListResponse) XXX_Unmarshal ¶
func (m *QueryTokenListResponse) XXX_Unmarshal(b []byte) error
type SetTokenContractCodes ¶
type SetTokenContractCodes struct { Cw20ContractCode uint64 `protobuf:"varint,1,opt,name=cw20ContractCode,proto3" json:"cw20_contract_code" yaml:"cw20_contract_code"` Cw721ContractCode uint64 `protobuf:"varint,2,opt,name=cw721ContractCode,proto3" json:"cw721_contract_code" yaml:"cw721_contract_code"` Fury1155ContractCode uint64 `protobuf:"varint,3,opt,name=fury1155ContractCode,proto3" json:"fury1155_contract_code" yaml:"fury1155_contract_code"` }
func NewSetTokenContract ¶
func NewSetTokenContract(cw20Code, cw721Code, fury1155Code uint64) SetTokenContractCodes
func (*SetTokenContractCodes) Descriptor ¶
func (*SetTokenContractCodes) Descriptor() ([]byte, []int)
func (*SetTokenContractCodes) GetCw20ContractCode ¶
func (m *SetTokenContractCodes) GetCw20ContractCode() uint64
func (*SetTokenContractCodes) GetCw721ContractCode ¶
func (m *SetTokenContractCodes) GetCw721ContractCode() uint64
func (*SetTokenContractCodes) GetDescription ¶
func (p *SetTokenContractCodes) GetDescription() string
func (*SetTokenContractCodes) GetFury1155ContractCode ¶
func (m *SetTokenContractCodes) GetFury1155ContractCode() uint64
func (*SetTokenContractCodes) GetTitle ¶
func (p *SetTokenContractCodes) GetTitle() string
func (*SetTokenContractCodes) Marshal ¶
func (m *SetTokenContractCodes) Marshal() (dAtA []byte, err error)
func (*SetTokenContractCodes) MarshalTo ¶
func (m *SetTokenContractCodes) MarshalTo(dAtA []byte) (int, error)
func (*SetTokenContractCodes) MarshalToSizedBuffer ¶
func (m *SetTokenContractCodes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetTokenContractCodes) ProposalRoute ¶
func (sup *SetTokenContractCodes) ProposalRoute() string
func (*SetTokenContractCodes) ProposalType ¶
func (sup *SetTokenContractCodes) ProposalType() string
func (*SetTokenContractCodes) ProtoMessage ¶
func (*SetTokenContractCodes) ProtoMessage()
func (*SetTokenContractCodes) Reset ¶
func (m *SetTokenContractCodes) Reset()
func (*SetTokenContractCodes) Size ¶
func (m *SetTokenContractCodes) Size() (n int)
func (*SetTokenContractCodes) String ¶
func (m *SetTokenContractCodes) String() string
func (*SetTokenContractCodes) Unmarshal ¶
func (m *SetTokenContractCodes) Unmarshal(dAtA []byte) error
func (*SetTokenContractCodes) ValidateBasic ¶
func (sup *SetTokenContractCodes) ValidateBasic() error
func (*SetTokenContractCodes) XXX_DiscardUnknown ¶
func (m *SetTokenContractCodes) XXX_DiscardUnknown()
func (*SetTokenContractCodes) XXX_Marshal ¶
func (m *SetTokenContractCodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetTokenContractCodes) XXX_Merge ¶
func (m *SetTokenContractCodes) XXX_Merge(src proto.Message)
func (*SetTokenContractCodes) XXX_Size ¶
func (m *SetTokenContractCodes) XXX_Size() int
func (*SetTokenContractCodes) XXX_Unmarshal ¶
func (m *SetTokenContractCodes) XXX_Unmarshal(b []byte) error
type SetupCw1155 ¶
type SetupCw1155 struct { }
func (*SetupCw1155) Descriptor ¶
func (*SetupCw1155) Descriptor() ([]byte, []int)
func (*SetupCw1155) Marshal ¶
func (m *SetupCw1155) Marshal() (dAtA []byte, err error)
func (*SetupCw1155) MarshalToSizedBuffer ¶
func (m *SetupCw1155) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetupCw1155) ProtoMessage ¶
func (*SetupCw1155) ProtoMessage()
func (*SetupCw1155) Reset ¶
func (m *SetupCw1155) Reset()
func (*SetupCw1155) Size ¶
func (m *SetupCw1155) Size() (n int)
func (*SetupCw1155) String ¶
func (m *SetupCw1155) String() string
func (*SetupCw1155) Unmarshal ¶
func (m *SetupCw1155) Unmarshal(dAtA []byte) error
func (*SetupCw1155) XXX_DiscardUnknown ¶
func (m *SetupCw1155) XXX_DiscardUnknown()
func (*SetupCw1155) XXX_Marshal ¶
func (m *SetupCw1155) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetupCw1155) XXX_Merge ¶
func (m *SetupCw1155) XXX_Merge(src proto.Message)
func (*SetupCw1155) XXX_Size ¶
func (m *SetupCw1155) XXX_Size() int
func (*SetupCw1155) XXX_Unmarshal ¶
func (m *SetupCw1155) XXX_Unmarshal(b []byte) error
type SetupCw20 ¶
type SetupCw20 struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol" yaml:"symbol"` Decimals uint32 `protobuf:"varint,2,opt,name=decimals,proto3" json:"decimals" yaml:"decimals"` Cap uint64 `protobuf:"varint,3,opt,name=cap,proto3" json:"cap" yaml:"cap"` InstialBalances []*Cw20Coin `protobuf:"bytes,4,rep,name=instialBalances,proto3" json:"instial_balances" yaml:"instial_balances"` }
func (*SetupCw20) Descriptor ¶
func (*SetupCw20) GetDecimals ¶
func (*SetupCw20) GetInstialBalances ¶
func (*SetupCw20) MarshalToSizedBuffer ¶
func (*SetupCw20) ProtoMessage ¶
func (*SetupCw20) ProtoMessage()
func (*SetupCw20) XXX_DiscardUnknown ¶
func (m *SetupCw20) XXX_DiscardUnknown()
func (*SetupCw20) XXX_Marshal ¶
func (*SetupCw20) XXX_Unmarshal ¶
type SetupCw721 ¶
type SetupCw721 struct {
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol" yaml:"symbol"`
}
func (*SetupCw721) Descriptor ¶
func (*SetupCw721) Descriptor() ([]byte, []int)
func (*SetupCw721) GetSymbol ¶
func (m *SetupCw721) GetSymbol() string
func (*SetupCw721) Marshal ¶
func (m *SetupCw721) Marshal() (dAtA []byte, err error)
func (*SetupCw721) MarshalToSizedBuffer ¶
func (m *SetupCw721) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetupCw721) ProtoMessage ¶
func (*SetupCw721) ProtoMessage()
func (*SetupCw721) Reset ¶
func (m *SetupCw721) Reset()
func (*SetupCw721) Size ¶
func (m *SetupCw721) Size() (n int)
func (*SetupCw721) String ¶
func (m *SetupCw721) String() string
func (*SetupCw721) Unmarshal ¶
func (m *SetupCw721) Unmarshal(dAtA []byte) error
func (*SetupCw721) XXX_DiscardUnknown ¶
func (m *SetupCw721) XXX_DiscardUnknown()
func (*SetupCw721) XXX_Marshal ¶
func (m *SetupCw721) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetupCw721) XXX_Merge ¶
func (m *SetupCw721) XXX_Merge(src proto.Message)
func (*SetupCw721) XXX_Size ¶
func (m *SetupCw721) XXX_Size() int
func (*SetupCw721) XXX_Unmarshal ¶
func (m *SetupCw721) XXX_Unmarshal(b []byte) error
type TokenMinter ¶
type TokenMinter struct { MinterDid github_com_furya_official_fury_blockchain_x_iid_types.DIDFragment `` /* 155-byte string literal not displayed */ MinterAddress string `protobuf:"bytes,2,opt,name=minterAddress,proto3" json:"minter_address" yaml:"minter_address"` ContractAddress string `protobuf:"bytes,3,opt,name=contractAddress,proto3" json:"contract_address" yaml:"contract_address"` ContractType ContractType `` /* 127-byte string literal not displayed */ Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name" yaml:"name"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description" yaml:"description"` }
func (*TokenMinter) Descriptor ¶
func (*TokenMinter) Descriptor() ([]byte, []int)
func (*TokenMinter) Marshal ¶
func (m *TokenMinter) Marshal() (dAtA []byte, err error)
func (*TokenMinter) MarshalToSizedBuffer ¶
func (m *TokenMinter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenMinter) ProtoMessage ¶
func (*TokenMinter) ProtoMessage()
func (*TokenMinter) Reset ¶
func (m *TokenMinter) Reset()
func (*TokenMinter) Size ¶
func (m *TokenMinter) Size() (n int)
func (*TokenMinter) String ¶
func (m *TokenMinter) String() string
func (*TokenMinter) Unmarshal ¶
func (m *TokenMinter) Unmarshal(dAtA []byte) error
func (*TokenMinter) XXX_DiscardUnknown ¶
func (m *TokenMinter) XXX_DiscardUnknown()
func (*TokenMinter) XXX_Marshal ¶
func (m *TokenMinter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenMinter) XXX_Merge ¶
func (m *TokenMinter) XXX_Merge(src proto.Message)
func (*TokenMinter) XXX_Size ¶
func (m *TokenMinter) XXX_Size() int
func (*TokenMinter) XXX_Unmarshal ¶
func (m *TokenMinter) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) MintToken ¶
func (*UnimplementedMsgServer) MintToken(ctx context.Context, req *MsgMint) (*MsgMintResponse, error)
func (*UnimplementedMsgServer) SetupMinter ¶
func (*UnimplementedMsgServer) SetupMinter(ctx context.Context, req *MsgSetupMinter) (*MsgSetupMinterResponse, error)
func (*UnimplementedMsgServer) TransferToken ¶
func (*UnimplementedMsgServer) TransferToken(ctx context.Context, req *MsgTransferToken) (*MsgTransferTokenResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) TokenConfig ¶
func (*UnimplementedQueryServer) TokenConfig(ctx context.Context, req *QueryTokenConfigRequest) (*QueryTokenConfigResponse, error)
func (*UnimplementedQueryServer) TokenDoc ¶
func (*UnimplementedQueryServer) TokenDoc(ctx context.Context, req *QueryTokenDocRequest) (*QueryTokenDocResponse, error)
func (*UnimplementedQueryServer) TokenList ¶
func (*UnimplementedQueryServer) TokenList(ctx context.Context, req *QueryTokenListRequest) (*QueryTokenListResponse, error)