Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []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 TokenKey(index string) []byte
- type AccountKeeper
- type AssetPacketData
- func (*AssetPacketData) Descriptor() ([]byte, []int)
- func (m *AssetPacketData) GetNoData() *NoData
- func (m *AssetPacketData) GetPacket() isAssetPacketData_Packet
- func (m *AssetPacketData) Marshal() (dAtA []byte, err error)
- func (m *AssetPacketData) MarshalTo(dAtA []byte) (int, error)
- func (m *AssetPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AssetPacketData) ProtoMessage()
- func (m *AssetPacketData) Reset()
- func (m *AssetPacketData) Size() (n int)
- func (m *AssetPacketData) String() string
- func (m *AssetPacketData) Unmarshal(dAtA []byte) error
- func (m *AssetPacketData) XXX_DiscardUnknown()
- func (m *AssetPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetPacketData) XXX_Merge(src proto.Message)
- func (*AssetPacketData) XXX_OneofWrappers() []interface{}
- func (m *AssetPacketData) XXX_Size() int
- func (m *AssetPacketData) XXX_Unmarshal(b []byte) error
- type AssetPacketData_NoData
- type BankKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPortId() string
- 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 MsgAuthorizeAddress
- func (*MsgAuthorizeAddress) Descriptor() ([]byte, []int)
- func (m *MsgAuthorizeAddress) GetAddress() string
- func (m *MsgAuthorizeAddress) GetCreator() string
- func (msg *MsgAuthorizeAddress) GetSignBytes() []byte
- func (msg *MsgAuthorizeAddress) GetSigners() []sdk.AccAddress
- func (m *MsgAuthorizeAddress) GetSymbol() string
- func (m *MsgAuthorizeAddress) Marshal() (dAtA []byte, err error)
- func (m *MsgAuthorizeAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAuthorizeAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAuthorizeAddress) ProtoMessage()
- func (m *MsgAuthorizeAddress) Reset()
- func (msg *MsgAuthorizeAddress) Route() string
- func (m *MsgAuthorizeAddress) Size() (n int)
- func (m *MsgAuthorizeAddress) String() string
- func (msg *MsgAuthorizeAddress) Type() string
- func (m *MsgAuthorizeAddress) Unmarshal(dAtA []byte) error
- func (msg *MsgAuthorizeAddress) ValidateBasic() error
- func (m *MsgAuthorizeAddress) XXX_DiscardUnknown()
- func (m *MsgAuthorizeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAuthorizeAddress) XXX_Merge(src proto.Message)
- func (m *MsgAuthorizeAddress) XXX_Size() int
- func (m *MsgAuthorizeAddress) XXX_Unmarshal(b []byte) error
- type MsgAuthorizeAddressResponse
- func (*MsgAuthorizeAddressResponse) Descriptor() ([]byte, []int)
- func (m *MsgAuthorizeAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAuthorizeAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAuthorizeAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAuthorizeAddressResponse) ProtoMessage()
- func (m *MsgAuthorizeAddressResponse) Reset()
- func (m *MsgAuthorizeAddressResponse) Size() (n int)
- func (m *MsgAuthorizeAddressResponse) String() string
- func (m *MsgAuthorizeAddressResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAuthorizeAddressResponse) XXX_DiscardUnknown()
- func (m *MsgAuthorizeAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAuthorizeAddressResponse) XXX_Merge(src proto.Message)
- func (m *MsgAuthorizeAddressResponse) XXX_Size() int
- func (m *MsgAuthorizeAddressResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateToken
- func (*MsgCreateToken) Descriptor() ([]byte, []int)
- func (m *MsgCreateToken) GetAuthorizationRequired() bool
- func (m *MsgCreateToken) GetCreator() string
- func (m *MsgCreateToken) GetDecimals() int64
- func (m *MsgCreateToken) GetName() string
- func (msg *MsgCreateToken) GetSignBytes() []byte
- func (msg *MsgCreateToken) GetSigners() []sdk.AccAddress
- func (m *MsgCreateToken) GetSymbol() string
- func (m *MsgCreateToken) GetTotal() int64
- func (m *MsgCreateToken) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateToken) ProtoMessage()
- func (m *MsgCreateToken) Reset()
- func (msg *MsgCreateToken) Route() string
- func (m *MsgCreateToken) Size() (n int)
- func (m *MsgCreateToken) String() string
- func (msg *MsgCreateToken) Type() string
- func (m *MsgCreateToken) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateToken) ValidateBasic() error
- func (m *MsgCreateToken) XXX_DiscardUnknown()
- func (m *MsgCreateToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateToken) XXX_Merge(src proto.Message)
- func (m *MsgCreateToken) XXX_Size() int
- func (m *MsgCreateToken) XXX_Unmarshal(b []byte) error
- 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 MsgServer
- type MsgTransferToken
- func (*MsgTransferToken) Descriptor() ([]byte, []int)
- func (m *MsgTransferToken) GetAmount() int64
- func (m *MsgTransferToken) GetCreator() string
- func (m *MsgTransferToken) GetFrom() string
- func (msg *MsgTransferToken) GetSignBytes() []byte
- func (msg *MsgTransferToken) GetSigners() []sdk.AccAddress
- func (m *MsgTransferToken) GetSymbol() string
- func (m *MsgTransferToken) GetTo() string
- 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 (msg *MsgTransferToken) Type() 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 MsgUnAuthorizeAddress
- func (*MsgUnAuthorizeAddress) Descriptor() ([]byte, []int)
- func (m *MsgUnAuthorizeAddress) GetAddress() string
- func (m *MsgUnAuthorizeAddress) GetCreator() string
- func (msg *MsgUnAuthorizeAddress) GetSignBytes() []byte
- func (msg *MsgUnAuthorizeAddress) GetSigners() []sdk.AccAddress
- func (m *MsgUnAuthorizeAddress) GetSymbol() string
- func (m *MsgUnAuthorizeAddress) Marshal() (dAtA []byte, err error)
- func (m *MsgUnAuthorizeAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnAuthorizeAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnAuthorizeAddress) ProtoMessage()
- func (m *MsgUnAuthorizeAddress) Reset()
- func (msg *MsgUnAuthorizeAddress) Route() string
- func (m *MsgUnAuthorizeAddress) Size() (n int)
- func (m *MsgUnAuthorizeAddress) String() string
- func (msg *MsgUnAuthorizeAddress) Type() string
- func (m *MsgUnAuthorizeAddress) Unmarshal(dAtA []byte) error
- func (msg *MsgUnAuthorizeAddress) ValidateBasic() error
- func (m *MsgUnAuthorizeAddress) XXX_DiscardUnknown()
- func (m *MsgUnAuthorizeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnAuthorizeAddress) XXX_Merge(src proto.Message)
- func (m *MsgUnAuthorizeAddress) XXX_Size() int
- func (m *MsgUnAuthorizeAddress) XXX_Unmarshal(b []byte) error
- type MsgUnAuthorizeAddressResponse
- func (*MsgUnAuthorizeAddressResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnAuthorizeAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnAuthorizeAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnAuthorizeAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnAuthorizeAddressResponse) ProtoMessage()
- func (m *MsgUnAuthorizeAddressResponse) Reset()
- func (m *MsgUnAuthorizeAddressResponse) Size() (n int)
- func (m *MsgUnAuthorizeAddressResponse) String() string
- func (m *MsgUnAuthorizeAddressResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnAuthorizeAddressResponse) XXX_DiscardUnknown()
- func (m *MsgUnAuthorizeAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnAuthorizeAddressResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnAuthorizeAddressResponse) XXX_Size() int
- func (m *MsgUnAuthorizeAddressResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateToken
- func (*MsgUpdateToken) Descriptor() ([]byte, []int)
- func (m *MsgUpdateToken) GetAuthorizationRequired() bool
- func (m *MsgUpdateToken) GetCreator() string
- func (msg *MsgUpdateToken) GetSignBytes() []byte
- func (msg *MsgUpdateToken) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateToken) GetSymbol() string
- func (m *MsgUpdateToken) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateToken) ProtoMessage()
- func (m *MsgUpdateToken) Reset()
- func (msg *MsgUpdateToken) Route() string
- func (m *MsgUpdateToken) Size() (n int)
- func (m *MsgUpdateToken) String() string
- func (msg *MsgUpdateToken) Type() string
- func (m *MsgUpdateToken) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateToken) ValidateBasic() error
- func (m *MsgUpdateToken) XXX_DiscardUnknown()
- func (m *MsgUpdateToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateToken) XXX_Merge(src proto.Message)
- func (m *MsgUpdateToken) XXX_Size() int
- func (m *MsgUpdateToken) XXX_Unmarshal(b []byte) error
- type MsgUpdateTokenResponse
- func (*MsgUpdateTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateTokenResponse) ProtoMessage()
- func (m *MsgUpdateTokenResponse) Reset()
- func (m *MsgUpdateTokenResponse) Size() (n int)
- func (m *MsgUpdateTokenResponse) String() string
- func (m *MsgUpdateTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateTokenResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateTokenResponse) XXX_Size() int
- func (m *MsgUpdateTokenResponse) XXX_Unmarshal(b []byte) error
- type NoData
- func (*NoData) Descriptor() ([]byte, []int)
- func (m *NoData) Marshal() (dAtA []byte, err error)
- func (m *NoData) MarshalTo(dAtA []byte) (int, error)
- func (m *NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NoData) ProtoMessage()
- func (m *NoData) Reset()
- func (m *NoData) Size() (n int)
- func (m *NoData) String() string
- func (m *NoData) Unmarshal(dAtA []byte) error
- func (m *NoData) XXX_DiscardUnknown()
- func (m *NoData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NoData) XXX_Merge(src proto.Message)
- func (m *NoData) XXX_Size() int
- func (m *NoData) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- 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) Validate() 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 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 Token
- func (*Token) Descriptor() ([]byte, []int)
- func (m *Token) GetAuthorizationRequired() bool
- func (m *Token) GetAuthorized() map[string]*TokenAuthorization
- func (m *Token) GetCreated() int64
- func (m *Token) GetCreator() string
- func (m *Token) GetDecimals() int64
- func (m *Token) GetName() string
- func (m *Token) GetSymbol() string
- func (m *Token) GetTotal() int64
- func (m *Token) Marshal() (dAtA []byte, err error)
- func (m *Token) MarshalTo(dAtA []byte) (int, error)
- func (m *Token) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Token) ProtoMessage()
- func (m *Token) Reset()
- func (m *Token) Size() (n int)
- func (m *Token) String() string
- func (m *Token) Unmarshal(dAtA []byte) error
- func (m *Token) XXX_DiscardUnknown()
- func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Token) XXX_Merge(src proto.Message)
- func (m *Token) XXX_Size() int
- func (m *Token) XXX_Unmarshal(b []byte) error
- type TokenAuthorization
- func (*TokenAuthorization) Descriptor() ([]byte, []int)
- func (m *TokenAuthorization) GetAddress() string
- func (m *TokenAuthorization) GetAuthorized() bool
- func (m *TokenAuthorization) GetTokenSymbol() string
- func (m *TokenAuthorization) Marshal() (dAtA []byte, err error)
- func (m *TokenAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenAuthorization) ProtoMessage()
- func (m *TokenAuthorization) Reset()
- func (m *TokenAuthorization) Size() (n int)
- func (m *TokenAuthorization) String() string
- func (m *TokenAuthorization) Unmarshal(dAtA []byte) error
- func (m *TokenAuthorization) XXX_DiscardUnknown()
- func (m *TokenAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenAuthorization) XXX_Merge(src proto.Message)
- func (m *TokenAuthorization) XXX_Size() int
- func (m *TokenAuthorization) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AuthorizeAddress(ctx context.Context, req *MsgAuthorizeAddress) (*MsgAuthorizeAddressResponse, error)
- func (*UnimplementedMsgServer) CreateToken(ctx context.Context, req *MsgCreateToken) (*MsgCreateTokenResponse, error)
- func (*UnimplementedMsgServer) TransferToken(ctx context.Context, req *MsgTransferToken) (*MsgTransferTokenResponse, error)
- func (*UnimplementedMsgServer) UnAuthorizeAddress(ctx context.Context, req *MsgUnAuthorizeAddress) (*MsgUnAuthorizeAddressResponse, error)
- func (*UnimplementedMsgServer) UpdateToken(ctx context.Context, req *MsgUpdateToken) (*MsgUpdateTokenResponse, error)
- type UnimplementedQueryServer
Constants ¶
const ( EventTypeTokenCreated = "create_token" EventTypeTokenUpdated = "update_token" EventTypeTokenAuthorized = "authorize_token" EventTypeTokenUnAuthorized = "unauthorize_token" AttributeKeySymbol = "symbol" AttributeKeyIndex = "index" AttributeKeyAddress = "index" AttributeValueCategory = ModuleName )
staking module event types
const ( EventTypeTimeout = "timeout" AttributeKeyAckSuccess = "success" AttributeKeyAck = "acknowledgement" AttributeKeyAckError = "error" )
IBC events
const ( // ModuleName defines the module name ModuleName = "asset" // 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_asset" // Version defines the current version the IBC module supports Version = "asset-1" // PortID is the default port id that module binds to PortID = "asset" // TokenKeyPrefix is the prefix to retrieve all Token TokenKeyPrefix = "Token/value/" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgAuthorizeAddress = "authorize_address"
const TypeMsgCreateToken = "create_token"
const TypeMsgTransferToken = "transfer_token"
const TypeMsgUnAuthorizeAddress = "un_authorize_address"
const TypeMsgUpdateToken = "update_token"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") ErrInvalidPacketTimeout = sdkerrors.Register(ModuleName, 1500, "invalid packet timeout") ErrInvalidVersion = sdkerrors.Register(ModuleName, 1501, "invalid version") )
x/asset module sentinel errors
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 ( ErrInvalidLengthPacket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPacket = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group") )
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 ( 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 ( // PortKey defines the key to store the port ID in store PortKey = KeyPrefix("asset-port-") )
Functions ¶
func ParamKeyTable ¶ added in v0.0.4
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶ added in v0.0.4
AccountKeeper defines the expected account keeper
type AssetPacketData ¶
type AssetPacketData struct { // Types that are valid to be assigned to Packet: // *AssetPacketData_NoData Packet isAssetPacketData_Packet `protobuf_oneof:"packet"` }
func (*AssetPacketData) Descriptor ¶
func (*AssetPacketData) Descriptor() ([]byte, []int)
func (*AssetPacketData) GetNoData ¶
func (m *AssetPacketData) GetNoData() *NoData
func (*AssetPacketData) GetPacket ¶
func (m *AssetPacketData) GetPacket() isAssetPacketData_Packet
func (*AssetPacketData) Marshal ¶
func (m *AssetPacketData) Marshal() (dAtA []byte, err error)
func (*AssetPacketData) MarshalToSizedBuffer ¶
func (m *AssetPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AssetPacketData) ProtoMessage ¶
func (*AssetPacketData) ProtoMessage()
func (*AssetPacketData) Reset ¶
func (m *AssetPacketData) Reset()
func (*AssetPacketData) Size ¶
func (m *AssetPacketData) Size() (n int)
func (*AssetPacketData) String ¶
func (m *AssetPacketData) String() string
func (*AssetPacketData) Unmarshal ¶
func (m *AssetPacketData) Unmarshal(dAtA []byte) error
func (*AssetPacketData) XXX_DiscardUnknown ¶
func (m *AssetPacketData) XXX_DiscardUnknown()
func (*AssetPacketData) XXX_Marshal ¶
func (m *AssetPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetPacketData) XXX_Merge ¶
func (m *AssetPacketData) XXX_Merge(src proto.Message)
func (*AssetPacketData) XXX_OneofWrappers ¶
func (*AssetPacketData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*AssetPacketData) XXX_Size ¶
func (m *AssetPacketData) XXX_Size() int
func (*AssetPacketData) XXX_Unmarshal ¶
func (m *AssetPacketData) XXX_Unmarshal(b []byte) error
type AssetPacketData_NoData ¶
type AssetPacketData_NoData struct {
NoData *NoData `protobuf:"bytes,1,opt,name=noData,proto3,oneof" json:"noData,omitempty"`
}
func (*AssetPacketData_NoData) MarshalTo ¶
func (m *AssetPacketData_NoData) MarshalTo(dAtA []byte) (int, error)
func (*AssetPacketData_NoData) MarshalToSizedBuffer ¶
func (m *AssetPacketData_NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AssetPacketData_NoData) Size ¶
func (m *AssetPacketData_NoData) Size() (n int)
type BankKeeper ¶
type BankKeeper interface { SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error SetDenomMetaData(ctx sdk.Context, denomMetaData banktypes.Metadata) }
BankKeeper defines the expected interface needed to retrieve account balances.
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` }
GenesisState defines the asset 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) GetParams ¶ added in v0.0.4
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPortId ¶
func (m *GenesisState) GetPortId() string
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 MsgAuthorizeAddress ¶
type MsgAuthorizeAddress struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` }
func NewMsgAuthorizeAddress ¶
func NewMsgAuthorizeAddress(creator string, symbol string, address string) *MsgAuthorizeAddress
func (*MsgAuthorizeAddress) Descriptor ¶
func (*MsgAuthorizeAddress) Descriptor() ([]byte, []int)
func (*MsgAuthorizeAddress) GetAddress ¶
func (m *MsgAuthorizeAddress) GetAddress() string
func (*MsgAuthorizeAddress) GetCreator ¶
func (m *MsgAuthorizeAddress) GetCreator() string
func (*MsgAuthorizeAddress) GetSignBytes ¶
func (msg *MsgAuthorizeAddress) GetSignBytes() []byte
func (*MsgAuthorizeAddress) GetSigners ¶
func (msg *MsgAuthorizeAddress) GetSigners() []sdk.AccAddress
func (*MsgAuthorizeAddress) GetSymbol ¶ added in v0.0.4
func (m *MsgAuthorizeAddress) GetSymbol() string
func (*MsgAuthorizeAddress) Marshal ¶
func (m *MsgAuthorizeAddress) Marshal() (dAtA []byte, err error)
func (*MsgAuthorizeAddress) MarshalTo ¶
func (m *MsgAuthorizeAddress) MarshalTo(dAtA []byte) (int, error)
func (*MsgAuthorizeAddress) MarshalToSizedBuffer ¶
func (m *MsgAuthorizeAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAuthorizeAddress) ProtoMessage ¶
func (*MsgAuthorizeAddress) ProtoMessage()
func (*MsgAuthorizeAddress) Reset ¶
func (m *MsgAuthorizeAddress) Reset()
func (*MsgAuthorizeAddress) Route ¶
func (msg *MsgAuthorizeAddress) Route() string
func (*MsgAuthorizeAddress) Size ¶
func (m *MsgAuthorizeAddress) Size() (n int)
func (*MsgAuthorizeAddress) String ¶
func (m *MsgAuthorizeAddress) String() string
func (*MsgAuthorizeAddress) Type ¶
func (msg *MsgAuthorizeAddress) Type() string
func (*MsgAuthorizeAddress) Unmarshal ¶
func (m *MsgAuthorizeAddress) Unmarshal(dAtA []byte) error
func (*MsgAuthorizeAddress) ValidateBasic ¶
func (msg *MsgAuthorizeAddress) ValidateBasic() error
func (*MsgAuthorizeAddress) XXX_DiscardUnknown ¶
func (m *MsgAuthorizeAddress) XXX_DiscardUnknown()
func (*MsgAuthorizeAddress) XXX_Marshal ¶
func (m *MsgAuthorizeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAuthorizeAddress) XXX_Merge ¶
func (m *MsgAuthorizeAddress) XXX_Merge(src proto.Message)
func (*MsgAuthorizeAddress) XXX_Size ¶
func (m *MsgAuthorizeAddress) XXX_Size() int
func (*MsgAuthorizeAddress) XXX_Unmarshal ¶
func (m *MsgAuthorizeAddress) XXX_Unmarshal(b []byte) error
type MsgAuthorizeAddressResponse ¶
type MsgAuthorizeAddressResponse struct { }
func (*MsgAuthorizeAddressResponse) Descriptor ¶
func (*MsgAuthorizeAddressResponse) Descriptor() ([]byte, []int)
func (*MsgAuthorizeAddressResponse) Marshal ¶
func (m *MsgAuthorizeAddressResponse) Marshal() (dAtA []byte, err error)
func (*MsgAuthorizeAddressResponse) MarshalTo ¶
func (m *MsgAuthorizeAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAuthorizeAddressResponse) MarshalToSizedBuffer ¶
func (m *MsgAuthorizeAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAuthorizeAddressResponse) ProtoMessage ¶
func (*MsgAuthorizeAddressResponse) ProtoMessage()
func (*MsgAuthorizeAddressResponse) Reset ¶
func (m *MsgAuthorizeAddressResponse) Reset()
func (*MsgAuthorizeAddressResponse) Size ¶
func (m *MsgAuthorizeAddressResponse) Size() (n int)
func (*MsgAuthorizeAddressResponse) String ¶
func (m *MsgAuthorizeAddressResponse) String() string
func (*MsgAuthorizeAddressResponse) Unmarshal ¶
func (m *MsgAuthorizeAddressResponse) Unmarshal(dAtA []byte) error
func (*MsgAuthorizeAddressResponse) XXX_DiscardUnknown ¶
func (m *MsgAuthorizeAddressResponse) XXX_DiscardUnknown()
func (*MsgAuthorizeAddressResponse) XXX_Marshal ¶
func (m *MsgAuthorizeAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAuthorizeAddressResponse) XXX_Merge ¶
func (m *MsgAuthorizeAddressResponse) XXX_Merge(src proto.Message)
func (*MsgAuthorizeAddressResponse) XXX_Size ¶
func (m *MsgAuthorizeAddressResponse) XXX_Size() int
func (*MsgAuthorizeAddressResponse) XXX_Unmarshal ¶
func (m *MsgAuthorizeAddressResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CreateToken(ctx context.Context, in *MsgCreateToken, opts ...grpc.CallOption) (*MsgCreateTokenResponse, error) UpdateToken(ctx context.Context, in *MsgUpdateToken, opts ...grpc.CallOption) (*MsgUpdateTokenResponse, error) AuthorizeAddress(ctx context.Context, in *MsgAuthorizeAddress, opts ...grpc.CallOption) (*MsgAuthorizeAddressResponse, error) UnAuthorizeAddress(ctx context.Context, in *MsgUnAuthorizeAddress, opts ...grpc.CallOption) (*MsgUnAuthorizeAddressResponse, error) 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 MsgCreateToken ¶
type MsgCreateToken struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` Total int64 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` Decimals int64 `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"` AuthorizationRequired bool `protobuf:"varint,6,opt,name=authorizationRequired,proto3" json:"authorizationRequired,omitempty"` }
func NewMsgCreateToken ¶
func (*MsgCreateToken) Descriptor ¶
func (*MsgCreateToken) Descriptor() ([]byte, []int)
func (*MsgCreateToken) GetAuthorizationRequired ¶
func (m *MsgCreateToken) GetAuthorizationRequired() bool
func (*MsgCreateToken) GetCreator ¶
func (m *MsgCreateToken) GetCreator() string
func (*MsgCreateToken) GetDecimals ¶
func (m *MsgCreateToken) GetDecimals() int64
func (*MsgCreateToken) GetName ¶
func (m *MsgCreateToken) GetName() string
func (*MsgCreateToken) GetSignBytes ¶
func (msg *MsgCreateToken) GetSignBytes() []byte
func (*MsgCreateToken) GetSigners ¶
func (msg *MsgCreateToken) GetSigners() []sdk.AccAddress
func (*MsgCreateToken) GetSymbol ¶
func (m *MsgCreateToken) GetSymbol() string
func (*MsgCreateToken) GetTotal ¶
func (m *MsgCreateToken) GetTotal() int64
func (*MsgCreateToken) Marshal ¶
func (m *MsgCreateToken) Marshal() (dAtA []byte, err error)
func (*MsgCreateToken) MarshalToSizedBuffer ¶
func (m *MsgCreateToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateToken) ProtoMessage ¶
func (*MsgCreateToken) ProtoMessage()
func (*MsgCreateToken) Reset ¶
func (m *MsgCreateToken) Reset()
func (*MsgCreateToken) Route ¶
func (msg *MsgCreateToken) Route() string
func (*MsgCreateToken) Size ¶
func (m *MsgCreateToken) Size() (n int)
func (*MsgCreateToken) String ¶
func (m *MsgCreateToken) String() string
func (*MsgCreateToken) Type ¶
func (msg *MsgCreateToken) Type() string
func (*MsgCreateToken) Unmarshal ¶
func (m *MsgCreateToken) Unmarshal(dAtA []byte) error
func (*MsgCreateToken) ValidateBasic ¶
func (msg *MsgCreateToken) ValidateBasic() error
func (*MsgCreateToken) XXX_DiscardUnknown ¶
func (m *MsgCreateToken) XXX_DiscardUnknown()
func (*MsgCreateToken) XXX_Marshal ¶
func (m *MsgCreateToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateToken) XXX_Merge ¶
func (m *MsgCreateToken) XXX_Merge(src proto.Message)
func (*MsgCreateToken) XXX_Size ¶
func (m *MsgCreateToken) XXX_Size() int
func (*MsgCreateToken) XXX_Unmarshal ¶
func (m *MsgCreateToken) XXX_Unmarshal(b []byte) error
type MsgCreateTokenResponse ¶
type MsgCreateTokenResponse struct { }
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 MsgServer ¶
type MsgServer interface { CreateToken(context.Context, *MsgCreateToken) (*MsgCreateTokenResponse, error) UpdateToken(context.Context, *MsgUpdateToken) (*MsgUpdateTokenResponse, error) AuthorizeAddress(context.Context, *MsgAuthorizeAddress) (*MsgAuthorizeAddressResponse, error) UnAuthorizeAddress(context.Context, *MsgUnAuthorizeAddress) (*MsgUnAuthorizeAddressResponse, error) TransferToken(context.Context, *MsgTransferToken) (*MsgTransferTokenResponse, error) }
MsgServer is the server API for Msg service.
type MsgTransferToken ¶
type MsgTransferToken struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` Amount int64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty"` }
func NewMsgTransferToken ¶
func (*MsgTransferToken) Descriptor ¶
func (*MsgTransferToken) Descriptor() ([]byte, []int)
func (*MsgTransferToken) GetAmount ¶
func (m *MsgTransferToken) GetAmount() int64
func (*MsgTransferToken) GetCreator ¶
func (m *MsgTransferToken) GetCreator() string
func (*MsgTransferToken) GetFrom ¶
func (m *MsgTransferToken) GetFrom() string
func (*MsgTransferToken) GetSignBytes ¶
func (msg *MsgTransferToken) GetSignBytes() []byte
func (*MsgTransferToken) GetSigners ¶
func (msg *MsgTransferToken) GetSigners() []sdk.AccAddress
func (*MsgTransferToken) GetSymbol ¶
func (m *MsgTransferToken) GetSymbol() string
func (*MsgTransferToken) GetTo ¶
func (m *MsgTransferToken) GetTo() string
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 (*MsgTransferToken) Size ¶
func (m *MsgTransferToken) Size() (n int)
func (*MsgTransferToken) String ¶
func (m *MsgTransferToken) String() string
func (*MsgTransferToken) Type ¶
func (msg *MsgTransferToken) Type() 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 { }
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 MsgUnAuthorizeAddress ¶
type MsgUnAuthorizeAddress struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` }
func NewMsgUnAuthorizeAddress ¶
func NewMsgUnAuthorizeAddress(creator string, symbol string, address string) *MsgUnAuthorizeAddress
func (*MsgUnAuthorizeAddress) Descriptor ¶
func (*MsgUnAuthorizeAddress) Descriptor() ([]byte, []int)
func (*MsgUnAuthorizeAddress) GetAddress ¶
func (m *MsgUnAuthorizeAddress) GetAddress() string
func (*MsgUnAuthorizeAddress) GetCreator ¶
func (m *MsgUnAuthorizeAddress) GetCreator() string
func (*MsgUnAuthorizeAddress) GetSignBytes ¶
func (msg *MsgUnAuthorizeAddress) GetSignBytes() []byte
func (*MsgUnAuthorizeAddress) GetSigners ¶
func (msg *MsgUnAuthorizeAddress) GetSigners() []sdk.AccAddress
func (*MsgUnAuthorizeAddress) GetSymbol ¶ added in v0.0.4
func (m *MsgUnAuthorizeAddress) GetSymbol() string
func (*MsgUnAuthorizeAddress) Marshal ¶
func (m *MsgUnAuthorizeAddress) Marshal() (dAtA []byte, err error)
func (*MsgUnAuthorizeAddress) MarshalTo ¶
func (m *MsgUnAuthorizeAddress) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnAuthorizeAddress) MarshalToSizedBuffer ¶
func (m *MsgUnAuthorizeAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnAuthorizeAddress) ProtoMessage ¶
func (*MsgUnAuthorizeAddress) ProtoMessage()
func (*MsgUnAuthorizeAddress) Reset ¶
func (m *MsgUnAuthorizeAddress) Reset()
func (*MsgUnAuthorizeAddress) Route ¶
func (msg *MsgUnAuthorizeAddress) Route() string
func (*MsgUnAuthorizeAddress) Size ¶
func (m *MsgUnAuthorizeAddress) Size() (n int)
func (*MsgUnAuthorizeAddress) String ¶
func (m *MsgUnAuthorizeAddress) String() string
func (*MsgUnAuthorizeAddress) Type ¶
func (msg *MsgUnAuthorizeAddress) Type() string
func (*MsgUnAuthorizeAddress) Unmarshal ¶
func (m *MsgUnAuthorizeAddress) Unmarshal(dAtA []byte) error
func (*MsgUnAuthorizeAddress) ValidateBasic ¶
func (msg *MsgUnAuthorizeAddress) ValidateBasic() error
func (*MsgUnAuthorizeAddress) XXX_DiscardUnknown ¶
func (m *MsgUnAuthorizeAddress) XXX_DiscardUnknown()
func (*MsgUnAuthorizeAddress) XXX_Marshal ¶
func (m *MsgUnAuthorizeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnAuthorizeAddress) XXX_Merge ¶
func (m *MsgUnAuthorizeAddress) XXX_Merge(src proto.Message)
func (*MsgUnAuthorizeAddress) XXX_Size ¶
func (m *MsgUnAuthorizeAddress) XXX_Size() int
func (*MsgUnAuthorizeAddress) XXX_Unmarshal ¶
func (m *MsgUnAuthorizeAddress) XXX_Unmarshal(b []byte) error
type MsgUnAuthorizeAddressResponse ¶
type MsgUnAuthorizeAddressResponse struct { }
func (*MsgUnAuthorizeAddressResponse) Descriptor ¶
func (*MsgUnAuthorizeAddressResponse) Descriptor() ([]byte, []int)
func (*MsgUnAuthorizeAddressResponse) Marshal ¶
func (m *MsgUnAuthorizeAddressResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnAuthorizeAddressResponse) MarshalTo ¶
func (m *MsgUnAuthorizeAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnAuthorizeAddressResponse) MarshalToSizedBuffer ¶
func (m *MsgUnAuthorizeAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnAuthorizeAddressResponse) ProtoMessage ¶
func (*MsgUnAuthorizeAddressResponse) ProtoMessage()
func (*MsgUnAuthorizeAddressResponse) Reset ¶
func (m *MsgUnAuthorizeAddressResponse) Reset()
func (*MsgUnAuthorizeAddressResponse) Size ¶
func (m *MsgUnAuthorizeAddressResponse) Size() (n int)
func (*MsgUnAuthorizeAddressResponse) String ¶
func (m *MsgUnAuthorizeAddressResponse) String() string
func (*MsgUnAuthorizeAddressResponse) Unmarshal ¶
func (m *MsgUnAuthorizeAddressResponse) Unmarshal(dAtA []byte) error
func (*MsgUnAuthorizeAddressResponse) XXX_DiscardUnknown ¶
func (m *MsgUnAuthorizeAddressResponse) XXX_DiscardUnknown()
func (*MsgUnAuthorizeAddressResponse) XXX_Marshal ¶
func (m *MsgUnAuthorizeAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnAuthorizeAddressResponse) XXX_Merge ¶
func (m *MsgUnAuthorizeAddressResponse) XXX_Merge(src proto.Message)
func (*MsgUnAuthorizeAddressResponse) XXX_Size ¶
func (m *MsgUnAuthorizeAddressResponse) XXX_Size() int
func (*MsgUnAuthorizeAddressResponse) XXX_Unmarshal ¶
func (m *MsgUnAuthorizeAddressResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateToken ¶
type MsgUpdateToken struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` AuthorizationRequired bool `protobuf:"varint,3,opt,name=authorizationRequired,proto3" json:"authorizationRequired,omitempty"` }
func NewMsgUpdateToken ¶
func NewMsgUpdateToken(creator string, symbol string, authorizationRequired bool) *MsgUpdateToken
func (*MsgUpdateToken) Descriptor ¶
func (*MsgUpdateToken) Descriptor() ([]byte, []int)
func (*MsgUpdateToken) GetAuthorizationRequired ¶
func (m *MsgUpdateToken) GetAuthorizationRequired() bool
func (*MsgUpdateToken) GetCreator ¶
func (m *MsgUpdateToken) GetCreator() string
func (*MsgUpdateToken) GetSignBytes ¶
func (msg *MsgUpdateToken) GetSignBytes() []byte
func (*MsgUpdateToken) GetSigners ¶
func (msg *MsgUpdateToken) GetSigners() []sdk.AccAddress
func (*MsgUpdateToken) GetSymbol ¶ added in v0.0.4
func (m *MsgUpdateToken) GetSymbol() string
func (*MsgUpdateToken) Marshal ¶
func (m *MsgUpdateToken) Marshal() (dAtA []byte, err error)
func (*MsgUpdateToken) MarshalToSizedBuffer ¶
func (m *MsgUpdateToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateToken) ProtoMessage ¶
func (*MsgUpdateToken) ProtoMessage()
func (*MsgUpdateToken) Reset ¶
func (m *MsgUpdateToken) Reset()
func (*MsgUpdateToken) Route ¶
func (msg *MsgUpdateToken) Route() string
func (*MsgUpdateToken) Size ¶
func (m *MsgUpdateToken) Size() (n int)
func (*MsgUpdateToken) String ¶
func (m *MsgUpdateToken) String() string
func (*MsgUpdateToken) Type ¶
func (msg *MsgUpdateToken) Type() string
func (*MsgUpdateToken) Unmarshal ¶
func (m *MsgUpdateToken) Unmarshal(dAtA []byte) error
func (*MsgUpdateToken) ValidateBasic ¶
func (msg *MsgUpdateToken) ValidateBasic() error
func (*MsgUpdateToken) XXX_DiscardUnknown ¶
func (m *MsgUpdateToken) XXX_DiscardUnknown()
func (*MsgUpdateToken) XXX_Marshal ¶
func (m *MsgUpdateToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateToken) XXX_Merge ¶
func (m *MsgUpdateToken) XXX_Merge(src proto.Message)
func (*MsgUpdateToken) XXX_Size ¶
func (m *MsgUpdateToken) XXX_Size() int
func (*MsgUpdateToken) XXX_Unmarshal ¶
func (m *MsgUpdateToken) XXX_Unmarshal(b []byte) error
type MsgUpdateTokenResponse ¶
type MsgUpdateTokenResponse struct { }
func (*MsgUpdateTokenResponse) Descriptor ¶
func (*MsgUpdateTokenResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateTokenResponse) Marshal ¶
func (m *MsgUpdateTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateTokenResponse) MarshalTo ¶
func (m *MsgUpdateTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateTokenResponse) ProtoMessage ¶
func (*MsgUpdateTokenResponse) ProtoMessage()
func (*MsgUpdateTokenResponse) Reset ¶
func (m *MsgUpdateTokenResponse) Reset()
func (*MsgUpdateTokenResponse) Size ¶
func (m *MsgUpdateTokenResponse) Size() (n int)
func (*MsgUpdateTokenResponse) String ¶
func (m *MsgUpdateTokenResponse) String() string
func (*MsgUpdateTokenResponse) Unmarshal ¶
func (m *MsgUpdateTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateTokenResponse) XXX_DiscardUnknown()
func (*MsgUpdateTokenResponse) XXX_Marshal ¶
func (m *MsgUpdateTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateTokenResponse) XXX_Merge ¶
func (m *MsgUpdateTokenResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateTokenResponse) XXX_Size ¶
func (m *MsgUpdateTokenResponse) XXX_Size() int
func (*MsgUpdateTokenResponse) XXX_Unmarshal ¶
func (m *MsgUpdateTokenResponse) XXX_Unmarshal(b []byte) error
type NoData ¶
type NoData struct { }
func (*NoData) Descriptor ¶
func (*NoData) MarshalToSizedBuffer ¶
func (*NoData) ProtoMessage ¶
func (*NoData) ProtoMessage()
func (*NoData) XXX_DiscardUnknown ¶
func (m *NoData) XXX_DiscardUnknown()
func (*NoData) XXX_Marshal ¶
func (*NoData) XXX_Unmarshal ¶
type Params ¶ added in v0.0.4
type Params struct { }
Params defines the parameters for the module.
func DefaultParams ¶ added in v0.0.4
func DefaultParams() Params
DefaultParams returns a default set of parameters
func (*Params) Descriptor ¶ added in v0.0.4
func (*Params) MarshalToSizedBuffer ¶ added in v0.0.4
func (*Params) ParamSetPairs ¶ added in v0.0.4
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶ added in v0.0.4
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶ added in v0.0.4
func (*Params) XXX_Unmarshal ¶ added in v0.0.4
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryParamsRequest ¶ added in v0.0.4
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶ added in v0.0.4
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶ added in v0.0.4
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶ added in v0.0.4
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶ added in v0.0.4
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶ added in v0.0.4
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶ added in v0.0.4
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶ added in v0.0.4
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶ added in v0.0.4
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶ added in v0.0.4
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶ added in v0.0.4
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶ added in v0.0.4
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶ added in v0.0.4
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶ added in v0.0.4
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶ added in v0.0.4
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶ added in v0.0.4
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶ added in v0.0.4
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶ added in v0.0.4
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶ added in v0.0.4
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶ added in v0.0.4
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶ added in v0.0.4
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶ added in v0.0.4
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶ added in v0.0.4
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶ added in v0.0.4
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶ added in v0.0.4
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶ added in v0.0.4
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶ added in v0.0.4
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶ added in v0.0.4
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶ added in v0.0.4
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServer is the server API for Query service.
type Token ¶
type Token struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` Decimals int64 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"` AuthorizationRequired bool `protobuf:"varint,5,opt,name=authorizationRequired,proto3" json:"authorizationRequired,omitempty"` Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` Authorized map[string]*TokenAuthorization `` /* 161-byte string literal not displayed */ Created int64 `protobuf:"varint,8,opt,name=created,proto3" json:"created,omitempty"` }
func (*Token) Descriptor ¶
func (*Token) GetAuthorizationRequired ¶
func (*Token) GetAuthorized ¶
func (m *Token) GetAuthorized() map[string]*TokenAuthorization
func (*Token) GetCreated ¶ added in v0.0.4
func (*Token) GetCreator ¶
func (*Token) GetDecimals ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) XXX_DiscardUnknown ¶
func (m *Token) XXX_DiscardUnknown()
func (*Token) XXX_Marshal ¶
func (*Token) XXX_Unmarshal ¶
type TokenAuthorization ¶
type TokenAuthorization struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Authorized bool `protobuf:"varint,3,opt,name=authorized,proto3" json:"authorized,omitempty"` }
func (*TokenAuthorization) Descriptor ¶
func (*TokenAuthorization) Descriptor() ([]byte, []int)
func (*TokenAuthorization) GetAddress ¶
func (m *TokenAuthorization) GetAddress() string
func (*TokenAuthorization) GetAuthorized ¶
func (m *TokenAuthorization) GetAuthorized() bool
func (*TokenAuthorization) GetTokenSymbol ¶ added in v0.0.4
func (m *TokenAuthorization) GetTokenSymbol() string
func (*TokenAuthorization) Marshal ¶
func (m *TokenAuthorization) Marshal() (dAtA []byte, err error)
func (*TokenAuthorization) MarshalTo ¶
func (m *TokenAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*TokenAuthorization) MarshalToSizedBuffer ¶
func (m *TokenAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenAuthorization) ProtoMessage ¶
func (*TokenAuthorization) ProtoMessage()
func (*TokenAuthorization) Reset ¶
func (m *TokenAuthorization) Reset()
func (*TokenAuthorization) Size ¶
func (m *TokenAuthorization) Size() (n int)
func (*TokenAuthorization) String ¶
func (m *TokenAuthorization) String() string
func (*TokenAuthorization) Unmarshal ¶
func (m *TokenAuthorization) Unmarshal(dAtA []byte) error
func (*TokenAuthorization) XXX_DiscardUnknown ¶
func (m *TokenAuthorization) XXX_DiscardUnknown()
func (*TokenAuthorization) XXX_Marshal ¶
func (m *TokenAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenAuthorization) XXX_Merge ¶
func (m *TokenAuthorization) XXX_Merge(src proto.Message)
func (*TokenAuthorization) XXX_Size ¶
func (m *TokenAuthorization) XXX_Size() int
func (*TokenAuthorization) XXX_Unmarshal ¶
func (m *TokenAuthorization) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AuthorizeAddress ¶
func (*UnimplementedMsgServer) AuthorizeAddress(ctx context.Context, req *MsgAuthorizeAddress) (*MsgAuthorizeAddressResponse, error)
func (*UnimplementedMsgServer) CreateToken ¶
func (*UnimplementedMsgServer) CreateToken(ctx context.Context, req *MsgCreateToken) (*MsgCreateTokenResponse, error)
func (*UnimplementedMsgServer) TransferToken ¶
func (*UnimplementedMsgServer) TransferToken(ctx context.Context, req *MsgTransferToken) (*MsgTransferTokenResponse, error)
func (*UnimplementedMsgServer) UnAuthorizeAddress ¶
func (*UnimplementedMsgServer) UnAuthorizeAddress(ctx context.Context, req *MsgUnAuthorizeAddress) (*MsgUnAuthorizeAddressResponse, error)
func (*UnimplementedMsgServer) UpdateToken ¶
func (*UnimplementedMsgServer) UpdateToken(ctx context.Context, req *MsgUpdateToken) (*MsgUpdateTokenResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶ added in v0.0.4
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Source Files ¶
- codec.go
- errors.go
- events.go
- events_ibc.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_authorize_address.go
- message_create_token.go
- message_transfer_token.go
- message_un_authorize_address.go
- message_update_token.go
- packet.pb.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- token.pb.go
- tx.pb.go
- types.go