Contract 0xa89eaa719d1dbbaad042311feec6c9af0103a17e

Contract Overview

Balance:
0 BNB
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x8e71169aa9642ba4d329d58d3cee1b1b6664e8d7619a8d0c114bda5ec0d2d555Approve94425332021-06-04 16:40:49108 days 4 hrs ago0xfcf12f8b662f8fdc5fea9feac25790ff7bb9aac5 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x58226058beda9de427de3bb1814559c532bce045dac67dded43721d45f3ac162Approve93451252021-06-01 7:28:51111 days 14 hrs ago0xa89d38296370979010b4cc2c553443829ef4afe9 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x05f79ad45616c1d135e658090ad672c17b4f7a1b2cdd093d90b19f8ac98c159eApprove93311502021-05-31 19:50:06112 days 1 hr ago0x81037bad66a3838eb29bf9f2509393092d7e6ed6 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x3546e653dac892134edf2b500bfa15e04194df875e27a4021be4b7641307079dApprove93263972021-05-31 15:52:27112 days 5 hrs ago0x0feaf063f92c78a9b1b79d3685889092902c125a IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0xf4fa3e53891394513198e5e233fdb83e2ebe28bc5cca93996a310bd9d640cec7Approve93250752021-05-31 14:46:21112 days 6 hrs ago0xad1cbf9fe4cd659bf65eb7bb29ffa195debdc66e IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0xfa4f67c69dcc32e8af536a656c3022efc0d95d19a4769283bc5920141920206fApprove93212862021-05-31 11:36:54112 days 9 hrs ago0x1329b9d689788033a6c146e8c3857fa3bcf81e7d IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x4c9801432373194aaca56f53f1454ea8fc5efbcd63a6f361b1734628ca382578Approve93211762021-05-31 11:31:24112 days 9 hrs ago0xf4873f5ad3af7b151509299b56a375af0e3e4f97 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x3e568c8b28e90c1f8f49c2baf8ca5330cdab43436cde70da55c2aa8008705a1bApprove93195872021-05-31 10:11:57112 days 11 hrs ago0x6060afae8137a515c171c848c940e134ca9ab43a IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0xf8e7567a2be82483763f2a10448f65541b08fa7991282acb899cf08290554b23Approve93159132021-05-31 6:46:06112 days 14 hrs ago0x73b24c0dd69cc5a35518da2ddee98efd3905af72 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0002523
0xc504efeccf190d17f5686ef0c31b03bbafd6739d91226adb4464d12e348cecd7Approve93159042021-05-31 6:45:37112 days 14 hrs ago0x73b24c0dd69cc5a35518da2ddee98efd3905af72 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0xf72053549cb871e981b9db2bc39233aed90fa1aafd77a708df228e5193469207Approve93120252021-05-31 3:26:59112 days 18 hrs ago0xf4721f314793bda2affcd9d154c20a22a634fd4a IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x1665aef602cc55886a5d1f5b98e322bbc2ca49ec4923ce176ff69fc2bbc2ca2fApprove93114252021-05-31 2:56:59112 days 18 hrs ago0xf9d6bc62ddc982e1dd90361ca619bd2cadbd93d4 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0xf50867533e9e041e7e1e62c5ea200592c20215d00dca54f84dfee9ec04da71e4Approve93108912021-05-31 2:30:17112 days 19 hrs ago0x7b99210a0cc810c84a1af58ccd6b713f33249c98 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0xf1a48ec82344e29daf9520065a20509883c170ae923ecda92fdcb2f9c9d2002fApprove93036942021-05-30 20:30:16113 days 1 hr ago0x40b0be6a52b46d6c7b766bd4e0e2a27b94dbce36 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x5639a1a73db35ba6f22d85509828ef9cbb86275a338e53608a12dc3d809d84d8Approve93014362021-05-30 18:37:22113 days 2 hrs ago0xb0904e8d13b4c9805eaf8fa571ea783f323d34d2 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x9a87e63e15b904f5fb99176f31ee5f93153855e959a3e88db37d25d452355e9cApprove93012042021-05-30 18:25:46113 days 3 hrs ago0xf4000b3fa72b8688a1262af9027004e36fbc7d8d IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0xdcfa9c4f8a0ec605826b053b06dc50509e246b0458331725a35d5d013739c04dApprove93009322021-05-30 18:12:10113 days 3 hrs ago0xf6c45c25dcba9515b8cd9043351bd3de807adf7a IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x205bf9e7ca7dbe6fe106f22c3d3668f62cc6af05d078ae93b5548bbd35c7c38aApprove93005712021-05-30 17:54:07113 days 3 hrs ago0xbdb27a625111dd268769eb59fa710fb7ae86f3ba IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0002523
0xe9c67a246192ecea0ff8374cb6224b9d996f9df86916c5d98211e0f6851b0cf6Approve93005702021-05-30 17:54:04113 days 3 hrs ago0xbdb27a625111dd268769eb59fa710fb7ae86f3ba IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x9d74a1a2a603123e0c8cf69ed7788cd8d37367609f09dd548ca5d74865b6efe2Approve93002902021-05-30 17:40:04113 days 3 hrs ago0xd9e1e63244f076cab9dc6a29bfdea579988152ab IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0xbf2725d7279f2a3223029500f3b2f43b1235122dece2945d22ad2bba1c408aacApprove92996762021-05-30 17:09:22113 days 4 hrs ago0xb0725f56dfdf7d3e2d25162da6a393280fa231f6 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x47ba57ea45508542871e778cf523de141345e754b8678a2d1a0903117bd667c9Approve92992222021-05-30 16:46:40113 days 4 hrs ago0x3f0571d9f24b56e53887cd6e07c9658466a9bf70 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x685927cdebc2635ad32c81a53d0dbe63fe329ddbf7a0f5a200f9460246bb53a0Approve92991922021-05-30 16:45:10113 days 4 hrs ago0xdaeefee09b141e68d1f86cda0ef530da4db12c58 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0xefe226dde44171a34133026d266fc060c2fd36d2d982e4155a804ad7263e7d8dApprove92984772021-05-30 16:09:25113 days 5 hrs ago0x3567d193573879058d12edb4a3ed10c0ddd99dc6 IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
0x11b5f479b5026806ecb4f839338d55003e56da3553bb174c87adbf44d41b56feApprove92981662021-05-30 15:53:52113 days 5 hrs ago0x26783c189100bdb9e3b353dbb8f1966f01b2dc7b IN  0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB0.0004443
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x69b2f356acb05e3e19b691641f35a1794ba4e4569bf91fd70ef5ded26836019394425212021-06-04 16:40:13108 days 4 hrs ago 0xc7ec237c846c1e2845ff88d30478762c6f75c8b7 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x69b2f356acb05e3e19b691641f35a1794ba4e4569bf91fd70ef5ded26836019394425212021-06-04 16:40:13108 days 4 hrs ago 0xc7ec237c846c1e2845ff88d30478762c6f75c8b7 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x94cbf758c1a429308d415aef192d6735262ba3dc9a5008c4ea9bbb97f550632594151302021-06-03 17:50:35109 days 3 hrs ago 0xf73224cb4e00f123b365bc368c962bb30aae6198 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x94cbf758c1a429308d415aef192d6735262ba3dc9a5008c4ea9bbb97f550632594151302021-06-03 17:50:35109 days 3 hrs ago 0x0cbe86fea89dc40b6d93ce4cc53202bda5a43f1c 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x94cbf758c1a429308d415aef192d6735262ba3dc9a5008c4ea9bbb97f550632594151302021-06-03 17:50:35109 days 3 hrs ago 0xf73224cb4e00f123b365bc368c962bb30aae6198 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x94cbf758c1a429308d415aef192d6735262ba3dc9a5008c4ea9bbb97f550632594151302021-06-03 17:50:35109 days 3 hrs ago 0x0cbe86fea89dc40b6d93ce4cc53202bda5a43f1c 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x94cbf758c1a429308d415aef192d6735262ba3dc9a5008c4ea9bbb97f550632594151302021-06-03 17:50:35109 days 3 hrs ago 0xb51f46de65c00989e5f315686d80674477d15436 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x94cbf758c1a429308d415aef192d6735262ba3dc9a5008c4ea9bbb97f550632594151302021-06-03 17:50:35109 days 3 hrs ago 0xb51f46de65c00989e5f315686d80674477d15436 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x657478dc9e7b5e167e6ac3aef3286524c7b27494101526e0fb76a12aa9af21f594149102021-06-03 17:39:35109 days 3 hrs ago 0xf73224cb4e00f123b365bc368c962bb30aae6198 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x657478dc9e7b5e167e6ac3aef3286524c7b27494101526e0fb76a12aa9af21f594149102021-06-03 17:39:35109 days 3 hrs ago 0x0cbe86fea89dc40b6d93ce4cc53202bda5a43f1c 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x657478dc9e7b5e167e6ac3aef3286524c7b27494101526e0fb76a12aa9af21f594149102021-06-03 17:39:35109 days 3 hrs ago 0xf73224cb4e00f123b365bc368c962bb30aae6198 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x657478dc9e7b5e167e6ac3aef3286524c7b27494101526e0fb76a12aa9af21f594149102021-06-03 17:39:35109 days 3 hrs ago 0x0cbe86fea89dc40b6d93ce4cc53202bda5a43f1c 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x657478dc9e7b5e167e6ac3aef3286524c7b27494101526e0fb76a12aa9af21f594149102021-06-03 17:39:35109 days 3 hrs ago 0xb51f46de65c00989e5f315686d80674477d15436 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x657478dc9e7b5e167e6ac3aef3286524c7b27494101526e0fb76a12aa9af21f594149102021-06-03 17:39:35109 days 3 hrs ago 0xb51f46de65c00989e5f315686d80674477d15436 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0xdcae86e0121e653dac02e657be17ab5760cbde6b2f036244d440b5fef2e0c86b93782262021-06-02 11:03:54110 days 10 hrs ago 0xf73224cb4e00f123b365bc368c962bb30aae6198 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0xdcae86e0121e653dac02e657be17ab5760cbde6b2f036244d440b5fef2e0c86b93782262021-06-02 11:03:54110 days 10 hrs ago 0x0cbe86fea89dc40b6d93ce4cc53202bda5a43f1c 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0xdcae86e0121e653dac02e657be17ab5760cbde6b2f036244d440b5fef2e0c86b93782262021-06-02 11:03:54110 days 10 hrs ago 0xf73224cb4e00f123b365bc368c962bb30aae6198 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0xdcae86e0121e653dac02e657be17ab5760cbde6b2f036244d440b5fef2e0c86b93782262021-06-02 11:03:54110 days 10 hrs ago 0x0cbe86fea89dc40b6d93ce4cc53202bda5a43f1c 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0xdcae86e0121e653dac02e657be17ab5760cbde6b2f036244d440b5fef2e0c86b93782262021-06-02 11:03:54110 days 10 hrs ago 0xb51f46de65c00989e5f315686d80674477d15436 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0xdcae86e0121e653dac02e657be17ab5760cbde6b2f036244d440b5fef2e0c86b93782262021-06-02 11:03:54110 days 10 hrs ago 0xb51f46de65c00989e5f315686d80674477d15436 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x6dac35dc4e0391671ab007e7974ca91a6214250d1b321287383f883ed50e923593724302021-06-02 6:14:06110 days 15 hrs ago 0xc7ec237c846c1e2845ff88d30478762c6f75c8b7 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x6dac35dc4e0391671ab007e7974ca91a6214250d1b321287383f883ed50e923593724302021-06-02 6:14:06110 days 15 hrs ago 0xc7ec237c846c1e2845ff88d30478762c6f75c8b7 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x06c938b52d8034a446443e1d268b257d6e82ffa1682acabc8e3a6040908ff2c293451802021-06-01 7:31:36111 days 13 hrs ago 0xf73224cb4e00f123b365bc368c962bb30aae6198 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0x06c938b52d8034a446443e1d268b257d6e82ffa1682acabc8e3a6040908ff2c293451802021-06-01 7:31:36111 days 13 hrs ago 0x0cbe86fea89dc40b6d93ce4cc53202bda5a43f1c 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
0xf9aa4fbbcf3f4c714db976595de9321395dd2a96edc1f67581a9339cbdee5ded93451702021-06-01 7:31:06111 days 14 hrs ago 0xf73224cb4e00f123b365bc368c962bb30aae6198 0xa89eaa719d1dbbaad042311feec6c9af0103a17e0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xCcE6041082934Aa28c1Dcb746890818f495819d8

