Contract 0x3f553d35da41c1facdede10d4aa61fd81d5c2585 2

Contract Overview

Balance:
0 AVAX
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x2e4254f1c8b06f840687af6f1488b65496a606eb36955d8cc5760d6afff2746cApprove141033412022-09-29 9:46:0311 hrs 40 mins ago0xd6645d398f20c57b20fa3726add690dcb233b7da IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.000806355 27.5
0x1fe3b1328888cfc464dd621452418879587b2f16881f79dd29472592818154c7Approve141032542022-09-29 9:42:2711 hrs 43 mins ago0xd6645d398f20c57b20fa3726add690dcb233b7da IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.000806355 27.5
0x079d56e69854672137963146b13b2b16432b64b5433611a7bcb99455ba01e70bTransfer With Da...141029272022-09-29 9:25:0012 hrs 1 min ago0xf9f1bd4e879c50e228cd65d2b8cd2d676a810d82 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0099413430
0x5f66631068e5bba78837eecb3f1f00ef9da0064b391244e909fac39e96da48d4Burn141028882022-09-29 9:23:1812 hrs 2 mins ago0xf9f1bd4e879c50e228cd65d2b8cd2d676a810d82 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.001085430
0xfae1073eec81203c92a3e1ce8f4e33e27507ae027686fa9bc1e83ea667194689Transfer With Da...141024432022-09-29 9:03:1812 hrs 22 mins ago0xf9f1bd4e879c50e228cd65d2b8cd2d676a810d82 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0099413430
0xe9c4566ae8af1755f11ffafd6d61a9c564d7b47e0b3a47ff2f1a528a912e955dBurn141024032022-09-29 9:01:3212 hrs 24 mins ago0xf9f1bd4e879c50e228cd65d2b8cd2d676a810d82 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.001085430
0x2ab3eeb78f1abccd2f55749e22ac7f68a5f99ab5a5df7211937bb7f552ce0672Mint141023092022-09-29 8:57:5312 hrs 28 mins ago0x6a393b6e432c068664bc5c2341309d1feff244d1 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0025366830
0x65d669ebe52cfdf8da8c049e4540e166eaf9aee8d94419dc2d4aa5d9a6daac99Burn141022772022-09-29 8:56:3112 hrs 29 mins ago0xd6645d398f20c57b20fa3726add690dcb233b7da IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.001085430
0x79dba6c0dff1322f093fea60206407c97e22d25b33e09389d47506944aa751b2Mint141022672022-09-29 8:56:0412 hrs 30 mins ago0x6a393b6e432c068664bc5c2341309d1feff244d1 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0027247230
0xdff08996585a5e1a42556d93a7252bcd60234664d4537034119a4f9e64fab19eMint141022622022-09-29 8:55:5212 hrs 30 mins ago0x6a393b6e432c068664bc5c2341309d1feff244d1 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0027247230
0xedc28a2fb9cc4509dac79a76edfc5f9fd54651f10407bedb57ed94f067cf27bcApprove141020312022-09-29 8:41:3612 hrs 44 mins ago0xd6645d398f20c57b20fa3726add690dcb233b7da IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.001276605 27.5
0x7deefa582fbf40679243d4645abe8bb82f62e91a28fb92d8f4696dd2a13084c6Approve141019662022-09-29 8:37:5512 hrs 48 mins ago0x1388a93f2306ec7c7b2ae5132ed411b00f1224ff IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.001276605 27.5
0xde3fa93a6aad9fdb69c34237af6e9cd26b2305f7819024a8f0d771bd573bb117Transfer With Da...140980732022-09-29 6:13:2115 hrs 12 mins ago0x1388a93f2306ec7c7b2ae5132ed411b00f1224ff IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.012238230
0x23d53f1825c31e323601d7ba1b1fcbdf962748005d8508fc72c114a3d72e72b8Transfer With Da...140979722022-09-29 6:09:4615 hrs 16 mins ago0x1388a93f2306ec7c7b2ae5132ed411b00f1224ff IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0202848330
0xcc5a6d11186c79e9cdab3451d3af0f14c48177bfcd8924a294d181701f0595d1Transfer With Da...140960332022-09-29 5:00:4816 hrs 25 mins ago0xf9f1bd4e879c50e228cd65d2b8cd2d676a810d82 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0099413430
0xc210418cd020f14e5c1bd84b84c61378acbcc7801fbaa38a7c935e2e69fe39b4Burn140959792022-09-29 4:58:5816 hrs 27 mins ago0xf9f1bd4e879c50e228cd65d2b8cd2d676a810d82 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.001085430
0xfae2c8f9ee3b7a4269877a38a94b2779acd4a1c78a1c0d8f4241771f8f373d97Transfer With Da...140694862022-09-28 12:52:191 day 8 hrs ago0x1388a93f2306ec7c7b2ae5132ed411b00f1224ff IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0105550830
0xe1210532c6a82dc14c66c4971b2363666d6fb346d06b1b12d936a256955c02f4Transfer With Da...140692862022-09-28 12:45:061 day 8 hrs ago0x1388a93f2306ec7c7b2ae5132ed411b00f1224ff IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0201735930
0x5c733b607f9fb3ff81aeaf7943a1272a8f11cbf2d4b46baa0f021a9392126e86Transfer With Da...140684692022-09-28 12:17:121 day 9 hrs ago0xf9f1bd4e879c50e228cd65d2b8cd2d676a810d82 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0099413430
0x3ca3bb55eaf197d2a68ebfb9c5d97e8956f78e12864a3d257c75d2e02d796ae6Approve140651282022-09-28 10:18:321 day 11 hrs ago0xfca277b0b25f71f9d7b3ca14b342bc49294b2b6d IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.000806685 27.5
0x564ae8adaba833293d18e964dc6f982b51322e4bbb8c763947b4a9ac5f756b26Approve140650742022-09-28 10:16:371 day 11 hrs ago0xfca277b0b25f71f9d7b3ca14b342bc49294b2b6d IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.000806685 27.5
0x532df62c6fb8f8e5ca946e7289db49355999629408d37c1e3478227fa66dc06fApprove140586642022-09-28 6:37:331 day 14 hrs ago0x6a393b6e432c068664bc5c2341309d1feff244d1 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.000806685 27.5
0x754b104cfca17e0aeff5b1b373f55b1341964a8c77c870c95e1b3549f45efe8dTransfer With Da...140586192022-09-28 6:35:581 day 14 hrs ago0x1388a93f2306ec7c7b2ae5132ed411b00f1224ff IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0197335230
0x9d98ffb50ca81e62c09711fd7ba614cc283539fe24be9bb5f7f090b8457d2878Mint140577192022-09-28 6:03:571 day 15 hrs ago0x6a393b6e432c068664bc5c2341309d1feff244d1 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0027247230
0x13b59d895e1343e12511cf04fcb6c3d99bea77b1a6987afecbdaf352c525ba5cMint140573652022-09-28 5:51:201 day 15 hrs ago0x6a393b6e432c068664bc5c2341309d1feff244d1 IN 0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX0.0046593930
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xc9858011370d9ac9f078276f841f9a65715524c9d2410b6aa8f37058441e1600141033452022-09-29 9:46:1111 hrs 40 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xc9858011370d9ac9f078276f841f9a65715524c9d2410b6aa8f37058441e1600141033452022-09-29 9:46:1111 hrs 40 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xc9858011370d9ac9f078276f841f9a65715524c9d2410b6aa8f37058441e1600141033452022-09-29 9:46:1111 hrs 40 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xc9858011370d9ac9f078276f841f9a65715524c9d2410b6aa8f37058441e1600141033452022-09-29 9:46:1111 hrs 40 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xc9858011370d9ac9f078276f841f9a65715524c9d2410b6aa8f37058441e1600141033452022-09-29 9:46:1111 hrs 40 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xc9858011370d9ac9f078276f841f9a65715524c9d2410b6aa8f37058441e1600141033452022-09-29 9:46:1111 hrs 40 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xc9858011370d9ac9f078276f841f9a65715524c9d2410b6aa8f37058441e1600141033452022-09-29 9:46:1111 hrs 40 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xfb24d0201b04d6551ca96f3a4a4a18f030334202291b7e5de5a22827ee7900e9141032562022-09-29 9:42:3611 hrs 43 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xfb24d0201b04d6551ca96f3a4a4a18f030334202291b7e5de5a22827ee7900e9141032562022-09-29 9:42:3611 hrs 43 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xfb24d0201b04d6551ca96f3a4a4a18f030334202291b7e5de5a22827ee7900e9141032562022-09-29 9:42:3611 hrs 43 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xfb24d0201b04d6551ca96f3a4a4a18f030334202291b7e5de5a22827ee7900e9141032562022-09-29 9:42:3611 hrs 43 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xfb24d0201b04d6551ca96f3a4a4a18f030334202291b7e5de5a22827ee7900e9141032562022-09-29 9:42:3611 hrs 43 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xfb24d0201b04d6551ca96f3a4a4a18f030334202291b7e5de5a22827ee7900e9141032562022-09-29 9:42:3611 hrs 43 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xfb24d0201b04d6551ca96f3a4a4a18f030334202291b7e5de5a22827ee7900e9141032562022-09-29 9:42:3611 hrs 43 mins ago 0xe8d292e61e853661a261e895c5ae1d26a30077550x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0x079d56e69854672137963146b13b2b16432b64b5433611a7bcb99455ba01e70b141029272022-09-29 9:25:0012 hrs 1 min ago 0x3f553d35da41c1facdede10d4aa61fd81d5c25850x4edb3e357931c84c718d201842e62fb3270be2c10 AVAX
0x079d56e69854672137963146b13b2b16432b64b5433611a7bcb99455ba01e70b141029272022-09-29 9:25:0012 hrs 1 min ago 0x3f553d35da41c1facdede10d4aa61fd81d5c25850x4edb3e357931c84c718d201842e62fb3270be2c10 AVAX
0x079d56e69854672137963146b13b2b16432b64b5433611a7bcb99455ba01e70b141029272022-09-29 9:25:0012 hrs 1 min ago 0x74fa3b8740dc9f2df65ba69927c777fb48edd37d0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0x079d56e69854672137963146b13b2b16432b64b5433611a7bcb99455ba01e70b141029272022-09-29 9:25:0012 hrs 1 min ago 0x3f553d35da41c1facdede10d4aa61fd81d5c25850x74fa3b8740dc9f2df65ba69927c777fb48edd37d0 AVAX
0x079d56e69854672137963146b13b2b16432b64b5433611a7bcb99455ba01e70b141029272022-09-29 9:25:0012 hrs 1 min ago 0x3f553d35da41c1facdede10d4aa61fd81d5c25850x4edb3e357931c84c718d201842e62fb3270be2c10 AVAX
0x079d56e69854672137963146b13b2b16432b64b5433611a7bcb99455ba01e70b141029272022-09-29 9:25:0012 hrs 1 min ago 0x3f553d35da41c1facdede10d4aa61fd81d5c25850x4edb3e357931c84c718d201842e62fb3270be2c10 AVAX
0xfae1073eec81203c92a3e1ce8f4e33e27507ae027686fa9bc1e83ea667194689141024432022-09-29 9:03:1812 hrs 22 mins ago 0x3f553d35da41c1facdede10d4aa61fd81d5c25850x4edb3e357931c84c718d201842e62fb3270be2c10 AVAX
0xfae1073eec81203c92a3e1ce8f4e33e27507ae027686fa9bc1e83ea667194689141024432022-09-29 9:03:1812 hrs 22 mins ago 0x3f553d35da41c1facdede10d4aa61fd81d5c25850x4edb3e357931c84c718d201842e62fb3270be2c10 AVAX
0xfae1073eec81203c92a3e1ce8f4e33e27507ae027686fa9bc1e83ea667194689141024432022-09-29 9:03:1812 hrs 22 mins ago 0x74fa3b8740dc9f2df65ba69927c777fb48edd37d0x3f553d35da41c1facdede10d4aa61fd81d5c25850 AVAX
0xfae1073eec81203c92a3e1ce8f4e33e27507ae027686fa9bc1e83ea667194689141024432022-09-29 9:03:1812 hrs 22 mins ago 0x3f553d35da41c1facdede10d4aa61fd81d5c25850x74fa3b8740dc9f2df65ba69927c777fb48edd37d0 AVAX
0xfae1073eec81203c92a3e1ce8f4e33e27507ae027686fa9bc1e83ea667194689141024432022-09-29 9:03:1812 hrs 22 mins ago 0x3f553d35da41c1facdede10d4aa61fd81d5c25850x4edb3e357931c84c718d201842e62fb3270be2c10 AVAX
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xC80d6592a63a42098170B860EE4915D6b2844D30

