Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func BuildKey(elements ...interface{}) []byte
- func KeyAccount(account sdk.AccAddress) []byte
- func KeyAccountAuthenticatorsPrefixId() []byte
- func KeyAccountId(account sdk.AccAddress, id uint64) []byte
- func KeyNextAccountAuthenticatorId() []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)
- type AccountAuthenticator
- func (*AccountAuthenticator) Descriptor() ([]byte, []int)
- func (m *AccountAuthenticator) GetConfig() []byte
- func (m *AccountAuthenticator) GetId() uint64
- func (m *AccountAuthenticator) GetType() string
- func (m *AccountAuthenticator) Marshal() (dAtA []byte, err error)
- func (m *AccountAuthenticator) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountAuthenticator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountAuthenticator) ProtoMessage()
- func (m *AccountAuthenticator) Reset()
- func (m *AccountAuthenticator) Size() (n int)
- func (m *AccountAuthenticator) String() string
- func (m *AccountAuthenticator) Unmarshal(dAtA []byte) error
- func (m *AccountAuthenticator) XXX_DiscardUnknown()
- func (m *AccountAuthenticator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountAuthenticator) XXX_Merge(src proto.Message)
- func (m *AccountAuthenticator) XXX_Size() int
- func (m *AccountAuthenticator) XXX_Unmarshal(b []byte) error
- type AuthenticatorAddedEvent
- func (*AuthenticatorAddedEvent) Descriptor() ([]byte, []int)
- func (m *AuthenticatorAddedEvent) GetAuthenticatorId() string
- func (m *AuthenticatorAddedEvent) GetAuthenticatorType() string
- func (m *AuthenticatorAddedEvent) GetSender() string
- func (m *AuthenticatorAddedEvent) Marshal() (dAtA []byte, err error)
- func (m *AuthenticatorAddedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthenticatorAddedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthenticatorAddedEvent) ProtoMessage()
- func (m *AuthenticatorAddedEvent) Reset()
- func (m *AuthenticatorAddedEvent) Size() (n int)
- func (m *AuthenticatorAddedEvent) String() string
- func (m *AuthenticatorAddedEvent) Unmarshal(dAtA []byte) error
- func (m *AuthenticatorAddedEvent) XXX_DiscardUnknown()
- func (m *AuthenticatorAddedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticatorAddedEvent) XXX_Merge(src proto.Message)
- func (m *AuthenticatorAddedEvent) XXX_Size() int
- func (m *AuthenticatorAddedEvent) XXX_Unmarshal(b []byte) error
- type AuthenticatorData
- func (*AuthenticatorData) Descriptor() ([]byte, []int)
- func (m *AuthenticatorData) GetAddress() string
- func (m *AuthenticatorData) GetAuthenticators() []AccountAuthenticator
- func (m *AuthenticatorData) Marshal() (dAtA []byte, err error)
- func (m *AuthenticatorData) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthenticatorData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthenticatorData) ProtoMessage()
- func (m *AuthenticatorData) Reset()
- func (m *AuthenticatorData) Size() (n int)
- func (m *AuthenticatorData) String() string
- func (m *AuthenticatorData) Unmarshal(dAtA []byte) error
- func (m *AuthenticatorData) XXX_DiscardUnknown()
- func (m *AuthenticatorData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticatorData) XXX_Merge(src proto.Message)
- func (m *AuthenticatorData) XXX_Size() int
- func (m *AuthenticatorData) XXX_Unmarshal(b []byte) error
- type AuthenticatorRemovedEvent
- func (*AuthenticatorRemovedEvent) Descriptor() ([]byte, []int)
- func (m *AuthenticatorRemovedEvent) GetAuthenticatorId() string
- func (m *AuthenticatorRemovedEvent) GetSender() string
- func (m *AuthenticatorRemovedEvent) Marshal() (dAtA []byte, err error)
- func (m *AuthenticatorRemovedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthenticatorRemovedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthenticatorRemovedEvent) ProtoMessage()
- func (m *AuthenticatorRemovedEvent) Reset()
- func (m *AuthenticatorRemovedEvent) Size() (n int)
- func (m *AuthenticatorRemovedEvent) String() string
- func (m *AuthenticatorRemovedEvent) Unmarshal(dAtA []byte) error
- func (m *AuthenticatorRemovedEvent) XXX_DiscardUnknown()
- func (m *AuthenticatorRemovedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticatorRemovedEvent) XXX_Merge(src proto.Message)
- func (m *AuthenticatorRemovedEvent) XXX_Size() int
- func (m *AuthenticatorRemovedEvent) XXX_Unmarshal(b []byte) error
- type AuthenticatorSetActiveStateEvent
- func (*AuthenticatorSetActiveStateEvent) Descriptor() ([]byte, []int)
- func (m *AuthenticatorSetActiveStateEvent) GetIsSmartAccountActive() bool
- func (m *AuthenticatorSetActiveStateEvent) GetSender() string
- func (m *AuthenticatorSetActiveStateEvent) Marshal() (dAtA []byte, err error)
- func (m *AuthenticatorSetActiveStateEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthenticatorSetActiveStateEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthenticatorSetActiveStateEvent) ProtoMessage()
- func (m *AuthenticatorSetActiveStateEvent) Reset()
- func (m *AuthenticatorSetActiveStateEvent) Size() (n int)
- func (m *AuthenticatorSetActiveStateEvent) String() string
- func (m *AuthenticatorSetActiveStateEvent) Unmarshal(dAtA []byte) error
- func (m *AuthenticatorSetActiveStateEvent) XXX_DiscardUnknown()
- func (m *AuthenticatorSetActiveStateEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticatorSetActiveStateEvent) XXX_Merge(src proto.Message)
- func (m *AuthenticatorSetActiveStateEvent) XXX_Size() int
- func (m *AuthenticatorSetActiveStateEvent) XXX_Unmarshal(b []byte) error
- type AuthenticatorTxOptions
- type ContractKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAuthenticatorData() []AuthenticatorData
- func (m *GenesisState) GetNextAuthenticatorId() uint64
- func (m *GenesisState) GetParams() Params
- 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 GetAuthenticatorRequest
- func (*GetAuthenticatorRequest) Descriptor() ([]byte, []int)
- func (m *GetAuthenticatorRequest) GetAccount() string
- func (m *GetAuthenticatorRequest) GetAuthenticatorId() uint64
- func (m *GetAuthenticatorRequest) Marshal() (dAtA []byte, err error)
- func (m *GetAuthenticatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAuthenticatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAuthenticatorRequest) ProtoMessage()
- func (m *GetAuthenticatorRequest) Reset()
- func (m *GetAuthenticatorRequest) Size() (n int)
- func (m *GetAuthenticatorRequest) String() string
- func (m *GetAuthenticatorRequest) Unmarshal(dAtA []byte) error
- func (m *GetAuthenticatorRequest) XXX_DiscardUnknown()
- func (m *GetAuthenticatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAuthenticatorRequest) XXX_Merge(src proto.Message)
- func (m *GetAuthenticatorRequest) XXX_Size() int
- func (m *GetAuthenticatorRequest) XXX_Unmarshal(b []byte) error
- type GetAuthenticatorResponse
- func (*GetAuthenticatorResponse) Descriptor() ([]byte, []int)
- func (m *GetAuthenticatorResponse) GetAccountAuthenticator() *AccountAuthenticator
- func (m *GetAuthenticatorResponse) Marshal() (dAtA []byte, err error)
- func (m *GetAuthenticatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAuthenticatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAuthenticatorResponse) ProtoMessage()
- func (m *GetAuthenticatorResponse) Reset()
- func (m *GetAuthenticatorResponse) Size() (n int)
- func (m *GetAuthenticatorResponse) String() string
- func (m *GetAuthenticatorResponse) Unmarshal(dAtA []byte) error
- func (m *GetAuthenticatorResponse) XXX_DiscardUnknown()
- func (m *GetAuthenticatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAuthenticatorResponse) XXX_Merge(src proto.Message)
- func (m *GetAuthenticatorResponse) XXX_Size() int
- func (m *GetAuthenticatorResponse) XXX_Unmarshal(b []byte) error
- type GetAuthenticatorsRequest
- func (*GetAuthenticatorsRequest) Descriptor() ([]byte, []int)
- func (m *GetAuthenticatorsRequest) GetAccount() string
- func (m *GetAuthenticatorsRequest) Marshal() (dAtA []byte, err error)
- func (m *GetAuthenticatorsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAuthenticatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAuthenticatorsRequest) ProtoMessage()
- func (m *GetAuthenticatorsRequest) Reset()
- func (m *GetAuthenticatorsRequest) Size() (n int)
- func (m *GetAuthenticatorsRequest) String() string
- func (m *GetAuthenticatorsRequest) Unmarshal(dAtA []byte) error
- func (m *GetAuthenticatorsRequest) XXX_DiscardUnknown()
- func (m *GetAuthenticatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAuthenticatorsRequest) XXX_Merge(src proto.Message)
- func (m *GetAuthenticatorsRequest) XXX_Size() int
- func (m *GetAuthenticatorsRequest) XXX_Unmarshal(b []byte) error
- type GetAuthenticatorsResponse
- func (*GetAuthenticatorsResponse) Descriptor() ([]byte, []int)
- func (m *GetAuthenticatorsResponse) GetAccountAuthenticators() []*AccountAuthenticator
- func (m *GetAuthenticatorsResponse) Marshal() (dAtA []byte, err error)
- func (m *GetAuthenticatorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAuthenticatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAuthenticatorsResponse) ProtoMessage()
- func (m *GetAuthenticatorsResponse) Reset()
- func (m *GetAuthenticatorsResponse) Size() (n int)
- func (m *GetAuthenticatorsResponse) String() string
- func (m *GetAuthenticatorsResponse) Unmarshal(dAtA []byte) error
- func (m *GetAuthenticatorsResponse) XXX_DiscardUnknown()
- func (m *GetAuthenticatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAuthenticatorsResponse) XXX_Merge(src proto.Message)
- func (m *GetAuthenticatorsResponse) XXX_Size() int
- func (m *GetAuthenticatorsResponse) XXX_Unmarshal(b []byte) error
- type MsgAddAuthenticator
- func (*MsgAddAuthenticator) Descriptor() ([]byte, []int)
- func (m *MsgAddAuthenticator) GetAuthenticatorType() string
- func (m *MsgAddAuthenticator) GetData() []byte
- func (m *MsgAddAuthenticator) GetSender() string
- func (msg MsgAddAuthenticator) GetSignBytes() []byte
- func (msg *MsgAddAuthenticator) GetSigners() []sdk.AccAddress
- func (m *MsgAddAuthenticator) Marshal() (dAtA []byte, err error)
- func (m *MsgAddAuthenticator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddAuthenticator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddAuthenticator) ProtoMessage()
- func (m *MsgAddAuthenticator) Reset()
- func (msg MsgAddAuthenticator) Route() string
- func (m *MsgAddAuthenticator) Size() (n int)
- func (m *MsgAddAuthenticator) String() string
- func (msg MsgAddAuthenticator) Type() string
- func (m *MsgAddAuthenticator) Unmarshal(dAtA []byte) error
- func (msg *MsgAddAuthenticator) ValidateBasic() error
- func (m *MsgAddAuthenticator) XXX_DiscardUnknown()
- func (m *MsgAddAuthenticator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddAuthenticator) XXX_Merge(src proto.Message)
- func (m *MsgAddAuthenticator) XXX_Size() int
- func (m *MsgAddAuthenticator) XXX_Unmarshal(b []byte) error
- type MsgAddAuthenticatorResponse
- func (*MsgAddAuthenticatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddAuthenticatorResponse) GetSuccess() bool
- func (m *MsgAddAuthenticatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddAuthenticatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddAuthenticatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddAuthenticatorResponse) ProtoMessage()
- func (m *MsgAddAuthenticatorResponse) Reset()
- func (m *MsgAddAuthenticatorResponse) Size() (n int)
- func (m *MsgAddAuthenticatorResponse) String() string
- func (m *MsgAddAuthenticatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddAuthenticatorResponse) XXX_DiscardUnknown()
- func (m *MsgAddAuthenticatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddAuthenticatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddAuthenticatorResponse) XXX_Size() int
- func (m *MsgAddAuthenticatorResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgRemoveAuthenticator
- func (*MsgRemoveAuthenticator) Descriptor() ([]byte, []int)
- func (m *MsgRemoveAuthenticator) GetId() uint64
- func (m *MsgRemoveAuthenticator) GetSender() string
- func (msg MsgRemoveAuthenticator) GetSignBytes() []byte
- func (msg *MsgRemoveAuthenticator) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveAuthenticator) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveAuthenticator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveAuthenticator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveAuthenticator) ProtoMessage()
- func (m *MsgRemoveAuthenticator) Reset()
- func (msg MsgRemoveAuthenticator) Route() string
- func (m *MsgRemoveAuthenticator) Size() (n int)
- func (m *MsgRemoveAuthenticator) String() string
- func (msg MsgRemoveAuthenticator) Type() string
- func (m *MsgRemoveAuthenticator) Unmarshal(dAtA []byte) error
- func (msg *MsgRemoveAuthenticator) ValidateBasic() error
- func (m *MsgRemoveAuthenticator) XXX_DiscardUnknown()
- func (m *MsgRemoveAuthenticator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveAuthenticator) XXX_Merge(src proto.Message)
- func (m *MsgRemoveAuthenticator) XXX_Size() int
- func (m *MsgRemoveAuthenticator) XXX_Unmarshal(b []byte) error
- type MsgRemoveAuthenticatorResponse
- func (*MsgRemoveAuthenticatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveAuthenticatorResponse) GetSuccess() bool
- func (m *MsgRemoveAuthenticatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveAuthenticatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveAuthenticatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveAuthenticatorResponse) ProtoMessage()
- func (m *MsgRemoveAuthenticatorResponse) Reset()
- func (m *MsgRemoveAuthenticatorResponse) Size() (n int)
- func (m *MsgRemoveAuthenticatorResponse) String() string
- func (m *MsgRemoveAuthenticatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveAuthenticatorResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveAuthenticatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveAuthenticatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveAuthenticatorResponse) XXX_Size() int
- func (m *MsgRemoveAuthenticatorResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetActiveState
- func (*MsgSetActiveState) Descriptor() ([]byte, []int)
- func (m *MsgSetActiveState) GetActive() bool
- func (m *MsgSetActiveState) GetSender() string
- func (msg MsgSetActiveState) GetSignBytes() []byte
- func (msg *MsgSetActiveState) GetSigners() []sdk.AccAddress
- func (m *MsgSetActiveState) Marshal() (dAtA []byte, err error)
- func (m *MsgSetActiveState) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetActiveState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetActiveState) ProtoMessage()
- func (m *MsgSetActiveState) Reset()
- func (msg MsgSetActiveState) Route() string
- func (m *MsgSetActiveState) Size() (n int)
- func (m *MsgSetActiveState) String() string
- func (msg MsgSetActiveState) Type() string
- func (m *MsgSetActiveState) Unmarshal(dAtA []byte) error
- func (msg *MsgSetActiveState) ValidateBasic() error
- func (m *MsgSetActiveState) XXX_DiscardUnknown()
- func (m *MsgSetActiveState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetActiveState) XXX_Merge(src proto.Message)
- func (m *MsgSetActiveState) XXX_Size() int
- func (m *MsgSetActiveState) XXX_Unmarshal(b []byte) error
- type MsgSetActiveStateResponse
- func (*MsgSetActiveStateResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetActiveStateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetActiveStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetActiveStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetActiveStateResponse) ProtoMessage()
- func (m *MsgSetActiveStateResponse) Reset()
- func (m *MsgSetActiveStateResponse) Size() (n int)
- func (m *MsgSetActiveStateResponse) String() string
- func (m *MsgSetActiveStateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetActiveStateResponse) XXX_DiscardUnknown()
- func (m *MsgSetActiveStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetActiveStateResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetActiveStateResponse) XXX_Size() int
- func (m *MsgSetActiveStateResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetCircuitBreakerControllers() []string
- func (m *Params) GetIsSmartAccountActive() bool
- func (m *Params) GetMaximumUnauthenticatedGas() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (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 TxExtension
- func (*TxExtension) Descriptor() ([]byte, []int)
- func (m *TxExtension) GetSelectedAuthenticators() []uint64
- func (m *TxExtension) Marshal() (dAtA []byte, err error)
- func (m *TxExtension) MarshalTo(dAtA []byte) (int, error)
- func (m *TxExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxExtension) ProtoMessage()
- func (m *TxExtension) Reset()
- func (m *TxExtension) Size() (n int)
- func (m *TxExtension) String() string
- func (m *TxExtension) Unmarshal(dAtA []byte) error
- func (m *TxExtension) XXX_DiscardUnknown()
- func (m *TxExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxExtension) XXX_Merge(src proto.Message)
- func (m *TxExtension) XXX_Size() int
- func (m *TxExtension) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddAuthenticator(ctx context.Context, req *MsgAddAuthenticator) (*MsgAddAuthenticatorResponse, error)
- func (*UnimplementedMsgServer) RemoveAuthenticator(ctx context.Context, req *MsgRemoveAuthenticator) (*MsgRemoveAuthenticatorResponse, error)
- func (*UnimplementedMsgServer) SetActiveState(ctx context.Context, req *MsgSetActiveState) (*MsgSetActiveStateResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GetAuthenticator(ctx context.Context, req *GetAuthenticatorRequest) (*GetAuthenticatorResponse, error)
- func (*UnimplementedQueryServer) GetAuthenticators(ctx context.Context, req *GetAuthenticatorsRequest) (*GetAuthenticatorsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "smartaccount" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName KeySeparator = "|" AttributeValueCategory = ModuleName AttributeKeyAuthenticatorType = "authenticator_type" AttributeKeyAuthenticatorId = "authenticator_id" AtrributeKeyIsSmartAccountActive = "is_smart_account_active" AttributeKeyAccountSequenceAuthenticator = "authenticator_acc_seq" AttributeKeySignatureAuthenticator = "authenticator_signature" )
const ( CounterKeyMissingRegisteredAuthenticator = "authenticator_missing_registered_authenticator" CounterKeyTrackFailed = "authenticator_track_failed" MeasureKeyAnteHandler = "authenticator_ante_handle" MeasureKeyPostHandler = "authenticator_post_handle" GaugeKeyAnteHandlerGasConsumed = "authenticator_ante_handler_gas_consumed" GaugeKeyPostHandlerGasConsumed = "authenticator_post_handler_gas_consumed" )
const DefaultIndex uint64 = 0
DefaultIndex is the default global index
const TypeMsgAddAuthenticator = "add_authenticator"
-------------------------- ADD AUTHENTICATOR --------------------------
const TypeMsgRemoveAuthenticator = "remove_authenticator"
-------------------------- REMOVE AUTHENTICATOR --------------------------
const TypeMsgSetActiveState = "set_active_state"
-------------------------- SET ACTIVE STATE --------------------------
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // Store prefix keys KeyNextAccountAuthenticatorIdPrefix = []byte{0x01} KeyAccountAuthenticatorsPrefix = []byte{0x02} // Parameter keys KeyMaximumUnauthenticatedGas = []byte("MaximumUnauthenticatedGas") KeyIsSmartAccountActive = []byte("IsSmartAccountActive") KeyCircuitBreakerControllers = []byte("CircuitBreakerControllers") )
var ( ErrInvalidLengthModels = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModels = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupModels = 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") )
Functions ¶
func BuildKey ¶
func BuildKey(elements ...interface{}) []byte
BuildKey creates a key by concatenating the provided elements with the key separator.
func KeyAccount ¶
func KeyAccount(account sdk.AccAddress) []byte
func KeyAccountAuthenticatorsPrefixId ¶
func KeyAccountAuthenticatorsPrefixId() []byte
func KeyAccountId ¶
func KeyAccountId(account sdk.AccAddress, id uint64) []byte
func KeyNextAccountAuthenticatorId ¶
func KeyNextAccountAuthenticatorId() []byte
func ParamKeyTable ¶
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 to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountAuthenticator ¶
type AccountAuthenticator struct { // ID uniquely identifies the authenticator instance. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Type specifies the category of the AccountAuthenticator. // This type information is essential for differentiating authenticators // and ensuring precise data retrieval from the storage layer. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Config is a versatile field used in conjunction with the specific type of // account authenticator to facilitate complex authentication processes. // The interpretation of this field is overloaded, enabling multiple // authenticators to utilize it for their respective purposes. Config []byte `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` }
AccountAuthenticator represents a foundational model for all authenticators. It provides extensibility by allowing concrete types to interpret and validate transactions based on the encapsulated data.
func (*AccountAuthenticator) Descriptor ¶
func (*AccountAuthenticator) Descriptor() ([]byte, []int)
func (*AccountAuthenticator) GetConfig ¶
func (m *AccountAuthenticator) GetConfig() []byte
func (*AccountAuthenticator) GetId ¶
func (m *AccountAuthenticator) GetId() uint64
func (*AccountAuthenticator) GetType ¶
func (m *AccountAuthenticator) GetType() string
func (*AccountAuthenticator) Marshal ¶
func (m *AccountAuthenticator) Marshal() (dAtA []byte, err error)
func (*AccountAuthenticator) MarshalTo ¶
func (m *AccountAuthenticator) MarshalTo(dAtA []byte) (int, error)
func (*AccountAuthenticator) MarshalToSizedBuffer ¶
func (m *AccountAuthenticator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountAuthenticator) ProtoMessage ¶
func (*AccountAuthenticator) ProtoMessage()
func (*AccountAuthenticator) Reset ¶
func (m *AccountAuthenticator) Reset()
func (*AccountAuthenticator) Size ¶
func (m *AccountAuthenticator) Size() (n int)
func (*AccountAuthenticator) String ¶
func (m *AccountAuthenticator) String() string
func (*AccountAuthenticator) Unmarshal ¶
func (m *AccountAuthenticator) Unmarshal(dAtA []byte) error
func (*AccountAuthenticator) XXX_DiscardUnknown ¶
func (m *AccountAuthenticator) XXX_DiscardUnknown()
func (*AccountAuthenticator) XXX_Marshal ¶
func (m *AccountAuthenticator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountAuthenticator) XXX_Merge ¶
func (m *AccountAuthenticator) XXX_Merge(src proto.Message)
func (*AccountAuthenticator) XXX_Size ¶
func (m *AccountAuthenticator) XXX_Size() int
func (*AccountAuthenticator) XXX_Unmarshal ¶
func (m *AccountAuthenticator) XXX_Unmarshal(b []byte) error
type AuthenticatorAddedEvent ¶
type AuthenticatorAddedEvent struct { // sender is the address of the account that added the authenticator Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // authenticator_type is the type of the authenticator that was added AuthenticatorType string `protobuf:"bytes,2,opt,name=authenticator_type,json=authenticatorType,proto3" json:"authenticator_type,omitempty"` // authenticator_id is the id of the authenticator that was added AuthenticatorId string `protobuf:"bytes,3,opt,name=authenticator_id,json=authenticatorId,proto3" json:"authenticator_id,omitempty"` }
AuthenticatorAddedEvent is an event triggered on Authenticator addition
func (*AuthenticatorAddedEvent) Descriptor ¶
func (*AuthenticatorAddedEvent) Descriptor() ([]byte, []int)
func (*AuthenticatorAddedEvent) GetAuthenticatorId ¶
func (m *AuthenticatorAddedEvent) GetAuthenticatorId() string
func (*AuthenticatorAddedEvent) GetAuthenticatorType ¶
func (m *AuthenticatorAddedEvent) GetAuthenticatorType() string
func (*AuthenticatorAddedEvent) GetSender ¶
func (m *AuthenticatorAddedEvent) GetSender() string
func (*AuthenticatorAddedEvent) Marshal ¶
func (m *AuthenticatorAddedEvent) Marshal() (dAtA []byte, err error)
func (*AuthenticatorAddedEvent) MarshalTo ¶
func (m *AuthenticatorAddedEvent) MarshalTo(dAtA []byte) (int, error)
func (*AuthenticatorAddedEvent) MarshalToSizedBuffer ¶
func (m *AuthenticatorAddedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthenticatorAddedEvent) ProtoMessage ¶
func (*AuthenticatorAddedEvent) ProtoMessage()
func (*AuthenticatorAddedEvent) Reset ¶
func (m *AuthenticatorAddedEvent) Reset()
func (*AuthenticatorAddedEvent) Size ¶
func (m *AuthenticatorAddedEvent) Size() (n int)
func (*AuthenticatorAddedEvent) String ¶
func (m *AuthenticatorAddedEvent) String() string
func (*AuthenticatorAddedEvent) Unmarshal ¶
func (m *AuthenticatorAddedEvent) Unmarshal(dAtA []byte) error
func (*AuthenticatorAddedEvent) XXX_DiscardUnknown ¶
func (m *AuthenticatorAddedEvent) XXX_DiscardUnknown()
func (*AuthenticatorAddedEvent) XXX_Marshal ¶
func (m *AuthenticatorAddedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticatorAddedEvent) XXX_Merge ¶
func (m *AuthenticatorAddedEvent) XXX_Merge(src proto.Message)
func (*AuthenticatorAddedEvent) XXX_Size ¶
func (m *AuthenticatorAddedEvent) XXX_Size() int
func (*AuthenticatorAddedEvent) XXX_Unmarshal ¶
func (m *AuthenticatorAddedEvent) XXX_Unmarshal(b []byte) error
type AuthenticatorData ¶
type AuthenticatorData struct { // address is an account address, one address can have many authenticators Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // authenticators are the account's authenticators, these can be multiple // types including SignatureVerification, AllOfs, CosmWasmAuthenticators, etc Authenticators []AccountAuthenticator `protobuf:"bytes,2,rep,name=authenticators,proto3" json:"authenticators"` }
AuthenticatorData represents a genesis exported account with Authenticators. The address is used as the key, and the account authenticators are stored in the authenticators field.
func (*AuthenticatorData) Descriptor ¶
func (*AuthenticatorData) Descriptor() ([]byte, []int)
func (*AuthenticatorData) GetAddress ¶
func (m *AuthenticatorData) GetAddress() string
func (*AuthenticatorData) GetAuthenticators ¶
func (m *AuthenticatorData) GetAuthenticators() []AccountAuthenticator
func (*AuthenticatorData) Marshal ¶
func (m *AuthenticatorData) Marshal() (dAtA []byte, err error)
func (*AuthenticatorData) MarshalTo ¶
func (m *AuthenticatorData) MarshalTo(dAtA []byte) (int, error)
func (*AuthenticatorData) MarshalToSizedBuffer ¶
func (m *AuthenticatorData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthenticatorData) ProtoMessage ¶
func (*AuthenticatorData) ProtoMessage()
func (*AuthenticatorData) Reset ¶
func (m *AuthenticatorData) Reset()
func (*AuthenticatorData) Size ¶
func (m *AuthenticatorData) Size() (n int)
func (*AuthenticatorData) String ¶
func (m *AuthenticatorData) String() string
func (*AuthenticatorData) Unmarshal ¶
func (m *AuthenticatorData) Unmarshal(dAtA []byte) error
func (*AuthenticatorData) XXX_DiscardUnknown ¶
func (m *AuthenticatorData) XXX_DiscardUnknown()
func (*AuthenticatorData) XXX_Marshal ¶
func (m *AuthenticatorData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticatorData) XXX_Merge ¶
func (m *AuthenticatorData) XXX_Merge(src proto.Message)
func (*AuthenticatorData) XXX_Size ¶
func (m *AuthenticatorData) XXX_Size() int
func (*AuthenticatorData) XXX_Unmarshal ¶
func (m *AuthenticatorData) XXX_Unmarshal(b []byte) error
type AuthenticatorRemovedEvent ¶
type AuthenticatorRemovedEvent struct { // sender is the address of the account that removed the authenticator Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // authenticator_id is the id of the authenticator that was removed AuthenticatorId string `protobuf:"bytes,2,opt,name=authenticator_id,json=authenticatorId,proto3" json:"authenticator_id,omitempty"` }
AuthenticatorRemovedEvent is an event triggered on Authenticator removal
func (*AuthenticatorRemovedEvent) Descriptor ¶
func (*AuthenticatorRemovedEvent) Descriptor() ([]byte, []int)
func (*AuthenticatorRemovedEvent) GetAuthenticatorId ¶
func (m *AuthenticatorRemovedEvent) GetAuthenticatorId() string
func (*AuthenticatorRemovedEvent) GetSender ¶
func (m *AuthenticatorRemovedEvent) GetSender() string
func (*AuthenticatorRemovedEvent) Marshal ¶
func (m *AuthenticatorRemovedEvent) Marshal() (dAtA []byte, err error)
func (*AuthenticatorRemovedEvent) MarshalTo ¶
func (m *AuthenticatorRemovedEvent) MarshalTo(dAtA []byte) (int, error)
func (*AuthenticatorRemovedEvent) MarshalToSizedBuffer ¶
func (m *AuthenticatorRemovedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthenticatorRemovedEvent) ProtoMessage ¶
func (*AuthenticatorRemovedEvent) ProtoMessage()
func (*AuthenticatorRemovedEvent) Reset ¶
func (m *AuthenticatorRemovedEvent) Reset()
func (*AuthenticatorRemovedEvent) Size ¶
func (m *AuthenticatorRemovedEvent) Size() (n int)
func (*AuthenticatorRemovedEvent) String ¶
func (m *AuthenticatorRemovedEvent) String() string
func (*AuthenticatorRemovedEvent) Unmarshal ¶
func (m *AuthenticatorRemovedEvent) Unmarshal(dAtA []byte) error
func (*AuthenticatorRemovedEvent) XXX_DiscardUnknown ¶
func (m *AuthenticatorRemovedEvent) XXX_DiscardUnknown()
func (*AuthenticatorRemovedEvent) XXX_Marshal ¶
func (m *AuthenticatorRemovedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticatorRemovedEvent) XXX_Merge ¶
func (m *AuthenticatorRemovedEvent) XXX_Merge(src proto.Message)
func (*AuthenticatorRemovedEvent) XXX_Size ¶
func (m *AuthenticatorRemovedEvent) XXX_Size() int
func (*AuthenticatorRemovedEvent) XXX_Unmarshal ¶
func (m *AuthenticatorRemovedEvent) XXX_Unmarshal(b []byte) error
type AuthenticatorSetActiveStateEvent ¶
type AuthenticatorSetActiveStateEvent struct { // sender is the address of the account that changed the active state Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // active is the new active state IsSmartAccountActive bool `` /* 126-byte string literal not displayed */ }
AuthenticatorSetActiveStateEvent is an event triggered on Authenticator active state change
func (*AuthenticatorSetActiveStateEvent) Descriptor ¶
func (*AuthenticatorSetActiveStateEvent) Descriptor() ([]byte, []int)
func (*AuthenticatorSetActiveStateEvent) GetIsSmartAccountActive ¶
func (m *AuthenticatorSetActiveStateEvent) GetIsSmartAccountActive() bool
func (*AuthenticatorSetActiveStateEvent) GetSender ¶
func (m *AuthenticatorSetActiveStateEvent) GetSender() string
func (*AuthenticatorSetActiveStateEvent) Marshal ¶
func (m *AuthenticatorSetActiveStateEvent) Marshal() (dAtA []byte, err error)
func (*AuthenticatorSetActiveStateEvent) MarshalTo ¶
func (m *AuthenticatorSetActiveStateEvent) MarshalTo(dAtA []byte) (int, error)
func (*AuthenticatorSetActiveStateEvent) MarshalToSizedBuffer ¶
func (m *AuthenticatorSetActiveStateEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthenticatorSetActiveStateEvent) ProtoMessage ¶
func (*AuthenticatorSetActiveStateEvent) ProtoMessage()
func (*AuthenticatorSetActiveStateEvent) Reset ¶
func (m *AuthenticatorSetActiveStateEvent) Reset()
func (*AuthenticatorSetActiveStateEvent) Size ¶
func (m *AuthenticatorSetActiveStateEvent) Size() (n int)
func (*AuthenticatorSetActiveStateEvent) String ¶
func (m *AuthenticatorSetActiveStateEvent) String() string
func (*AuthenticatorSetActiveStateEvent) Unmarshal ¶
func (m *AuthenticatorSetActiveStateEvent) Unmarshal(dAtA []byte) error
func (*AuthenticatorSetActiveStateEvent) XXX_DiscardUnknown ¶
func (m *AuthenticatorSetActiveStateEvent) XXX_DiscardUnknown()
func (*AuthenticatorSetActiveStateEvent) XXX_Marshal ¶
func (m *AuthenticatorSetActiveStateEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticatorSetActiveStateEvent) XXX_Merge ¶
func (m *AuthenticatorSetActiveStateEvent) XXX_Merge(src proto.Message)
func (*AuthenticatorSetActiveStateEvent) XXX_Size ¶
func (m *AuthenticatorSetActiveStateEvent) XXX_Size() int
func (*AuthenticatorSetActiveStateEvent) XXX_Unmarshal ¶
func (m *AuthenticatorSetActiveStateEvent) XXX_Unmarshal(b []byte) error
type AuthenticatorTxOptions ¶
type AuthenticatorTxOptions interface {
GetSelectedAuthenticators() []uint64
}
AuthenticatorTxOptions
type ContractKeeper ¶
type GenesisState ¶
type GenesisState struct { // params define the parameters for the authenticator module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // next_authenticator_id is the next available authenticator ID. NextAuthenticatorId uint64 `protobuf:"varint,2,opt,name=next_authenticator_id,json=nextAuthenticatorId,proto3" json:"next_authenticator_id,omitempty"` // authenticator_data contains the data for multiple accounts, each with their // authenticators. AuthenticatorData []AuthenticatorData `protobuf:"bytes,3,rep,name=authenticator_data,json=authenticatorData,proto3" json:"authenticator_data"` }
GenesisState defines the authenticator module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAuthenticatorData ¶
func (m *GenesisState) GetAuthenticatorData() []AuthenticatorData
func (*GenesisState) GetNextAuthenticatorId ¶
func (m *GenesisState) GetNextAuthenticatorId() uint64
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
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 GetAuthenticatorRequest ¶
type GetAuthenticatorRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` AuthenticatorId uint64 `protobuf:"varint,2,opt,name=authenticator_id,json=authenticatorId,proto3" json:"authenticator_id,omitempty"` }
MsgGetAuthenticatorRequest defines the Msg/GetAuthenticator request type.
func (*GetAuthenticatorRequest) Descriptor ¶
func (*GetAuthenticatorRequest) Descriptor() ([]byte, []int)
func (*GetAuthenticatorRequest) GetAccount ¶
func (m *GetAuthenticatorRequest) GetAccount() string
func (*GetAuthenticatorRequest) GetAuthenticatorId ¶
func (m *GetAuthenticatorRequest) GetAuthenticatorId() uint64
func (*GetAuthenticatorRequest) Marshal ¶
func (m *GetAuthenticatorRequest) Marshal() (dAtA []byte, err error)
func (*GetAuthenticatorRequest) MarshalTo ¶
func (m *GetAuthenticatorRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetAuthenticatorRequest) MarshalToSizedBuffer ¶
func (m *GetAuthenticatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAuthenticatorRequest) ProtoMessage ¶
func (*GetAuthenticatorRequest) ProtoMessage()
func (*GetAuthenticatorRequest) Reset ¶
func (m *GetAuthenticatorRequest) Reset()
func (*GetAuthenticatorRequest) Size ¶
func (m *GetAuthenticatorRequest) Size() (n int)
func (*GetAuthenticatorRequest) String ¶
func (m *GetAuthenticatorRequest) String() string
func (*GetAuthenticatorRequest) Unmarshal ¶
func (m *GetAuthenticatorRequest) Unmarshal(dAtA []byte) error
func (*GetAuthenticatorRequest) XXX_DiscardUnknown ¶
func (m *GetAuthenticatorRequest) XXX_DiscardUnknown()
func (*GetAuthenticatorRequest) XXX_Marshal ¶
func (m *GetAuthenticatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAuthenticatorRequest) XXX_Merge ¶
func (m *GetAuthenticatorRequest) XXX_Merge(src proto.Message)
func (*GetAuthenticatorRequest) XXX_Size ¶
func (m *GetAuthenticatorRequest) XXX_Size() int
func (*GetAuthenticatorRequest) XXX_Unmarshal ¶
func (m *GetAuthenticatorRequest) XXX_Unmarshal(b []byte) error
type GetAuthenticatorResponse ¶
type GetAuthenticatorResponse struct {
AccountAuthenticator *AccountAuthenticator `protobuf:"bytes,1,opt,name=account_authenticator,json=accountAuthenticator,proto3" json:"account_authenticator,omitempty"`
}
MsgGetAuthenticatorResponse defines the Msg/GetAuthenticator response type.
func (*GetAuthenticatorResponse) Descriptor ¶
func (*GetAuthenticatorResponse) Descriptor() ([]byte, []int)
func (*GetAuthenticatorResponse) GetAccountAuthenticator ¶
func (m *GetAuthenticatorResponse) GetAccountAuthenticator() *AccountAuthenticator
func (*GetAuthenticatorResponse) Marshal ¶
func (m *GetAuthenticatorResponse) Marshal() (dAtA []byte, err error)
func (*GetAuthenticatorResponse) MarshalTo ¶
func (m *GetAuthenticatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetAuthenticatorResponse) MarshalToSizedBuffer ¶
func (m *GetAuthenticatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAuthenticatorResponse) ProtoMessage ¶
func (*GetAuthenticatorResponse) ProtoMessage()
func (*GetAuthenticatorResponse) Reset ¶
func (m *GetAuthenticatorResponse) Reset()
func (*GetAuthenticatorResponse) Size ¶
func (m *GetAuthenticatorResponse) Size() (n int)
func (*GetAuthenticatorResponse) String ¶
func (m *GetAuthenticatorResponse) String() string
func (*GetAuthenticatorResponse) Unmarshal ¶
func (m *GetAuthenticatorResponse) Unmarshal(dAtA []byte) error
func (*GetAuthenticatorResponse) XXX_DiscardUnknown ¶
func (m *GetAuthenticatorResponse) XXX_DiscardUnknown()
func (*GetAuthenticatorResponse) XXX_Marshal ¶
func (m *GetAuthenticatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAuthenticatorResponse) XXX_Merge ¶
func (m *GetAuthenticatorResponse) XXX_Merge(src proto.Message)
func (*GetAuthenticatorResponse) XXX_Size ¶
func (m *GetAuthenticatorResponse) XXX_Size() int
func (*GetAuthenticatorResponse) XXX_Unmarshal ¶
func (m *GetAuthenticatorResponse) XXX_Unmarshal(b []byte) error
type GetAuthenticatorsRequest ¶
type GetAuthenticatorsRequest struct {
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}
MsgGetAuthenticatorsRequest defines the Msg/GetAuthenticators request type.
func (*GetAuthenticatorsRequest) Descriptor ¶
func (*GetAuthenticatorsRequest) Descriptor() ([]byte, []int)
func (*GetAuthenticatorsRequest) GetAccount ¶
func (m *GetAuthenticatorsRequest) GetAccount() string
func (*GetAuthenticatorsRequest) Marshal ¶
func (m *GetAuthenticatorsRequest) Marshal() (dAtA []byte, err error)
func (*GetAuthenticatorsRequest) MarshalTo ¶
func (m *GetAuthenticatorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetAuthenticatorsRequest) MarshalToSizedBuffer ¶
func (m *GetAuthenticatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAuthenticatorsRequest) ProtoMessage ¶
func (*GetAuthenticatorsRequest) ProtoMessage()
func (*GetAuthenticatorsRequest) Reset ¶
func (m *GetAuthenticatorsRequest) Reset()
func (*GetAuthenticatorsRequest) Size ¶
func (m *GetAuthenticatorsRequest) Size() (n int)
func (*GetAuthenticatorsRequest) String ¶
func (m *GetAuthenticatorsRequest) String() string
func (*GetAuthenticatorsRequest) Unmarshal ¶
func (m *GetAuthenticatorsRequest) Unmarshal(dAtA []byte) error
func (*GetAuthenticatorsRequest) XXX_DiscardUnknown ¶
func (m *GetAuthenticatorsRequest) XXX_DiscardUnknown()
func (*GetAuthenticatorsRequest) XXX_Marshal ¶
func (m *GetAuthenticatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAuthenticatorsRequest) XXX_Merge ¶
func (m *GetAuthenticatorsRequest) XXX_Merge(src proto.Message)
func (*GetAuthenticatorsRequest) XXX_Size ¶
func (m *GetAuthenticatorsRequest) XXX_Size() int
func (*GetAuthenticatorsRequest) XXX_Unmarshal ¶
func (m *GetAuthenticatorsRequest) XXX_Unmarshal(b []byte) error
type GetAuthenticatorsResponse ¶
type GetAuthenticatorsResponse struct {
AccountAuthenticators []*AccountAuthenticator `protobuf:"bytes,1,rep,name=account_authenticators,json=accountAuthenticators,proto3" json:"account_authenticators,omitempty"`
}
MsgGetAuthenticatorsResponse defines the Msg/GetAuthenticators response type.
func (*GetAuthenticatorsResponse) Descriptor ¶
func (*GetAuthenticatorsResponse) Descriptor() ([]byte, []int)
func (*GetAuthenticatorsResponse) GetAccountAuthenticators ¶
func (m *GetAuthenticatorsResponse) GetAccountAuthenticators() []*AccountAuthenticator
func (*GetAuthenticatorsResponse) Marshal ¶
func (m *GetAuthenticatorsResponse) Marshal() (dAtA []byte, err error)
func (*GetAuthenticatorsResponse) MarshalTo ¶
func (m *GetAuthenticatorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetAuthenticatorsResponse) MarshalToSizedBuffer ¶
func (m *GetAuthenticatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAuthenticatorsResponse) ProtoMessage ¶
func (*GetAuthenticatorsResponse) ProtoMessage()
func (*GetAuthenticatorsResponse) Reset ¶
func (m *GetAuthenticatorsResponse) Reset()
func (*GetAuthenticatorsResponse) Size ¶
func (m *GetAuthenticatorsResponse) Size() (n int)
func (*GetAuthenticatorsResponse) String ¶
func (m *GetAuthenticatorsResponse) String() string
func (*GetAuthenticatorsResponse) Unmarshal ¶
func (m *GetAuthenticatorsResponse) Unmarshal(dAtA []byte) error
func (*GetAuthenticatorsResponse) XXX_DiscardUnknown ¶
func (m *GetAuthenticatorsResponse) XXX_DiscardUnknown()
func (*GetAuthenticatorsResponse) XXX_Marshal ¶
func (m *GetAuthenticatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAuthenticatorsResponse) XXX_Merge ¶
func (m *GetAuthenticatorsResponse) XXX_Merge(src proto.Message)
func (*GetAuthenticatorsResponse) XXX_Size ¶
func (m *GetAuthenticatorsResponse) XXX_Size() int
func (*GetAuthenticatorsResponse) XXX_Unmarshal ¶
func (m *GetAuthenticatorsResponse) XXX_Unmarshal(b []byte) error
type MsgAddAuthenticator ¶
type MsgAddAuthenticator struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` AuthenticatorType string `protobuf:"bytes,2,opt,name=authenticator_type,json=authenticatorType,proto3" json:"authenticator_type,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` }
MsgAddAuthenticatorRequest defines the Msg/AddAuthenticator request type.
func (*MsgAddAuthenticator) Descriptor ¶
func (*MsgAddAuthenticator) Descriptor() ([]byte, []int)
func (*MsgAddAuthenticator) GetAuthenticatorType ¶
func (m *MsgAddAuthenticator) GetAuthenticatorType() string
func (*MsgAddAuthenticator) GetData ¶
func (m *MsgAddAuthenticator) GetData() []byte
func (*MsgAddAuthenticator) GetSender ¶
func (m *MsgAddAuthenticator) GetSender() string
func (MsgAddAuthenticator) GetSignBytes ¶
func (msg MsgAddAuthenticator) GetSignBytes() []byte
func (*MsgAddAuthenticator) GetSigners ¶
func (msg *MsgAddAuthenticator) GetSigners() []sdk.AccAddress
func (*MsgAddAuthenticator) Marshal ¶
func (m *MsgAddAuthenticator) Marshal() (dAtA []byte, err error)
func (*MsgAddAuthenticator) MarshalTo ¶
func (m *MsgAddAuthenticator) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddAuthenticator) MarshalToSizedBuffer ¶
func (m *MsgAddAuthenticator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddAuthenticator) ProtoMessage ¶
func (*MsgAddAuthenticator) ProtoMessage()
func (*MsgAddAuthenticator) Reset ¶
func (m *MsgAddAuthenticator) Reset()
func (MsgAddAuthenticator) Route ¶
func (msg MsgAddAuthenticator) Route() string
func (*MsgAddAuthenticator) Size ¶
func (m *MsgAddAuthenticator) Size() (n int)
func (*MsgAddAuthenticator) String ¶
func (m *MsgAddAuthenticator) String() string
func (MsgAddAuthenticator) Type ¶
func (msg MsgAddAuthenticator) Type() string
func (*MsgAddAuthenticator) Unmarshal ¶
func (m *MsgAddAuthenticator) Unmarshal(dAtA []byte) error
func (*MsgAddAuthenticator) ValidateBasic ¶
func (msg *MsgAddAuthenticator) ValidateBasic() error
func (*MsgAddAuthenticator) XXX_DiscardUnknown ¶
func (m *MsgAddAuthenticator) XXX_DiscardUnknown()
func (*MsgAddAuthenticator) XXX_Marshal ¶
func (m *MsgAddAuthenticator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddAuthenticator) XXX_Merge ¶
func (m *MsgAddAuthenticator) XXX_Merge(src proto.Message)
func (*MsgAddAuthenticator) XXX_Size ¶
func (m *MsgAddAuthenticator) XXX_Size() int
func (*MsgAddAuthenticator) XXX_Unmarshal ¶
func (m *MsgAddAuthenticator) XXX_Unmarshal(b []byte) error
type MsgAddAuthenticatorResponse ¶
type MsgAddAuthenticatorResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
MsgAddAuthenticatorResponse defines the Msg/AddAuthenticator response type.
func (*MsgAddAuthenticatorResponse) Descriptor ¶
func (*MsgAddAuthenticatorResponse) Descriptor() ([]byte, []int)
func (*MsgAddAuthenticatorResponse) GetSuccess ¶
func (m *MsgAddAuthenticatorResponse) GetSuccess() bool
func (*MsgAddAuthenticatorResponse) Marshal ¶
func (m *MsgAddAuthenticatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddAuthenticatorResponse) MarshalTo ¶
func (m *MsgAddAuthenticatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddAuthenticatorResponse) MarshalToSizedBuffer ¶
func (m *MsgAddAuthenticatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddAuthenticatorResponse) ProtoMessage ¶
func (*MsgAddAuthenticatorResponse) ProtoMessage()
func (*MsgAddAuthenticatorResponse) Reset ¶
func (m *MsgAddAuthenticatorResponse) Reset()
func (*MsgAddAuthenticatorResponse) Size ¶
func (m *MsgAddAuthenticatorResponse) Size() (n int)
func (*MsgAddAuthenticatorResponse) String ¶
func (m *MsgAddAuthenticatorResponse) String() string
func (*MsgAddAuthenticatorResponse) Unmarshal ¶
func (m *MsgAddAuthenticatorResponse) Unmarshal(dAtA []byte) error
func (*MsgAddAuthenticatorResponse) XXX_DiscardUnknown ¶
func (m *MsgAddAuthenticatorResponse) XXX_DiscardUnknown()
func (*MsgAddAuthenticatorResponse) XXX_Marshal ¶
func (m *MsgAddAuthenticatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddAuthenticatorResponse) XXX_Merge ¶
func (m *MsgAddAuthenticatorResponse) XXX_Merge(src proto.Message)
func (*MsgAddAuthenticatorResponse) XXX_Size ¶
func (m *MsgAddAuthenticatorResponse) XXX_Size() int
func (*MsgAddAuthenticatorResponse) XXX_Unmarshal ¶
func (m *MsgAddAuthenticatorResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { AddAuthenticator(ctx context.Context, in *MsgAddAuthenticator, opts ...grpc.CallOption) (*MsgAddAuthenticatorResponse, error) RemoveAuthenticator(ctx context.Context, in *MsgRemoveAuthenticator, opts ...grpc.CallOption) (*MsgRemoveAuthenticatorResponse, error) // SetActiveState sets the active state of the authenticator. // Primarily used for circuit breaking. SetActiveState(ctx context.Context, in *MsgSetActiveState, opts ...grpc.CallOption) (*MsgSetActiveStateResponse, 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 MsgRemoveAuthenticator ¶
type MsgRemoveAuthenticator struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` }
MsgRemoveAuthenticatorRequest defines the Msg/RemoveAuthenticator request type.
func (*MsgRemoveAuthenticator) Descriptor ¶
func (*MsgRemoveAuthenticator) Descriptor() ([]byte, []int)
func (*MsgRemoveAuthenticator) GetId ¶
func (m *MsgRemoveAuthenticator) GetId() uint64
func (*MsgRemoveAuthenticator) GetSender ¶
func (m *MsgRemoveAuthenticator) GetSender() string
func (MsgRemoveAuthenticator) GetSignBytes ¶
func (msg MsgRemoveAuthenticator) GetSignBytes() []byte
func (*MsgRemoveAuthenticator) GetSigners ¶
func (msg *MsgRemoveAuthenticator) GetSigners() []sdk.AccAddress
func (*MsgRemoveAuthenticator) Marshal ¶
func (m *MsgRemoveAuthenticator) Marshal() (dAtA []byte, err error)
func (*MsgRemoveAuthenticator) MarshalTo ¶
func (m *MsgRemoveAuthenticator) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveAuthenticator) MarshalToSizedBuffer ¶
func (m *MsgRemoveAuthenticator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveAuthenticator) ProtoMessage ¶
func (*MsgRemoveAuthenticator) ProtoMessage()
func (*MsgRemoveAuthenticator) Reset ¶
func (m *MsgRemoveAuthenticator) Reset()
func (MsgRemoveAuthenticator) Route ¶
func (msg MsgRemoveAuthenticator) Route() string
func (*MsgRemoveAuthenticator) Size ¶
func (m *MsgRemoveAuthenticator) Size() (n int)
func (*MsgRemoveAuthenticator) String ¶
func (m *MsgRemoveAuthenticator) String() string
func (MsgRemoveAuthenticator) Type ¶
func (msg MsgRemoveAuthenticator) Type() string
func (*MsgRemoveAuthenticator) Unmarshal ¶
func (m *MsgRemoveAuthenticator) Unmarshal(dAtA []byte) error
func (*MsgRemoveAuthenticator) ValidateBasic ¶
func (msg *MsgRemoveAuthenticator) ValidateBasic() error
func (*MsgRemoveAuthenticator) XXX_DiscardUnknown ¶
func (m *MsgRemoveAuthenticator) XXX_DiscardUnknown()
func (*MsgRemoveAuthenticator) XXX_Marshal ¶
func (m *MsgRemoveAuthenticator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveAuthenticator) XXX_Merge ¶
func (m *MsgRemoveAuthenticator) XXX_Merge(src proto.Message)
func (*MsgRemoveAuthenticator) XXX_Size ¶
func (m *MsgRemoveAuthenticator) XXX_Size() int
func (*MsgRemoveAuthenticator) XXX_Unmarshal ¶
func (m *MsgRemoveAuthenticator) XXX_Unmarshal(b []byte) error
type MsgRemoveAuthenticatorResponse ¶
type MsgRemoveAuthenticatorResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
MsgRemoveAuthenticatorResponse defines the Msg/RemoveAuthenticator response type.
func (*MsgRemoveAuthenticatorResponse) Descriptor ¶
func (*MsgRemoveAuthenticatorResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveAuthenticatorResponse) GetSuccess ¶
func (m *MsgRemoveAuthenticatorResponse) GetSuccess() bool
func (*MsgRemoveAuthenticatorResponse) Marshal ¶
func (m *MsgRemoveAuthenticatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveAuthenticatorResponse) MarshalTo ¶
func (m *MsgRemoveAuthenticatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveAuthenticatorResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveAuthenticatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveAuthenticatorResponse) ProtoMessage ¶
func (*MsgRemoveAuthenticatorResponse) ProtoMessage()
func (*MsgRemoveAuthenticatorResponse) Reset ¶
func (m *MsgRemoveAuthenticatorResponse) Reset()
func (*MsgRemoveAuthenticatorResponse) Size ¶
func (m *MsgRemoveAuthenticatorResponse) Size() (n int)
func (*MsgRemoveAuthenticatorResponse) String ¶
func (m *MsgRemoveAuthenticatorResponse) String() string
func (*MsgRemoveAuthenticatorResponse) Unmarshal ¶
func (m *MsgRemoveAuthenticatorResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveAuthenticatorResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveAuthenticatorResponse) XXX_DiscardUnknown()
func (*MsgRemoveAuthenticatorResponse) XXX_Marshal ¶
func (m *MsgRemoveAuthenticatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveAuthenticatorResponse) XXX_Merge ¶
func (m *MsgRemoveAuthenticatorResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveAuthenticatorResponse) XXX_Size ¶
func (m *MsgRemoveAuthenticatorResponse) XXX_Size() int
func (*MsgRemoveAuthenticatorResponse) XXX_Unmarshal ¶
func (m *MsgRemoveAuthenticatorResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { AddAuthenticator(context.Context, *MsgAddAuthenticator) (*MsgAddAuthenticatorResponse, error) RemoveAuthenticator(context.Context, *MsgRemoveAuthenticator) (*MsgRemoveAuthenticatorResponse, error) // SetActiveState sets the active state of the authenticator. // Primarily used for circuit breaking. SetActiveState(context.Context, *MsgSetActiveState) (*MsgSetActiveStateResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetActiveState ¶
type MsgSetActiveState struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"` }
func (*MsgSetActiveState) Descriptor ¶
func (*MsgSetActiveState) Descriptor() ([]byte, []int)
func (*MsgSetActiveState) GetActive ¶
func (m *MsgSetActiveState) GetActive() bool
func (*MsgSetActiveState) GetSender ¶
func (m *MsgSetActiveState) GetSender() string
func (MsgSetActiveState) GetSignBytes ¶
func (msg MsgSetActiveState) GetSignBytes() []byte
func (*MsgSetActiveState) GetSigners ¶
func (msg *MsgSetActiveState) GetSigners() []sdk.AccAddress
func (*MsgSetActiveState) Marshal ¶
func (m *MsgSetActiveState) Marshal() (dAtA []byte, err error)
func (*MsgSetActiveState) MarshalTo ¶
func (m *MsgSetActiveState) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetActiveState) MarshalToSizedBuffer ¶
func (m *MsgSetActiveState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetActiveState) ProtoMessage ¶
func (*MsgSetActiveState) ProtoMessage()
func (*MsgSetActiveState) Reset ¶
func (m *MsgSetActiveState) Reset()
func (MsgSetActiveState) Route ¶
func (msg MsgSetActiveState) Route() string
func (*MsgSetActiveState) Size ¶
func (m *MsgSetActiveState) Size() (n int)
func (*MsgSetActiveState) String ¶
func (m *MsgSetActiveState) String() string
func (MsgSetActiveState) Type ¶
func (msg MsgSetActiveState) Type() string
func (*MsgSetActiveState) Unmarshal ¶
func (m *MsgSetActiveState) Unmarshal(dAtA []byte) error
func (*MsgSetActiveState) ValidateBasic ¶
func (msg *MsgSetActiveState) ValidateBasic() error
func (*MsgSetActiveState) XXX_DiscardUnknown ¶
func (m *MsgSetActiveState) XXX_DiscardUnknown()
func (*MsgSetActiveState) XXX_Marshal ¶
func (m *MsgSetActiveState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetActiveState) XXX_Merge ¶
func (m *MsgSetActiveState) XXX_Merge(src proto.Message)
func (*MsgSetActiveState) XXX_Size ¶
func (m *MsgSetActiveState) XXX_Size() int
func (*MsgSetActiveState) XXX_Unmarshal ¶
func (m *MsgSetActiveState) XXX_Unmarshal(b []byte) error
type MsgSetActiveStateResponse ¶
type MsgSetActiveStateResponse struct { }
func (*MsgSetActiveStateResponse) Descriptor ¶
func (*MsgSetActiveStateResponse) Descriptor() ([]byte, []int)
func (*MsgSetActiveStateResponse) Marshal ¶
func (m *MsgSetActiveStateResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetActiveStateResponse) MarshalTo ¶
func (m *MsgSetActiveStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetActiveStateResponse) MarshalToSizedBuffer ¶
func (m *MsgSetActiveStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetActiveStateResponse) ProtoMessage ¶
func (*MsgSetActiveStateResponse) ProtoMessage()
func (*MsgSetActiveStateResponse) Reset ¶
func (m *MsgSetActiveStateResponse) Reset()
func (*MsgSetActiveStateResponse) Size ¶
func (m *MsgSetActiveStateResponse) Size() (n int)
func (*MsgSetActiveStateResponse) String ¶
func (m *MsgSetActiveStateResponse) String() string
func (*MsgSetActiveStateResponse) Unmarshal ¶
func (m *MsgSetActiveStateResponse) Unmarshal(dAtA []byte) error
func (*MsgSetActiveStateResponse) XXX_DiscardUnknown ¶
func (m *MsgSetActiveStateResponse) XXX_DiscardUnknown()
func (*MsgSetActiveStateResponse) XXX_Marshal ¶
func (m *MsgSetActiveStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetActiveStateResponse) XXX_Merge ¶
func (m *MsgSetActiveStateResponse) XXX_Merge(src proto.Message)
func (*MsgSetActiveStateResponse) XXX_Size ¶
func (m *MsgSetActiveStateResponse) XXX_Size() int
func (*MsgSetActiveStateResponse) XXX_Unmarshal ¶
func (m *MsgSetActiveStateResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // MaximumUnauthenticatedGas defines the maximum amount of gas that can be // used to authenticate a transaction in ante handler without having fee payer // authenticated. MaximumUnauthenticatedGas uint64 `` /* 174-byte string literal not displayed */ // IsSmartAccountActive defines the state of the authenticator. // If set to false, the authenticator module will not be used // and the classic cosmos sdk authentication will be used instead. IsSmartAccountActive bool `` /* 157-byte string literal not displayed */ // CircuitBreakerControllers defines list of addresses that are allowed to // set is_smart_account_active without going through governance. CircuitBreakerControllers []string `` /* 173-byte string literal not displayed */ }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) GetCircuitBreakerControllers ¶
func (*Params) GetIsSmartAccountActive ¶
func (*Params) GetMaximumUnauthenticatedGas ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) GetAuthenticator(ctx context.Context, in *GetAuthenticatorRequest, opts ...grpc.CallOption) (*GetAuthenticatorResponse, error) GetAuthenticators(ctx context.Context, in *GetAuthenticatorsRequest, opts ...grpc.CallOption) (*GetAuthenticatorsResponse, 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 ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params 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 ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) GetAuthenticator(context.Context, *GetAuthenticatorRequest) (*GetAuthenticatorResponse, error) GetAuthenticators(context.Context, *GetAuthenticatorsRequest) (*GetAuthenticatorsResponse, error) }
QueryServer is the server API for Query service.
type TxExtension ¶
type TxExtension struct { // selected_authenticators holds the authenticator_id for the chosen // authenticator per message. SelectedAuthenticators []uint64 `` /* 135-byte string literal not displayed */ }
TxExtension allows for additional authenticator-specific data in transactions.
func (*TxExtension) Descriptor ¶
func (*TxExtension) Descriptor() ([]byte, []int)
func (*TxExtension) GetSelectedAuthenticators ¶
func (m *TxExtension) GetSelectedAuthenticators() []uint64
func (*TxExtension) Marshal ¶
func (m *TxExtension) Marshal() (dAtA []byte, err error)
func (*TxExtension) MarshalToSizedBuffer ¶
func (m *TxExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxExtension) ProtoMessage ¶
func (*TxExtension) ProtoMessage()
func (*TxExtension) Reset ¶
func (m *TxExtension) Reset()
func (*TxExtension) Size ¶
func (m *TxExtension) Size() (n int)
func (*TxExtension) String ¶
func (m *TxExtension) String() string
func (*TxExtension) Unmarshal ¶
func (m *TxExtension) Unmarshal(dAtA []byte) error
func (*TxExtension) XXX_DiscardUnknown ¶
func (m *TxExtension) XXX_DiscardUnknown()
func (*TxExtension) XXX_Marshal ¶
func (m *TxExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxExtension) XXX_Merge ¶
func (m *TxExtension) XXX_Merge(src proto.Message)
func (*TxExtension) XXX_Size ¶
func (m *TxExtension) XXX_Size() int
func (*TxExtension) XXX_Unmarshal ¶
func (m *TxExtension) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddAuthenticator ¶
func (*UnimplementedMsgServer) AddAuthenticator(ctx context.Context, req *MsgAddAuthenticator) (*MsgAddAuthenticatorResponse, error)
func (*UnimplementedMsgServer) RemoveAuthenticator ¶
func (*UnimplementedMsgServer) RemoveAuthenticator(ctx context.Context, req *MsgRemoveAuthenticator) (*MsgRemoveAuthenticatorResponse, error)
func (*UnimplementedMsgServer) SetActiveState ¶
func (*UnimplementedMsgServer) SetActiveState(ctx context.Context, req *MsgSetActiveState) (*MsgSetActiveStateResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GetAuthenticator ¶
func (*UnimplementedQueryServer) GetAuthenticator(ctx context.Context, req *GetAuthenticatorRequest) (*GetAuthenticatorResponse, error)
func (*UnimplementedQueryServer) GetAuthenticators ¶
func (*UnimplementedQueryServer) GetAuthenticators(ctx context.Context, req *GetAuthenticatorsRequest) (*GetAuthenticatorsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)