Module abstract_core::adapter
source · Expand description
§Abstract Api Base
abstract_core::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 proxy 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§
- An adapter request. If proxy is None, then the sender must be an Account manager and the proxy address is extrapolated from the Account id.
- Used by Abstract to instantiate the contract The contract is then registered on the version control contract using
crate::version_control::ExecuteMsg::ProposeModules
.
Enums§
- Configuration message for the adapter
- Query adapter message
Traits§
- Trait indicates that the type is used as an app message in the
ExecuteMsg
enum. EnablesInto<ExecuteMsg>
for BOOT fn-generation support. - Trait indicates that the type is used as an api message in the
QueryMsg
enum. EnablesInto<QueryMsg>
for BOOT fn-generation support.