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 Module
Arguments
Name
Type
Description
_securityToken
address
Address of the security token
_polyToken
address
getInitFunction
⤾ overrides IModule.getInitFunction
This function returns the signature of configure function
function getInitFunction() public pure
returns(bytes4)
Arguments
Name
Type
Description
redeemTokens
To redeem tokens and track redemptions
function redeemTokens(uint256 _value) public nonpayable
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
function getPermissions() public view
returns(bytes32[])
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?