BalanceManagerContract class for managing BalanceManager operations.
Configuration for BalanceManagerContract
The key of the BalanceManager
The key of the coin to check the balance of
A function that takes a Transaction object
Check the balance of the BalanceManager
Create and share a new BalanceManager
Create and share a new BalanceManager, manually set the owner
The key of the coin to deposit
The amount to deposit
Deposit funds into the BalanceManager
The name of the BalanceManager
The name of the coin to deposit
Deposit using the DepositCap
Generate a trade proof for the BalanceManager. Calls the appropriate function based on whether tradeCap is set.
The ID of the BalanceManager
Generate a trade proof as the owner
The ID of the tradeCap
Generate a trade proof as a trader
Get the ID of the BalanceManager
Mint a DepositCap
Mint a TradeCap
Mint a WithdrawalCap
Get the owner of the BalanceManager
The key of the coin to withdraw
The recipient of the withdrawn funds
Withdraw all funds from the BalanceManager
The amount to withdraw
Withdraw funds from the BalanceManager
The name of the coin to withdraw
Withdraw using the WithdrawCap
BalanceManagerContract class for managing BalanceManager operations.