Crate abstract_sdk
source ·Expand description
This crate provides a set of modular APIs for developers to use in their [CosmWasm](https://cosmwasm.com/) smart-contracts.
Details
To use an API either construct a feature object
or use an Abstract base contract as the starting-point of your application.
The available base contracts are:
use abstract_sdk::TransferInterface;
fn forward_deposit(deps: Deps, my_contract: MyContract, message_info: MessageInfo) -> StdResult<CosmosMsg> {
let send_deposit_to_vault_msg = my_contract.bank(deps).deposit_coins(message_info.funds)?;
Ok(send_deposit_to_vault_msg)
}
Re-exports
pub extern crate abstract_os as os;
Modules
Traits
Interact with other applications on the OS.
Execute an arbitrary
CosmosMsg
action on the OS.Interact with other chains over IBC.
Resolve an
AbstractNameService
entry into its value.Bank assets from and to the Abstract OS.
Retrieve asset-registration information from the OS.
Query asset values and balances.
Verify if a sender’s address is associated with an OS.
Access the Abstract Version Register to query module information.