ERC20 token on the Ethereum Blockchain that provides total exposure to the cryptocurrency sector. Uses Open Zeppelin ERC20 Library.
The computed interface ID according to ERC-165. The interface ID is a XOR of all interface method selectors.
if enabled TCAP can't be minted if the total supply is above or equal the cap value.
Maximum value the total supply of TCAP.
Address to Vault Handler. Only vault handlers can mint and burn TCAP.
The computed interface ID according to ERC-165. Indicates if this contract supports the tcap erc20 functions.
The computed interface ID according to ERC-165. Indicates if this contract supports the ERC165 interface.
Events are called each time the state changes on the contract.
An event emitted when a vault handler is added.
An event emitted when a vault handler is removed.
An event emitted when the cap value is updated.
An event emitted when the cap is enabled or disabled.
Reverts if called by any account that is not a vault Vault.
This function is called before before each token transfer or mint, the mint of tokens to check if the total supply isn't above the cap. Reverts if TCAP tokens are sent to the TCAP contract.
See Open Zeppelin ERC20-_beforeTokenTransfer.
ERC165 Standard for support of interfaces.
Called once the contract it's deployed, sets the orchestrator as owner.
Adds a new address as a vault vault handler contract. Only owner can call it.
Removes an address as a vault vault handler contract. Only owner can call it.
Mints TCAP Tokens. Only vault handler can call it.
Burns TCAP Tokens. Only vault handler can call it.
Sets the maximum capacity of the token. When capEnabled is true, mint is not allowed to issue tokens that would increase the total supply above the specified capacity. Only owner can call it.
Enables or Disables the Token Cap. When capEnabled is true, minting will not be allowed above the max capacity. Only owner can call it