Module abstract_core::proxy
source · Expand description
§Account Proxy
abstract_core::proxy
hold all the assets associated with the Account instance. It accepts Cosmos messages from whitelisted addresses and executes them.
§Description
The proxy is part of the Core Account contracts along with the crate::manager
contract.
This contract is responsible for executing Cosmos messages and calculating the value of its internal assets.
§Price Sources
price sources are what allow the proxy contract to provide value queries for its assets. It needs to be configured using the ExecuteMsg::UpdateAssets
endpoint.
After configuring the price sources QueryMsg::TotalValue
can be called to get the total holding value.
Modules§
Structs§
- Human readable config for a single asset
- Human readable asset configuration
- non-human readable asset configuration
- External contract value response
- Query message to external contract to get asset value