Contract Name:
Malt

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 10 : Malt.sol
pragma solidity >=0.6.6;

import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/upgrades/contracts/Initializable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./Permissions.sol";


contract Malt is ERC20, Initializable, Permissions {
  using SafeMath for uint256;

  constructor(string memory name, string memory ticker) public ERC20(name, ticker) {}

  function initialize(address dao, address stabilizer, address _timelock) external initializer {
    _adminSetup(_timelock);

    /* Only DAO and stablizer should be able to mint or burn coins */
    _setupRole(MONETARY_REGULATOR_ROLE, dao);
    _setupRole(MONETARY_REGULATOR_ROLE, stabilizer);
  }

  function mint(address to, uint256 amount)
    public
    onlyRole(MONETARY_REGULATOR_ROLE, "Must have monetary regulator role")
  {
    _mint(to, amount);
  }

  function burn(address from, uint256 amount)
    public
    onlyRole(MONETARY_REGULATOR_ROLE, "Must have monetary regulator role")
  {
    _burn(from, amount);
  }
}

File 2 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 3 of 10 : Initializable.sol
pragma solidity >=0.4.24 <0.7.0;


/**
 * @title Initializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 */
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 use in the initializer function of a contract.
   */
  modifier initializer() {
    require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

    bool isTopLevelCall = !initializing;
    if (isTopLevelCall) {
      initializing = true;
      initialized = true;
    }

    _;

    if (isTopLevelCall) {
      initializing = false;
    }
  }

  /// @dev Returns true if and only if the function is running in the constructor
  function isConstructor() private view returns (bool) {
    // extcodesize checks the size of the code stored in an address, and
    // address returns the current address. Since the code is still not
    // deployed when running a constructor, any checks on its code size will
    // yield zero, making it an effective way to detect if a contract is
    // under construction or not.
    address self = address(this);
    uint256 cs;
    assembly { cs := extcodesize(self) }
    return cs == 0;
  }

  // Reserved storage space to allow for layout changes in the future.
  uint256[50] private ______gap;
}

