Contract 0xcf24acbc11438fe200bf16ca95316f5ae85ed7f0 2

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xfe4eba8fc40a0ca2e7a5411c3b5e923b1fd1f5655a451acde1e3220c5e8fb284Approve120783542021-10-25 12:32:571 day 14 hrs ago0x30e43d88322552c23778ab9abfa01541ea904983 IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00022705
0xcac906cf0e8a9bf850c6c7b8efedece52c7cc356116e872902e9f869f59f8f85Approve118234662021-10-16 13:21:0210 days 14 hrs ago0xb99c38602c12675fbd1708fcbf6ff8d9b658b199 IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00022705
0x336f831056170ddca757386d282ed191ab20bf86a935ab5b05b02b2d0449d34aTransfer115416812021-10-06 16:45:1420 days 10 hrs ago0x596ffabc644fda7f1b82320a6134a5be5eadc0ee IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00020153
0x5372f0771c705728c2b8491ecba7dda468f8057b1cd17f9ec943f30280ced365Approve115148842021-10-05 18:23:1321 days 9 hrs ago0x1af779931d0abf62b9264e363f3e9ef2ffc73a48 IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00007578
0x1c749efc1dddd8e545629dd3f9e2f0369f47ab2833995c8c8b7ed2e1fef9a17dApprove114253032021-10-02 15:27:4024 days 12 hrs ago0xa7a1313aa79acff7891fe99d67e5f32ae7f8dbdc IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00022705
0x6f5a138a7f2d5996a9b39eaba6df4bc2e42447372e51bd74d7fed199e26a399eApprove114103022021-10-02 2:51:2025 days 39 mins ago0xe3af1fec282f842650ae9b3127bbf7c50f42fdc7 IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00007578
0x59c49e187df5bd8d181dc5cc48914e75346a7d0fd3a5fab8b166de7462b3a8ddTransfer112567322021-09-26 17:28:2430 days 10 hrs ago0xc7e93e8ff48f21244d7da471e254e2b61d6022a4 IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00012653
0xde42c964c6d8f8bbfd97fdb42aee91081656d23008d21eef8e9784167773fa73Transfer111829292021-09-24 3:37:5232 days 23 hrs ago0x596ffabc644fda7f1b82320a6134a5be5eadc0ee IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00020153
0x4fedec49db213aa9c4b29b96f045a18e4764ceecb6625dda2c87eb9a8b827a8cTransfer109918482021-09-17 11:30:5039 days 16 hrs ago0x596ffabc644fda7f1b82320a6134a5be5eadc0ee IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00020153
0x9199cdb176a5227e6ece9590c2cb1444d085b4e4fb14fc1644bd931f890f8963Approve108527702021-09-12 15:19:0944 days 12 hrs ago0x913bbe1bd139f937797eb5ecbd09c76881ea86d4 IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00022705
0xadc05102d8722eb755bf05cf445fc3472e4955d334af97d15e56f5adf9934669Approve107935762021-09-10 13:32:3546 days 13 hrs ago0xe98f0b95292c2c7a3cee33e091cc953f0f1c3cbe IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00007578
0x5bf637042a9191161ab0dffa265b397e1c4ae4bcfc55a919a3fd549dd7fdeb87Transfer107816932021-09-10 3:34:0046 days 23 hrs ago0x596ffabc644fda7f1b82320a6134a5be5eadc0ee IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00020153
0x5576a72624dba9e20e17dc67e726f58a79d58dc02eb0cc99ed6e95dab7c7a3c7Transfer106719722021-09-06 6:56:4050 days 20 hrs ago0x10fbf16955ff7566381f976946cb20a4cbef7b2d IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00020153
0x004fea0efa6efcc8e8389eb31b222a267e06ecac8b2e5121e91bf8c9d26a69c4Approve106024632021-09-03 20:51:5053 days 6 hrs ago0xa1470e5869bea8324b44b92a66440f7ffc3a01ff IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00022632
0xcd17a0ae850d814c1efea7222ba482737c65a0a0e329d46b1970bbabb80e1cdeTransfer105848192021-09-03 5:54:5253 days 21 hrs ago0x596ffabc644fda7f1b82320a6134a5be5eadc0ee IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00020153
0xd89b2d4ece3bf42aee4c0e86c99721d2d7faa22df4d4c4316fb43d5e591a0808Approve105499192021-09-02 0:29:4555 days 3 hrs ago0x865b07f966f79f3a5ba87ff2e0029a7dfd3fb46d IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00022705
0xf1b2dda83aeabdb9bcb2730c5224d9565476781df74a957ff68feca2203c156dApprove105305832021-09-01 8:09:4455 days 19 hrs ago0xa7a1313aa79acff7891fe99d67e5f32ae7f8dbdc IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00022705
0xe86c53e9c4c73ad0635c355840654468ec210dd45ac9a8e5e7ef499e61cb0338Approve104353632021-08-28 23:49:4859 days 3 hrs ago0xfc51f91abbae51d76f16ef17b379f941506a8b92 IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00022705
0x834c923ef27a1c3df748569497860929a86311a71438f22fcae02638a0d6f3abTransfer103837532021-08-27 3:35:2460 days 23 hrs ago0x596ffabc644fda7f1b82320a6134a5be5eadc0ee IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00020153
0x77ba4f92976b5e206f0423e29e621548c9fa5fae6d2246fa6590bee45e479a6fTransfer103561452021-08-26 4:33:4961 days 22 hrs ago0x2dc1b4fd836da3aa3e71c25f3ff92091a2d7a19d IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00020153
0xe26e583fd737d89a9f35a41da6644f4e9308f4ce34a90eb279060092b186db6fTransfer103560082021-08-26 4:26:5861 days 23 hrs ago0x2dc1b4fd836da3aa3e71c25f3ff92091a2d7a19d IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00020159
0x524dc2d201925a1bd720e8413b72305774633b162f4889cc2acaca797b13d59cTransfer103559892021-08-26 4:26:0161 days 23 hrs ago0x2dc1b4fd836da3aa3e71c25f3ff92091a2d7a19d IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00020159
0xdfc21c7046ef643cc2c852c56fc8d15ae0d031a653f62b18471dee65903e4319Transfer103559632021-08-26 4:24:4361 days 23 hrs ago0x2dc1b4fd836da3aa3e71c25f3ff92091a2d7a19d IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00020159
0xa31931aeab0ca4468b5fbf7097e7ae1c7e7de7af5ce13456be0cdebb1bb92846Approve103342092021-08-25 10:11:4262 days 17 hrs ago0x1ed8448e0d2ce83a3635773e06b90ba422004ad7 IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00013105
0x69203d772901115314eed3270095cab267e26dd793b99e1ac0664fb1a19e8719Approve103341902021-08-25 10:10:4562 days 17 hrs ago0x1ed8448e0d2ce83a3635773e06b90ba422004ad7 IN  0xcf24acbc11438fe200bf16ca95316f5ae85ed7f00 BNB0.00022705
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BWin

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 2 : BWin.sol
pragma solidity >=0.6.0 <0.7.0;
pragma experimental ABIEncoderV2;

