Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func VerifyAuthentication(rp *url.URL, contractAddr string, challenge string, ...) (bool, error)
- func VerifyRegistration(rp *url.URL, contractAddr string, challenge string, ...) (*webauthn.Credential, error)
- type AbstractAccountKeeper
- type AccountKeeper
- type BankKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetPlatformPercentage() uint32
- 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 MsgClient
- type MsgMultiSend
- func (*MsgMultiSend) Descriptor() ([]byte, []int)
- func (m *MsgMultiSend) GetInputs() []types1.Input
- func (m *MsgMultiSend) GetOutputs() []types1.Output
- func (msg MsgMultiSend) GetSignBytes() []byte
- func (msg MsgMultiSend) GetSigners() []sdk.AccAddress
- func (m *MsgMultiSend) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiSend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiSend) ProtoMessage()
- func (m *MsgMultiSend) Reset()
- func (msg MsgMultiSend) Route() string
- func (m *MsgMultiSend) Size() (n int)
- func (m *MsgMultiSend) String() string
- func (msg MsgMultiSend) Type() string
- func (m *MsgMultiSend) Unmarshal(dAtA []byte) error
- func (msg MsgMultiSend) ValidateBasic() error
- func (m *MsgMultiSend) XXX_DiscardUnknown()
- func (m *MsgMultiSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiSend) XXX_Merge(src proto.Message)
- func (m *MsgMultiSend) XXX_Size() int
- func (m *MsgMultiSend) XXX_Unmarshal(b []byte) error
- type MsgMultiSendResponse
- func (*MsgMultiSendResponse) Descriptor() ([]byte, []int)
- func (m *MsgMultiSendResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiSendResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiSendResponse) ProtoMessage()
- func (m *MsgMultiSendResponse) Reset()
- func (m *MsgMultiSendResponse) Size() (n int)
- func (m *MsgMultiSendResponse) String() string
- func (m *MsgMultiSendResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMultiSendResponse) XXX_DiscardUnknown()
- func (m *MsgMultiSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiSendResponse) XXX_Merge(src proto.Message)
- func (m *MsgMultiSendResponse) XXX_Size() int
- func (m *MsgMultiSendResponse) XXX_Unmarshal(b []byte) error
- type MsgSend
- func (*MsgSend) Descriptor() ([]byte, []int)
- func (msg MsgSend) GetSignBytes() []byte
- func (msg MsgSend) GetSigners() []sdk.AccAddress
- func (m *MsgSend) Marshal() (dAtA []byte, err error)
- func (m *MsgSend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSend) ProtoMessage()
- func (m *MsgSend) Reset()
- func (msg MsgSend) Route() string
- func (m *MsgSend) Size() (n int)
- func (m *MsgSend) String() string
- func (msg MsgSend) Type() string
- func (m *MsgSend) Unmarshal(dAtA []byte) error
- func (msg MsgSend) ValidateBasic() error
- func (m *MsgSend) XXX_DiscardUnknown()
- func (m *MsgSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSend) XXX_Merge(src proto.Message)
- func (m *MsgSend) XXX_Size() int
- func (m *MsgSend) XXX_Unmarshal(b []byte) error
- type MsgSendResponse
- func (*MsgSendResponse) Descriptor() ([]byte, []int)
- func (m *MsgSendResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSendResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendResponse) ProtoMessage()
- func (m *MsgSendResponse) Reset()
- func (m *MsgSendResponse) Size() (n int)
- func (m *MsgSendResponse) String() string
- func (m *MsgSendResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSendResponse) XXX_DiscardUnknown()
- func (m *MsgSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendResponse) XXX_Merge(src proto.Message)
- func (m *MsgSendResponse) XXX_Size() int
- func (m *MsgSendResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetPlatformPercentage
- func (*MsgSetPlatformPercentage) Descriptor() ([]byte, []int)
- func (m *MsgSetPlatformPercentage) GetAuthority() string
- func (m *MsgSetPlatformPercentage) GetPlatformPercentage() uint32
- func (msg MsgSetPlatformPercentage) GetSignBytes() []byte
- func (msg MsgSetPlatformPercentage) GetSigners() []sdk.AccAddress
- func (m *MsgSetPlatformPercentage) Marshal() (dAtA []byte, err error)
- func (m *MsgSetPlatformPercentage) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetPlatformPercentage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetPlatformPercentage) ProtoMessage()
- func (m *MsgSetPlatformPercentage) Reset()
- func (msg MsgSetPlatformPercentage) Route() string
- func (m *MsgSetPlatformPercentage) Size() (n int)
- func (m *MsgSetPlatformPercentage) String() string
- func (msg MsgSetPlatformPercentage) Type() string
- func (m *MsgSetPlatformPercentage) Unmarshal(dAtA []byte) error
- func (msg MsgSetPlatformPercentage) ValidateBasic() error
- func (m *MsgSetPlatformPercentage) XXX_DiscardUnknown()
- func (m *MsgSetPlatformPercentage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetPlatformPercentage) XXX_Merge(src proto.Message)
- func (m *MsgSetPlatformPercentage) XXX_Size() int
- func (m *MsgSetPlatformPercentage) XXX_Unmarshal(b []byte) error
- type MsgSetPlatformPercentageResponse
- func (*MsgSetPlatformPercentageResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetPlatformPercentageResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetPlatformPercentageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetPlatformPercentageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetPlatformPercentageResponse) ProtoMessage()
- func (m *MsgSetPlatformPercentageResponse) Reset()
- func (m *MsgSetPlatformPercentageResponse) Size() (n int)
- func (m *MsgSetPlatformPercentageResponse) String() string
- func (m *MsgSetPlatformPercentageResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetPlatformPercentageResponse) XXX_DiscardUnknown()
- func (m *MsgSetPlatformPercentageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetPlatformPercentageResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetPlatformPercentageResponse) XXX_Size() int
- func (m *MsgSetPlatformPercentageResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryServer
- type QueryWebAuthNVerifyAuthenticateRequest
- func (*QueryWebAuthNVerifyAuthenticateRequest) Descriptor() ([]byte, []int)
- func (m *QueryWebAuthNVerifyAuthenticateRequest) GetAddr() string
- func (m *QueryWebAuthNVerifyAuthenticateRequest) GetChallenge() string
- func (m *QueryWebAuthNVerifyAuthenticateRequest) GetCredential() []byte
- func (m *QueryWebAuthNVerifyAuthenticateRequest) GetData() []byte
- func (m *QueryWebAuthNVerifyAuthenticateRequest) GetRp() string
- func (m *QueryWebAuthNVerifyAuthenticateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryWebAuthNVerifyAuthenticateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWebAuthNVerifyAuthenticateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWebAuthNVerifyAuthenticateRequest) ProtoMessage()
- func (m *QueryWebAuthNVerifyAuthenticateRequest) Reset()
- func (m *QueryWebAuthNVerifyAuthenticateRequest) Size() (n int)
- func (m *QueryWebAuthNVerifyAuthenticateRequest) String() string
- func (m *QueryWebAuthNVerifyAuthenticateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryWebAuthNVerifyAuthenticateRequest) XXX_DiscardUnknown()
- func (m *QueryWebAuthNVerifyAuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWebAuthNVerifyAuthenticateRequest) XXX_Merge(src proto.Message)
- func (m *QueryWebAuthNVerifyAuthenticateRequest) XXX_Size() int
- func (m *QueryWebAuthNVerifyAuthenticateRequest) XXX_Unmarshal(b []byte) error
- type QueryWebAuthNVerifyAuthenticateResponse
- func (*QueryWebAuthNVerifyAuthenticateResponse) Descriptor() ([]byte, []int)
- func (m *QueryWebAuthNVerifyAuthenticateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryWebAuthNVerifyAuthenticateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWebAuthNVerifyAuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWebAuthNVerifyAuthenticateResponse) ProtoMessage()
- func (m *QueryWebAuthNVerifyAuthenticateResponse) Reset()
- func (m *QueryWebAuthNVerifyAuthenticateResponse) Size() (n int)
- func (m *QueryWebAuthNVerifyAuthenticateResponse) String() string
- func (m *QueryWebAuthNVerifyAuthenticateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryWebAuthNVerifyAuthenticateResponse) XXX_DiscardUnknown()
- func (m *QueryWebAuthNVerifyAuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWebAuthNVerifyAuthenticateResponse) XXX_Merge(src proto.Message)
- func (m *QueryWebAuthNVerifyAuthenticateResponse) XXX_Size() int
- func (m *QueryWebAuthNVerifyAuthenticateResponse) XXX_Unmarshal(b []byte) error
- type QueryWebAuthNVerifyRegisterRequest
- func (*QueryWebAuthNVerifyRegisterRequest) Descriptor() ([]byte, []int)
- func (m *QueryWebAuthNVerifyRegisterRequest) GetAddr() string
- func (m *QueryWebAuthNVerifyRegisterRequest) GetChallenge() string
- func (m *QueryWebAuthNVerifyRegisterRequest) GetData() []byte
- func (m *QueryWebAuthNVerifyRegisterRequest) GetRp() string
- func (m *QueryWebAuthNVerifyRegisterRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryWebAuthNVerifyRegisterRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWebAuthNVerifyRegisterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWebAuthNVerifyRegisterRequest) ProtoMessage()
- func (m *QueryWebAuthNVerifyRegisterRequest) Reset()
- func (m *QueryWebAuthNVerifyRegisterRequest) Size() (n int)
- func (m *QueryWebAuthNVerifyRegisterRequest) String() string
- func (m *QueryWebAuthNVerifyRegisterRequest) Unmarshal(dAtA []byte) error
- func (m *QueryWebAuthNVerifyRegisterRequest) XXX_DiscardUnknown()
- func (m *QueryWebAuthNVerifyRegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWebAuthNVerifyRegisterRequest) XXX_Merge(src proto.Message)
- func (m *QueryWebAuthNVerifyRegisterRequest) XXX_Size() int
- func (m *QueryWebAuthNVerifyRegisterRequest) XXX_Unmarshal(b []byte) error
- type QueryWebAuthNVerifyRegisterResponse
- func (*QueryWebAuthNVerifyRegisterResponse) Descriptor() ([]byte, []int)
- func (m *QueryWebAuthNVerifyRegisterResponse) GetCredential() []byte
- func (m *QueryWebAuthNVerifyRegisterResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryWebAuthNVerifyRegisterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWebAuthNVerifyRegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWebAuthNVerifyRegisterResponse) ProtoMessage()
- func (m *QueryWebAuthNVerifyRegisterResponse) Reset()
- func (m *QueryWebAuthNVerifyRegisterResponse) Size() (n int)
- func (m *QueryWebAuthNVerifyRegisterResponse) String() string
- func (m *QueryWebAuthNVerifyRegisterResponse) Unmarshal(dAtA []byte) error
- func (m *QueryWebAuthNVerifyRegisterResponse) XXX_DiscardUnknown()
- func (m *QueryWebAuthNVerifyRegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWebAuthNVerifyRegisterResponse) XXX_Merge(src proto.Message)
- func (m *QueryWebAuthNVerifyRegisterResponse) XXX_Size() int
- func (m *QueryWebAuthNVerifyRegisterResponse) XXX_Unmarshal(b []byte) error
- type SmartContractUser
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) MultiSend(ctx context.Context, req *MsgMultiSend) (*MsgMultiSendResponse, error)
- func (*UnimplementedMsgServer) Send(ctx context.Context, req *MsgSend) (*MsgSendResponse, error)
- func (*UnimplementedMsgServer) SetPlatformPercentage(ctx context.Context, req *MsgSetPlatformPercentage) (*MsgSetPlatformPercentageResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) WebAuthNVerifyAuthenticate(ctx context.Context, req *QueryWebAuthNVerifyAuthenticateRequest) (*QueryWebAuthNVerifyAuthenticateResponse, error)
- func (*UnimplementedQueryServer) WebAuthNVerifyRegister(ctx context.Context, req *QueryWebAuthNVerifyRegisterRequest) (*QueryWebAuthNVerifyRegisterResponse, error)
- type WasmKeeper
Constants ¶
const ( // ModuleName is the module name constant used in many places ModuleName = "xion" // StoreKey is the store key string for oracle StoreKey = ModuleName // RouterKey is the message route for oracle RouterKey = ModuleName // QuerierRoute is the querier route for oracle QuerierRoute = ModuleName )
const ( TypeMsgSend = "send" TypeMsgMultiSend = "multisend" TypeMsgSetPlatformPercentage = "setplatformpercentage" )
bank message types
Variables ¶
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 ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
var PlatformPercentageKey = []byte{0x00}
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/bank interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryServer ¶ added in v0.3.6
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func VerifyAuthentication ¶ added in v0.3.6
func VerifyAuthentication(rp *url.URL, contractAddr string, challenge string, credential *webauthn.Credential, credentialAssertionData *protocol.ParsedCredentialAssertionData) (bool, error)
func VerifyRegistration ¶ added in v0.3.6
func VerifyRegistration(rp *url.URL, contractAddr string, challenge string, credentialCreationData *protocol.ParsedCredentialCreationData) (*webauthn.Credential, error)
Types ¶
type AbstractAccountKeeper ¶ added in v0.3.9
type AccountKeeper ¶
type AccountKeeper interface {
GetModuleAccount(ctx sdktypes.Context, moduleName string) authtypes.ModuleAccountI
}
type BankKeeper ¶
type BankKeeper interface { SendCoinsFromModuleToAccount( ctx sdktypes.Context, senderModule string, recipientAddr sdktypes.AccAddress, amt sdktypes.Coins, ) error SendCoinsFromModuleToModule( ctx sdktypes.Context, senderModule, recipientModule string, amt sdktypes.Coins, ) error SendCoinsFromAccountToModule( ctx sdktypes.Context, senderAddr sdktypes.AccAddress, recipientModule string, amt sdktypes.Coins, ) error IsSendEnabledCoins(ctx sdktypes.Context, coins ...sdktypes.Coin) error BlockedAddr(addr sdktypes.AccAddress) bool SendCoins(ctx sdktypes.Context, fromAddr sdktypes.AccAddress, toAddr sdktypes.AccAddress, amt sdktypes.Coins) error InputOutputCoins(ctx sdktypes.Context, inputs []banktypes.Input, outputs []banktypes.Output) error }
BankKeeper defines the contract needed to be fulfilled for banking and supply dependencies.
type GenesisState ¶
type GenesisState struct {
PlatformPercentage uint32 `protobuf:"varint,1,opt,name=platform_percentage,json=platformPercentage,proto3" json:"platform_percentage,omitempty"`
}
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns a default bank module genesis state.
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState
GetGenesisStateFromAppState returns x/bank GenesisState given raw application genesis state.
func NewGenesisState ¶
func NewGenesisState(platformPercentage uint32) *GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetPlatformPercentage ¶
func (m *GenesisState) GetPlatformPercentage() uint32
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 validation of supply genesis data returning an error for any failed validation criteria.
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 MsgClient ¶
type MsgClient interface { // Send defines a method for sending coins from one account to another // account. Send(ctx context.Context, in *MsgSend, opts ...grpc.CallOption) (*MsgSendResponse, error) // MultiSend defines a method for sending coins from some accounts to other // accounts. MultiSend(ctx context.Context, in *MsgMultiSend, opts ...grpc.CallOption) (*MsgMultiSendResponse, error) // SetPlatformPercentage defines the method for updating the platform // percentage fee SetPlatformPercentage(ctx context.Context, in *MsgSetPlatformPercentage, opts ...grpc.CallOption) (*MsgSetPlatformPercentageResponse, 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 MsgMultiSend ¶
type MsgMultiSend struct { // Inputs, despite being `repeated`, only allows one sender input. This is // checked in MsgMultiSend's ValidateBasic. Inputs []types1.Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs"` Outputs []types1.Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs"` }
MsgMultiSend represents an arbitrary multi-in, multi-out send message.
func NewMsgMultiSend ¶
func NewMsgMultiSend(in []banktypes.Input, out []banktypes.Output) *MsgMultiSend
NewMsgMultiSend - construct arbitrary multi-in, multi-out send msg.
func (*MsgMultiSend) Descriptor ¶
func (*MsgMultiSend) Descriptor() ([]byte, []int)
func (*MsgMultiSend) GetInputs ¶
func (m *MsgMultiSend) GetInputs() []types1.Input
func (*MsgMultiSend) GetOutputs ¶
func (m *MsgMultiSend) GetOutputs() []types1.Output
func (MsgMultiSend) GetSignBytes ¶
func (msg MsgMultiSend) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgMultiSend) GetSigners ¶
func (msg MsgMultiSend) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgMultiSend) Marshal ¶
func (m *MsgMultiSend) Marshal() (dAtA []byte, err error)
func (*MsgMultiSend) MarshalToSizedBuffer ¶
func (m *MsgMultiSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMultiSend) ProtoMessage ¶
func (*MsgMultiSend) ProtoMessage()
func (*MsgMultiSend) Reset ¶
func (m *MsgMultiSend) Reset()
func (*MsgMultiSend) Size ¶
func (m *MsgMultiSend) Size() (n int)
func (*MsgMultiSend) String ¶
func (m *MsgMultiSend) String() string
func (*MsgMultiSend) Unmarshal ¶
func (m *MsgMultiSend) Unmarshal(dAtA []byte) error
func (MsgMultiSend) ValidateBasic ¶
func (msg MsgMultiSend) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgMultiSend) XXX_DiscardUnknown ¶
func (m *MsgMultiSend) XXX_DiscardUnknown()
func (*MsgMultiSend) XXX_Marshal ¶
func (m *MsgMultiSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMultiSend) XXX_Merge ¶
func (m *MsgMultiSend) XXX_Merge(src proto.Message)
func (*MsgMultiSend) XXX_Size ¶
func (m *MsgMultiSend) XXX_Size() int
func (*MsgMultiSend) XXX_Unmarshal ¶
func (m *MsgMultiSend) XXX_Unmarshal(b []byte) error
type MsgMultiSendResponse ¶
type MsgMultiSendResponse struct { }
MsgMultiSendResponse defines the Msg/MultiSend response type.
func (*MsgMultiSendResponse) Descriptor ¶
func (*MsgMultiSendResponse) Descriptor() ([]byte, []int)
func (*MsgMultiSendResponse) Marshal ¶
func (m *MsgMultiSendResponse) Marshal() (dAtA []byte, err error)
func (*MsgMultiSendResponse) MarshalTo ¶
func (m *MsgMultiSendResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMultiSendResponse) MarshalToSizedBuffer ¶
func (m *MsgMultiSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMultiSendResponse) ProtoMessage ¶
func (*MsgMultiSendResponse) ProtoMessage()
func (*MsgMultiSendResponse) Reset ¶
func (m *MsgMultiSendResponse) Reset()
func (*MsgMultiSendResponse) Size ¶
func (m *MsgMultiSendResponse) Size() (n int)
func (*MsgMultiSendResponse) String ¶
func (m *MsgMultiSendResponse) String() string
func (*MsgMultiSendResponse) Unmarshal ¶
func (m *MsgMultiSendResponse) Unmarshal(dAtA []byte) error
func (*MsgMultiSendResponse) XXX_DiscardUnknown ¶
func (m *MsgMultiSendResponse) XXX_DiscardUnknown()
func (*MsgMultiSendResponse) XXX_Marshal ¶
func (m *MsgMultiSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMultiSendResponse) XXX_Merge ¶
func (m *MsgMultiSendResponse) XXX_Merge(src proto.Message)
func (*MsgMultiSendResponse) XXX_Size ¶
func (m *MsgMultiSendResponse) XXX_Size() int
func (*MsgMultiSendResponse) XXX_Unmarshal ¶
func (m *MsgMultiSendResponse) XXX_Unmarshal(b []byte) error
type MsgSend ¶
type MsgSend struct { FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
MsgSend represents a message to send coins from one account to another.
func NewMsgSend ¶
func NewMsgSend(fromAddr, toAddr sdk.AccAddress, amount sdk.Coins) *MsgSend
NewMsgSend - construct a msg to send coins from one account to another.
func (*MsgSend) Descriptor ¶
func (MsgSend) GetSigners ¶
func (msg MsgSend) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgSend) MarshalToSizedBuffer ¶
func (*MsgSend) ProtoMessage ¶
func (*MsgSend) ProtoMessage()
func (MsgSend) ValidateBasic ¶
ValidateBasic Implements Msg.
func (*MsgSend) XXX_DiscardUnknown ¶
func (m *MsgSend) XXX_DiscardUnknown()
func (*MsgSend) XXX_Marshal ¶
func (*MsgSend) XXX_Unmarshal ¶
type MsgSendResponse ¶
type MsgSendResponse struct { }
MsgSendResponse defines the Msg/Send response type.
func (*MsgSendResponse) Descriptor ¶
func (*MsgSendResponse) Descriptor() ([]byte, []int)
func (*MsgSendResponse) Marshal ¶
func (m *MsgSendResponse) Marshal() (dAtA []byte, err error)
func (*MsgSendResponse) MarshalToSizedBuffer ¶
func (m *MsgSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendResponse) ProtoMessage ¶
func (*MsgSendResponse) ProtoMessage()
func (*MsgSendResponse) Reset ¶
func (m *MsgSendResponse) Reset()
func (*MsgSendResponse) Size ¶
func (m *MsgSendResponse) Size() (n int)
func (*MsgSendResponse) String ¶
func (m *MsgSendResponse) String() string
func (*MsgSendResponse) Unmarshal ¶
func (m *MsgSendResponse) Unmarshal(dAtA []byte) error
func (*MsgSendResponse) XXX_DiscardUnknown ¶
func (m *MsgSendResponse) XXX_DiscardUnknown()
func (*MsgSendResponse) XXX_Marshal ¶
func (m *MsgSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendResponse) XXX_Merge ¶
func (m *MsgSendResponse) XXX_Merge(src proto.Message)
func (*MsgSendResponse) XXX_Size ¶
func (m *MsgSendResponse) XXX_Size() int
func (*MsgSendResponse) XXX_Unmarshal ¶
func (m *MsgSendResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // Send defines a method for sending coins from one account to another // account. Send(context.Context, *MsgSend) (*MsgSendResponse, error) // MultiSend defines a method for sending coins from some accounts to other // accounts. MultiSend(context.Context, *MsgMultiSend) (*MsgMultiSendResponse, error) // SetPlatformPercentage defines the method for updating the platform // percentage fee SetPlatformPercentage(context.Context, *MsgSetPlatformPercentage) (*MsgSetPlatformPercentageResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetPlatformPercentage ¶
type MsgSetPlatformPercentage struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // platform_percentage is the platform fee percentage to multiplied by 10000 PlatformPercentage uint32 `protobuf:"varint,2,opt,name=platform_percentage,json=platformPercentage,proto3" json:"platform_percentage,omitempty"` }
func NewMsgSetPlatformPercentage ¶
func NewMsgSetPlatformPercentage(percentage uint32) *MsgSetPlatformPercentage
NewMsgMultiSend - construct arbitrary multi-in, multi-out send msg.
func (*MsgSetPlatformPercentage) Descriptor ¶
func (*MsgSetPlatformPercentage) Descriptor() ([]byte, []int)
func (*MsgSetPlatformPercentage) GetAuthority ¶
func (m *MsgSetPlatformPercentage) GetAuthority() string
func (*MsgSetPlatformPercentage) GetPlatformPercentage ¶
func (m *MsgSetPlatformPercentage) GetPlatformPercentage() uint32
func (MsgSetPlatformPercentage) GetSignBytes ¶
func (msg MsgSetPlatformPercentage) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgSetPlatformPercentage) GetSigners ¶
func (msg MsgSetPlatformPercentage) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgSetPlatformPercentage) Marshal ¶
func (m *MsgSetPlatformPercentage) Marshal() (dAtA []byte, err error)
func (*MsgSetPlatformPercentage) MarshalTo ¶
func (m *MsgSetPlatformPercentage) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetPlatformPercentage) MarshalToSizedBuffer ¶
func (m *MsgSetPlatformPercentage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetPlatformPercentage) ProtoMessage ¶
func (*MsgSetPlatformPercentage) ProtoMessage()
func (*MsgSetPlatformPercentage) Reset ¶
func (m *MsgSetPlatformPercentage) Reset()
func (MsgSetPlatformPercentage) Route ¶
func (msg MsgSetPlatformPercentage) Route() string
Route Implements Msg
func (*MsgSetPlatformPercentage) Size ¶
func (m *MsgSetPlatformPercentage) Size() (n int)
func (*MsgSetPlatformPercentage) String ¶
func (m *MsgSetPlatformPercentage) String() string
func (MsgSetPlatformPercentage) Type ¶
func (msg MsgSetPlatformPercentage) Type() string
Type Implements Msg
func (*MsgSetPlatformPercentage) Unmarshal ¶
func (m *MsgSetPlatformPercentage) Unmarshal(dAtA []byte) error
func (MsgSetPlatformPercentage) ValidateBasic ¶
func (msg MsgSetPlatformPercentage) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgSetPlatformPercentage) XXX_DiscardUnknown ¶
func (m *MsgSetPlatformPercentage) XXX_DiscardUnknown()
func (*MsgSetPlatformPercentage) XXX_Marshal ¶
func (m *MsgSetPlatformPercentage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetPlatformPercentage) XXX_Merge ¶
func (m *MsgSetPlatformPercentage) XXX_Merge(src proto.Message)
func (*MsgSetPlatformPercentage) XXX_Size ¶
func (m *MsgSetPlatformPercentage) XXX_Size() int
func (*MsgSetPlatformPercentage) XXX_Unmarshal ¶
func (m *MsgSetPlatformPercentage) XXX_Unmarshal(b []byte) error
type MsgSetPlatformPercentageResponse ¶
type MsgSetPlatformPercentageResponse struct { }
func (*MsgSetPlatformPercentageResponse) Descriptor ¶
func (*MsgSetPlatformPercentageResponse) Descriptor() ([]byte, []int)
func (*MsgSetPlatformPercentageResponse) Marshal ¶
func (m *MsgSetPlatformPercentageResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetPlatformPercentageResponse) MarshalTo ¶
func (m *MsgSetPlatformPercentageResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetPlatformPercentageResponse) MarshalToSizedBuffer ¶
func (m *MsgSetPlatformPercentageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetPlatformPercentageResponse) ProtoMessage ¶
func (*MsgSetPlatformPercentageResponse) ProtoMessage()
func (*MsgSetPlatformPercentageResponse) Reset ¶
func (m *MsgSetPlatformPercentageResponse) Reset()
func (*MsgSetPlatformPercentageResponse) Size ¶
func (m *MsgSetPlatformPercentageResponse) Size() (n int)
func (*MsgSetPlatformPercentageResponse) String ¶
func (m *MsgSetPlatformPercentageResponse) String() string
func (*MsgSetPlatformPercentageResponse) Unmarshal ¶
func (m *MsgSetPlatformPercentageResponse) Unmarshal(dAtA []byte) error
func (*MsgSetPlatformPercentageResponse) XXX_DiscardUnknown ¶
func (m *MsgSetPlatformPercentageResponse) XXX_DiscardUnknown()
func (*MsgSetPlatformPercentageResponse) XXX_Marshal ¶
func (m *MsgSetPlatformPercentageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetPlatformPercentageResponse) XXX_Merge ¶
func (m *MsgSetPlatformPercentageResponse) XXX_Merge(src proto.Message)
func (*MsgSetPlatformPercentageResponse) XXX_Size ¶
func (m *MsgSetPlatformPercentageResponse) XXX_Size() int
func (*MsgSetPlatformPercentageResponse) XXX_Unmarshal ¶
func (m *MsgSetPlatformPercentageResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶ added in v0.3.6
type QueryClient interface { WebAuthNVerifyRegister(ctx context.Context, in *QueryWebAuthNVerifyRegisterRequest, opts ...grpc.CallOption) (*QueryWebAuthNVerifyRegisterResponse, error) WebAuthNVerifyAuthenticate(ctx context.Context, in *QueryWebAuthNVerifyAuthenticateRequest, opts ...grpc.CallOption) (*QueryWebAuthNVerifyAuthenticateResponse, 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 ¶ added in v0.3.6
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryServer ¶ added in v0.3.6
type QueryServer interface { WebAuthNVerifyRegister(context.Context, *QueryWebAuthNVerifyRegisterRequest) (*QueryWebAuthNVerifyRegisterResponse, error) WebAuthNVerifyAuthenticate(context.Context, *QueryWebAuthNVerifyAuthenticateRequest) (*QueryWebAuthNVerifyAuthenticateResponse, error) }
QueryServer is the server API for Query service.
type QueryWebAuthNVerifyAuthenticateRequest ¶ added in v0.3.6
type QueryWebAuthNVerifyAuthenticateRequest struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Challenge string `protobuf:"bytes,2,opt,name=challenge,proto3" json:"challenge,omitempty"` Rp string `protobuf:"bytes,3,opt,name=rp,proto3" json:"rp,omitempty"` Credential []byte `protobuf:"bytes,4,opt,name=credential,proto3" json:"credential,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` }
func (*QueryWebAuthNVerifyAuthenticateRequest) Descriptor ¶ added in v0.3.6
func (*QueryWebAuthNVerifyAuthenticateRequest) Descriptor() ([]byte, []int)
func (*QueryWebAuthNVerifyAuthenticateRequest) GetAddr ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) GetAddr() string
func (*QueryWebAuthNVerifyAuthenticateRequest) GetChallenge ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) GetChallenge() string
func (*QueryWebAuthNVerifyAuthenticateRequest) GetCredential ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) GetCredential() []byte
func (*QueryWebAuthNVerifyAuthenticateRequest) GetData ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) GetData() []byte
func (*QueryWebAuthNVerifyAuthenticateRequest) GetRp ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) GetRp() string
func (*QueryWebAuthNVerifyAuthenticateRequest) Marshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) Marshal() (dAtA []byte, err error)
func (*QueryWebAuthNVerifyAuthenticateRequest) MarshalTo ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryWebAuthNVerifyAuthenticateRequest) MarshalToSizedBuffer ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWebAuthNVerifyAuthenticateRequest) ProtoMessage ¶ added in v0.3.6
func (*QueryWebAuthNVerifyAuthenticateRequest) ProtoMessage()
func (*QueryWebAuthNVerifyAuthenticateRequest) Reset ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) Reset()
func (*QueryWebAuthNVerifyAuthenticateRequest) Size ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) Size() (n int)
func (*QueryWebAuthNVerifyAuthenticateRequest) String ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) String() string
func (*QueryWebAuthNVerifyAuthenticateRequest) Unmarshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) Unmarshal(dAtA []byte) error
func (*QueryWebAuthNVerifyAuthenticateRequest) XXX_DiscardUnknown ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) XXX_DiscardUnknown()
func (*QueryWebAuthNVerifyAuthenticateRequest) XXX_Marshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWebAuthNVerifyAuthenticateRequest) XXX_Merge ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) XXX_Merge(src proto.Message)
func (*QueryWebAuthNVerifyAuthenticateRequest) XXX_Size ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) XXX_Size() int
func (*QueryWebAuthNVerifyAuthenticateRequest) XXX_Unmarshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateRequest) XXX_Unmarshal(b []byte) error
type QueryWebAuthNVerifyAuthenticateResponse ¶ added in v0.3.6
type QueryWebAuthNVerifyAuthenticateResponse struct { }
func (*QueryWebAuthNVerifyAuthenticateResponse) Descriptor ¶ added in v0.3.6
func (*QueryWebAuthNVerifyAuthenticateResponse) Descriptor() ([]byte, []int)
func (*QueryWebAuthNVerifyAuthenticateResponse) Marshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) Marshal() (dAtA []byte, err error)
func (*QueryWebAuthNVerifyAuthenticateResponse) MarshalTo ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryWebAuthNVerifyAuthenticateResponse) MarshalToSizedBuffer ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWebAuthNVerifyAuthenticateResponse) ProtoMessage ¶ added in v0.3.6
func (*QueryWebAuthNVerifyAuthenticateResponse) ProtoMessage()
func (*QueryWebAuthNVerifyAuthenticateResponse) Reset ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) Reset()
func (*QueryWebAuthNVerifyAuthenticateResponse) Size ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) Size() (n int)
func (*QueryWebAuthNVerifyAuthenticateResponse) String ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) String() string
func (*QueryWebAuthNVerifyAuthenticateResponse) Unmarshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) Unmarshal(dAtA []byte) error
func (*QueryWebAuthNVerifyAuthenticateResponse) XXX_DiscardUnknown ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) XXX_DiscardUnknown()
func (*QueryWebAuthNVerifyAuthenticateResponse) XXX_Marshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWebAuthNVerifyAuthenticateResponse) XXX_Merge ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) XXX_Merge(src proto.Message)
func (*QueryWebAuthNVerifyAuthenticateResponse) XXX_Size ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) XXX_Size() int
func (*QueryWebAuthNVerifyAuthenticateResponse) XXX_Unmarshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyAuthenticateResponse) XXX_Unmarshal(b []byte) error
type QueryWebAuthNVerifyRegisterRequest ¶ added in v0.3.6
type QueryWebAuthNVerifyRegisterRequest struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Challenge string `protobuf:"bytes,2,opt,name=challenge,proto3" json:"challenge,omitempty"` Rp string `protobuf:"bytes,3,opt,name=rp,proto3" json:"rp,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` }
func (*QueryWebAuthNVerifyRegisterRequest) Descriptor ¶ added in v0.3.6
func (*QueryWebAuthNVerifyRegisterRequest) Descriptor() ([]byte, []int)
func (*QueryWebAuthNVerifyRegisterRequest) GetAddr ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) GetAddr() string
func (*QueryWebAuthNVerifyRegisterRequest) GetChallenge ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) GetChallenge() string
func (*QueryWebAuthNVerifyRegisterRequest) GetData ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) GetData() []byte
func (*QueryWebAuthNVerifyRegisterRequest) GetRp ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) GetRp() string
func (*QueryWebAuthNVerifyRegisterRequest) Marshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) Marshal() (dAtA []byte, err error)
func (*QueryWebAuthNVerifyRegisterRequest) MarshalTo ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryWebAuthNVerifyRegisterRequest) MarshalToSizedBuffer ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWebAuthNVerifyRegisterRequest) ProtoMessage ¶ added in v0.3.6
func (*QueryWebAuthNVerifyRegisterRequest) ProtoMessage()
func (*QueryWebAuthNVerifyRegisterRequest) Reset ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) Reset()
func (*QueryWebAuthNVerifyRegisterRequest) Size ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) Size() (n int)
func (*QueryWebAuthNVerifyRegisterRequest) String ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) String() string
func (*QueryWebAuthNVerifyRegisterRequest) Unmarshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) Unmarshal(dAtA []byte) error
func (*QueryWebAuthNVerifyRegisterRequest) XXX_DiscardUnknown ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) XXX_DiscardUnknown()
func (*QueryWebAuthNVerifyRegisterRequest) XXX_Marshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWebAuthNVerifyRegisterRequest) XXX_Merge ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) XXX_Merge(src proto.Message)
func (*QueryWebAuthNVerifyRegisterRequest) XXX_Size ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) XXX_Size() int
func (*QueryWebAuthNVerifyRegisterRequest) XXX_Unmarshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterRequest) XXX_Unmarshal(b []byte) error
type QueryWebAuthNVerifyRegisterResponse ¶ added in v0.3.6
type QueryWebAuthNVerifyRegisterResponse struct {
Credential []byte `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"`
}
func (*QueryWebAuthNVerifyRegisterResponse) Descriptor ¶ added in v0.3.6
func (*QueryWebAuthNVerifyRegisterResponse) Descriptor() ([]byte, []int)
func (*QueryWebAuthNVerifyRegisterResponse) GetCredential ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) GetCredential() []byte
func (*QueryWebAuthNVerifyRegisterResponse) Marshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) Marshal() (dAtA []byte, err error)
func (*QueryWebAuthNVerifyRegisterResponse) MarshalTo ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryWebAuthNVerifyRegisterResponse) MarshalToSizedBuffer ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWebAuthNVerifyRegisterResponse) ProtoMessage ¶ added in v0.3.6
func (*QueryWebAuthNVerifyRegisterResponse) ProtoMessage()
func (*QueryWebAuthNVerifyRegisterResponse) Reset ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) Reset()
func (*QueryWebAuthNVerifyRegisterResponse) Size ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) Size() (n int)
func (*QueryWebAuthNVerifyRegisterResponse) String ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) String() string
func (*QueryWebAuthNVerifyRegisterResponse) Unmarshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) Unmarshal(dAtA []byte) error
func (*QueryWebAuthNVerifyRegisterResponse) XXX_DiscardUnknown ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) XXX_DiscardUnknown()
func (*QueryWebAuthNVerifyRegisterResponse) XXX_Marshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWebAuthNVerifyRegisterResponse) XXX_Merge ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) XXX_Merge(src proto.Message)
func (*QueryWebAuthNVerifyRegisterResponse) XXX_Size ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) XXX_Size() int
func (*QueryWebAuthNVerifyRegisterResponse) XXX_Unmarshal ¶ added in v0.3.6
func (m *QueryWebAuthNVerifyRegisterResponse) XXX_Unmarshal(b []byte) error
type SmartContractUser ¶ added in v0.3.6
type SmartContractUser struct {
// contains filtered or unexported fields
}
func (SmartContractUser) WebAuthnCredentials ¶ added in v0.3.6
func (s SmartContractUser) WebAuthnCredentials() []webauthn.Credential
func (SmartContractUser) WebAuthnDisplayName ¶ added in v0.3.6
func (s SmartContractUser) WebAuthnDisplayName() string
func (SmartContractUser) WebAuthnID ¶ added in v0.3.6
func (s SmartContractUser) WebAuthnID() []byte
func (SmartContractUser) WebAuthnIcon ¶ added in v0.3.6
func (s SmartContractUser) WebAuthnIcon() string
func (SmartContractUser) WebAuthnName ¶ added in v0.3.6
func (s SmartContractUser) WebAuthnName() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) MultiSend ¶
func (*UnimplementedMsgServer) MultiSend(ctx context.Context, req *MsgMultiSend) (*MsgMultiSendResponse, error)
func (*UnimplementedMsgServer) Send ¶
func (*UnimplementedMsgServer) Send(ctx context.Context, req *MsgSend) (*MsgSendResponse, error)
func (*UnimplementedMsgServer) SetPlatformPercentage ¶
func (*UnimplementedMsgServer) SetPlatformPercentage(ctx context.Context, req *MsgSetPlatformPercentage) (*MsgSetPlatformPercentageResponse, error)
type UnimplementedQueryServer ¶ added in v0.3.6
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) WebAuthNVerifyAuthenticate ¶ added in v0.3.6
func (*UnimplementedQueryServer) WebAuthNVerifyAuthenticate(ctx context.Context, req *QueryWebAuthNVerifyAuthenticateRequest) (*QueryWebAuthNVerifyAuthenticateResponse, error)
func (*UnimplementedQueryServer) WebAuthNVerifyRegister ¶ added in v0.3.6
func (*UnimplementedQueryServer) WebAuthNVerifyRegister(ctx context.Context, req *QueryWebAuthNVerifyRegisterRequest) (*QueryWebAuthNVerifyRegisterResponse, error)
type WasmKeeper ¶ added in v0.3.9
type WasmKeeper interface { Migrate(ctx sdktypes.Context, contractAddress, caller sdktypes.AccAddress, newCodeID uint64, msg []byte) ([]byte, error) IterateContractsByCode(ctx sdktypes.Context, codeID uint64, cb func(address sdktypes.AccAddress) bool) PinCode(ctx sdktypes.Context, codeID uint64) error UnpinCode(ctx sdktypes.Context, codeID uint64) error }