AbstractBatchStorage


Functions:

Modifiers:

Graphs:


Function Definitions:

getBatch()

getBatch(bytes32 batchId) public  returns (struct Batch)

getBatchType()

getBatchType(bytes32 batchId) public  returns (enum BatchType)

getAccountBatches()

getAccountBatches(address _account) external  returns (bytes32[])

getAccountBalance()

getAccountBalance(bytes32 batchId, address _account) external  returns (uint256)

createBatch()

createBatch(enum BatchType _batchType, struct BatchTokens _tokens) external  returns (bytes32)

deposit()

deposit(bytes32 batchId, address owner, uint256 amount) public  returns (uint256)

claim()

claim(bytes32 batchId, address owner, uint256 shares, address recipient) public  returns (uint256, uint256)

previewClaim()

previewClaim(bytes32 batchId, address owner, uint256 shares) public  returns (uint256, uint256, uint256)

moveUnclaimedIntoCurrentBatch()

moveUnclaimedIntoCurrentBatch(bytes32 _sourceBatch, bytes32 _destinationBatch, address owner, uint256 shares) external  returns (uint256)

withdraw()

withdraw(bytes32 batchId, address owner, uint256 amount, address recipient) public  returns (uint256)

approve()

approve(contract IERC20 token, address delegatee, bytes32 batchId, uint256 amount) external 

withdrawSourceTokenFromBatch()

withdrawSourceTokenFromBatch(bytes32 batchId) public  returns (uint256)

depositTargetTokensIntoBatch()

depositTargetTokensIntoBatch(bytes32 batchId, uint256 amount) external  returns (bool)

Events

Modifiers

onlyOwnerOf()

onlyOwnerOf(bytes32 batchId)

Graphs

Dependency Graph

Inheritance Graph

Last updated