File 4 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../../GSN/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.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 guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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:
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @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 to 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 { }
}

File 5 of 10 : Permissions.sol
pragma solidity >=0.6.6;

import "@openzeppelin/contracts/access/AccessControl.sol";

contract Permissions is AccessControl {
  // Timelock has absolute power across the system
  bytes32 public constant TIMELOCK_ROLE = keccak256("TIMELOCK_ROLE");
  bytes32 public constant GOVERNOR_ROLE = keccak256("GOVERNOR_ROLE");

  // Can mint/burn Malt
  bytes32 public constant MONETARY_REGULATOR_ROLE = keccak256("MONETARY_REGULATOR_ROLE");

  // Contract types
  bytes32 public constant STABILIZER_NODE_ROLE = keccak256("STABILIZER_NODE_ROLE");
  bytes32 public constant LIQUIDITY_MINE_ROLE = keccak256("LIQUIDITY_MINE_ROLE");
  bytes32 public constant AUCTION_ROLE = keccak256("AUCTION_ROLE");

  address internal admin;

  mapping(address => uint256) public lastBlock; // protect against reentrancy

  function _adminSetup(address _timelock) internal {
    _roleSetup(TIMELOCK_ROLE, _timelock);
    _roleSetup(GOVERNOR_ROLE, _timelock);
    _roleSetup(MONETARY_REGULATOR_ROLE, _timelock);
    _roleSetup(STABILIZER_NODE_ROLE, _timelock);

    admin = _timelock;
  }

  function assignRole(bytes32 role, address _assignee)
    external
    onlyRole(TIMELOCK_ROLE, "Only timelock can assign roles")
  {
    _setupRole(role, _assignee);
  }

  function removeRole(bytes32 role, address _entity)
    external
    onlyRole(TIMELOCK_ROLE, "Only timelock can revoke roles")
  {
    revokeRole(role, _entity);
  }

  function reassignAdmin(address _admin)
    external
    onlyRole(TIMELOCK_ROLE, "Only timelock can assign roles")
  {
    _swapRole(_admin, admin, TIMELOCK_ROLE);
    _swapRole(_admin, admin, GOVERNOR_ROLE);
    _swapRole(_admin, admin, MONETARY_REGULATOR_ROLE);
    _swapRole(_admin, admin, STABILIZER_NODE_ROLE);

    admin = _admin;
  }

  function _swapRole(address newAccount, address oldAccount, bytes32 role) internal {
    revokeRole(role, oldAccount);
    _setupRole(role, newAccount);
  }

  function _roleSetup(bytes32 role, address account) internal {
    _setupRole(role, account);
    _setRoleAdmin(role, TIMELOCK_ROLE);
  }

  function _onlyRole(bytes32 role, string memory reason) internal view {
    require(
      hasRole(
        role,
        _msgSender()
      ),
      reason
    );
  }

  function _notSameBlock() internal {
    require(
      block.number > lastBlock[_msgSender()],
      "Can't carry out actions in the same block"
    );
    lastBlock[_msgSender()] = block.number;
  }

  // Using internal function calls here reduces compiled bytecode size
  modifier onlyRole(bytes32 role, string memory reason) {
    _onlyRole(role, reason);
    _;
  }

  modifier notSameBlock() {
    _notSameBlock();
    _;
  }
}

