types

package
v28.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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"
)
View Source
const (
	TypeMsgAddAuthenticator    = "add_authenticator"
	TypeMsgRemoveAuthenticator = "remove_authenticator"
)
View Source
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"
)
View Source
const DefaultIndex uint64 = 0

DefaultIndex is the default global index

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// Store prefix keys
	KeyNextAccountAuthenticatorIdPrefix = []byte{0x01}
	KeyAccountAuthenticatorsPrefix      = []byte{0x02}

	// Parameter keys
	KeyMaximumUnauthenticatedGas = []byte("MaximumUnauthenticatedGas")
	KeyIsSmartAccountActive      = []byte("IsSmartAccountActive")
	KeyCircuitBreakerControllers = []byte("CircuitBreakerControllers")
)
View Source
var (
	ErrInvalidLengthModels        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModels          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModels = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = 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 RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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 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 AuthenticatorTxOptions

type AuthenticatorTxOptions interface {
	GetSelectedAuthenticators() []uint64
}

AuthenticatorTxOptions

type ContractKeeper

type ContractKeeper interface {
	Sudo(ctx sdk.Context, contractAddress sdk.AccAddress, msg []byte) ([]byte, error)
}

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) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, 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 (*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) 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) Size

func (m *MsgSetActiveState) Size() (n int)

func (*MsgSetActiveState) String

func (m *MsgSetActiveState) String() 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 DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) GetCircuitBreakerControllers

func (m *Params) GetCircuitBreakerControllers() []string

func (*Params) GetIsSmartAccountActive

func (m *Params) GetIsSmartAccountActive() bool

func (*Params) GetMaximumUnauthenticatedGas

func (m *Params) GetMaximumUnauthenticatedGas() uint64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *TxExtension) MarshalTo(dAtA []byte) (int, 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) RemoveAuthenticator

func (*UnimplementedMsgServer) SetActiveState

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetAuthenticator

func (*UnimplementedQueryServer) GetAuthenticators

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL