Contract 0xE68b79e51bf826534Ff37AA9CeE71a3842ee9c70

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x1330347a6f7754e20320dff107c51f7a7a6b3c5a4d5e754563d560f3339d51efApprove145455442022-01-21 1:28:0721 hrs 58 mins ago0xd3accac95c365a8fc4aeb6e2bccb62eb0065c4ea IN  CZodiac: CZUSD Token0 BNB0.000222715
0x4f3f1d8dab4979c5b4985482a83c6468e09da46639e8a2953a5c4ad2742198eaApprove145376212022-01-20 18:51:241 day 4 hrs ago0xd3accac95c365a8fc4aeb6e2bccb62eb0065c4ea IN  CZodiac: CZUSD Token0 BNB0.000222715
0x2383851b63fbf22bf83931f8892b288f6d30ed28c5905ee9f2e45a23c25fc959Approve143914362022-01-15 16:10:096 days 7 hrs ago0xd9d702f129e75b6e646b5663a3046ccae2922d9f IN  CZodiac: CZUSD Token0 BNB0.000222715
0x7a3a21e4e1dc2de144c08715f3f25d52bfe436fd15991cee4902d3a37c6eea43Approve143320482022-01-13 14:34:128 days 8 hrs ago0x70d2a1154572c89fa149e0f4d4479bb7ce356aa8 IN  CZodiac: CZUSD Token0 BNB0.000222715
0xbb9d7ac46063ef9f33fff957de501d8557865711b74776eaa9406fbe24c5c4f0Approve143263672022-01-13 9:50:048 days 13 hrs ago0xeb38fa99939260080b3fb54ae5faac8f4c6398ed IN  CZodiac: CZUSD Token0 BNB0.000222715
0x1f3c6f03161e1119ba31502780aee042399031668dd2489ce22875846f1c4df5Approve143117522022-01-12 21:39:149 days 1 hr ago0x77adb2fb40ba9c68f06d37bed8b85ceea47a2f0a IN  CZodiac: CZUSD Token0 BNB0.000267258
0xe9ce4f52038a8b0ded9fd11d8d032046d86b6df934308c9a58325b20fbe9cacbApprove142827932022-01-11 21:27:2910 days 1 hr ago0x1194d14c5219e0b43d4857d114a67b43a026915f IN  CZodiac: CZUSD Token0 BNB0.000267258
0x03dd66cbdbd3ae1dba6c7d6fed0fa3853e375f680fad717ead70758c8b46ab21Approve142272162022-01-09 23:02:2412 days 24 mins ago0xc910dfc7c06b766113c7a0b6b3ee67ab0bed18a7 IN  CZodiac: CZUSD Token0 BNB0.000222715
0x7e77bc9b23cd650f49bceb9d5bb1363d328684c4e99d6e8be220af17507d45c7Approve141855162022-01-08 12:15:1413 days 11 hrs ago0xc910dfc7c06b766113c7a0b6b3ee67ab0bed18a7 IN  CZodiac: CZUSD Token0 BNB0.000222715
0xab5f7608d936c96917c29e8bac783c96a7229aadfee61510432fb5dc59bc656eApprove141549422022-01-07 10:44:3514 days 12 hrs ago0x36f88aea238d4a5222c25df9dbf038c21e345677 IN  CZodiac: CZUSD Token0 BNB0.000222715
0x3ff7d8b565b088c0067249f10507de63e73bab8b299156f537d0d5e6686874b2Approve141283492022-01-06 12:30:4115 days 10 hrs ago0xc3ed6fbc2f0ed7cf0dadbae2ff19e29ac229c7b5 IN  CZodiac: CZUSD Token0 BNB0.000222715
0x1e22dcc81d59f873896f9d31327af966ccc82e6af85b40849657226aaa0bdf64Approve141261322022-01-06 10:39:1815 days 12 hrs ago0x2dc83f1350bcebaa8340c1ce16a6bac8b9d13807 IN  CZodiac: CZUSD Token0 BNB0.000222715
0x28e226d417093a34e4e186b892681a238602611782f695f77883d6e6f97ac270Approve141255022022-01-06 10:07:4815 days 13 hrs ago0xffcef35c9ec730bf570d4243c74985a0330ba06e IN  CZodiac: CZUSD Token0 BNB0.000222715
0xa3472dcc156589253f7a0dd7d423a18bfca0a814f669635963bbde60078ccf46Approve141186872022-01-06 4:26:1315 days 19 hrs ago0x66992127b42249efba6101c1fe1696e1e2df09b1 IN  CZodiac: CZUSD Token0 BNB0.000222715
0x0e426fcc0b163911a0e37e956c53b4c3e94c1b729aeab6f6bcdf008ed398a0eeApprove141183252022-01-06 4:08:0715 days 19 hrs ago0x66992127b42249efba6101c1fe1696e1e2df09b1 IN  CZodiac: CZUSD Token0 BNB0.000267258
0x38af139f5c5a6089ab27a85ca525c78c01bd485a250c514c75f66df54479709eSet Contract Saf...140981502022-01-05 11:17:0816 days 12 hrs agoChinese Zodiac: Deployer IN  CZodiac: CZUSD Token0 BNB0.00021877
0x947debb3e65c75246e1ee2452f524225d50cc42c2bef99f14342cdb6da7b6e40Approve140884382022-01-05 3:10:3116 days 20 hrs ago0xdafb56508cdb2e57b9449bdf23be79cc133e0c71 IN  CZodiac: CZUSD Token0 BNB0.000267258
0x3abe2e8f651665ec637648aa5e54094a6498d216691bb26cf6d70da3e91c37cdApprove140881912022-01-05 2:58:1016 days 20 hrs ago0x82ebc27e26b62437c4df4fb62dd4248182286211 IN  CZodiac: CZUSD Token0 BNB0.000267258
0x98337c8313c10eedbd6069916274f82e12c0033e5cbe6e00a54a6ff6fdecc645Approve140854712022-01-05 0:41:5616 days 22 hrs ago0xd65980d27e978d9714b084500fa226b6fdd92551 IN  CZodiac: CZUSD Token0 BNB0.000222715
0x1ad7ccd1df3c11bfbfd2fc53edc18e58e0d7470285801ec4dace8ac818f68678Approve138444512021-12-27 15:32:1425 days 7 hrs ago0xb00f1c8e328a0ecddc10d8b1546943d49d2df0d6 IN  CZodiac: CZUSD Token0 BNB0.000222715
0xf9c66ee20f0f7af56061d5844a68fb074b3b54e1ebd51eabffac0eba80c076efTransfer138272992021-12-27 1:13:1225 days 22 hrs ago0x9c9513e1b6f6f73d98f1fd99c3a5c2d7e81a3dd9 IN  CZodiac: CZUSD Token0 BNB0.00019
0xa7bfe4458c1b691503446394ddbb4851302540dd8a5ae596cb592e845cf6a2c0Approve138036772021-12-26 5:30:1726 days 17 hrs ago0xb1b9b4bbe8a92d535f5df2368e7fd2ecfb3a1950 IN  CZodiac: CZUSD Token0 BNB0.000221275
0x870808128f591a6e3617ce3868984c656456910c310313f56753689828125584Transfer137911412021-12-25 19:02:3027 days 4 hrs ago0x9c9513e1b6f6f73d98f1fd99c3a5c2d7e81a3dd9 IN  CZodiac: CZUSD Token0 BNB0.00019
0x94a13220498e00f80bf2b3e65a526daec10e750a08aa93f0fb3d0156913209a4Transfer137896312021-12-25 17:47:0027 days 5 hrs ago0x7687141f6c30b63cec617f4de4cc9df485360755 IN  CZodiac: CZUSD Token0 BNB0.00019006
0x990be60b06687c0c5c3db71eb80dda88a4797e2d2d1d0a31ac3b4276783a7ccaApprove137815772021-12-25 11:03:4327 days 12 hrs ago0xb1b9b4bbe8a92d535f5df2368e7fd2ecfb3a1950 IN  CZodiac: CZUSD Token0 BNB0.000221335
[ Download CSV Export 

OVERVIEW

CZUsd is pegged 1:1 to BUSD with overcollateralized debt as the primary pegging mechanism and economically neutral algorithmic rebalancing as the secondary pegging mechanism.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CZUsd

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-09-10
*/

pragma solidity ^0.8.0;

/*
SPDX-License-Identifier: GPL-3.0

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░██████████████████████████████████████████████████████████████████████████████████████████████████████████░░
░░█░░░░░░░░░░░░░░█░░░░░░░░░░░░░░░░░░█░░░░░░░░░░░░░░█░░░░░░░░░░░░███░░░░░░░░░░█░░░░░░░░░░░░░░█░░░░░░░░░░░░░░█░░
░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀░░░░█░░▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░
░░█░░▄▀░░░░░░░░░░█░░░░░░░░░░░░▄▀▄▀░░█░░▄▀░░░░░░▄▀░░█░░▄▀░░░░▄▀▄▀░░█░░░░▄▀░░░░█░░▄▀░░░░░░▄▀░░█░░▄▀░░░░░░░░░░█░░
░░█░░▄▀░░█████████████████░░░░▄▀░░░░█░░▄▀░░██░░▄▀░░█░░▄▀░░██░░▄▀░░███░░▄▀░░███░░▄▀░░██░░▄▀░░█░░▄▀░░█████████░░
░░█░░▄▀░░███████████████░░░░▄▀░░░░███░░▄▀░░██░░▄▀░░█░░▄▀░░██░░▄▀░░███░░▄▀░░███░░▄▀░░░░░░▄▀░░█░░▄▀░░█████████░░
░░█░░▄▀░░█████████████░░░░▄▀░░░░█████░░▄▀░░██░░▄▀░░█░░▄▀░░██░░▄▀░░███░░▄▀░░███░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀░░█████████░░
░░█░░▄▀░░███████████░░░░▄▀░░░░███████░░▄▀░░██░░▄▀░░█░░▄▀░░██░░▄▀░░███░░▄▀░░███░░▄▀░░░░░░▄▀░░█░░▄▀░░█████████░░
░░█░░▄▀░░█████████░░░░▄▀░░░░█████████░░▄▀░░██░░▄▀░░█░░▄▀░░██░░▄▀░░███░░▄▀░░███░░▄▀░░██░░▄▀░░█░░▄▀░░█████████░░
░░█░░▄▀░░░░░░░░░░█░░▄▀▄▀░░░░░░░░░░░░█░░▄▀░░░░░░▄▀░░█░░▄▀░░░░▄▀▄▀░░█░░░░▄▀░░░░█░░▄▀░░██░░▄▀░░█░░▄▀░░░░░░░░░░█░░
░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀░░░░█░░▄▀▄▀▄▀░░█░░▄▀░░██░░▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░
░░█░░░░░░░░░░░░░░█░░░░░░░░░░░░░░░░░░█░░░░░░░░░░░░░░█░░░░░░░░░░░░███░░░░░░░░░░█░░░░░░██░░░░░░█░░░░░░░░░░░░░░█░░
░░██████████████████████████████████████████████████████████████████████████████████████████████████████████░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░█████╗░░░░█████╗░░░░█████╗░░░░█████╗░░░░█████╗░░░░█████╗░░░░█████╗░░░░█████╗░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░██╔══██╗░░██╔══██╗░░██╔══██╗░░██╔══██╗░░██╔══██╗░░██╔══██╗░░██╔══██╗░░██╔══██╗░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░██╔══██╗░░██╔══██╗░░██╔══██╗░░██╔══██╗░░██╔══██╗░░██╔══██╗░░██╔══██╗░░██╔══██░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░╚█████╔╝░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░╚════╝░░░░╚════╝░░░░╚════╝░░░░╚════╝░░░░╚════╝░░░░╚════╝░░░░╚════╝░░░░╚════╝░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋░░
░░╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋┏┓╋╋╋╋╋╋╋╋╋┏┓╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋░░
░░╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋┏━┳━┫┗┓╋╋┏┓┏┳┳━┫┣┳┳┓╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋░░
░░╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋┃╋┃┻┫┏┫╋╋┃┗┫┃┃━┫━┫┃┃╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋░░
░░╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋┣┓┣━┻━┛╋╋┗━┻━┻━┻┻╋┓┃╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋░░
░░╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋┗━┛╋╋╋╋╋╋╋╋╋╋╋╋╋╋┗━┛╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋░░
░░╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

Authored by Plastic Digits
Credit to OpenZeppelin, reflect.finance, split.network, bubbadefi.finance, uniswapv2, olive.cash, pancakeswap,
iron.finance, Wex/WaultSwap, Yearn, minime, Alchemix, and of course my friends at d0rg plus everyone else who
released the truly open source code used in this project.

*/


// File @openzeppelin/contracts/utils/[email protected]



//pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/access/[email protected]



//pragma solidity ^0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected]



//pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]



//pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]



//pragma solidity ^0.8.0;



/**
 * @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, IERC20Metadata {
    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

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

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += 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 += amount;
        _balances[account] += 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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= 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 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 @openzeppelin/contracts/token/ERC20/extensions/[email protected]



//pragma solidity ^0.8.0;


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

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


// File @openzeppelin/contracts/security/[email protected]



//pragma solidity ^0.8.0;

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

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

    bool private _paused;

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]



//pragma solidity ^0.8.0;


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

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


// File @openzeppelin/contracts/utils/[email protected]



//pragma solidity ^0.8.0;

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

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

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

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

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

}


// File @openzeppelin/contracts/utils/introspection/[email protected]



//pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/utils/introspection/[email protected]



//pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/access/[email protected]



//pragma solidity ^0.8.0;



/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

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

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    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, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

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

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


// File @openzeppelin/contracts/utils/structs/[email protected]



//pragma solidity ^0.8.0;

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

    struct Set {
        // Storage of set values
        bytes32[] _values;

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

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

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

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

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

            // 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] = valueIndex; // Replace lastvalue's index to valueIndex

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

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

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

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


    // 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 @openzeppelin/contracts/access/[email protected]



//pragma solidity ^0.8.0;


/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable {
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/presets/[email protected]



//pragma solidity ^0.8.0;





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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]



//pragma solidity ^0.8.0;

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(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);
            }
        }
    }
}


// File @openzeppelin/contracts/token/ERC20/utils/[email protected]



//pragma solidity ^0.8.0;


/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


// File contracts/CZUsd.sol


// Authored by Plastic Digits

/*
CZUSD consists of three core smart contracts: 
CZUsd for the BEP20 stablecoin; 
CZUsdBorrow for depositing collateral, minting new CZUSD against that collateral, 
and repaying CZUSD to release collateral; 
and CZUsdStablization which mints/burns CZUSD and CZF from the CZUSD/CZF pool 
in an economically neutral way to maintain the CZUSD peg within set bounds.
Additionally CZUSD integrates with several peripheral contracts; 
CZF, the equity token for the algorithmic stabilization; 
IERC20 collalteral tokens, 
and Pancakeswap TWAP oracles for determining both CZUSD and collateral prices.
*/
//pragma solidity ^0.8.4;
contract CZUsd is Context, ERC20PresetMinterPauser, Ownable {
    bytes32 public constant SAFE_GRANTER_ROLE = keccak256("SAFE_GRANTER_ROLE");
    using SafeERC20 for IERC20;
    mapping(address => bool) safeContracts;

    constructor() ERC20PresetMinterPauser("CZUSD", "CZUSD") Ownable() {
        _setupRole(SAFE_GRANTER_ROLE, _msgSender());
    }

    function recoverERC20(address tokenAddress) external onlyOwner {
        IERC20(tokenAddress).safeTransfer(
            _msgSender(),
            IERC20(tokenAddress).balanceOf(address(this))
        );
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);
        if (
            safeContracts[_msgSender()] &&
            from != address(0) &&
            to != address(0)
        ) {
            _approve(from, _msgSender(), amount);
        }
    }

    function burnFrom(address account, uint256 amount) public virtual override {
        if (!safeContracts[_msgSender()]) {
            uint256 currentAllowance = allowance(account, _msgSender());
            require(
                currentAllowance >= amount,
                "ERC20: burn amount exceeds allowance"
            );
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }

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

    function setContractSafe(address _for) external {
        require(
            hasRole(SAFE_GRANTER_ROLE, _msgSender()),
            "CZFarm: must have SAFE_GRANTER_ROLE role"
        );
        safeContracts[_for] = true;
    }

    function setContractUnsafe(address _for) external {
        require(
            hasRole(SAFE_GRANTER_ROLE, _msgSender()),
            "CZFarm: must have SAFE_GRANTER_ROLE role"
        );
        safeContracts[_for] = false;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SAFE_GRANTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[{"internalType":"address","name":"_for","type":"address"}],"name":"setContractSafe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_for","type":"address"}],"name":"setContractUnsafe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600581526020016410d69554d160da1b8152506040518060400160405280600581526020016410d69554d160da1b8152508181816005908051906020019062000068929190620002d3565b5080516200007e906006906020840190620002d3565b50506007805460ff1916905550620000986000336200016e565b620000c47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200016e565b620000f07f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200016e565b505060078054610100600160a81b0319163361010081029190911790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001687fb783451c1f2930075ab1ad4b069b0a96221786851ce3e420d98ceeacbf0747ce336200016e565b620003b6565b620001858282620001b160201b62000de91760201c565b6000828152600160209081526040909120620001ac91839062000df3620001c1821b17901c565b505050565b620001bd8282620001e1565b5050565b6000620001d8836001600160a01b03841662000281565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001bd576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200023d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054620002ca57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620001db565b506000620001db565b828054620002e19062000379565b90600052602060002090601f01602090048101928262000305576000855562000350565b82601f106200032057805160ff191683800117855562000350565b8280016001018555821562000350579182015b828111156200035057825182559160200191906001019062000333565b506200035e92915062000362565b5090565b5b808211156200035e576000815560010162000363565b600181811c908216806200038e57607f821691505b60208210811415620003b057634e487b7160e01b600052602260045260246000fd5b50919050565b6121fa80620003c66000396000f3fe608060405234801561001057600080fd5b50600436106102105760003560e01c8063715018a611610125578063a457c2d7116100ad578063d547741f1161007c578063d547741f14610489578063dd62ed3e1461049c578063e63ab1e9146104d5578063ed8fd6fb146104fc578063f2fde38b1461050f57600080fd5b8063a457c2d714610429578063a9059cbb1461043c578063ca15c8731461044f578063d53913931461046257600080fd5b80639010d07c116100f45780639010d07c146103e057806391d14854146103f357806395d89b41146104065780639e8c708e1461040e578063a217fddf1461042157600080fd5b8063715018a61461039357806379cc67901461039b5780638456cb59146103ae5780638da5cb5b146103b657600080fd5b8063313ce567116101a857806340c10f191161017757806340c10f191461031257806342966c68146103255780635b67aa86146103385780635c975abb1461035f57806370a082311461036a57600080fd5b8063313ce567146102d557806336568abe146102e457806339509351146102f75780633f4ba83a1461030a57600080fd5b806318160ddd116101e457806318160ddd1461027a57806323b872dd1461028c578063248a9ca31461029f5780632f2ff15d146102c257600080fd5b8062ecd5091461021557806301ffc9a71461022a57806306fdde0314610252578063095ea7b314610267575b600080fd5b610228610223366004611e32565b610522565b005b61023d610238366004611f5d565b610592565b60405190151581526020015b60405180910390f35b61025a6105bd565b604051610249919061202e565b61023d610275366004611eb9565b61064f565b6004545b604051908152602001610249565b61023d61029a366004611e7e565b610665565b61027e6102ad366004611f02565b60009081526020819052604090206001015490565b6102286102d0366004611f1a565b610718565b60405160128152602001610249565b6102286102f2366004611f1a565b61073f565b61023d610305366004611eb9565b610761565b610228610798565b610228610320366004611eb9565b61083e565b610228610333366004611f02565b6108e1565b61027e7fb783451c1f2930075ab1ad4b069b0a96221786851ce3e420d98ceeacbf0747ce81565b60075460ff1661023d565b61027e610378366004611e32565b6001600160a01b031660009081526002602052604090205490565b6102286108ee565b6102286103a9366004611eb9565b61096e565b610228610a0a565b60075461010090046001600160a01b03165b6040516001600160a01b039091168152602001610249565b6103c86103ee366004611f3c565b610aae565b61023d610401366004611f1a565b610ac6565b61025a610aef565b61022861041c366004611e32565b610afe565b61027e600081565b61023d610437366004611eb9565b610bba565b61023d61044a366004611eb9565b610c55565b61027e61045d366004611f02565b610c62565b61027e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610228610497366004611f1a565b610c79565b61027e6104aa366004611e4c565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61027e7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61022861050a366004611e32565b610c83565b61022861051d366004611e32565b610ced565b61054c7fb783451c1f2930075ab1ad4b069b0a96221786851ce3e420d98ceeacbf0747ce33610ac6565b6105715760405162461bcd60e51b815260040161056890612061565b60405180910390fd5b6001600160a01b03166000908152600860205260409020805460ff19169055565b60006001600160e01b03198216635a05180f60e01b14806105b757506105b782610e08565b92915050565b6060600580546105cc90612173565b80601f01602080910402602001604051908101604052809291908181526020018280546105f890612173565b80156106455780601f1061061a57610100808354040283529160200191610645565b820191906000526020600020905b81548152906001019060200180831161062857829003601f168201915b5050505050905090565b600061065c338484610e3d565b50600192915050565b6000610672848484610f62565b6001600160a01b0384166000908152600360209081526040808320338452909152902054828110156106f75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610568565b61070b85336107068685612115565b610e3d565b60019150505b9392505050565b6107228282611145565b600082815260016020526040902061073a9082610df3565b505050565b610749828261116b565b600082815260016020526040902061073a90826111e5565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161065c9185906107069086906120de565b6107c27f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610ac6565b6108345760405162461bcd60e51b815260206004820152603960248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20756e7061757365000000000000006064820152608401610568565b61083c6111fa565b565b6108687f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610ac6565b6108d35760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365744d696e7465725061757365723a206d7573742068616044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b6064820152608401610568565b6108dd828261128d565b5050565b6108eb3382611378565b50565b6007546001600160a01b0361010090910416331461091e5760405162461bcd60e51b8152600401610568906120a9565b60075460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360078054610100600160a81b0319169055565b3360009081526008602052604090205460ff16610a0057600061099183336104aa565b9050818110156109ef5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610568565b6109fe83336107068585612115565b505b6108dd8282611378565b610a347f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610ac6565b610aa65760405162461bcd60e51b815260206004820152603760248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f2070617573650000000000000000006064820152608401610568565b61083c6114d3565b6000828152600160205260408120610711908361154e565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600680546105cc90612173565b6007546001600160a01b03610100909104163314610b2e5760405162461bcd60e51b8152600401610568906120a9565b6108eb336040516370a0823160e01b81523060048201526001600160a01b038416906370a082319060240160206040518083038186803b158015610b7157600080fd5b505afa158015610b85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba99190611f85565b6001600160a01b038416919061155a565b3360009081526003602090815260408083206001600160a01b038616845290915281205482811015610c3c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610568565b610c4b33856107068685612115565b5060019392505050565b600061065c338484610f62565b60008181526001602052604081206105b7906115ac565b61074982826115b6565b610cad7fb783451c1f2930075ab1ad4b069b0a96221786851ce3e420d98ceeacbf0747ce33610ac6565b610cc95760405162461bcd60e51b815260040161056890612061565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6007546001600160a01b03610100909104163314610d1d5760405162461bcd60e51b8152600401610568906120a9565b6001600160a01b038116610d825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610568565b6007546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6108dd82826115dc565b6000610711836001600160a01b038416611660565b60006001600160e01b03198216637965db0b60e01b14806105b757506301ffc9a760e01b6001600160e01b03198316146105b7565b6001600160a01b038316610e9f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610568565b6001600160a01b038216610f005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610568565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610fc65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610568565b6001600160a01b0382166110285760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610568565b6110338383836116af565b6001600160a01b038316600090815260026020526040902054818110156110ab5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610568565b6110b58282612115565b6001600160a01b0380861660009081526002602052604080822093909355908516815290812080548492906110eb9084906120de565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161113791815260200190565b60405180910390a350505050565b6000828152602081905260409020600101546111618133611705565b61073a83836115dc565b6001600160a01b03811633146111db5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610568565b6108dd8282611769565b6000610711836001600160a01b0384166117ce565b60075460ff166112435760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610568565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166112e35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610568565b6112ef600083836116af565b806004600082825461130191906120de565b90915550506001600160a01b0382166000908152600260205260408120805483929061132e9084906120de565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166113d85760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610568565b6113e4826000836116af565b6001600160a01b038216600090815260026020526040902054818110156114585760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610568565b6114628282612115565b6001600160a01b03841660009081526002602052604081209190915560048054849290611490908490612115565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610f55565b60075460ff16156115195760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610568565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112703390565b600061071183836118e5565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261073a908490611979565b60006105b7825490565b6000828152602081905260409020600101546115d28133611705565b61073a8383611769565b6115e68282610ac6565b6108dd576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561161c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546116a7575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105b7565b5060006105b7565b6116ba838383611a4b565b3360009081526008602052604090205460ff1680156116e157506001600160a01b03831615155b80156116f557506001600160a01b03821615155b1561073a5761073a833383610e3d565b61170f8282610ac6565b6108dd57611727816001600160a01b03166014611a56565b611732836020611a56565b604051602001611743929190611fb9565b60408051601f198184030181529082905262461bcd60e51b82526105689160040161202e565b6117738282610ac6565b156108dd576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600081815260018301602052604081205480156118db5760006117f2600183612115565b855490915060009061180690600190612115565b9050600086600001828154811061182d57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061185e57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526001890190915260409020849055865487908061189f57634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506105b7565b60009150506105b7565b815460009082106119435760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610568565b82600001828154811061196657634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60006119ce826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c389092919063ffffffff16565b80519091501561073a57808060200190518101906119ec9190611ee2565b61073a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610568565b61073a838383611c4f565b60606000611a658360026120f6565b611a709060026120de565b67ffffffffffffffff811115611a9657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ac0576020820181803683370190505b509050600360fc1b81600081518110611ae957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611b2657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611b4a8460026120f6565b611b559060016120de565b90505b6001811115611be9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611b9757634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611bbb57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611be28161215c565b9050611b58565b5083156107115760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610568565b6060611c478484600085611cb5565b949350505050565b60075460ff161561073a5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401610568565b606082471015611d165760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610568565b843b611d645760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610568565b600080866001600160a01b03168587604051611d809190611f9d565b60006040518083038185875af1925050503d8060008114611dbd576040519150601f19603f3d011682016040523d82523d6000602084013e611dc2565b606091505b5091509150611dd2828286611ddd565b979650505050505050565b60608315611dec575081610711565b825115611dfc5782518084602001fd5b8160405162461bcd60e51b8152600401610568919061202e565b80356001600160a01b0381168114611e2d57600080fd5b919050565b600060208284031215611e43578081fd5b61071182611e16565b60008060408385031215611e5e578081fd5b611e6783611e16565b9150611e7560208401611e16565b90509250929050565b600080600060608486031215611e92578081fd5b611e9b84611e16565b9250611ea960208501611e16565b9150604084013590509250925092565b60008060408385031215611ecb578182fd5b611ed483611e16565b946020939093013593505050565b600060208284031215611ef3578081fd5b81518015158114610711578182fd5b600060208284031215611f13578081fd5b5035919050565b60008060408385031215611f2c578182fd5b82359150611e7560208401611e16565b60008060408385031215611f4e578182fd5b50508035926020909101359150565b600060208284031215611f6e578081fd5b81356001600160e01b031981168114610711578182fd5b600060208284031215611f96578081fd5b5051919050565b60008251611faf81846020870161212c565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611ff181601785016020880161212c565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161202281602884016020880161212c565b01602801949350505050565b602081526000825180602084015261204d81604085016020870161212c565b601f01601f19169190910160400192915050565b60208082526028908201527f435a4661726d3a206d757374206861766520534146455f4752414e5445525f526040820152674f4c4520726f6c6560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156120f1576120f16121ae565b500190565b6000816000190483118215151615612110576121106121ae565b500290565b600082821015612127576121276121ae565b500390565b60005b8381101561214757818101518382015260200161212f565b83811115612156576000848401525b50505050565b60008161216b5761216b6121ae565b506000190190565b600181811c9082168061218757607f821691505b602082108114156121a857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220951b41ae03867aee082375b2e159fc9cb37586cf41723c9975e302ecca6dd3c564736f6c63430008040033

Deployed ByteCode Sourcemap

73040:2042:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74842:237;;;;;;:::i;:::-;;:::i;:::-;;55361:227;;;;;;:::i;:::-;;:::i;:::-;;;4736:14:1;;4729:22;4711:41;;4699:2;4684:18;55361:227:0;;;;;;;;19189:100;;;:::i;:::-;;;;;;;:::i;21356:169::-;;;;;;:::i;:::-;;:::i;20309:108::-;20397:12;;20309:108;;;4909:25:1;;;4897:2;4882:18;20309:108:0;4864:76:1;22007:422:0;;;;;;:::i;:::-;;:::i;41655:123::-;;;;;;:::i;:::-;41721:7;41748:12;;;;;;;;;;:22;;;;41655:123;56732:165;;;;;;:::i;:::-;;:::i;20151:93::-;;;20234:2;15978:36:1;;15966:2;15951:18;20151:93:0;15933:87:1;57255:174:0;;;;;;:::i;:::-;;:::i;22838:215::-;;;;;;:::i;:::-;;:::i;60085:178::-;;;:::i;59276:205::-;;;;;;:::i;:::-;;:::i;74492:100::-;;;;;;:::i;:::-;;:::i;73107:74::-;;73151:30;73107:74;;30291:86;30362:7;;;;30291:86;;20480:127;;;;;;:::i;:::-;-1:-1:-1;;;;;20581:18:0;20554:7;20581:18;;;:9;:18;;;;;;;20480:127;13084:148;;;:::i;74026:458::-;;;;;;:::i;:::-;;:::i;59695:172::-;;;:::i;12433:87::-;12506:6;;;;;-1:-1:-1;;;;;12506:6:0;12433:87;;;-1:-1:-1;;;;;4248:32:1;;;4230:51;;4218:2;4203:18;12433:87:0;4185:102:1;56187:145:0;;;;;;:::i;:::-;;:::i;40653:139::-;;;;;;:::i;:::-;;:::i;19408:104::-;;;:::i;73404:213::-;;;;;;:::i;:::-;;:::i;38618:49::-;;38663:4;38618:49;;23556:377;;;;;;:::i;:::-;;:::i;20820:175::-;;;;;;:::i;:::-;;:::i;56506:134::-;;;;;;:::i;:::-;;:::i;58518:62::-;;58556:24;58518:62;;56990:170;;;;;;:::i;:::-;;:::i;21058:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;21174:18:0;;;21147:7;21174:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;21058:151;58587:62;;58625:24;58587:62;;74600:234;;;;;;:::i;:::-;;:::i;13387:244::-;;;;;;:::i;:::-;;:::i;74842:237::-;74925:40;73151:30;11061:10;40653:139;:::i;74925:40::-;74903:130;;;;-1:-1:-1;;;74903:130:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;75044:19:0;75066:5;75044:19;;;:13;:19;;;;;:27;;-1:-1:-1;;75044:27:0;;;74842:237::o;55361:227::-;55446:4;-1:-1:-1;;;;;;55470:57:0;;-1:-1:-1;;;55470:57:0;;:110;;;55544:36;55568:11;55544:23;:36::i;:::-;55463:117;55361:227;-1:-1:-1;;55361:227:0:o;19189:100::-;19243:13;19276:5;19269:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19189:100;:::o;21356:169::-;21439:4;21456:39;11061:10;21479:7;21488:6;21456:8;:39::i;:::-;-1:-1:-1;21513:4:0;21356:169;;;;:::o;22007:422::-;22113:4;22130:36;22140:6;22148:9;22159:6;22130:9;:36::i;:::-;-1:-1:-1;;;;;22206:19:0;;22179:24;22206:19;;;:11;:19;;;;;;;;11061:10;22206:33;;;;;;;;22258:26;;;;22250:79;;;;-1:-1:-1;;;22250:79:0;;10259:2:1;22250:79:0;;;10241:21:1;10298:2;10278:18;;;10271:30;10337:34;10317:18;;;10310:62;-1:-1:-1;;;10388:18:1;;;10381:38;10436:19;;22250:79:0;10231:230:1;22250:79:0;22340:57;22349:6;11061:10;22371:25;22390:6;22371:16;:25;:::i;:::-;22340:8;:57::i;:::-;22417:4;22410:11;;;22007:422;;;;;;:::o;56732:165::-;56817:30;56833:4;56839:7;56817:15;:30::i;:::-;56858:18;;;;:12;:18;;;;;:31;;56881:7;56858:22;:31::i;:::-;;56732:165;;:::o;57255:174::-;57343:33;57362:4;57368:7;57343:18;:33::i;:::-;57387:18;;;;:12;:18;;;;;:34;;57413:7;57387:25;:34::i;22838:215::-;11061:10;22926:4;22975:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;22975:34:0;;;;;;;;;;22926:4;;22943:80;;22966:7;;22975:47;;23012:10;;22975:47;:::i;60085:178::-;60138:34;58625:24;11061:10;40653:139;:::i;60138:34::-;60130:104;;;;-1:-1:-1;;;60130:104:0;;7455:2:1;60130:104:0;;;7437:21:1;7494:2;7474:18;;;7467:30;7533:34;7513:18;;;7506:62;7604:27;7584:18;;;7577:55;7649:19;;60130:104:0;7427:247:1;60130:104:0;60245:10;:8;:10::i;:::-;60085:178::o;59276:205::-;59352:34;58556:24;11061:10;40653:139;:::i;59352:34::-;59344:101;;;;-1:-1:-1;;;59344:101:0;;11029:2:1;59344:101:0;;;11011:21:1;11068:2;11048:18;;;11041:30;11107:34;11087:18;;;11080:62;-1:-1:-1;;;11158:18:1;;;11151:52;11220:19;;59344:101:0;11001:244:1;59344:101:0;59456:17;59462:2;59466:6;59456:5;:17::i;:::-;59276:205;;:::o;74492:100::-;74557:27;11061:10;74577:6;74557:5;:27::i;:::-;74492:100;:::o;13084:148::-;12506:6;;-1:-1:-1;;;;;12506:6:0;;;;;11061:10;12653:23;12645:68;;;;-1:-1:-1;;;12645:68:0;;;;;;;:::i;:::-;13175:6:::1;::::0;13154:40:::1;::::0;13191:1:::1;::::0;13175:6:::1;::::0;::::1;-1:-1:-1::0;;;;;13175:6:0::1;::::0;13154:40:::1;::::0;13191:1;;13154:40:::1;13205:6;:19:::0;;-1:-1:-1;;;;;;13205:19:0::1;::::0;;13084:148::o;74026:458::-;11061:10;74117:27;;;;:13;:27;;;;;;;;74112:332;;74161:24;74188:32;74198:7;11061:10;21058:151;:::i;74188:32::-;74161:59;;74281:6;74261:16;:26;;74235:124;;;;-1:-1:-1;;;74235:124:0;;11452:2:1;74235:124:0;;;11434:21:1;11491:2;11471:18;;;11464:30;11530:34;11510:18;;;11503:62;-1:-1:-1;;;11581:18:1;;;11574:34;11625:19;;74235:124:0;11424:226:1;74235:124:0;74374:58;74383:7;11061:10;74406:25;74425:6;74406:16;:25;:::i;74374:58::-;74112:332;;74454:22;74460:7;74469:6;74454:5;:22::i;59695:172::-;59746:34;58625:24;11061:10;40653:139;:::i;59746:34::-;59738:102;;;;-1:-1:-1;;;59738:102:0;;13428:2:1;59738:102:0;;;13410:21:1;13467:2;13447:18;;;13440:30;13506:34;13486:18;;;13479:62;13577:25;13557:18;;;13550:53;13620:19;;59738:102:0;13400:245:1;59738:102:0;59851:8;:6;:8::i;56187:145::-;56269:7;56296:18;;;:12;:18;;;;;:28;;56318:5;56296:21;:28::i;40653:139::-;40731:4;40755:12;;;;;;;;;;;-1:-1:-1;;;;;40755:29:0;;;;;;;;;;;;;;;40653:139::o;19408:104::-;19464:13;19497:7;19490:14;;;;;:::i;73404:213::-;12506:6;;-1:-1:-1;;;;;12506:6:0;;;;;11061:10;12653:23;12645:68;;;;-1:-1:-1;;;12645:68:0;;;;;;;:::i;:::-;73478:131:::1;11061:10:::0;73553:45:::1;::::0;-1:-1:-1;;;73553:45:0;;73592:4:::1;73553:45;::::0;::::1;4230:51:1::0;-1:-1:-1;;;;;73553:30:0;::::1;::::0;::::1;::::0;4203:18:1;;73553:45:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;73478:33:0;::::1;::::0;:131;:33:::1;:131::i;23556:377::-:0;11061:10;23649:4;23693:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;23693:34:0;;;;;;;;;;23746:35;;;;23738:85;;;;-1:-1:-1;;;23738:85:0;;14263:2:1;23738:85:0;;;14245:21:1;14302:2;14282:18;;;14275:30;14341:34;14321:18;;;14314:62;-1:-1:-1;;;14392:18:1;;;14385:35;14437:19;;23738:85:0;14235:227:1;23738:85:0;23834:67;11061:10;23857:7;23866:34;23885:15;23866:16;:34;:::i;23834:67::-;-1:-1:-1;23921:4:0;;23556:377;-1:-1:-1;;;23556:377:0:o;20820:175::-;20906:4;20923:42;11061:10;20947:9;20958:6;20923:9;:42::i;56506:134::-;56578:7;56605:18;;;:12;:18;;;;;:27;;:25;:27::i;56990:170::-;57076:31;57093:4;57099:7;57076:16;:31::i;74600:234::-;74681:40;73151:30;11061:10;40653:139;:::i;74681:40::-;74659:130;;;;-1:-1:-1;;;74659:130:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;74800:19:0;;;;;:13;:19;;;;;:26;;-1:-1:-1;;74800:26:0;74822:4;74800:26;;;74600:234::o;13387:244::-;12506:6;;-1:-1:-1;;;;;12506:6:0;;;;;11061:10;12653:23;12645:68;;;;-1:-1:-1;;;12645:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;13476:22:0;::::1;13468:73;;;::::0;-1:-1:-1;;;13468:73:0;;8290:2:1;13468:73:0::1;::::0;::::1;8272:21:1::0;8329:2;8309:18;;;8302:30;8368:34;8348:18;;;8341:62;-1:-1:-1;;;8419:18:1;;;8412:36;8465:19;;13468:73:0::1;8262:228:1::0;13468:73:0::1;13578:6;::::0;13557:38:::1;::::0;-1:-1:-1;;;;;13557:38:0;;::::1;::::0;13578:6:::1;::::0;::::1;;::::0;13557:38:::1;::::0;;;::::1;13606:6;:17:::0;;-1:-1:-1;;;;;13606:17:0;;::::1;;;-1:-1:-1::0;;;;;;13606:17:0;;::::1;::::0;;;::::1;::::0;;13387:244::o;43889:112::-;43968:25;43979:4;43985:7;43968:10;:25::i;51487:152::-;51557:4;51581:50;51586:3;-1:-1:-1;;;;;51606:23:0;;51581:4;:50::i;40344:217::-;40429:4;-1:-1:-1;;;;;;40453:47:0;;-1:-1:-1;;;40453:47:0;;:100;;-1:-1:-1;;;;;;;;;;36171:40:0;;;40517:36;36062:157;26912:346;-1:-1:-1;;;;;27014:19:0;;27006:68;;;;-1:-1:-1;;;27006:68:0;;12665:2:1;27006:68:0;;;12647:21:1;12704:2;12684:18;;;12677:30;12743:34;12723:18;;;12716:62;-1:-1:-1;;;12794:18:1;;;12787:34;12838:19;;27006:68:0;12637:226:1;27006:68:0;-1:-1:-1;;;;;27093:21:0;;27085:68;;;;-1:-1:-1;;;27085:68:0;;8697:2:1;27085:68:0;;;8679:21:1;8736:2;8716:18;;;8709:30;8775:34;8755:18;;;8748:62;-1:-1:-1;;;8826:18:1;;;8819:32;8868:19;;27085:68:0;8669:224:1;27085:68:0;-1:-1:-1;;;;;27166:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;27218:32;;4909:25:1;;;27218:32:0;;4882:18:1;27218:32:0;;;;;;;;26912:346;;;:::o;24423:604::-;-1:-1:-1;;;;;24529:20:0;;24521:70;;;;-1:-1:-1;;;24521:70:0;;12259:2:1;24521:70:0;;;12241:21:1;12298:2;12278:18;;;12271:30;12337:34;12317:18;;;12310:62;-1:-1:-1;;;12388:18:1;;;12381:35;12433:19;;24521:70:0;12231:227:1;24521:70:0;-1:-1:-1;;;;;24610:23:0;;24602:71;;;;-1:-1:-1;;;24602:71:0;;6299:2:1;24602:71:0;;;6281:21:1;6338:2;6318:18;;;6311:30;6377:34;6357:18;;;6350:62;-1:-1:-1;;;6428:18:1;;;6421:33;6471:19;;24602:71:0;6271:225:1;24602:71:0;24686:47;24707:6;24715:9;24726:6;24686:20;:47::i;:::-;-1:-1:-1;;;;;24770:17:0;;24746:21;24770:17;;;:9;:17;;;;;;24806:23;;;;24798:74;;;;-1:-1:-1;;;24798:74:0;;9100:2:1;24798:74:0;;;9082:21:1;9139:2;9119:18;;;9112:30;9178:34;9158:18;;;9151:62;-1:-1:-1;;;9229:18:1;;;9222:36;9275:19;;24798:74:0;9072:228:1;24798:74:0;24903:22;24919:6;24903:13;:22;:::i;:::-;-1:-1:-1;;;;;24883:17:0;;;;;;;:9;:17;;;;;;:42;;;;24936:20;;;;;;;;:30;;24960:6;;24883:17;24936:30;;24960:6;;24936:30;:::i;:::-;;;;;;;;25001:9;-1:-1:-1;;;;;24984:35:0;24993:6;-1:-1:-1;;;;;24984:35:0;;25012:6;24984:35;;;;4909:25:1;;4897:2;4882:18;;4864:76;24984:35:0;;;;;;;;24423:604;;;;:::o;42040:147::-;41721:7;41748:12;;;;;;;;;;:22;;;40222:30;40233:4;11061:10;40222;:30::i;:::-;42154:25:::1;42165:4;42171:7;42154:10;:25::i;43088:218::-:0;-1:-1:-1;;;;;43184:23:0;;11061:10;43184:23;43176:83;;;;-1:-1:-1;;;43176:83:0;;14669:2:1;43176:83:0;;;14651:21:1;14708:2;14688:18;;;14681:30;14747:34;14727:18;;;14720:62;-1:-1:-1;;;14798:18:1;;;14791:45;14853:19;;43176:83:0;14641:237:1;43176:83:0;43272:26;43284:4;43290:7;43272:11;:26::i;51815:158::-;51888:4;51912:53;51920:3;-1:-1:-1;;;;;51940:23:0;;51912:7;:53::i;31350:120::-;30362:7;;;;30886:41;;;;-1:-1:-1;;;30886:41:0;;6703:2:1;30886:41:0;;;6685:21:1;6742:2;6722:18;;;6715:30;-1:-1:-1;;;6761:18:1;;;6754:50;6821:18;;30886:41:0;6675:170:1;30886:41:0;31409:7:::1;:15:::0;;-1:-1:-1;;31409:15:0::1;::::0;;31440:22:::1;11061:10:::0;31449:12:::1;31440:22;::::0;-1:-1:-1;;;;;4248:32:1;;;4230:51;;4218:2;4203:18;31440:22:0::1;;;;;;;31350:120::o:0;25309:338::-;-1:-1:-1;;;;;25393:21:0;;25385:65;;;;-1:-1:-1;;;25385:65:0;;15085:2:1;25385:65:0;;;15067:21:1;15124:2;15104:18;;;15097:30;15163:33;15143:18;;;15136:61;15214:18;;25385:65:0;15057:181:1;25385:65:0;25463:49;25492:1;25496:7;25505:6;25463:20;:49::i;:::-;25541:6;25525:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;25558:18:0;;;;;;:9;:18;;;;;:28;;25580:6;;25558:18;:28;;25580:6;;25558:28;:::i;:::-;;;;-1:-1:-1;;25602:37:0;;4909:25:1;;;-1:-1:-1;;;;;25602:37:0;;;25619:1;;25602:37;;4897:2:1;4882:18;25602:37:0;;;;;;;25309:338;;:::o;25980:494::-;-1:-1:-1;;;;;26064:21:0;;26056:67;;;;-1:-1:-1;;;26056:67:0;;11857:2:1;26056:67:0;;;11839:21:1;11896:2;11876:18;;;11869:30;11935:34;11915:18;;;11908:62;-1:-1:-1;;;11986:18:1;;;11979:31;12027:19;;26056:67:0;11829:223:1;26056:67:0;26136:49;26157:7;26174:1;26178:6;26136:20;:49::i;:::-;-1:-1:-1;;;;;26223:18:0;;26198:22;26223:18;;;:9;:18;;;;;;26260:24;;;;26252:71;;;;-1:-1:-1;;;26252:71:0;;7052:2:1;26252:71:0;;;7034:21:1;7091:2;7071:18;;;7064:30;7130:34;7110:18;;;7103:62;-1:-1:-1;;;7181:18:1;;;7174:32;7223:19;;26252:71:0;7024:224:1;26252:71:0;26355:23;26372:6;26355:14;:23;:::i;:::-;-1:-1:-1;;;;;26334:18:0;;;;;;:9;:18;;;;;:44;;;;26389:12;:22;;26405:6;;26334:18;26389:22;;26405:6;;26389:22;:::i;:::-;;;;-1:-1:-1;;26429:37:0;;4909:25:1;;;26455:1:0;;-1:-1:-1;;;;;26429:37:0;;;;;4897:2:1;4882:18;26429:37:0;4864:76:1;31091:118:0;30362:7;;;;30616:9;30608:38;;;;-1:-1:-1;;;30608:38:0;;9914:2:1;30608:38:0;;;9896:21:1;9953:2;9933:18;;;9926:30;-1:-1:-1;;;9972:18:1;;;9965:46;10028:18;;30608:38:0;9886:166:1;30608:38:0;31151:7:::1;:14:::0;;-1:-1:-1;;31151:14:0::1;31161:4;31151:14;::::0;;31181:20:::1;31188:12;11061:10:::0;;10981:98;52773:158;52847:7;52898:22;52902:3;52914:5;52898:3;:22::i;69133:177::-;69243:58;;;-1:-1:-1;;;;;4484:32:1;;69243:58:0;;;4466:51:1;4533:18;;;;4526:34;;;69243:58:0;;;;;;;;;;4439:18:1;;;;69243:58:0;;;;;;;;-1:-1:-1;;;;;69243:58:0;-1:-1:-1;;;69243:58:0;;;69216:86;;69236:5;;69216:19;:86::i;52312:117::-;52375:7;52402:19;52410:3;49069:18;;48986:109;42432:149;41721:7;41748:12;;;;;;;;;;:22;;;40222:30;40233:4;11061:10;40222;:30::i;:::-;42547:26:::1;42559:4;42565:7;42547:11;:26::i;44336:229::-:0;44411:22;44419:4;44425:7;44411;:22::i;:::-;44406:152;;44450:6;:12;;;;;;;;;;;-1:-1:-1;;;;;44450:29:0;;;;;;;;;:36;;-1:-1:-1;;44450:36:0;44482:4;44450:36;;;44533:12;11061:10;;10981:98;44533:12;-1:-1:-1;;;;;44506:40:0;44524:7;-1:-1:-1;;;;;44506:40:0;44518:4;44506:40;;;;;;;;;;44336:229;;:::o;46542:414::-;46605:4;48868:19;;;:12;;;:19;;;;;;46622:327;;-1:-1:-1;46665:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;46848:18;;46826:19;;;:12;;;:19;;;;;;:40;;;;46881:11;;46622:327;-1:-1:-1;46932:5:0;46925:12;;73625:393;73768:44;73795:4;73801:2;73805:6;73768:26;:44::i;:::-;11061:10;73841:27;;;;:13;:27;;;;;;;;:62;;;;-1:-1:-1;;;;;;73885:18:0;;;;73841:62;:95;;;;-1:-1:-1;;;;;;73920:16:0;;;;73841:95;73823:188;;;73963:36;73972:4;11061:10;73992:6;73963:8;:36::i;41082:384::-;41162:22;41170:4;41176:7;41162;:22::i;:::-;41158:301;;41294:41;41322:7;-1:-1:-1;;;;;41294:41:0;41332:2;41294:19;:41::i;:::-;41392:38;41420:4;41427:2;41392:19;:38::i;:::-;41215:230;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;41215:230:0;;;;;;;;;;-1:-1:-1;;;41201:246:0;;;;;;;:::i;44573:230::-;44648:22;44656:4;44662:7;44648;:22::i;:::-;44644:152;;;44719:5;44687:12;;;;;;;;;;;-1:-1:-1;;;;;44687:29:0;;;;;;;;;;:37;;-1:-1:-1;;44687:37:0;;;44744:40;11061:10;;44687:12;;44744:40;;44719:5;44744:40;44573:230;;:::o;47132:1553::-;47198:4;47337:19;;;:12;;;:19;;;;;;47373:15;;47369:1309;;47735:21;47759:14;47772:1;47759:10;:14;:::i;:::-;47808:18;;47735:38;;-1:-1:-1;47788:17:0;;47808:22;;47829:1;;47808:22;:::i;:::-;47788:42;;48075:17;48095:3;:11;;48107:9;48095:22;;;;;;-1:-1:-1;;;48095:22:0;;;;;;;;;;;;;;;;;48075:42;;48241:9;48212:3;:11;;48224:13;48212:26;;;;;;-1:-1:-1;;;48212:26:0;;;;;;;;;;;;;;;;;;;;:38;;;;48318:23;;;:12;;;:23;;;;;;:36;;;48479:17;;48318:3;;48479:17;;;-1:-1:-1;;;48479:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;48574:3;:12;;:19;48587:5;48574:19;;;;;;;;;;;48567:26;;;48617:4;48610:11;;;;;;;;47369:1309;48661:5;48654:12;;;;;49439:204;49534:18;;49506:7;;49534:26;-1:-1:-1;49526:73:0;;;;-1:-1:-1;;;49526:73:0;;5535:2:1;49526:73:0;;;5517:21:1;5574:2;5554:18;;;5547:30;5613:34;5593:18;;;5586:62;-1:-1:-1;;;5664:18:1;;;5657:32;5706:19;;49526:73:0;5507:224:1;49526:73:0;49617:3;:11;;49629:5;49617:18;;;;;;-1:-1:-1;;;49617:18:0;;;;;;;;;;;;;;;;;49610:25;;49439:204;;;;:::o;71567:761::-;71991:23;72017:69;72045:4;72017:69;;;;;;;;;;;;;;;;;72025:5;-1:-1:-1;;;;;72017:27:0;;;:69;;;;;:::i;:::-;72101:17;;71991:95;;-1:-1:-1;72101:21:0;72097:224;;72243:10;72232:30;;;;;;;;;;;;:::i;:::-;72224:85;;;;-1:-1:-1;;;72224:85:0;;13852:2:1;72224:85:0;;;13834:21:1;13891:2;13871:18;;;13864:30;13930:34;13910:18;;;13903:62;-1:-1:-1;;;13981:18:1;;;13974:40;14031:19;;72224:85:0;13824:232:1;60271:183:0;60402:44;60429:4;60435:2;60439:6;60402:26;:44::i;33941:447::-;34016:13;34042:19;34074:10;34078:6;34074:1;:10;:::i;:::-;:14;;34087:1;34074:14;:::i;:::-;34064:25;;;;;;-1:-1:-1;;;34064:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34064:25:0;;34042:47;;-1:-1:-1;;;34100:6:0;34107:1;34100:9;;;;;;-1:-1:-1;;;34100:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;34100:15:0;;;;;;;;;-1:-1:-1;;;34126:6:0;34133:1;34126:9;;;;;;-1:-1:-1;;;34126:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;34126:15:0;;;;;;;;-1:-1:-1;34157:9:0;34169:10;34173:6;34169:1;:10;:::i;:::-;:14;;34182:1;34169:14;:::i;:::-;34157:26;;34152:131;34189:1;34185;:5;34152:131;;;-1:-1:-1;;;34233:5:0;34241:3;34233:11;34224:21;;;;;-1:-1:-1;;;34224:21:0;;;;;;;;;;;;34212:6;34219:1;34212:9;;;;;;-1:-1:-1;;;34212:9:0;;;;;;;;;;;;:33;-1:-1:-1;;;;;34212:33:0;;;;;;;;-1:-1:-1;34270:1:0;34260:11;;;;;34192:3;;;:::i;:::-;;;34152:131;;;-1:-1:-1;34301:10:0;;34293:55;;;;-1:-1:-1;;;34293:55:0;;5938:2:1;34293:55:0;;;5920:21:1;;;5957:18;;;5950:30;6016:34;5996:18;;;5989:62;6068:18;;34293:55:0;5910:182:1;64155:195:0;64258:12;64290:52;64312:6;64320:4;64326:1;64329:12;64290:21;:52::i;:::-;64283:59;64155:195;-1:-1:-1;;;;64155:195:0:o;32078:238::-;30362:7;;;;32252:9;32244:64;;;;-1:-1:-1;;;32244:64:0;;15445:2:1;32244:64:0;;;15427:21:1;15484:2;15464:18;;;15457:30;15523:34;15503:18;;;15496:62;-1:-1:-1;;;15574:18:1;;;15567:40;15624:19;;32244:64:0;15417:232:1;65207:530:0;65334:12;65392:5;65367:21;:30;;65359:81;;;;-1:-1:-1;;;65359:81:0;;9507:2:1;65359:81:0;;;9489:21:1;9546:2;9526:18;;;9519:30;9585:34;9565:18;;;9558:62;-1:-1:-1;;;9636:18:1;;;9629:36;9682:19;;65359:81:0;9479:228:1;65359:81:0;61604:20;;65451:60;;;;-1:-1:-1;;;65451:60:0;;13070:2:1;65451:60:0;;;13052:21:1;13109:2;13089:18;;;13082:30;13148:31;13128:18;;;13121:59;13197:18;;65451:60:0;13042:179:1;65451:60:0;65585:12;65599:23;65626:6;-1:-1:-1;;;;;65626:11:0;65646:5;65654:4;65626:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65584:75;;;;65677:52;65695:7;65704:10;65716:12;65677:17;:52::i;:::-;65670:59;65207:530;-1:-1:-1;;;;;;;65207:530:0:o;67747:742::-;67862:12;67891:7;67887:595;;;-1:-1:-1;67922:10:0;67915:17;;67887:595;68036:17;;:21;68032:439;;68299:10;68293:17;68360:15;68347:10;68343:2;68339:19;68332:44;68247:148;68442:12;68435:20;;-1:-1:-1;;;68435:20:0;;;;;;;;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1280:297::-;1347:6;1400:2;1388:9;1379:7;1375:23;1371:32;1368:2;;;1421:6;1413;1406:22;1368:2;1458:9;1452:16;1511:5;1504:13;1497:21;1490:5;1487:32;1477:2;;1538:6;1530;1523:22;1582:190;1641:6;1694:2;1682:9;1673:7;1669:23;1665:32;1662:2;;;1715:6;1707;1700:22;1662:2;-1:-1:-1;1743:23:1;;1652:120;-1:-1:-1;1652:120:1:o;1777:264::-;1845:6;1853;1906:2;1894:9;1885:7;1881:23;1877:32;1874:2;;;1927:6;1919;1912:22;1874:2;1968:9;1955:23;1945:33;;1997:38;2031:2;2020:9;2016:18;1997:38;:::i;2046:258::-;2114:6;2122;2175:2;2163:9;2154:7;2150:23;2146:32;2143:2;;;2196:6;2188;2181:22;2143:2;-1:-1:-1;;2224:23:1;;;2294:2;2279:18;;;2266:32;;-1:-1:-1;2133:171:1:o;2309:306::-;2367:6;2420:2;2408:9;2399:7;2395:23;2391:32;2388:2;;;2441:6;2433;2426:22;2388:2;2472:23;;-1:-1:-1;;;;;;2524:32:1;;2514:43;;2504:2;;2576:6;2568;2561:22;2815:194;2885:6;2938:2;2926:9;2917:7;2913:23;2909:32;2906:2;;;2959:6;2951;2944:22;2906:2;-1:-1:-1;2987:16:1;;2896:113;-1:-1:-1;2896:113:1:o;3014:274::-;3143:3;3181:6;3175:13;3197:53;3243:6;3238:3;3231:4;3223:6;3219:17;3197:53;:::i;:::-;3266:16;;;;;3151:137;-1:-1:-1;;3151:137:1:o;3293:786::-;3704:25;3699:3;3692:38;3674:3;3759:6;3753:13;3775:62;3830:6;3825:2;3820:3;3816:12;3809:4;3801:6;3797:17;3775:62;:::i;:::-;-1:-1:-1;;;3896:2:1;3856:16;;;3888:11;;;3881:40;3946:13;;3968:63;3946:13;4017:2;4009:11;;4002:4;3990:17;;3968:63;:::i;:::-;4051:17;4070:2;4047:26;;3682:397;-1:-1:-1;;;;3682:397:1:o;4945:383::-;5094:2;5083:9;5076:21;5057:4;5126:6;5120:13;5169:6;5164:2;5153:9;5149:18;5142:34;5185:66;5244:6;5239:2;5228:9;5224:18;5219:2;5211:6;5207:15;5185:66;:::i;:::-;5312:2;5291:15;-1:-1:-1;;5287:29:1;5272:45;;;;5319:2;5268:54;;5066:262;-1:-1:-1;;5066:262:1:o;7679:404::-;7881:2;7863:21;;;7920:2;7900:18;;;7893:30;7959:34;7954:2;7939:18;;7932:62;-1:-1:-1;;;8025:2:1;8010:18;;8003:38;8073:3;8058:19;;7853:230::o;10466:356::-;10668:2;10650:21;;;10687:18;;;10680:30;10746:34;10741:2;10726:18;;10719:62;10813:2;10798:18;;10640:182::o;16025:128::-;16065:3;16096:1;16092:6;16089:1;16086:13;16083:2;;;16102:18;;:::i;:::-;-1:-1:-1;16138:9:1;;16073:80::o;16158:168::-;16198:7;16264:1;16260;16256:6;16252:14;16249:1;16246:21;16241:1;16234:9;16227:17;16223:45;16220:2;;;16271:18;;:::i;:::-;-1:-1:-1;16311:9:1;;16210:116::o;16331:125::-;16371:4;16399:1;16396;16393:8;16390:2;;;16404:18;;:::i;:::-;-1:-1:-1;16441:9:1;;16380:76::o;16461:258::-;16533:1;16543:113;16557:6;16554:1;16551:13;16543:113;;;16633:11;;;16627:18;16614:11;;;16607:39;16579:2;16572:10;16543:113;;;16674:6;16671:1;16668:13;16665:2;;;16709:1;16700:6;16695:3;16691:16;16684:27;16665:2;;16514:205;;;:::o;16724:136::-;16763:3;16791:5;16781:2;;16800:18;;:::i;:::-;-1:-1:-1;;;16836:18:1;;16771:89::o;16865:380::-;16944:1;16940:12;;;;16987;;;17008:2;;17062:4;17054:6;17050:17;17040:27;;17008:2;17115;17107:6;17104:14;17084:18;17081:38;17078:2;;;17161:10;17156:3;17152:20;17149:1;17142:31;17196:4;17193:1;17186:15;17224:4;17221:1;17214:15;17078:2;;16920:325;;;:::o;17250:127::-;17311:10;17306:3;17302:20;17299:1;17292:31;17342:4;17339:1;17332:15;17366:4;17363:1;17356:15

Swarm Source

ipfs://951b41ae03867aee082375b2e159fc9cb37586cf41723c9975e302ecca6dd3c5
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.