Burn module for burning tokens and keeping track of burnt amounts (MockRedemptionManager.sol)
View Source: contracts/mocks/MockRedemptionManager.sol
↗ Extends: TrackedRedemption
MockRedemptionManager
Contract Members
Constants & Variables
Events
Functions
Constructor
Arguments
Name | Type | Description |
_securityToken | address | Address of the security token |
_polyToken | address |
transferToRedeem
Transfers tokens to Module to burn
Arguments
Name | Type | Description |
_value | uint256 | The number of tokens to redeem |
redeemTokenByOwner
Used to redeem tokens by the module
Arguments
Name | Type | Description |
_value | uint256 | The number of tokens to redeem |
redeemTokensByPartition
To redeem tokens and track redemptions
Arguments
Name | Type | Description |
_value | uint256 | The number of tokens to redeem |
_partition | bytes32 | Partition from which balance will be deducted |
_data | bytes | Extra data parmeter pass to do some offchain operation |
operatorRedeemTokensByPartition
To redeem tokens and track redemptions
Arguments
Name | Type | Description |
_value | uint256 | The number of tokens to redeem |
_partition | bytes32 | Partition from which balance will be deducted |
_data | bytes | Extra data parmeter pass to do some offchain operation |
_operatorData | bytes | Data to log the operator call |
operatorTransferToRedeem
Arguments
Name | Type | Description |
_value | uint256 | |
_partition | bytes32 | |
_data | bytes | |
_operatorData | bytes |
Last updated