# Functions
No description provided by the author
ExecModule can be used to execute a message towards a module, when the response type is unknown.
No description provided by the author
Funds returns the funds associated with the execution context.
IsRoutingError returns true if the error is a routing error, which typically occurs when a message cannot be matched to a handler.
MakeAccountContext creates a new account execution context given: storeSvc: which fetches the x/accounts module store.
MakeAccountsMap creates a map of account names to account implementations from a list of account creator functions.
No description provided by the author
No description provided by the author
NewExecuteBuilder creates a new ExecuteBuilder instance.
NewInitBuilder creates a new InitBuilder instance.
No description provided by the author
NewQueryBuilder creates a new QueryBuilder instance.
PackAny packs a proto message into an anypb.Any.
QueryModule can be used by an account to execute a module query.
RegisterExecuteHandler registers an execution handler for a smart account that uses protobuf.
RegisterInitHandler registers an initialisation handler for a smart account that uses protobuf.
RegisterQueryHandler registers a query handler for a smart account that uses protobuf.
Sender returns the address of the entity invoking the account action.
No description provided by the author
UnpackAny unpacks an anypb.Any into a proto message.
No description provided by the author
No description provided by the author
Whoami returns the address of the account being invoked.
# Variables
No description provided by the author
# Structs
Dependencies are passed to the constructor of a smart account.
ExecuteBuilder defines a smart account's execution router, it will be used to map an execution message to a handler function for a specific account.
HandlerSchema defines the schema of a handler.
Implementation wraps an Account implementer in order to provide a concrete and non-generic implementation usable by the x/accounts module.
InitBuilder defines a smart account's initialisation handler builder.
MessageSchema defines the schema of a message.
QueryBuilder defines a smart account's query router, it will be used to map a query message to a handler function for a specific account.
# Type aliases
AccountCreatorFunc is a function that creates an account.
No description provided by the author
No description provided by the author
No description provided by the author