import "../utils/SafeMath.sol";


contract BWin {
    /// @notice EIP-20 token name for this token
    string public constant name = "BigWin";

    /// @notice EIP-20 token symbol for this token
    string public constant symbol = "BWIN";

    /// @notice EIP-20 token decimals for this token
    uint8 public constant decimals = 18;

    /// @notice Total number of tokens in circulation
    uint public totalSupply = 10_000_000e18; // 10 million BWin

    /// @notice Address which may mint new tokens
    address public minter;

    /// @notice The timestamp after which minting may occur
    uint public mintingAllowedAfter;

    /// @notice after setting protect time
    uint public allowToMintTime;

    /// @notice Minimum time between mints

    uint32 public minimumTimeBetweenMints = 1 days * 365; //1 years

    /// @notice Cap on the percentage of totalSupply that can be minted at each mint
    uint8 public mintCap = 2;

    /// @notice token setting protect
    uint32 constant public mintProtectTime = 1 days * 1460; //4 years

    /// @notice Allowance amounts on behalf of others
    mapping (address => mapping (address => uint96)) internal allowances;

    /// @notice Official record of token balances for each account
    mapping (address => uint96) internal balances;

    /// @notice A record of each accounts delegate
    mapping (address => address) public delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint96 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice The EIP-712 typehash for the permit struct used by the contract
    bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @notice An event thats emitted when the minter address is changed
    event MinterChanged(address minter, address newMinter);

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /// @notice The standard EIP-20 transfer event
    event Transfer(address indexed from, address indexed to, uint256 amount);

    /// @notice The standard EIP-20 approval event
    event Approval(address indexed owner, address indexed spender, uint256 amount);

    /**
     * @notice Construct a new BWin token
     * @param account The initial account to grant all the tokens
     * @param minter_ The account with minting ability
     * @param mintingAllowedAfter_ The timestamp after which minting may occur
     */
    constructor(address account, address minter_, uint mintingAllowedAfter_) public {
        require(mintingAllowedAfter_ >= block.timestamp, "BWin::constructor: minting can only begin after deployment");

        balances[account] = uint96(totalSupply);
        emit Transfer(address(0), account, totalSupply);
        minter = minter_;
        emit MinterChanged(address(0), minter);
        mintingAllowedAfter = mintingAllowedAfter_;

        // record setting protect time
        allowToMintTime = SafeMath.add(block.timestamp, mintProtectTime);
    }

    /**
     * @notice Change the minter address
     * @param minter_ The address of the new minter
     */
    function setMinter(address minter_) external {
        require(msg.sender == minter, "BWin::setMinter: only the minter can change the minter address");
        emit MinterChanged(minter, minter_);
        minter = minter_;
    }

    /**
     * @notice Mint new tokens
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to be minted
     */
    function mint(address dst, uint rawAmount) external {
        require(msg.sender == minter, "BWin::mint: only the minter can mint");
        require(block.timestamp >= allowToMintTime, "BWin::mint: protection time has not arrived");
        require(block.timestamp >= mintingAllowedAfter, "BWin::mint: minting not allowed yet");
        require(dst != address(0), "BWin::mint: cannot transfer to the zero address");

        // record the mint
        mintingAllowedAfter = SafeMath.add(block.timestamp, minimumTimeBetweenMints);

        // mint the amount
        uint96 amount = safe96(rawAmount, "BWin::mint: amount exceeds 96 bits");
        require(amount <= SafeMath.div(SafeMath.mul(totalSupply, mintCap), 100), "BWin::mint: exceeded mint cap");
        totalSupply = safe96(SafeMath.add(totalSupply, amount), "BWin::mint: totalSupply exceeds 96 bits");

        // transfer the amount to the recipient
        balances[dst] = add96(balances[dst], amount, "BWin::mint: transfer amount overflows");
        emit Transfer(address(0), dst, amount);

        // move delegates
        _moveDelegates(address(0), delegates[dst], amount);
    }

    /**
     * @notice Get the number of tokens `spender` is approved to spend on behalf of `account`
     * @param account The address of the account holding the funds
     * @param spender The address of the account spending the funds
     * @return The number of tokens approved
     */
    function allowance(address account, address spender) external view returns (uint) {
        return allowances[account][spender];
    }

    /**
     * @notice Approve `spender` to transfer up to `amount` from `src`
     * @dev This will overwrite the approval amount for `spender`
     *  and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)
     * @param spender The address of the account which may transfer tokens
     * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)
     * @return Whether or not the approval succeeded
     */
    function approve(address spender, uint rawAmount) external returns (bool) {
        uint96 amount;
        if (rawAmount == uint(-1)) {
            amount = uint96(-1);
        } else {
            amount = safe96(rawAmount, "BWin::approve: amount exceeds 96 bits");
        }

        allowances[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);
        return true;
    }

    /**
     * @notice Triggers an approval from owner to spends
     * @param owner The address to approve from
     * @param spender The address to be approved
     * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)
     * @param deadline The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function permit(address owner, address spender, uint rawAmount, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        uint96 amount;
        if (rawAmount == uint(-1)) {
            amount = uint96(-1);
        } else {
            amount = safe96(rawAmount, "BWin::permit: amount exceeds 96 bits");
        }

        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, rawAmount, nonces[owner]++, deadline));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "BWin::permit: invalid signature");
        require(signatory == owner, "BWin::permit: unauthorized");
        require(now <= deadline, "BWin::permit: signature expired");

        allowances[owner][spender] = amount;

        emit Approval(owner, spender, amount);
    }

    /**
     * @notice Get the number of tokens held by the `account`
     * @param account The address of the account to get the balance of
     * @return The number of tokens held
     */
    function balanceOf(address account) external view returns (uint) {
        return balances[account];
    }

    /**
     * @notice Transfer `amount` tokens from `msg.sender` to `dst`
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transfer(address dst, uint rawAmount) external returns (bool) {
        uint96 amount = safe96(rawAmount, "BWin::transfer: amount exceeds 96 bits");
        _transferTokens(msg.sender, dst, amount);
        return true;
    }

    /**
     * @notice Transfer `amount` tokens from `src` to `dst`
     * @param src The address of the source account
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transferFrom(address src, address dst, uint rawAmount) external returns (bool) {
        address spender = msg.sender;
        uint96 spenderAllowance = allowances[src][spender];
        uint96 amount = safe96(rawAmount, "BWin::approve: amount exceeds 96 bits");

        if (spender != src && spenderAllowance != uint96(-1)) {
            uint96 newAllowance = sub96(spenderAllowance, amount, "BWin::transferFrom: transfer amount exceeds spender allowance");
            allowances[src][spender] = newAllowance;

            emit Approval(src, spender, newAllowance);
        }

        _transferTokens(src, dst, amount);
        return true;
    }

    // set minimum time between mints
    function setMinimumTimeBetweenMints(uint32 _minimumTimeBetweenMints) external {
        require(msg.sender == minter, "BWin::setMinimumTimeBetweenMints: only the minter can set");
        minimumTimeBetweenMints = _minimumTimeBetweenMints;
    }

    // set min cap
    function setMintCap(uint8 _mintCap) external {
        require(msg.sender == minter, "BWin::setMintCap: only the minter can set");
        mintCap = _mintCap;
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) public {
        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "BWin::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "BWin::delegateBySig: invalid nonce");
        require(now <= expiry, "BWin::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (uint96) {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber) public view returns (uint96) {
        require(blockNumber < block.number, "BWin::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        address currentDelegate = delegates[delegator];
        uint96 delegatorBalance = balances[delegator];
        delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _transferTokens(address src, address dst, uint96 amount) internal {
        require(src != address(0), "BWin::_transferTokens: cannot transfer from the zero address");
        require(dst != address(0), "BWin::_transferTokens: cannot transfer to the zero address");

        balances[src] = sub96(balances[src], amount, "BWin::_transferTokens: transfer amount exceeds balance");
        balances[dst] = add96(balances[dst], amount, "BWin::_transferTokens: transfer amount overflows");
        emit Transfer(src, dst, amount);

        _moveDelegates(delegates[src], delegates[dst], amount);
    }

    function _moveDelegates(address srcRep, address dstRep, uint96 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint96 srcRepNew = sub96(srcRepOld, amount, "BWin::_moveVotes: vote amount underflows");
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint96 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint96 dstRepNew = add96(dstRepOld, amount, "BWin::_moveVotes: vote amount overflows");
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(address delegatee, uint32 nCheckpoints, uint96 oldVotes, uint96 newVotes) internal {
        uint32 blockNumber = safe32(block.number, "BWin::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function safe96(uint n, string memory errorMessage) internal pure returns (uint96) {
        require(n < 2**96, errorMessage);
        return uint96(n);
    }

    function add96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        uint96 c = a + b;
        require(c >= a, errorMessage);
        return c;
    }

    function sub96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        require(b <= a, errorMessage);
        return a - b;
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

File 2 of 2 : SafeMath.sol
pragma solidity >=0.6.0 <0.7.0;

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol
// Subject to the MIT license.

/**
 * @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 addition of two unsigned integers, reverting with custom message on overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, errorMessage);

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on underflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot underflow.
     */
    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 multiplication of two unsigned integers, reverting on overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b, string memory errorMessage) 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, errorMessage);

        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) {
        // Solidity only automatically asserts when dividing by 0
        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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"minter_","type":"address"},{"internalType":"uint256","name":"mintingAllowedAfter_","type":"uint256"}],"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":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"address","name":"newMinter","type":"address"}],"name":"MinterChanged","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowToMintTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","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":"rawAmount","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":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTimeBetweenMints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintCap","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintProtectTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingAllowedAfter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minimumTimeBetweenMints","type":"uint32"}],"name":"setMinimumTimeBetweenMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mintCap","type":"uint8"}],"name":"setMintCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_","type":"address"}],"name":"setMinter","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":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040526a084595161401484a000000600055600480546301e1338063ffffffff199091161760ff60201b19166402000000001790553480156200004357600080fd5b50604051620028c3380380620028c38339810160408190526200006691620001e5565b42811015620000925760405162461bcd60e51b8152600401620000899062000278565b60405180910390fd5b600080546001600160a01b0385168083526006602052604080842080546001600160601b0319166001600160601b0390941693909317909255825491519092917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91620001009190620002d5565b60405180910390a3600180546001600160a01b0319166001600160a01b0384811691909117918290556040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6926200015f9260009291169062000227565b60405180910390a1806002819055506200018f42630784ce0063ffffffff166200019c60201b6200132b1760201c565b60035550620002de915050565b600082820183811015620001c45760405162461bcd60e51b8152600401620000899062000241565b90505b92915050565b80516001600160a01b0381168114620001c757600080fd5b600080600060608486031215620001fa578283fd5b620002068585620001cd565b9250620002178560208601620001cd565b9150604084015190509250925092565b6001600160a01b0392831681529116602082015260400190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252603a908201527f4257696e3a3a636f6e7374727563746f723a206d696e74696e672063616e206f60408201527f6e6c7920626567696e206166746572206465706c6f796d656e74000000000000606082015260800190565b90815260200190565b6125d580620002ee6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636fcfff451161010f578063c3cda520116100a2578063dd62ed3e11610071578063dd62ed3e146103cd578063e7a324dc146103e0578063f1127ed8146103e8578063fca3b5aa14610409576101e5565b8063c3cda5201461038c578063ce042bcf1461039f578063d2d2070a146103a7578063d505accf146103ba576101e5565b80637ecebe00116100de5780637ecebe001461034b57806395d89b411461035e578063a9059cbb14610366578063b4b5ea5714610379576101e5565b80636fcfff45146102fd57806370a082311461031057806376c71ca114610323578063782d6fe11461032b576101e5565b806330b36cef116101875780635c11d62f116101565780635c11d62f146102ba5780635c19a95c146102cf578063634388bd146102e25780636372399d146102ea576101e5565b806330b36cef14610275578063313ce5671461027d57806340c10f1914610292578063587cde1e146102a7576101e5565b806318160ddd116101c357806318160ddd1461023d57806320606b701461025257806323b872dd1461025a57806330adf81f1461026d576101e5565b806306fdde03146101ea5780630754617214610208578063095ea7b31461021d575b600080fd5b6101f261041c565b6040516101ff9190611d81565b60405180910390f35b61021061043e565b6040516101ff9190611ca5565b61023061022b366004611b89565b61044d565b6040516101ff9190611cd3565b61024561050c565b6040516101ff9190611cde565b610245610512565b610230610268366004611add565b610536565b61024561067d565b6102456106a1565b6102856106a7565b6040516101ff919061234b565b6102a56102a0366004611b89565b6106ac565b005b6102106102b5366004611a8e565b6108fb565b6102c2610916565b6040516101ff919061231b565b6102a56102dd366004611a8e565b610922565b6102c261092f565b6102a56102f8366004611c4b565b610937565b6102c261030b366004611a8e565b61097d565b61024561031e366004611a8e565b610995565b6102856109b9565b61033e610339366004611b89565b6109c9565b6040516101ff9190612359565b610245610359366004611a8e565b610bd7565b6101f2610be9565b610230610374366004611b89565b610c09565b61033e610387366004611a8e565b610c45565b6102a561039a366004611bb3565b610cb6565b610245610eba565b6102a56103b5366004611c6f565b610ec0565b6102a56103c8366004611b1d565b610f0b565b6102456103db366004611aa9565b61120b565b61024561123f565b6103fb6103f6366004611c0c565b611263565b6040516101ff92919061232c565b6102a5610417366004611a8e565b611298565b604051806040016040528060068152602001652134b3abb4b760d11b81525081565b6001546001600160a01b031681565b6000806000198314156104635750600019610488565b610485836040518060600160405280602581526020016123c260259139611350565b90505b3360008181526005602090815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104f8908590612359565b60405180910390a360019150505b92915050565b60005481565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6001600160a01b03831660009081526005602090815260408083203380855290835281842054825160608101909352602580845291936001600160601b0390911692859261058e92889291906123c290830139611350565b9050866001600160a01b0316836001600160a01b0316141580156105bb57506001600160601b0382811614155b156106655760006105e583836040518060600160405280603d81526020016123e7603d913961137f565b6001600160a01b038981166000818152600560209081526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061065b908590612359565b60405180910390a3505b6106708787836113be565b5060019695505050505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60025481565b601281565b6001546001600160a01b031633146106df5760405162461bcd60e51b81526004016106d690611ee5565b60405180910390fd5b6003544210156107015760405162461bcd60e51b81526004016106d690611fa3565b6002544210156107235760405162461bcd60e51b81526004016106d690611f60565b6001600160a01b0382166107495760405162461bcd60e51b81526004016106d6906121d0565b60045461075d90429063ffffffff1661132b565b60028190555060006107878260405180606001604052806022815260200161257e60229139611350565b90506107af6107a860005460048054906101000a900460ff1660ff16611564565b606461159e565b816001600160601b031611156107d75760405162461bcd60e51b81526004016106d690611f29565b61080d6107ef600054836001600160601b031661132b565b60405180606001604052806027815260200161250360279139611350565b6001600160601b0390811660009081556001600160a01b03851681526006602090815260409182902054825160608101909352602580845261085f949190911692859290919061239d908301396115e0565b6001600160a01b03841660008181526006602052604080822080546001600160601b0319166001600160601b03959095169490941790935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906108c9908590612359565b60405180910390a36001600160a01b038084166000908152600760205260408120546108f692168361161c565b505050565b6007602052600090815260409020546001600160a01b031681565b60045463ffffffff1681565b61092c33826117ae565b50565b630784ce0081565b6001546001600160a01b031633146109615760405162461bcd60e51b81526004016106d69061206e565b6004805463ffffffff191663ffffffff92909216919091179055565b60096020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600660205260409020546001600160601b031690565b600454600160201b900460ff1681565b60004382106109ea5760405162461bcd60e51b81526004016106d690612189565b6001600160a01b03831660009081526009602052604090205463ffffffff1680610a18576000915050610506565b6001600160a01b038416600090815260086020908152604080832063ffffffff600019860181168552925290912054168310610a94576001600160a01b03841660009081526008602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b03169050610506565b6001600160a01b038416600090815260086020908152604080832083805290915290205463ffffffff16831015610acf576000915050610506565b600060001982015b8163ffffffff168163ffffffff161115610b9257600282820363ffffffff16048103610b01611a4f565b506001600160a01b038716600090815260086020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915290871415610b6d576020015194506105069350505050565b805163ffffffff16871115610b8457819350610b8b565b6001820392505b5050610ad7565b506001600160a01b038516600090815260086020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b600a6020526000908152604090205481565b60405180604001604052806004815260200163212ba4a760e11b81525081565b600080610c2e836040518060600160405280602681526020016124b660269139611350565b9050610c3b3385836113be565b5060019392505050565b6001600160a01b03811660009081526009602052604081205463ffffffff1680610c70576000610caf565b6001600160a01b0383166000908152600860209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b6040805180820190915260068152652134b3abb4b760d11b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667f612fbc70f6ec32bbd5127602d7e7752d932f7965963b19e6e44276230f5cae97610d20611838565b30604051602001610d349493929190611d3f565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001610d859493929190611d1b565b60405160208183030381529060405280519060200120905060008282604051602001610db2929190611c8a565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610def9493929190611d63565b6020604051602081039080840390855afa158015610e11573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610e445760405162461bcd60e51b81526004016106d69061210c565b6001600160a01b0381166000908152600a602052604090208054600181019091558914610e835760405162461bcd60e51b81526004016106d6906122d9565b87421115610ea35760405162461bcd60e51b81526004016106d690611dd4565b610ead818b6117ae565b505050505b505050505050565b60035481565b6001546001600160a01b03163314610eea5760405162461bcd60e51b81526004016106d690611fee565b6004805460ff909216600160201b0264ff0000000019909216919091179055565b6000600019861415610f205750600019610f45565b610f428660405180606001604052806024815260200161252a60249139611350565b90505b6040805180820190915260068152652134b3abb4b760d11b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667f612fbc70f6ec32bbd5127602d7e7752d932f7965963b19e6e44276230f5cae97610faf611838565b30604051602001610fc39493929190611d3f565b60408051601f1981840301815282825280516020918201206001600160a01b038d166000908152600a83529283208054600181019091559094509192611035927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928e928e928e9290918e9101611ce7565b60405160208183030381529060405280519060200120905060008282604051602001611062929190611c8a565b60405160208183030381529060405280519060200120905060006001828989896040516000815260200160405260405161109f9493929190611d63565b6020604051602081039080840390855afa1580156110c1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110f45760405162461bcd60e51b81526004016106d690612037565b8b6001600160a01b0316816001600160a01b0316146111255760405162461bcd60e51b81526004016106d690612152565b884211156111455760405162461bcd60e51b81526004016106d690611eae565b84600560008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925876040516111f59190612359565b60405180910390a3505050505050505050505050565b6001600160a01b0391821660009081526005602090815260408083209390941682529190915220546001600160601b031690565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600860209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6001546001600160a01b031633146112c25760405162461bcd60e51b81526004016106d69061221f565b6001546040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f691611301916001600160a01b03909116908490611cb9565b60405180910390a1600180546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015610caf5760405162461bcd60e51b81526004016106d690611e1a565b600081600160601b84106113775760405162461bcd60e51b81526004016106d69190611d81565b509192915050565b6000836001600160601b0316836001600160601b0316111582906113b65760405162461bcd60e51b81526004016106d69190611d81565b505050900390565b6001600160a01b0383166113e45760405162461bcd60e51b81526004016106d690611e51565b6001600160a01b03821661140a5760405162461bcd60e51b81526004016106d69061227c565b6001600160a01b038316600090815260066020908152604091829020548251606081019093526036808452611455936001600160601b0390921692859291906124809083013961137f565b6001600160a01b03848116600090815260066020908152604080832080546001600160601b0319166001600160601b039687161790559286168252908290205482516060810190935260308084526114bd949190911692859290919061254e908301396115e0565b6001600160a01b038381166000818152600660205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061152a908590612359565b60405180910390a36001600160a01b038084166000908152600760205260408082205485841683529120546108f69291821691168361161c565b60008261157357506000610506565b8282028284828161158057fe5b0414610caf5760405162461bcd60e51b81526004016106d6906120cb565b6000610caf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061183c565b6000838301826001600160601b0380871690831610156116135760405162461bcd60e51b81526004016106d69190611d81565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561164757506000816001600160601b0316115b156108f6576001600160a01b038316156116ff576001600160a01b03831660009081526009602052604081205463ffffffff1690816116875760006116c6565b6001600160a01b0385166000908152600860209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006116ed82856040518060600160405280602881526020016124246028913961137f565b90506116fb86848484611873565b5050505b6001600160a01b038216156108f6576001600160a01b03821660009081526009602052604081205463ffffffff16908161173a576000611779565b6001600160a01b0384166000908152600860209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006117a082856040518060600160405280602781526020016124dc602791396115e0565b9050610eb285848484611873565b6001600160a01b03808316600081815260076020818152604080842080546006845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461183282848361161c565b50505050565b4690565b6000818361185d5760405162461bcd60e51b81526004016106d69190611d81565b50600083858161186957fe5b0495945050505050565b60006118974360405180606001604052806034815260200161244c60349139611a28565b905060008463ffffffff161180156118e057506001600160a01b038516600090815260086020908152604080832063ffffffff6000198901811685529252909120548282169116145b1561193f576001600160a01b0385166000908152600860209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b038516021790556119de565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600883528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600990935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051611a1992919061236d565b60405180910390a25050505050565b600081600160201b84106113775760405162461bcd60e51b81526004016106d69190611d81565b604080518082019091526000808252602082015290565b80356001600160a01b038116811461050657600080fd5b803560ff8116811461050657600080fd5b600060208284031215611a9f578081fd5b610caf8383611a66565b60008060408385031215611abb578081fd5b611ac58484611a66565b9150611ad48460208501611a66565b90509250929050565b600080600060608486031215611af1578081fd5b8335611afc81612387565b92506020840135611b0c81612387565b929592945050506040919091013590565b600080600080600080600060e0888a031215611b37578283fd5b611b418989611a66565b9650611b508960208a01611a66565b95506040880135945060608801359350611b6d8960808a01611a7d565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611b9b578182fd5b611ba58484611a66565b946020939093013593505050565b60008060008060008060c08789031215611bcb578182fd5b611bd58888611a66565b95506020870135945060408701359350611bf28860608901611a7d565b92506080870135915060a087013590509295509295509295565b60008060408385031215611c1e578182fd5b611c288484611a66565b9150602083013563ffffffff81168114611c40578182fd5b809150509250929050565b600060208284031215611c5c578081fd5b813563ffffffff81168114610caf578182fd5b600060208284031215611c80578081fd5b610caf8383611a7d565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611dad57858101830151858201604001528201611d91565b81811115611dbe5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526026908201527f4257696e3a3a64656c656761746542795369673a207369676e617475726520656040820152651e1c1a5c995960d21b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252603c908201527f4257696e3a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260408201527f616e736665722066726f6d20746865207a65726f206164647265737300000000606082015260800190565b6020808252601f908201527f4257696e3a3a7065726d69743a207369676e6174757265206578706972656400604082015260600190565b60208082526024908201527f4257696e3a3a6d696e743a206f6e6c7920746865206d696e7465722063616e206040820152631b5a5b9d60e21b606082015260800190565b6020808252601d908201527f4257696e3a3a6d696e743a206578636565646564206d696e7420636170000000604082015260600190565b60208082526023908201527f4257696e3a3a6d696e743a206d696e74696e67206e6f7420616c6c6f776564206040820152621e595d60ea1b606082015260800190565b6020808252602b908201527f4257696e3a3a6d696e743a2070726f74656374696f6e2074696d65206861732060408201526a1b9bdd08185c9c9a5d995960aa1b606082015260800190565b60208082526029908201527f4257696e3a3a7365744d696e744361703a206f6e6c7920746865206d696e74656040820152681c8818d85b881cd95d60ba1b606082015260800190565b6020808252601f908201527f4257696e3a3a7065726d69743a20696e76616c6964207369676e617475726500604082015260600190565b60208082526039908201527f4257696e3a3a7365744d696e696d756d54696d654265747765656e4d696e747360408201527f3a206f6e6c7920746865206d696e7465722063616e2073657400000000000000606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526026908201527f4257696e3a3a64656c656761746542795369673a20696e76616c6964207369676040820152656e617475726560d01b606082015260800190565b6020808252601a908201527f4257696e3a3a7065726d69743a20756e617574686f72697a6564000000000000604082015260600190565b60208082526027908201527f4257696e3a3a6765745072696f72566f7465733a206e6f742079657420646574604082015266195c9b5a5b995960ca1b606082015260800190565b6020808252602f908201527f4257696e3a3a6d696e743a2063616e6e6f74207472616e7366657220746f207460408201526e6865207a65726f206164647265737360881b606082015260800190565b6020808252603e908201527f4257696e3a3a7365744d696e7465723a206f6e6c7920746865206d696e74657260408201527f2063616e206368616e676520746865206d696e74657220616464726573730000606082015260800190565b6020808252603a908201527f4257696e3a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260408201527f616e7366657220746f20746865207a65726f2061646472657373000000000000606082015260800190565b60208082526022908201527f4257696e3a3a64656c656761746542795369673a20696e76616c6964206e6f6e604082015261636560f01b606082015260800190565b63ffffffff91909116815260200190565b63ffffffff9290921682526001600160601b0316602082015260400190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6001600160601b0392831681529116602082015260400190565b6001600160a01b038116811461092c57600080fdfe4257696e3a3a6d696e743a207472616e7366657220616d6f756e74206f766572666c6f77734257696e3a3a617070726f76653a20616d6f756e74206578636565647320393620626974734257696e3a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e63654257696e3a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f77734257696e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974734257696e3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63654257696e3a3a7472616e736665723a20616d6f756e74206578636565647320393620626974734257696e3a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f77734257696e3a3a6d696e743a20746f74616c537570706c79206578636565647320393620626974734257696e3a3a7065726d69743a20616d6f756e74206578636565647320393620626974734257696e3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f77734257696e3a3a6d696e743a20616d6f756e7420657863656564732039362062697473a264697066735822122037a73ebd858962a7612db3c6f00bc85b42c6d3f351d132bcee18a2f704bce5cf64736f6c634300060c003300000000000000000000000097d5db60a7304d405ed3587ff527594e4628feb000000000000000000000000082421eba93781e76a7e52ac77e8b32b2d88fd25b00000000000000000000000000000000000000000000000000000000609e975b

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

00000000000000000000000097d5db60a7304d405ed3587ff527594e4628feb000000000000000000000000082421eba93781e76a7e52ac77e8b32b2d88fd25b00000000000000000000000000000000000000000000000000000000609e975b

-----Decoded View---------------
Arg [0] : account (address): 0x97d5db60a7304d405ed3587ff527594e4628feb0
Arg [1] : minter_ (address): 0x82421eba93781e76a7e52ac77e8b32b2d88fd25b
Arg [2] : mintingAllowedAfter_ (uint256): 1621006171

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000097d5db60a7304d405ed3587ff527594e4628feb0
Arg [1] : 00000000000000000000000082421eba93781e76a7e52ac77e8b32b2d88fd25b
Arg [2] : 00000000000000000000000000000000000000000000000000000000609e975b


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.