File 6 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 7 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 8 of 10 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../utils/EnumerableSet.sol";
import "../utils/Address.sol";
import "../GSN/Context.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * 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 {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @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 {_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) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @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 returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @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 returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @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 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 {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _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 {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _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 granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        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}.
     * ====
     */
    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 {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 9 of 10 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            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] = toDeleteIndex + 1; // All indexes are 1-based

            // 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) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // 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);
    }

    // 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(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(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(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(uint256(_at(set._inner, index)));
    }


    // 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));
    }
}

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

pragma solidity >=0.6.2 <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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"ticker","type":"string"}],"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":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"},{"inputs":[],"name":"AUCTION_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GOVERNOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIQUIDITY_MINE_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MONETARY_REGULATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STABILIZER_NODE_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TIMELOCK_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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"_assignee","type":"address"}],"name":"assignRole","outputs":[],"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":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","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":[{"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":"dao","type":"address"},{"internalType":"address","name":"stabilizer","type":"address"},{"internalType":"address","name":"_timelock","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","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":[{"internalType":"address","name":"_admin","type":"address"}],"name":"reassignAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"_entity","type":"address"}],"name":"removeRole","outputs":[],"stateMutability":"nonpayable","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":[],"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"}]

60806040523480156200001157600080fd5b5060405162001f3b38038062001f3b833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b50604052505082518391508290620001b8906003906020850190620001e7565b508051620001ce906004906020840190620001e7565b50506005805460ff19166012179055506200028c915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022a57805160ff19168380011785556200025a565b828001600101855582156200025a579182015b828111156200025a5782518255916020019190600101906200023d565b50620002689291506200026c565b5090565b6200028991905b8082111562000268576000815560010162000273565b90565b611c9f806200029c6000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80637565d4911161010f578063a9059cbb116100a2578063d547741f11610071578063d547741f14610609578063dd62ed3e14610635578063f288a2e214610663578063f6ba00071461066b576101f0565b8063a9059cbb14610580578063c0c53b8b146105ac578063ca15c873146105e4578063ccc5749014610601576101f0565b806395d89b41116100de57806395d89b41146105185780639dc29fac14610520578063a217fddf1461054c578063a457c2d714610554576101f0565b80637565d4911461047f5780639010d07c1461048757806391d14854146104c6578063952ca92c146104f2576101f0565b806330a727b31161018757806340c10f191161015657806340c10f191461041d578063430730a3146104495780634652f0cf1461045157806370a0823114610459576101f0565b806330a727b31461037b578063313ce567146103a757806336568abe146103c557806339509351146103f1576101f0565b806323b872dd116101c357806323b872dd146102f4578063248a9ca31461032a578063271d1603146103475780632f2ff15d1461034f576101f0565b806306fdde03146101f5578063095ea7b3146102725780630ff6b021146102b257806318160ddd146102da575b600080fd5b6101fd610697565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023757818101518382015260200161021f565b50505050905090810190601f1680156102645780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61029e6004803603604081101561028857600080fd5b506001600160a01b03813516906020013561072d565b604080519115158252519081900360200190f35b6102d8600480360360208110156102c857600080fd5b50356001600160a01b031661074b565b005b6102e26108c0565b60408051918252519081900360200190f35b61029e6004803603606081101561030a57600080fd5b506001600160a01b038135811691602081013590911690604001356108c6565b6102e26004803603602081101561034057600080fd5b5035610953565b6102e2610968565b6102d86004803603604081101561036557600080fd5b50803590602001356001600160a01b0316610993565b6102d86004803603604081101561039157600080fd5b50803590602001356001600160a01b03166109ff565b6103af610a6b565b6040805160ff9092168252519081900360200190f35b6102d8600480360360408110156103db57600080fd5b50803590602001356001600160a01b0316610a74565b61029e6004803603604081101561040757600080fd5b506001600160a01b038135169060200135610ad5565b6102d86004803603604081101561043357600080fd5b506001600160a01b038135169060200135610b29565b6102e2610b71565b6102e2610b95565b6102e26004803603602081101561046f57600080fd5b50356001600160a01b0316610bc1565b6102e2610bdc565b6104aa6004803603604081101561049d57600080fd5b5080359060200135610bff565b604080516001600160a01b039092168252519081900360200190f35b61029e600480360360408110156104dc57600080fd5b50803590602001356001600160a01b0316610c24565b6102e26004803603602081101561050857600080fd5b50356001600160a01b0316610c42565b6101fd610c54565b6102d86004803603604081101561053657600080fd5b506001600160a01b038135169060200135610cb5565b6102e2610cfd565b61029e6004803603604081101561056a57600080fd5b506001600160a01b038135169060200135610d02565b61029e6004803603604081101561059657600080fd5b506001600160a01b038135169060200135610d70565b6102d8600480360360608110156105c257600080fd5b506001600160a01b038135811691602081013582169160409091013516610d84565b6102e2600480360360208110156105fa57600080fd5b5035610e91565b6102e2610ea8565b6102d86004803603604081101561061f57600080fd5b50803590602001356001600160a01b0316610ecd565b6102e26004803603604081101561064b57600080fd5b506001600160a01b0381358116916020013516610f26565b6102e2610f51565b6102d86004803603604081101561068157600080fd5b50803590602001356001600160a01b0316610f76565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107235780601f106106f857610100808354040283529160200191610723565b820191906000526020600020905b81548152906001019060200180831161070657829003601f168201915b5050505050905090565b600061074161073a610fdc565b8484610fe0565b5060015b92915050565b604080516c54494d454c4f434b5f524f4c4560981b8152815190819003600d018120818301909252601e81527f4f6e6c792074696d656c6f636b2063616e2061737369676e20726f6c6573000060208201526107a782826110cc565b603954604080516c54494d454c4f434b5f524f4c4560981b8152905190819003600d0190206107e39185916001600160a01b0390911690611167565b603954604080516c474f5645524e4f525f524f4c4560981b8152905190819003600d01902061081f9185916001600160a01b0390911690611167565b60395460408051600080516020611b8c833981519152815290519081900360170190206108599185916001600160a01b0390911690611167565b603954604080517353544142494c495a45525f4e4f44455f524f4c4560601b8152905190819003601401902061089c9185916001600160a01b0390911690611167565b5050603980546001600160a01b0319166001600160a01b0392909216919091179055565b60025490565b60006108d384848461117b565b610949846108df610fdc565b61094485604051806060016040528060288152602001611b36602891396001600160a01b038a1660009081526001602052604081209061091d610fdc565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6112e216565b610fe0565b5060019392505050565b60009081526038602052604090206002015490565b60408051724c49515549444954595f4d494e455f524f4c4560681b8152905190819003601301902081565b6000828152603860205260409020600201546109b6906109b1610fdc565b610c24565b6109f15760405162461bcd60e51b815260040180806020018281038252602f815260200180611a4c602f913960400191505060405180910390fd5b6109fb828261133c565b5050565b604080516c54494d454c4f434b5f524f4c4560981b8152815190819003600d018120818301909252601e81527f4f6e6c792074696d656c6f636b2063616e2061737369676e20726f6c657300006020820152610a5b82826110cc565b610a6584846109f1565b50505050565b60055460ff1690565b610a7c610fdc565b6001600160a01b0316816001600160a01b031614610acb5760405162461bcd60e51b815260040180806020018281038252602f815260200180611c3b602f913960400191505060405180910390fd5b6109fb82826113ab565b6000610741610ae2610fdc565b846109448560016000610af3610fdc565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61141a16565b60408051600080516020611b8c83398151915281528151908190036017018120606082019092526021808252611ae56020830139610b6782826110cc565b610a658484611474565b604080516b41554354494f4e5f524f4c4560a01b8152905190819003600c01902081565b604080517353544142494c495a45525f4e4f44455f524f4c4560601b8152905190819003601401902081565b6001600160a01b031660009081526020819052604090205490565b60408051600080516020611b8c8339815191528152905190819003601701902081565b6000828152603860205260408120610c1d908363ffffffff61157016565b9392505050565b6000828152603860205260408120610c1d908363ffffffff61157c16565b603a6020526000908152604090205481565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107235780601f106106f857610100808354040283529160200191610723565b60408051600080516020611b8c83398151915281528151908190036017018120606082019092526021808252611ae56020830139610cf382826110cc565b610a658484611591565b600081565b6000610741610d0f610fdc565b8461094485604051806060016040528060258152602001611c166025913960016000610d39610fdc565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6112e216565b6000610741610d7d610fdc565b848461117b565b60055462010000900460ff1680610d9e5750610d9e611699565b80610db15750600554610100900460ff16155b610dec5760405162461bcd60e51b815260040180806020018281038252602e815260200180611b5e602e913960400191505060405180910390fd5b60055462010000900460ff16158015610e1c576005805461ff001962ff0000199091166201000017166101001790555b610e258261169f565b60408051600080516020611b8c83398151915281529051908190036017019020610e4f90856109f1565b60408051600080516020611b8c83398151915281529051908190036017019020610e7990846109f1565b8015610a65576005805462ff00001916905550505050565b600081815260386020526040812061074590611776565b604080516c474f5645524e4f525f524f4c4560981b8152905190819003600d01902081565b600082815260386020526040902060020154610eeb906109b1610fdc565b610acb5760405162461bcd60e51b8152600401808060200182810382526030815260200180611b066030913960400191505060405180910390fd5b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b604080516c54494d454c4f434b5f524f4c4560981b8152905190819003600d01902081565b604080516c54494d454c4f434b5f524f4c4560981b8152815190819003600d018120818301909252601e81527f4f6e6c792074696d656c6f636b2063616e207265766f6b6520726f6c657300006020820152610fd282826110cc565b610a658484610ecd565b3390565b6001600160a01b0383166110255760405162461bcd60e51b8152600401808060200182810382526024815260200180611bf26024913960400191505060405180910390fd5b6001600160a01b03821661106a5760405162461bcd60e51b8152600401808060200182810382526022815260200180611a9d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6110d8826109b1610fdc565b81906111625760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561112757818101518382015260200161110f565b50505050905090810190601f1680156111545780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050565b6111718183610ecd565b61116281846109f1565b6001600160a01b0383166111c05760405162461bcd60e51b8152600401808060200182810382526025815260200180611bcd6025913960400191505060405180910390fd5b6001600160a01b0382166112055760405162461bcd60e51b8152600401808060200182810382526023815260200180611a296023913960400191505060405180910390fd5b611210838383611162565b61125381604051806060016040528060268152602001611abf602691396001600160a01b038616600090815260208190526040902054919063ffffffff6112e216565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611288908263ffffffff61141a16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156113345760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561112757818101518382015260200161110f565b505050900390565b600082815260386020526040902061135a908263ffffffff61178116565b156109fb57611367610fdc565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526038602052604090206113c9908263ffffffff61179616565b156109fb576113d6610fdc565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600082820183811015610c1d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0382166114cf576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6114db60008383611162565b6002546114ee908263ffffffff61141a16565b6002556001600160a01b03821660009081526020819052604090205461151a908263ffffffff61141a16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000610c1d83836117ab565b6000610c1d836001600160a01b03841661180f565b6001600160a01b0382166115d65760405162461bcd60e51b8152600401808060200182810382526021815260200180611bac6021913960400191505060405180910390fd5b6115e282600083611162565b61162581604051806060016040528060228152602001611a7b602291396001600160a01b038516600090815260208190526040902054919063ffffffff6112e216565b6001600160a01b038316600090815260208190526040902055600254611651908263ffffffff61182716565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b303b1590565b604080516c54494d454c4f434b5f524f4c4560981b8152905190819003600d0190206116cb9082611869565b604080516c474f5645524e4f525f524f4c4560981b8152905190819003600d0190206116f79082611869565b60408051600080516020611b8c833981519152815290519081900360170190206117219082611869565b604080517353544142494c495a45525f4e4f44455f524f4c4560601b815290519081900360140190206117549082611869565b603980546001600160a01b0319166001600160a01b0392909216919091179055565b6000610745826118a0565b6000610c1d836001600160a01b0384166118a4565b6000610c1d836001600160a01b0384166118ee565b815460009082106117ed5760405162461bcd60e51b8152600401808060200182810382526022815260200180611a076022913960400191505060405180910390fd5b8260000182815481106117fc57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b6000610c1d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112e2565b61187382826109f1565b604080516c54494d454c4f434b5f524f4c4560981b8152905190819003600d0190206109fb9083906119b4565b5490565b60006118b0838361180f565b6118e657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610745565b506000610745565b600081815260018301602052604081205480156119aa578354600019808301919081019060009087908390811061192157fe5b906000526020600020015490508087600001848154811061193e57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061196e57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610745565b6000915050610745565b600082815260386020526040808220600201549051839285917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a46000918252603860205260409091206002015556fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d7573742068617665206d6f6e657461727920726567756c61746f7220726f6c65416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65644d4f4e45544152595f524547554c41544f525f524f4c4500000000000000000045524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212203f73c8dc25730a06bfd7a305063974764447b50df476103d36178c2f3d2fbe7364736f6c6343000606003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000f4d616c7420537461626c65636f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d414c5400000000000000000000000000000000000000000000000000000000

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