Contract Name:
StableCoin

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 21 : StableCoin.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol";
import "./ERC223/IERC223Recipient.sol";
import "./whitelist/ITokenismWhitelist.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "./IStableCoin.sol";

contract StableCoin is ERC20PresetMinterPauser{
    address payable public owner;
    ITokenismWhitelist public whitelist;
    address[] contributorAddresses;
    mapping(address => bool) userExist;

    // address payable public admin;

    // testcase
    address public msgSender;

    constructor(
        string memory _name,
        string memory _symbol,
        ITokenismWhitelist _whitelist
    )  ERC20PresetMinterPauser(_name, _symbol) {
        // owner = _msgSender();
        whitelist = _whitelist;
    }

    modifier onlyAdmin() {
        require(whitelist.isAdmin(msg.sender), "Only admin is allowed");
        _;
    }
    // Only Transfer on Tokenism Plateform
    modifier onlyTokenism(address _sender, address _receiver) {
        uint256 codeS = whitelist.isWhitelistedUser(_sender);
        uint256 codeR = whitelist.isWhitelistedUser(_receiver);
        require(
            (Address.isContract(_sender) && codeS <= 201) ||
                (Address.isContract(_receiver) && codeR <= 201) ||
                codeS < 141 ||
                codeR < 141,
            "StableCoin: Cannot send tokens outside Tokenism"
        );
        _;
    }
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public override {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public override {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
    /**
     * @dev Transfer the specified _amount of tokens to the specified address.
     *      Invokes the `tokenFallback` function if the recipient is a contract.
     *      The token transfer fails if the recipient is a contract
     *      but does not implement the `tokenFallback` function
     *      or the fallback function to receive funds.
     *
     * @param _account   Receiver address.
     * @param _amount    Amount of tokens that will be transferred.
     * @param _data      Transaction metadata.
     */
    function transferWithData(
        address _account,
        uint256 _amount,
        bytes memory _data
    ) public onlyTokenism(msg.sender, _account) returns (bool success) {
        msgSender = msg.sender;

        if (!userExist[_account]) {
            // Use to maintain user list
            userExist[_account] = true;
            contributorAddresses.push(_account);
        }

        if (Address.isContract(_account)) {
            IERC223Recipient receiver = IERC223Recipient(_account);

            _transfer(_msgSender(), _account, _amount);

            receiver.tokenFallback(_msgSender(), _amount, _data); // Check kro balance h ixka pas k nae or do on success transfer
        } else _transfer(_msgSender(), _account, _amount);
        return true;
    }

    /**
     * @dev Transfer the specified amount of tokens to the specified address.
     *      This function works the same with the previous one
     *      but doesn't contain `_data` param.
     *      Added due to backwards compatibility reasons.
     *
     * @param _account    Receiver address.
     * @param _amount     Amount of tokens that will be transferred.
     */
    function transfer(address _account, uint256 _amount)
        override
        public
        onlyTokenism(msg.sender, _account)
        returns (bool success)
    {
        msgSender = msg.sender;
        bytes memory empty = hex"00000000"; // Added 01 for just testing need remove if require
        if (Address.isContract(_account)) {
            IERC223Recipient receiver = IERC223Recipient(_account);
            _transfer(_msgSender(), _account, _amount);
            receiver.tokenFallback(_msgSender(), _amount, empty);
        } else _transfer(_msgSender(), _account, _amount);
        return true;
    }


    function mint(address _account, uint256 _amount)
        public
        override
        onlyAdmin
    {
        // require(isWhitelisted(_account), "Cannot send tokens outside Tokenism");
        uint256 code = whitelist.isWhitelistedUser(_account);
        require(
            code <= 201,
            "SecurityToken: Cannot send tokens outside Tokenism"
        );
        if (!userExist[_account]) {
            // Use to maintain user list
            userExist[_account] = true;
            contributorAddresses.push(_account);
        }
        _mint(_account, _amount);

    }

    function changeWhitelist(ITokenismWhitelist _whitelisted)
        public
        onlyAdmin
        returns (bool)
    {
        whitelist = _whitelisted;
        return true;
    }

    // To Destroy Stable Coin Get All STable Coin Holder
    function getAllInvestor()
        public
        view
        onlyAdmin
        returns (address[] memory, uint256[] memory)
    {
        uint256 size = contributorAddresses.length;
        uint256[] memory balances = new uint256[](size);
        uint256 i;
        for (i = 0; i < size; i++) {
            balances[i] = balanceOf(contributorAddresses[i]);
        }
        return (contributorAddresses, balances);
    }

    // Destruct Stable Coin Contract Address
    function closeStableCoin() public {
        //onlyOwner is custom modifier
        require(
            whitelist.isSuperAdmin(msg.sender),
            "Only SuperAdmin can destroy Contract"
        );
        selfdestruct(payable(msg.sender)); // `admin` is the admin address
    }
}

File 2 of 21 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 3 of 21 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 4 of 21 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 5 of 21 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 6 of 21 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 21 : ERC20PresetMinterPauser.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/presets/ERC20PresetMinterPauser.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../extensions/ERC20Burnable.sol";
import "../extensions/ERC20Pausable.sol";
import "../../../access/AccessControlEnumerable.sol";
import "../../../utils/Context.sol";

/**
 * @dev {ERC20} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 */
contract ERC20PresetMinterPauser is Context, AccessControlEnumerable, ERC20Burnable, ERC20Pausable {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
     * account that deploys the contract.
     *
     * See {ERC20-constructor}.
     */
    constructor(string memory name, string memory symbol) ERC20(name, symbol) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());
    }

    /**
     * @dev Creates `amount` new tokens for `to`.
     *
     * See {ERC20-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to, uint256 amount) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have minter role to mint");
        _mint(to, amount);
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC20Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC20Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have pauser role to unpause");
        _unpause();
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override(ERC20, ERC20Pausable) {
        super._beforeTokenTransfer(from, to, amount);
    }
}

File 8 of 21 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 9 of 21 : ERC20Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Pausable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC20 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC20Pausable is ERC20, Pausable {
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(!paused(), "ERC20Pausable: token transfer while paused");
    }
}

File 10 of 21 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
}

File 11 of 21 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 12 of 21 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 13 of 21 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 14 of 21 : IAccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

File 15 of 21 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 16 of 21 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControlEnumerable.sol";
import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}

File 17 of 21 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 18 of 21 : ITokenismWhitelist.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;


interface ITokenismWhitelist {
    function addWhitelistedUser(address _wallet, bool _kycVerified, bool _accredationVerified, uint256 _accredationExpiry) external;
    function getWhitelistedUser(address _wallet) external view returns (address, bool, bool, uint256, uint256);
    function updateKycWhitelistedUser(address _wallet, bool _kycVerified) external;
    function updateAccredationWhitelistedUser(address _wallet, uint256 _accredationExpiry) external;
    function updateTaxWhitelistedUser(address _wallet, uint256 _taxWithholding) external;
    function suspendUser(address _wallet) external;

    function activeUser(address _wallet) external;

    function updateUserType(address _wallet, string calldata _userType) external;
    function isWhitelistedUser(address wallet) external view returns (uint);
    function removeWhitelistedUser(address _wallet) external;
    function isWhitelistedManager(address _wallet) external view returns (bool);

 function removeSymbols(string calldata _symbols) external returns(bool);
 function closeTokenismWhitelist() external;
 function addSymbols(string calldata _symbols)external returns(bool);

  function isAdmin(address _admin) external view returns(bool);
  function isOwner(address _owner) external view returns (bool);
  function isBank(address _bank) external view returns(bool);
  function isSuperAdmin(address _calle) external view returns(bool);
  function isSubSuperAdmin(address _calle) external view returns(bool);
  function getFeeStatus() external returns(uint8);
  function getFeePercent() external view returns(uint8);
  function getFeeAddress()external returns(address);

    function isManager(address _calle)external returns(bool);
    function userType(address _caller) external view returns(bool);

}

File 19 of 21 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

File 20 of 21 : IStableCoin.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

interface IStableCoin{
    function transferWithData(address _account,uint256 _amount, bytes calldata _data ) external returns (bool success) ;
    function transfer(address _account, uint256 _amount) external returns (bool success);
    function burn(uint256 _amount) external;
    function burnFrom(address _account, uint256 _amount) external;
    function mint(address _account, uint256 _amount) external returns (bool);
    function transferOwnership(address payable _newOwner) external returns (bool);
    
    function balanceOf(address who) external view returns (uint256);
    function allowance(address owner, address spender) external view returns (uint256);
    function transferFrom(address from, address to, uint256 value) external returns (bool);


}

File 21 of 21 : IERC223Recipient.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;


/**
 * @title Contract that will work with ERC223 tokens.
 */

interface IERC223Recipient {
    /**
     * @dev Standard ERC223 function that will handle incoming token transfers.
     *
     * @param _from  Token sender address.
     * @param _value Amount of tokens.
     * @param _data  Transaction metadata.
     */
    function tokenFallback(address _from, uint256 _value, bytes memory _data)
        external;
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"contract ITokenismWhitelist","name":"_whitelist","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITokenismWhitelist","name":"_whitelisted","type":"address"}],"name":"changeWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"closeStableCoin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllInvestor","outputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"msgSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"transferWithData","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelist","outputs":[{"internalType":"contract ITokenismWhitelist","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162002d8038038062002d808339810160408190526200003491620003f4565b82828181816005908051906020019062000050929190620002a3565b50805162000066906006906020840190620002a3565b50506007805460ff19169055506200008960006200008362000112565b62000116565b620000b87f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66200008362000112565b620000e77f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6200008362000112565b5050600880546001600160a01b0319166001600160a01b039290921691909117905550620004d09050565b3390565b62000122828262000126565b5050565b6200013d82826200016960201b620013561760201c565b600082815260016020908152604090912062000164918390620013db620001f3821b17901c565b505050565b62000175828262000213565b62000122576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001af62000112565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006200020a836001600160a01b0384166200023c565b90505b92915050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60006200024a83836200028b565b62000282575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200020d565b5060006200020d565b60009081526001919091016020526040902054151590565b828054620002b1906200047d565b90600052602060002090601f016020900481019282620002d5576000855562000320565b82601f10620002f057805160ff191683800117855562000320565b8280016001018555821562000320579182015b828111156200032057825182559160200191906001019062000303565b506200032e92915062000332565b5090565b5b808211156200032e576000815560010162000333565b600082601f8301126200035a578081fd5b81516001600160401b0380821115620003775762000377620004ba565b6040516020601f8401601f19168201810183811183821017156200039f576200039f620004ba565b6040528382528584018101871015620003b6578485fd5b8492505b83831015620003d95785830181015182840182015291820191620003ba565b83831115620003ea57848185840101525b5095945050505050565b60008060006060848603121562000409578283fd5b83516001600160401b038082111562000420578485fd5b6200042e8783880162000349565b9450602086015191508082111562000444578384fd5b50620004538682870162000349565b604086015190935090506001600160a01b038116811462000472578182fd5b809150509250925092565b6002810460018216806200049257607f821691505b60208210811415620004b457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6128a080620004e06000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c806370a0823111610125578063a217fddf116100ad578063d53913931161007c578063d539139314610426578063d547741f1461042e578063d737d0c714610441578063dd62ed3e14610449578063e63ab1e91461045c57610211565b8063a217fddf146103e5578063a457c2d7146103ed578063a9059cbb14610400578063ca15c8731461041357610211565b80639010d07c116100f45780639010d07c1461039957806391d14854146103ac57806393e59dc1146103bf57806395d89b41146103c75780639c094a54146103cf57610211565b806370a082311461035657806379cc6790146103695780638456cb591461037c5780638da5cb5b1461038457610211565b80632f2ff15d116101a85780633f4ba83a116101775780633f4ba83a1461031857806340c10f191461032057806342966c68146103335780635b7f2f1a146103465780635c975abb1461034e57610211565b80632f2ff15d146102c8578063313ce567146102dd57806336568abe146102f2578063395093511461030557610211565b806318160ddd116101e457806318160ddd1461027a57806323b872dd1461028f578063248a9ca3146102a25780632535f762146102b557610211565b806301ffc9a71461021657806306fdde031461023f57806308d0a7cf14610254578063095ea7b314610267575b600080fd5b610229610224366004611f92565b610464565b604051610236919061213a565b60405180910390f35b61024761048f565b604051610236919061214e565b610229610262366004611d97565b610521565b610229610275366004611e2b565b6105ec565b610282610609565b6040516102369190612145565b61022961029d366004611deb565b61060f565b6102826102b0366004611f35565b61069f565b6102296102c3366004611e56565b6106b4565b6102db6102d6366004611f4d565b610971565b005b6102e561099a565b6040516102369190612734565b6102db610300366004611f4d565b61099f565b610229610313366004611e2b565b6109e5565b6102db610a39565b6102db61032e366004611e2b565b610a8b565b6102db610341366004611f35565b610c5b565b6102db610c6f565b610229610d0e565b610282610364366004611d97565b610d17565b6102db610377366004611e2b565b610d32565b6102db610d80565b61038c610dd0565b6040516102369190612073565b61038c6103a7366004611f71565b610de4565b6102296103ba366004611f4d565b610e03565b61038c610e2c565b610247610e3b565b6103d7610e4a565b6040516102369291906120b7565b610282611033565b6102296103fb366004611e2b565b611038565b61022961040e366004611e2b565b6110b1565b610282610421366004611f35565b61129e565b6102826112b5565b6102db61043c366004611f4d565b6112d9565b61038c6112f8565b610282610457366004611db3565b611307565b610282611332565b60006001600160e01b03198216635a05180f60e01b14806104895750610489826113f0565b92915050565b60606005805461049e906127d3565b80601f01602080910402602001604051908101604052809291908181526020018280546104ca906127d3565b80156105175780601f106104ec57610100808354040283529160200191610517565b820191906000526020600020905b8154815290600101906020018083116104fa57829003601f168201915b5050505050905090565b600854604051630935e01b60e21b81526000916001600160a01b0316906324d7806c90610552903390600401612073565b60206040518083038186803b15801561056a57600080fd5b505afa15801561057e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a29190611f15565b6105c75760405162461bcd60e51b81526004016105be90612428565b60405180910390fd5b50600880546001600160a01b0383166001600160a01b03199091161790556001919050565b60006106006105f9611415565b8484611419565b50600192915050565b60045490565b600061061c8484846114cd565b6001600160a01b03841660009081526003602052604081208161063d611415565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156106805760405162461bcd60e51b81526004016105be9061239c565b6106948561068c611415565b858403611419565b506001949350505050565b60009081526020819052604090206001015490565b600854604051636c46138f60e11b81526000913391869184916001600160a01b039091169063d88c271e906106ed908690600401612073565b60206040518083038186803b15801561070557600080fd5b505afa158015610719573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073d9190611fba565b600854604051636c46138f60e11b81529192506000916001600160a01b039091169063d88c271e90610773908690600401612073565b60206040518083038186803b15801561078b57600080fd5b505afa15801561079f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c39190611fba565b90506107ce846115f7565b80156107db575060c98211155b806107f757506107ea836115f7565b80156107f7575060c98111155b806108025750608d82105b8061080d5750608d81105b6108295760405162461bcd60e51b81526004016105be90612498565b600b80546001600160a01b031916331790556001600160a01b0388166000908152600a602052604090205460ff166108c1576001600160a01b0388166000818152600a60205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b03191690911790555b6108ca886115f7565b1561095157876108e26108db611415565b8a8a6114cd565b806001600160a01b031663c0ee0b8a6108f9611415565b8a8a6040518463ffffffff1660e01b815260040161091993929190612087565b600060405180830381600087803b15801561093357600080fd5b505af1158015610947573d6000803e3d6000fd5b5050505050610963565b61096361095c611415565b89896114cd565b506001979650505050505050565b61097a8261069f565b61098b81610986611415565b6115fd565b6109958383611661565b505050565b601290565b6109a7611415565b6001600160a01b0316816001600160a01b0316146109d75760405162461bcd60e51b81526004016105be90612664565b6109e18282611683565b5050565b60006106006109f2611415565b848460036000610a00611415565b6001600160a01b03908116825260208083019390935260409182016000908120918b1681529252902054610a349190612742565b611419565b610a657f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6103ba611415565b610a815760405162461bcd60e51b81526004016105be90612249565b610a896116a5565b565b600854604051630935e01b60e21b81526001600160a01b03909116906324d7806c90610abb903390600401612073565b60206040518083038186803b158015610ad357600080fd5b505afa158015610ae7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0b9190611f15565b610b275760405162461bcd60e51b81526004016105be90612428565b600854604051636c46138f60e11b81526000916001600160a01b03169063d88c271e90610b58908690600401612073565b60206040518083038186803b158015610b7057600080fd5b505afa158015610b84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba89190611fba565b905060c9811115610bcb5760405162461bcd60e51b81526004016105be906125cd565b6001600160a01b0383166000908152600a602052604090205460ff16610c51576001600160a01b0383166000818152600a60205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b03191690911790555b6109958383611713565b610c6c610c66611415565b826117db565b50565b60085460405163df7f453b60e01b81526001600160a01b039091169063df7f453b90610c9f903390600401612073565b60206040518083038186803b158015610cb757600080fd5b505afa158015610ccb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cef9190611f15565b610d0b5760405162461bcd60e51b81526004016105be90612358565b33ff5b60075460ff1690565b6001600160a01b031660009081526002602052604090205490565b6000610d4083610457611415565b905081811015610d625760405162461bcd60e51b81526004016105be906123e4565b610d7683610d6e611415565b848403611419565b61099583836117db565b610dac7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6103ba611415565b610dc85760405162461bcd60e51b81526004016105be90612570565b610a896118cc565b60075461010090046001600160a01b031681565b6000828152600160205260408120610dfc9083611927565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6008546001600160a01b031681565b60606006805461049e906127d3565b600854604051630935e01b60e21b815260609182916001600160a01b03909116906324d7806c90610e7f903390600401612073565b60206040518083038186803b158015610e9757600080fd5b505afa158015610eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecf9190611f15565b610eeb5760405162461bcd60e51b81526004016105be90612428565b60095460008167ffffffffffffffff811115610f1757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610f40578160200160208202803683370190505b50905060005b82811015610fc957610f8c60098281548110610f7257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316610d17565b828281518110610fac57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610fc18161280e565b915050610f46565b6009828180548060200260200160405190810160405280929190818152602001828054801561102157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611003575b50505050509150945094505050509091565b600081565b60008060036000611047611415565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156110935760405162461bcd60e51b81526004016105be9061261f565b6110a761109e611415565b85858403611419565b5060019392505050565b600854604051636c46138f60e11b81526000913391859184916001600160a01b039091169063d88c271e906110ea908690600401612073565b60206040518083038186803b15801561110257600080fd5b505afa158015611116573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113a9190611fba565b600854604051636c46138f60e11b81529192506000916001600160a01b039091169063d88c271e90611170908690600401612073565b60206040518083038186803b15801561118857600080fd5b505afa15801561119c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c09190611fba565b90506111cb846115f7565b80156111d8575060c98211155b806111f457506111e7836115f7565b80156111f4575060c98111155b806111ff5750608d82105b8061120a5750608d81105b6112265760405162461bcd60e51b81526004016105be90612498565b600b80546001600160a01b03191633179055604080518082019091526004815260006020820152611256886115f7565b1561095157876112676108db611415565b806001600160a01b031663c0ee0b8a61127e611415565b8a856040518463ffffffff1660e01b815260040161091993929190612087565b600081815260016020526040812061048990611933565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6112e28261069f565b6112ee81610986611415565b6109958383611683565b600b546001600160a01b031681565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6113608282610e03565b6109e1576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611397611415565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610dfc836001600160a01b03841661193e565b60006001600160e01b03198216637965db0b60e01b1480610489575061048982611988565b3390565b6001600160a01b03831661143f5760405162461bcd60e51b81526004016105be9061252c565b6001600160a01b0382166114655760405162461bcd60e51b81526004016105be906122a6565b6001600160a01b0380841660008181526003602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906114c0908590612145565b60405180910390a3505050565b6001600160a01b0383166114f35760405162461bcd60e51b81526004016105be906124e7565b6001600160a01b0382166115195760405162461bcd60e51b81526004016105be90612196565b6115248383836119a1565b6001600160a01b0383166000908152600260205260409020548181101561155d5760405162461bcd60e51b81526004016105be906122e8565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290611594908490612742565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115de9190612145565b60405180910390a36115f1848484610995565b50505050565b3b151590565b6116078282610e03565b6109e15761161f816001600160a01b031660146119ac565b61162a8360206119ac565b60405160200161163b929190611ffe565b60408051601f198184030181529082905262461bcd60e51b82526105be9160040161214e565b61166b8282611356565b600082815260016020526040902061099590826113db565b61168d8282611b5e565b60008281526001602052604090206109959082611be1565b6116ad610d0e565b6116c95760405162461bcd60e51b81526004016105be906121d9565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6116fc611415565b6040516117099190612073565b60405180910390a1565b6001600160a01b0382166117395760405162461bcd60e51b81526004016105be906126b3565b611745600083836119a1565b80600460008282546117579190612742565b90915550506001600160a01b03821660009081526002602052604081208054839290611784908490612742565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906117c7908590612145565b60405180910390a36109e160008383610995565b6001600160a01b0382166118015760405162461bcd60e51b81526004016105be90612457565b61180d826000836119a1565b6001600160a01b038216600090815260026020526040902054818110156118465760405162461bcd60e51b81526004016105be90612207565b6001600160a01b0383166000908152600260205260408120838303905560048054849290611875908490612779565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906118b8908690612145565b60405180910390a361099583600084610995565b6118d4610d0e565b156118f15760405162461bcd60e51b81526004016105be9061232e565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116fc611415565b6000610dfc8383611bf6565b600061048982611c2e565b600061194a8383611c32565b61198057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610489565b506000610489565b6001600160e01b031981166301ffc9a760e01b14919050565b610995838383611c4a565b606060006119bb83600261275a565b6119c6906002612742565b67ffffffffffffffff8111156119ec57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a16576020820181803683370190505b509050600360fc1b81600081518110611a3f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611a7c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611aa084600261275a565b611aab906001612742565b90505b6001811115611b3f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611aed57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611b1157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611b38816127bc565b9050611aae565b508315610dfc5760405162461bcd60e51b81526004016105be90612161565b611b688282610e03565b156109e1576000828152602081815260408083206001600160a01b03851684529091529020805460ff19169055611b9d611415565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000610dfc836001600160a01b038416611c7a565b6000826000018281548110611c1b57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b5490565b60009081526001919091016020526040902054151590565b611c55838383610995565b611c5d610d0e565b156109955760405162461bcd60e51b81526004016105be906126ea565b60008181526001830160205260408120548015611d8d576000611c9e600183612779565b8554909150600090611cb290600190612779565b9050818114611d33576000866000018281548110611ce057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611d1157634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611d5257634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610489565b6000915050610489565b600060208284031215611da8578081fd5b8135610dfc81612855565b60008060408385031215611dc5578081fd5b8235611dd081612855565b91506020830135611de081612855565b809150509250929050565b600080600060608486031215611dff578081fd5b8335611e0a81612855565b92506020840135611e1a81612855565b929592945050506040919091013590565b60008060408385031215611e3d578182fd5b8235611e4881612855565b946020939093013593505050565b600080600060608486031215611e6a578283fd5b8335611e7581612855565b92506020848101359250604085013567ffffffffffffffff80821115611e99578384fd5b818701915087601f830112611eac578384fd5b813581811115611ebe57611ebe61283f565b604051601f8201601f1916810185018381118282101715611ee157611ee161283f565b60405281815283820185018a1015611ef7578586fd5b81858501868301378585838301015280955050505050509250925092565b600060208284031215611f26578081fd5b81518015158114610dfc578182fd5b600060208284031215611f46578081fd5b5035919050565b60008060408385031215611f5f578182fd5b823591506020830135611de081612855565b60008060408385031215611f83578182fd5b50508035926020909101359150565b600060208284031215611fa3578081fd5b81356001600160e01b031981168114610dfc578182fd5b600060208284031215611fcb578081fd5b5051919050565b60008151808452611fea816020860160208601612790565b601f01601f19169290920160200192915050565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351612036816017850160208801612790565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612067816028840160208801612790565b01602801949350505050565b6001600160a01b0391909116815260200190565b600060018060a01b0385168252836020830152606060408301526120ae6060830184611fd2565b95945050505050565b604080825283519082018190526000906020906060840190828701845b828110156120f95781516001600160a01b0316845292840192908401906001016120d4565b50505083810382850152845180825285830191830190845b8181101561212d57835183529284019291840191600101612111565b5090979650505050505050565b901515815260200190565b90815260200190565b600060208252610dfc6020830184611fd2565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526039908201527f45524332305072657365744d696e7465725061757365723a206d75737420686160408201527f76652070617573657220726f6c6520746f20756e706175736500000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526024908201527f4f6e6c7920537570657241646d696e2063616e2064657374726f7920436f6e746040820152631c9858dd60e21b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526024908201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604082015263616e636560e01b606082015260800190565b60208082526015908201527413db9b1e4818591b5a5b881a5cc8185b1b1bddd959605a1b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252602f908201527f537461626c65436f696e3a2043616e6e6f742073656e6420746f6b656e73206f60408201526e75747369646520546f6b656e69736d60881b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526037908201527f45524332305072657365744d696e7465725061757365723a206d75737420686160408201527f76652070617573657220726f6c6520746f207061757365000000000000000000606082015260800190565b60208082526032908201527f5365637572697479546f6b656e3a2043616e6e6f742073656e6420746f6b656e60408201527173206f75747369646520546f6b656e69736d60701b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252602a908201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686040820152691a5b19481c185d5cd95960b21b606082015260800190565b60ff91909116815260200190565b6000821982111561275557612755612829565b500190565b600081600019048311821515161561277457612774612829565b500290565b60008282101561278b5761278b612829565b500390565b60005b838110156127ab578181015183820152602001612793565b838111156115f15750506000910152565b6000816127cb576127cb612829565b506000190190565b6002810460018216806127e757607f821691505b6020821081141561280857634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561282257612822612829565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610c6c57600080fdfea26469706673582212204e6e0663006a14381df5a7f840e27c5f2386b56f8973146f6d55b943131cb13764736f6c63430008000033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000914c13a09899f213c19fad1abd10e34b0347ae020000000000000000000000000000000000000000000000000000000000000004414b5255000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005414b555344000000000000000000000000000000000000000000000000000000

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading