Burn module for burning tokens and keeping track of burnt amounts (TrackedRedemption.sol)

View Source: contracts/modules/Experimental/Burn/TrackedRedemption.solarrow-up-right

↗ Extends: IBurnarrow-up-right, Modulearrow-up-right ↘ Derived Contracts: MockRedemptionManagerarrow-up-right

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.getInitFunctionarrow-up-right

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.getPermissionsarrow-up-right

Returns the permissions flag that are associated with CountTransferManager

Arguments

Name

Type

Description

Last updated

Was this helpful?