Burn module for burning tokens and keeping track of burnt amounts (TrackedRedemption.sol)
View Source: contracts/modules/Experimental/Burn/TrackedRedemption.sol
↗ Extends: IBurn, Module ↘ Derived Contracts: MockRedemptionManager
TrackedRedemption
Contract Members
Constants & Variables
mapping(address => uint256) internal redeemedTokens;Events
event Redeemed(address _investor, uint256 _value);Functions
Constructor
function (address _securityToken, address _polyToken) public nonpayable ModuleArguments
Name
Type
Description
_securityToken
address
Address of the security token
_polyToken
address
getInitFunction
⤾ overrides IModule.getInitFunction
This function returns the signature of configure function
Arguments
Name
Type
Description
redeemTokens
To redeem tokens and track redemptions
Arguments
Name
Type
Description
_value
uint256
The number of tokens to redeem
getPermissions
⤾ overrides IModule.getPermissions
Returns the permissions flag that are associated with CountTransferManager
Arguments
Name
Type
Description
PreviousContract used to store layout for the DummySTO storage (DummySTOStorage.sol)NextInterface that every module contract should implement (IModule.sol)
Last updated
Was this helpful?