Contract 0xa47a02188fd2d3a2b4feb0983e90851473016378 1

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x954fbb67adc164a8cca4bff5ed50ad55a1daa92856e963c1e07ef1d90563ddb50x60806040201713362021-10-13 11:06:19594 days 7 hrs agoTutellus: Deployer IN  Create: TutellusERC200 MATIC0.0510053420
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TutellusERC20

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : TutellusERC20.sol
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "./AccessControlProxyPausable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20CappedUpgradeable.sol";

contract TutellusERC20 is AccessControlProxyPausable, ERC20CappedUpgradeable {

    uint256 public burned;

    event Mint(address account, uint256 amount);
    event Burn(address account, uint256 amount);

    constructor(string memory name, string memory symbol, uint256 cap, address rolemanager) {
        __TutellusERC20_init(name, symbol, cap, rolemanager);
    }

    function __TutellusERC20_init(string memory name, string memory symbol, uint256 cap, address rolemanager) internal initializer {
        __AccessControlProxyPausable_init(rolemanager);
        __ERC20_init(name, symbol);
        __ERC20Capped_init(cap);
        __TutellusERC20_init_unchained();
    }

    function __TutellusERC20_init_unchained() internal initializer {
    }

    function _mint(address account, uint256 amount) virtual internal override {
        require(totalSupply() + burned + amount <= cap(), "TutellusERC20: mint amount exceeds cap");
        super._mint(account, amount);
        emit Mint(account, amount);
    }

    function _burn(address account, uint256 amount) virtual internal override {
        burned += amount;
        super._burn(account, amount);
        emit Burn(account, amount);
    }

    function mint(address account, uint256 amount) public onlyRole(keccak256('MINTER_ROLE')) {
        _mint(account, amount);
    }

    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }
}

File 2 of 11 : AccessControlProxyPausable.sol
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol";

abstract contract AccessControlProxyPausable is PausableUpgradeable {

    address private _manager;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    modifier onlyRole(bytes32 role) {
        address account = msg.sender;
        require(hasRole(role, account), string(
                    abi.encodePacked(
                        "AccessControlProxyPausable: account ",
                        StringsUpgradeable.toHexString(uint160(account), 20),
                        " is missing role ",
                        StringsUpgradeable.toHexString(uint256(role), 32)
                    )
                ));
        _;
    }

    function hasRole(bytes32 role, address account) public view returns (bool) {
        IAccessControlUpgradeable manager = IAccessControlUpgradeable(_manager);
        return manager.hasRole(role, account);
    }

    function __AccessControlProxyPausable_init(address manager) internal initializer {
        __Pausable_init();
        __AccessControlProxyPausable_init_unchained(manager);
    }

    function __AccessControlProxyPausable_init_unchained(address manager) internal initializer {
        _manager = manager;
    }

    function pause() public onlyRole(PAUSER_ROLE){
        _pause();
    }
    
    function unpause() public onlyRole(PAUSER_ROLE){
        _unpause();
    }

    function updateManager(address manager) public onlyRole(DEFAULT_ADMIN_ROLE) {
        _manager = manager;
    }
}

File 3 of 11 : ERC20CappedUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20Upgradeable.sol";
import "../../../proxy/utils/Initializable.sol";

/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20CappedUpgradeable is Initializable, ERC20Upgradeable {
    uint256 private _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    function __ERC20Capped_init(uint256 cap_) internal initializer {
        __Context_init_unchained();
        __ERC20Capped_init_unchained(cap_);
    }

    function __ERC20Capped_init_unchained(uint256 cap_) internal initializer {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_mint}.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        require(ERC20Upgradeable.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, amount);
    }
    uint256[50] private __gap;
}

File 4 of 11 : IAccessControlUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControlUpgradeable {
    /**
     * @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 5 of 11 : PausableUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 PausableUpgradeable is Initializable, ContextUpgradeable {
    /**
     * @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.
     */
    function __Pausable_init() internal initializer {
        __Context_init_unchained();
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal initializer {
        _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());
    }
    uint256[49] private __gap;
}

