Coins can be deposited from a user's aptos_framework::coin::CoinStore
into their MarketAccount
via deposit_from_coinstore
.
Standalone coins can be deposited to a user's MarketAccount
via
deposit_coins
.
Generic assets can be deposited to a user's MarketAccount
via
deposit_generic_asset
.
Coins can be withdrawn from a user's MarketAccount
into their aptos_framework::coin::CoinStore
via withdraw_to_coinstore
.
Coins can be withdrawn from a user's MarketAccount
and returned as standalone coins (under the authority of a signing user) via withdraw_coins_user
.
Coins can be withdrawn from a user's MarketAccount
and returned as standalone coins (under the authority of a general custodian) via withdraw_coins_custodian
.
Generic assets can be withdrawn from a user's MarketAccount
via
withdraw_generic_asset
.
get_asset_counts_user
returns the asset counts from a user's MarketAccount
, under the authority of a signing user.
get_asset_counts_custodian
returns the asset counts from a user's MarketAccount
, under the authority of a general custodian.