Function txGuard(address _poolManagerLogic, address, bytes data) → uint16 txType

Transaction guard for approving assets


  • _poolManagerLogic: Pool address

  • data: Transaction call data attempt by manager

Return Values:

  • txType transaction type described in PoolLogic

Function withdrawProcessing(address pool, address asset, uint256 portion, address) → address withdrawAsset, uint256 withdrawBalance, struct IAssetGuard.MultiTransaction[] transactions

Creates transaction data for withdrawing tokens

Return Values:

  • withdrawAsset and

  • withdrawBalance are used to withdraw portion of asset balance to investor

  • transactions is used to execute the withdrawal transaction in PoolLogic

Function getBalance(address pool, address asset) → uint256 balance

Returns the balance of the managed asset

Return Values:

  • balance The asset balance of given pool

Function getDecimals(address asset) → uint256 decimals

Returns the decimal of the managed asset


  • asset: Address of the managed asset

Return Values:

  • decimals The decimal of given asset

Function removeAssetCheck(address pool, address asset)

Necessary check for remove asset


  • pool: Address of the pool

  • asset: Address of the remove asset

Last updated