File 6 of 11 : StringsUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library StringsUpgradeable {
    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 7 of 11 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}

File 8 of 11 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

File 9 of 11 : ERC20Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20Upgradeable.sol";
import "./extensions/IERC20MetadataUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {
    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.
     */
    function __ERC20_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC20_init_unchained(name_, symbol_);
    }

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _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 {}
    uint256[45] private __gap;
}

File 10 of 11 : IERC20Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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 11 of 11 : IERC20MetadataUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20Upgradeable.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
    /**
     * @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);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"address","name":"rolemanager","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"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"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":[],"name":"burned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"updateManager","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162003ab238038062003ab2833981810160405281019062000037919062000ce9565b6200004b848484846200005560201b60201c565b5050505062001084565b600060019054906101000a900460ff16806200007c575060008054906101000a900460ff16155b620000be576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000b59062000df7565b60405180910390fd5b60008060019054906101000a900460ff1615905080156200010f576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b62000120826200017c60201b60201c565b6200013285856200027d60201b60201c565b62000143836200038060201b60201c565b620001536200048160201b60201c565b8015620001755760008060016101000a81548160ff0219169083151502179055505b5050505050565b600060019054906101000a900460ff1680620001a3575060008054906101000a900460ff16155b620001e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001dc9062000df7565b60405180910390fd5b60008060019054906101000a900460ff16159050801562000236576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b620002466200056060201b60201c565b62000257826200065f60201b60201c565b8015620002795760008060016101000a81548160ff0219169083151502179055505b5050565b600060019054906101000a900460ff1680620002a4575060008054906101000a900460ff16155b620002e6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002dd9062000df7565b60405180910390fd5b60008060019054906101000a900460ff16159050801562000337576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b620003476200078060201b60201c565b6200035983836200085f60201b60201c565b80156200037b5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680620003a7575060008054906101000a900460ff16155b620003e9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003e09062000df7565b60405180910390fd5b60008060019054906101000a900460ff1615905080156200043a576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6200044a6200078060201b60201c565b6200045b826200097260201b60201c565b80156200047d5760008060016101000a81548160ff0219169083151502179055505b5050565b600060019054906101000a900460ff1680620004a8575060008054906101000a900460ff16155b620004ea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004e19062000df7565b60405180910390fd5b60008060019054906101000a900460ff1615905080156200053b576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156200055d5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff168062000587575060008054906101000a900460ff16155b620005c9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005c09062000df7565b60405180910390fd5b60008060019054906101000a900460ff1615905080156200061a576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6200062a6200078060201b60201c565b6200063a62000a9f60201b60201c565b80156200065c5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff168062000686575060008054906101000a900460ff16155b620006c8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006bf9062000df7565b60405180910390fd5b60008060019054906101000a900460ff16159050801562000719576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b81606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080156200077c5760008060016101000a81548160ff0219169083151502179055505b5050565b600060019054906101000a900460ff1680620007a7575060008054906101000a900460ff16155b620007e9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007e09062000df7565b60405180910390fd5b60008060019054906101000a900460ff1615905080156200083a576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156200085c5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff168062000886575060008054906101000a900460ff16155b620008c8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008bf9062000df7565b60405180910390fd5b60008060019054906101000a900460ff16159050801562000919576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b82606990805190602001906200093192919062000b99565b5081606a90805190602001906200094a92919062000b99565b5080156200096d5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff168062000999575060008054906101000a900460ff16155b620009db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009d29062000df7565b60405180910390fd5b60008060019054906101000a900460ff16159050801562000a2c576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6000821162000a72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a699062000dd5565b60405180910390fd5b81609881905550801562000a9b5760008060016101000a81548160ff0219169083151502179055505b5050565b600060019054906101000a900460ff168062000ac6575060008054906101000a900460ff16155b62000b08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000aff9062000df7565b60405180910390fd5b60008060019054906101000a900460ff16159050801562000b59576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6000603360006101000a81548160ff021916908315150217905550801562000b965760008060016101000a81548160ff0219169083151502179055505b50565b82805462000ba79062000efd565b90600052602060002090601f01602090048101928262000bcb576000855562000c17565b82601f1062000be657805160ff191683800117855562000c17565b8280016001018555821562000c17579182015b8281111562000c1657825182559160200191906001019062000bf9565b5b50905062000c26919062000c2a565b5090565b5b8082111562000c4557600081600090555060010162000c2b565b5090565b600062000c6062000c5a8462000e42565b62000e19565b90508281526020810184848401111562000c7957600080fd5b62000c8684828562000ec7565b509392505050565b60008151905062000c9f8162001050565b92915050565b600082601f83011262000cb757600080fd5b815162000cc984826020860162000c49565b91505092915050565b60008151905062000ce3816200106a565b92915050565b6000806000806080858703121562000d0057600080fd5b600085015167ffffffffffffffff81111562000d1b57600080fd5b62000d298782880162000ca5565b945050602085015167ffffffffffffffff81111562000d4757600080fd5b62000d558782880162000ca5565b935050604062000d688782880162000cd2565b925050606062000d7b8782880162000c8e565b91505092959194509250565b600062000d9660158362000e78565b915062000da38262000fd8565b602082019050919050565b600062000dbd602e8362000e78565b915062000dca8262001001565b604082019050919050565b6000602082019050818103600083015262000df08162000d87565b9050919050565b6000602082019050818103600083015262000e128162000dae565b9050919050565b600062000e2562000e38565b905062000e33828262000f33565b919050565b6000604051905090565b600067ffffffffffffffff82111562000e605762000e5f62000f98565b5b62000e6b8262000fc7565b9050602081019050919050565b600082825260208201905092915050565b600062000e968262000e9d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000ee757808201518184015260208101905062000eca565b8381111562000ef7576000848401525b50505050565b6000600282049050600182168062000f1657607f821691505b6020821081141562000f2d5762000f2c62000f69565b5b50919050565b62000f3e8262000fc7565b810181811067ffffffffffffffff8211171562000f605762000f5f62000f98565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45524332304361707065643a2063617020697320300000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6200105b8162000e89565b81146200106757600080fd5b50565b620010758162000ebd565b81146200108157600080fd5b50565b612a1e80620010946000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80635c975abb116100b857806395d89b411161007c57806395d89b4114610353578063a217fddf14610371578063a457c2d71461038f578063a9059cbb146103bf578063dd62ed3e146103ef578063e63ab1e91461041f57610142565b80635c975abb146102ad57806370a08231146102cb57806373f42561146102fb5780638456cb591461031957806391d148541461032357610142565b8063355274ea1161010a578063355274ea14610201578063395093511461021f5780633f4ba83a1461024f57806340c10f191461025957806342966c681461027557806358aba00f1461029157610142565b806306fdde0314610147578063095ea7b31461016557806318160ddd1461019557806323b872dd146101b3578063313ce567146101e3575b600080fd5b61014f61043d565b60405161015c9190612091565b60405180910390f35b61017f600480360381019061017a9190611be2565b6104cf565b60405161018c9190612032565b60405180910390f35b61019d6104ed565b6040516101aa9190612293565b60405180910390f35b6101cd60048036038101906101c89190611b93565b6104f7565b6040516101da9190612032565b60405180910390f35b6101eb6105ef565b6040516101f891906122ae565b60405180910390f35b6102096105f8565b6040516102169190612293565b60405180910390f35b61023960048036038101906102349190611be2565b610602565b6040516102469190612032565b60405180910390f35b6102576106ae565b005b610273600480360381019061026e9190611be2565b61077b565b005b61028f600480360381019061028a9190611c83565b61084c565b005b6102ab60048036038101906102a69190611b2e565b610860565b005b6102b561094a565b6040516102c29190612032565b60405180910390f35b6102e560048036038101906102e09190611b2e565b610961565b6040516102f29190612293565b60405180910390f35b6103036109aa565b6040516103109190612293565b60405180910390f35b6103216109b0565b005b61033d60048036038101906103389190611c47565b610a7d565b60405161034a9190612032565b60405180910390f35b61035b610b39565b6040516103689190612091565b60405180910390f35b610379610bcb565b604051610386919061204d565b60405180910390f35b6103a960048036038101906103a49190611be2565b610bd2565b6040516103b69190612032565b60405180910390f35b6103d960048036038101906103d49190611be2565b610cbd565b6040516103e69190612032565b60405180910390f35b61040960048036038101906104049190611b57565b610cdb565b6040516104169190612293565b60405180910390f35b610427610d62565b604051610434919061204d565b60405180910390f35b60606069805461044c90612490565b80601f016020809104026020016040519081016040528092919081815260200182805461047890612490565b80156104c55780601f1061049a576101008083540402835291602001916104c5565b820191906000526020600020905b8154815290600101906020018083116104a857829003601f168201915b5050505050905090565b60006104e36104dc610d86565b8484610d8e565b6001905092915050565b6000606854905090565b6000610504848484610f59565b6000606760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061054f610d86565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156105cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c690612193565b60405180910390fd5b6105e3856105db610d86565b858403610d8e565b60019150509392505050565b60006012905090565b6000609854905090565b60006106a461060f610d86565b84846067600061061d610d86565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461069f91906122f0565b610d8e565b6001905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a60003390506106de8282610a7d565b6106ff8273ffffffffffffffffffffffffffffffffffffffff1660146111dd565b61070d8460001c60206111dd565b60405160200161071e929190611fb4565b6040516020818303038152906040529061076e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107659190612091565b60405180910390fd5b506107776114d7565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a660003390506107ab8282610a7d565b6107cc8273ffffffffffffffffffffffffffffffffffffffff1660146111dd565b6107da8460001c60206111dd565b6040516020016107eb929190611fb4565b6040516020818303038152906040529061083b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108329190612091565b60405180910390fd5b506108468484611579565b50505050565b61085d610857610d86565b82611629565b50565b6000801b60003390506108738282610a7d565b6108948273ffffffffffffffffffffffffffffffffffffffff1660146111dd565b6108a28460001c60206111dd565b6040516020016108b3929190611fb4565b60405160208183030381529060405290610903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fa9190612091565b60405180910390fd5b5082606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6000603360009054906101000a900460ff16905090565b6000606660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60cb5481565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a60003390506109e08282610a7d565b610a018273ffffffffffffffffffffffffffffffffffffffff1660146111dd565b610a0f8460001c60206111dd565b604051602001610a20929190611fb4565b60405160208183030381529060405290610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a679190612091565b60405180910390fd5b50610a79611689565b5050565b600080606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166391d1485485856040518363ffffffff1660e01b8152600401610ae0929190612068565b60206040518083038186803b158015610af857600080fd5b505afa158015610b0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b309190611c1e565b91505092915050565b6060606a8054610b4890612490565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7490612490565b8015610bc15780601f10610b9657610100808354040283529160200191610bc1565b820191906000526020600020905b815481529060010190602001808311610ba457829003601f168201915b5050505050905090565b6000801b81565b60008060676000610be1610d86565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590612253565b60405180910390fd5b610cb2610ca9610d86565b85858403610d8e565b600191505092915050565b6000610cd1610cca610d86565b8484610f59565b6001905092915050565b6000606760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df590612213565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6590612133565b60405180910390fd5b80606760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610f4c9190612293565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc0906121d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611039576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611030906120d3565b60405180910390fd5b61104483838361172c565b6000606660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156110cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c290612153565b60405180910390fd5b818103606660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081606660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461116091906122f0565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516111c49190612293565b60405180910390a36111d7848484611731565b50505050565b6060600060028360026111f09190612346565b6111fa91906122f0565b67ffffffffffffffff811115611239577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561126b5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106112c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611353577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026113939190612346565b61139d91906122f0565b90505b6001811115611489577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611405577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110611442577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061148290612466565b90506113a0565b50600084146114cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c4906120b3565b60405180910390fd5b8091505092915050565b6114df61094a565b61151e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611515906120f3565b60405180910390fd5b6000603360006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611562610d86565b60405161156f9190611fee565b60405180910390a1565b6115816105f8565b8160cb5461158d6104ed565b61159791906122f0565b6115a191906122f0565b11156115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990612233565b60405180910390fd5b6115ec8282611736565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885828260405161161d929190612009565b60405180910390a15050565b8060cb600082825461163b91906122f0565b9250508190555061164c82826117a0565b7fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5828260405161167d929190612009565b60405180910390a15050565b61169161094a565b156116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890612173565b60405180910390fd5b6001603360006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611715610d86565b6040516117229190611fee565b60405180910390a1565b505050565b505050565b61173e6105f8565b816117476104ed565b61175191906122f0565b1115611792576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611789906121f3565b60405180910390fd5b61179c8282611979565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611810576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611807906121b3565b60405180910390fd5b61181c8260008361172c565b6000606660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156118a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189a90612113565b60405180910390fd5b818103606660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081606860008282546118fb91906123a0565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119609190612293565b60405180910390a361197483600084611731565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e090612273565b60405180910390fd5b6119f56000838361172c565b8060686000828254611a0791906122f0565b9250508190555080606660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a5d91906122f0565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611ac29190612293565b60405180910390a3611ad660008383611731565b5050565b600081359050611ae98161298c565b92915050565b600081519050611afe816129a3565b92915050565b600081359050611b13816129ba565b92915050565b600081359050611b28816129d1565b92915050565b600060208284031215611b4057600080fd5b6000611b4e84828501611ada565b91505092915050565b60008060408385031215611b6a57600080fd5b6000611b7885828601611ada565b9250506020611b8985828601611ada565b9150509250929050565b600080600060608486031215611ba857600080fd5b6000611bb686828701611ada565b9350506020611bc786828701611ada565b9250506040611bd886828701611b19565b9150509250925092565b60008060408385031215611bf557600080fd5b6000611c0385828601611ada565b9250506020611c1485828601611b19565b9150509250929050565b600060208284031215611c3057600080fd5b6000611c3e84828501611aef565b91505092915050565b60008060408385031215611c5a57600080fd5b6000611c6885828601611b04565b9250506020611c7985828601611ada565b9150509250929050565b600060208284031215611c9557600080fd5b6000611ca384828501611b19565b91505092915050565b611cb5816123d4565b82525050565b611cc4816123e6565b82525050565b611cd3816123f2565b82525050565b6000611ce4826122c9565b611cee81856122d4565b9350611cfe818560208601612433565b611d0781612520565b840191505092915050565b6000611d1d826122c9565b611d2781856122e5565b9350611d37818560208601612433565b80840191505092915050565b6000611d506020836122d4565b9150611d5b82612531565b602082019050919050565b6000611d736023836122d4565b9150611d7e8261255a565b604082019050919050565b6000611d966024836122e5565b9150611da1826125a9565b602482019050919050565b6000611db96014836122d4565b9150611dc4826125f8565b602082019050919050565b6000611ddc6022836122d4565b9150611de782612621565b604082019050919050565b6000611dff6022836122d4565b9150611e0a82612670565b604082019050919050565b6000611e226026836122d4565b9150611e2d826126bf565b604082019050919050565b6000611e456010836122d4565b9150611e508261270e565b602082019050919050565b6000611e686028836122d4565b9150611e7382612737565b604082019050919050565b6000611e8b6021836122d4565b9150611e9682612786565b604082019050919050565b6000611eae6025836122d4565b9150611eb9826127d5565b604082019050919050565b6000611ed16019836122d4565b9150611edc82612824565b602082019050919050565b6000611ef46024836122d4565b9150611eff8261284d565b604082019050919050565b6000611f176026836122d4565b9150611f228261289c565b604082019050919050565b6000611f3a6025836122d4565b9150611f45826128eb565b604082019050919050565b6000611f5d6011836122e5565b9150611f688261293a565b601182019050919050565b6000611f80601f836122d4565b9150611f8b82612963565b602082019050919050565b611f9f8161241c565b82525050565b611fae81612426565b82525050565b6000611fbf82611d89565b9150611fcb8285611d12565b9150611fd682611f50565b9150611fe28284611d12565b91508190509392505050565b60006020820190506120036000830184611cac565b92915050565b600060408201905061201e6000830185611cac565b61202b6020830184611f96565b9392505050565b60006020820190506120476000830184611cbb565b92915050565b60006020820190506120626000830184611cca565b92915050565b600060408201905061207d6000830185611cca565b61208a6020830184611cac565b9392505050565b600060208201905081810360008301526120ab8184611cd9565b905092915050565b600060208201905081810360008301526120cc81611d43565b9050919050565b600060208201905081810360008301526120ec81611d66565b9050919050565b6000602082019050818103600083015261210c81611dac565b9050919050565b6000602082019050818103600083015261212c81611dcf565b9050919050565b6000602082019050818103600083015261214c81611df2565b9050919050565b6000602082019050818103600083015261216c81611e15565b9050919050565b6000602082019050818103600083015261218c81611e38565b9050919050565b600060208201905081810360008301526121ac81611e5b565b9050919050565b600060208201905081810360008301526121cc81611e7e565b9050919050565b600060208201905081810360008301526121ec81611ea1565b9050919050565b6000602082019050818103600083015261220c81611ec4565b9050919050565b6000602082019050818103600083015261222c81611ee7565b9050919050565b6000602082019050818103600083015261224c81611f0a565b9050919050565b6000602082019050818103600083015261226c81611f2d565b9050919050565b6000602082019050818103600083015261228c81611f73565b9050919050565b60006020820190506122a86000830184611f96565b92915050565b60006020820190506122c36000830184611fa5565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b60006122fb8261241c565b91506123068361241c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561233b5761233a6124c2565b5b828201905092915050565b60006123518261241c565b915061235c8361241c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612395576123946124c2565b5b828202905092915050565b60006123ab8261241c565b91506123b68361241c565b9250828210156123c9576123c86124c2565b5b828203905092915050565b60006123df826123fc565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015612451578082015181840152602081019050612436565b83811115612460576000848401525b50505050565b60006124718261241c565b91506000821415612485576124846124c2565b5b600182039050919050565b600060028204905060018216806124a857607f821691505b602082108114156124bc576124bb6124f1565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c50726f78795061757361626c653a206163636f60008201527f756e742000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332304361707065643a2063617020657863656564656400000000000000600082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f547574656c6c757345524332303a206d696e7420616d6f756e7420657863656560008201527f6473206361700000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b612995816123d4565b81146129a057600080fd5b50565b6129ac816123e6565b81146129b757600080fd5b50565b6129c3816123f2565b81146129ce57600080fd5b50565b6129da8161241c565b81146129e557600080fd5b5056fea2646970667358221220ae2b4baa2eb7a53a1c81cf7b82c17c4268c66b19d31037cb434a2a7216d1161764736f6c63430008020033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000004c4df5e4eb58fcc0ae121212b0605bb1ee431865000000000000000000000000000000000000000000000000000000000000000954657374506f6f6c30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035450300000000000000000000000000000000000000000000000000000000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000004c4df5e4eb58fcc0ae121212b0605bb1ee431865000000000000000000000000000000000000000000000000000000000000000954657374506f6f6c30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035450300000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): TestPool0
Arg [1] : symbol (string): TP0
Arg [2] : cap (uint256): 1000000000000000000000000
Arg [3] : rolemanager (address): 0x4c4df5e4eb58fcc0ae121212b0605bb1ee431865

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000000000000000000000000d3c21bcecceda1000000
Arg [3] : 0000000000000000000000004c4df5e4eb58fcc0ae121212b0605bb1ee431865
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 54657374506f6f6c300000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 5450300000000000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.