Expand description
§Abstract Api Base
abstract_std::adapter
implements shared functionality that’s useful for creating new Abstract adapters.
§Description
An Abstract adapter contract is a contract that is allowed to perform actions on a account contract. It is not migratable and its functionality is shared between users, meaning that all users call the same contract address to perform operations on the Account. The adapter structure is well-suited for implementing standard interfaces to external services like dexes, lending platforms, etc.
Structs§
- Adapter
Config Response - Adapter
Request Msg - An adapter request. If account is None, then the sender must be an Account.
- Adapter
State - The BaseState contains the main addresses needed for sending and verifying messages Every DApp should use the provided ans_host contract for token/contract address resolution.
- Authorized
Addresses Response - Base
Execute Msg - Base
Instantiate Msg - Used by Abstract to instantiate the contract
The contract is then registered on the registry contract using
crate::registry::ExecuteMsg::ProposeModules
.
Enums§
- Adapter
Base Msg - Configuration message for the adapter
- Base
Query Msg - Query adapter message
Traits§
- Adapter
Execute Msg - Trait indicates that the type is used as an app message
in the
ExecuteMsg
enum. EnablesInto<ExecuteMsg>
for BOOT fn-generation support. - Adapter
Query Msg - Trait indicates that the type is used as an api message
in the
QueryMsg
enum. EnablesInto<QueryMsg>
for BOOT fn-generation support. - Async
Base Query MsgFns - Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.
- Base
Query MsgFns - Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.