Contract 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x5d36f287e6e140ad4824bbb67f327667706c1e57b0371465b3bb30dc3cce478084341912021-06-19 14:00:064 hrs 46 mins ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x9fc863446e388f3f28b68c16f4241e7080c5512494f9492402982771010dc61284199222021-06-19 2:00:0616 hrs 46 mins ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0xa527b3a94fb2ff91455f693c49a8922fe3dd867a6460fafc288c3a2b71db994a84056812021-06-18 14:00:081 day 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0xd03a5e8af6037c06d4a436c2d9286f596536fad8aed784fc7b78174b5871621783913902021-06-18 2:00:101 day 16 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000723735
0x95bc300ae4547000e26d2f421db67ed376d348b7be54acfedf42fbb7b9e87c5d83771052021-06-17 14:00:062 days 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x1a6db2f5da0a3e48cef08d79a4f14d3497d05ef939db29a3da3f5d596bbee56383628752021-06-17 2:00:062 days 16 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0xc216752463687daf415daa61709344739d12364b093d0dfde6ecf623394cec2183485552021-06-16 14:00:073 days 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x4f330c4e6fac53eaa19735d483c92bf7b6231ccecbb6f5ae06b71ea1eeab5fc583342752021-06-16 2:00:073 days 16 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0xb22158fa591c28a0883ba06a53e9e11e2c3893817c9ed38e7b07fb28c6caf53983200012021-06-15 14:00:064 days 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x537fdfd0391e06f41fa55a3b7e64ec1e6f7bf27a85b906d2dd94eba425f4b41f83058402021-06-15 2:00:054 days 16 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0xfa8c1e3f3e46f66820daf92685d7bed0e92758e3f1ce5d52a9aee35978f026d582916272021-06-14 14:00:075 days 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0xe07da407e805f40ef82b4e9e556d59cbf9e0a997e5cc37153d7fdcbdf015c8b682774192021-06-14 2:00:065 days 16 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x9aa625065595084677d96b90b33db272a06aef5767b2cc8ff1139328b9f57cda82632242021-06-13 14:00:076 days 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x92353ba1f5dcd47fdac55ec9303b86f89920e3ed7d607f23228db464a81b45b782489522021-06-13 2:00:056 days 16 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x55e00e7bbfd919af206652349cf1d3cd2ac0d1b4cd6042bb943085b91c3edb0682346722021-06-12 14:00:057 days 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0xcddc94628c9dcb471f3f7c8afab1ddb6319455f3aa4f1739368c9b7baf31f98a82203122021-06-12 2:00:057 days 16 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x6924fb4a12b6021d95c803693920d77d438f7261ada9d3ce93341647b255dda582059842021-06-11 14:00:068 days 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0xf1796e7cc49a7a19ca6a5478cb15dfa1f67904cf25ecbf5d4c679d8fa7eb8e0281916102021-06-11 2:00:108 days 16 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x2ab69a9a4e87ededc50e564dc897bde1db00bcb39f8d01ff57a213b9a676134281772972021-06-10 14:00:089 days 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0xf575d2b369d0e6e4cfe545f8a83c7d05e8b0c9e39086febbe7945c4841f635a681629402021-06-10 2:00:069 days 16 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x80ac9ab5e7e457b4e977206c31e3d7425fe58134831917c608f4e5667838066c81485882021-06-09 14:00:0710 days 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0xb7e50a5426db22de11a6719fb632c576b24249a15f002d3568263b63b4cde0ce81342452021-06-09 2:00:0510 days 16 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0xb188fd9ebfeb4e16df9081197009eb31cc2a4960eb9fc89ad8f5b0baef8b159481198762021-06-08 14:00:0711 days 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x7b167f6deb992f73052539c17c501011d0497e12c93a2ed683b37af82c5b50af81054912021-06-08 2:00:0811 days 16 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
0x6dd73924da7f758efbe1adb4cbb7387a5c0bf4f813ac7ed390c80e7c964dee6b80911382021-06-07 14:00:0712 days 4 hrs ago0x1b4d657f1a3b2f3fe27c672ee31ba098acbd8fb7 IN  0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB0.000702735
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x6837495bd92e1ef9ab1a000e2f326640cac0c10f5829b5a7dd34822502dff23e54713292021-03-07 11:59:24104 days 6 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x6837495bd92e1ef9ab1a000e2f326640cac0c10f5829b5a7dd34822502dff23e54713292021-03-07 11:59:24104 days 6 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x73a32eddca591a3f8a55dcfe41a655f0324fa055c1741afa954e8c8a26f3958b54711002021-03-07 11:47:57104 days 6 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0xf9e6a1079f7afe8a71a7c098408e2abfa5cd3c8e07558cff5e8f33791029f17454710682021-03-07 11:46:21104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x655d2973ce4b6c58aab368635e29528073dfa12b7bc9e607afa72d765c9abbc554710552021-03-07 11:45:42104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x59742a517346f9b59c79978a907e2828302538f818bc38a3fabca00aee2276c354710362021-03-07 11:44:45104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x59742a517346f9b59c79978a907e2828302538f818bc38a3fabca00aee2276c354710362021-03-07 11:44:45104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0xaa16c74f7ad26822d3fd32593f3fde9c636d6010fca1d41fc6183f41b0aeab3354710182021-03-07 11:43:51104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0xaa16c74f7ad26822d3fd32593f3fde9c636d6010fca1d41fc6183f41b0aeab3354710182021-03-07 11:43:51104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0xebf708d746790ed7c3f3d74f6a5f07815707a257aac16942ecdb04874720a9a254709052021-03-07 11:38:12104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x61a2b33dd020c04f8e36deb200b6e881aa54eb0f0e7dbb663ed7ad0ca725bf7154708802021-03-07 11:36:57104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x61a2b33dd020c04f8e36deb200b6e881aa54eb0f0e7dbb663ed7ad0ca725bf7154708802021-03-07 11:36:57104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0xb7ff6a662680686aec43a0ac97a2b0209f5792ddf516011b5469c392f16debda54708402021-03-07 11:34:57104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x36bd314393cd4a5f7922c794d2ed1e423e06c2e5153eb2dcd3b0fa28e79b691854704432021-03-07 11:15:06104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x8e18d73250c47ed22edef97a9744a5ca51384e2288043848973d7862a953c30a54702502021-03-07 11:05:27104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x15590f6f456757db190f350ba095e6daa78ebfa164c0add889630dcdd23f80d554700402021-03-07 10:54:57104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x15590f6f456757db190f350ba095e6daa78ebfa164c0add889630dcdd23f80d554700402021-03-07 10:54:57104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x25b8828c5c7a268a6e1ddc7baa0bfcfb854b8e638526ad40c1783e270a5472dc54699552021-03-07 10:50:42104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x25b8828c5c7a268a6e1ddc7baa0bfcfb854b8e638526ad40c1783e270a5472dc54699552021-03-07 10:50:42104 days 7 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x6f86580f3b3c57eb787e456b2b886770b3bbe859b3a3aa9cd0748fa2c73b93f954698652021-03-07 10:46:12104 days 8 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0xfffc85d167f70f640b583b190e127145c1b491010a5171cdc59eb5e6d8a25f2054696832021-03-07 10:37:06104 days 8 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x99909be1303be550ed7ecb5f7234aaf0deb318bc49b775d0e3c7b1f5c270bf4c54696192021-03-07 10:33:54104 days 8 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0xadddc369c3d28e13db8ab450abf1278525697aa8ca95b53bd9511a573908f36954695952021-03-07 10:32:42104 days 8 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x251f61d49e43349c90f1c40bdd9a7733e74cf1667bc1edaf2c4cd8430d446eba54694212021-03-07 10:24:00104 days 8 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
0x251f61d49e43349c90f1c40bdd9a7733e74cf1667bc1edaf2c4cd8430d446eba54694212021-03-07 10:24:00104 days 8 hrs ago 0xbe8b66649ad3b93021630cdfb3b4f38e3b8b653e 0xa8d512d654bf1aa7d70b7ffb696c629b8fe60b6d0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Treasury

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : Treasury.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";

import "./lib/Babylonian.sol";
import "./owner/Operator.sol";
import "./utils/ContractGuard.sol";
import "./interfaces/IBasisAsset.sol";
import "./interfaces/IOracle.sol";
import "./interfaces/IBoardroom.sol";

/**
 * @title Basis Cash Treasury contract
 * @notice Monetary policy logic to adjust supplies of basis cash assets
 * @author Summer Smith & Rick Sanchez
 */
contract Treasury is ContractGuard {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    /* ========= CONSTANT VARIABLES ======== */

    uint256 public constant PERIOD = 12 hours;

    /* ========== STATE VARIABLES ========== */

    // governance
    address public operator;

    // flags
    bool public migrated = false;

    // epoch
    uint256 public startTime;
    uint256 public epoch = 0;
    uint256 public epochSupplyContractionLeft = 0;

    // core components
    address public dollar;
    address public bond;
    address public share;

    address public boardroom;
    address public dollarOracle;

    // price
    uint256 public dollarPriceOne;
    uint256 public dollarPriceCeiling;
    uint256 public dollarPriceMaxPremium; // when redeeming bond

    uint256 public seigniorageSaved;

    // protocol parameters
    uint256 public maxSupplyExpansionPercent;
    uint256 public maxSupplyExpansionPercentInDebtPhase;
    uint256 public bondDepletionFloorPercent;
    uint256 public seigniorageExpansionFloorPercent;
    uint256 public maxSupplyContractionPercent;
    uint256 public maxDebtRatioPercent;

    // Stablization fund
    address public stablizationFund;
    uint256 public stablizationFundSharedPercent;
    uint256 public stablizationFundSharedPercentInDebtPhase;

    /* =================== Events =================== */

    event Migration(address indexed target);
    event RedeemedBonds(address indexed from, uint256 dollarAmount, uint256 bondAmount);
    event BoughtBonds(address indexed from, uint256 dollarAmount, uint256 bondAmount);
    event TreasuryFunded(uint256 timestamp, uint256 seigniorage);
    event BoardroomFunded(uint256 timestamp, uint256 seigniorage);
    event StablizationFundFunded(uint256 timestamp, uint256 seigniorage);

    /* =================== Modifier =================== */

    modifier onlyOperator() {
        require(operator == msg.sender, "onlyOperator");
        _;
    }

    function checkCondition() private view {
        require(!migrated, "Migrated");
        require(now >= startTime, "Not started yet");
    }

    function checkEpoch() private  {
        require(now >= nextEpochPoint(), "Not opened yet");

        epoch = epoch.add(1);
        epochSupplyContractionLeft = IERC20(dollar).totalSupply().mul(maxSupplyContractionPercent).div(10000);
    }

    function checkOperator() private view {
        require(
            IBasisAsset(dollar).operator() == address(this) &&
                IBasisAsset(bond).operator() == address(this) &&
                IBasisAsset(share).operator() == address(this) &&
                Operator(boardroom).operator() == address(this),
            "Permissions required"
        );
    }

    constructor(
        address _dollar,
        address _bond,
        address _share,
        address _dollarOracle,
        address _stablizationFund,
        uint256 _startTime
    ) public {
        require(block.timestamp < _startTime, "late");

        dollar = _dollar;
        bond = _bond;
        share = _share;
        dollarOracle = _dollarOracle;
        stablizationFund = _stablizationFund;
        startTime = _startTime;

        dollarPriceOne = 10**18;
        dollarPriceCeiling = dollarPriceOne.mul(101).div(100);
        dollarPriceMaxPremium = dollarPriceOne.mul(130).div(100);

        maxSupplyExpansionPercent = 700;
        maxSupplyExpansionPercentInDebtPhase = 700;
        bondDepletionFloorPercent = 10000;
        seigniorageExpansionFloorPercent = 8000; // 80% of expansion amount (including stablization fund)
        maxSupplyContractionPercent = 300;
        maxDebtRatioPercent = 3500;
        stablizationFundSharedPercent = 4500;
        stablizationFundSharedPercentInDebtPhase = 3750;
        seigniorageSaved = IERC20(dollar).balanceOf(address(this));

        operator = msg.sender;
    }

    /* ========== VIEW FUNCTIONS ========== */

    // flags
    function isMigrated() public view returns (bool) {
        return migrated;
    }

    // epoch
    function nextEpochPoint() public view returns (uint256) {
        return startTime.add(epoch.mul(PERIOD));
    }

    // oracle
    function getDollarPrice() public view returns (uint256 dollarPrice) {
        try IOracle(dollarOracle).consult(dollar, 1e18) returns (uint256 price) {
            return price;
        } catch {
            revert("Oracle consult dollar price failed");
        }
    }

    // budget
    function getReserve() public view returns (uint256) {
        return seigniorageSaved;
    }

    function getRedeemableBonds() public view returns (uint256 _redeemableBonds) {
        uint256 _dollarPrice = getDollarPrice();
        if (_dollarPrice > dollarPriceCeiling) {
            uint256 _totalDollar = IERC20(dollar).balanceOf(address(this));
            uint256 _rate = getBondPremiumRate();
            if (_rate > 0) {
                _redeemableBonds = _totalDollar.mul(1e18).div(_rate);
            }
        }
    }

    function getBondPremiumRate() public view returns (uint256 _rate) {
        uint256 _dollarPrice = getDollarPrice();
        if (_dollarPrice > dollarPriceCeiling) {
            _rate = Math.min(_dollarPrice, dollarPriceMaxPremium);
        } else {
            _rate = dollarPriceOne.mul(9000).div(10000);
        }
    }

    /* ========== GOVERNANCE ========== */

    function setOperator(address _operator) external onlyOperator {
        operator = _operator;
    }

    function setBoardroom(address _boardroom) external onlyOperator {
        boardroom = _boardroom;
    }

    function setDollarOracle(address _dollarOracle) external onlyOperator {
        dollarOracle = _dollarOracle;
    }

    function setDollarPriceCeiling(uint256 _dollarPriceCeiling) external onlyOperator {
        require(_dollarPriceCeiling >= dollarPriceOne && _dollarPriceCeiling <= dollarPriceOne.mul(120).div(100), "out of range"); // [$1.0, $1.2]
        dollarPriceCeiling = _dollarPriceCeiling;
    }

    function setDollarPriceMaxPremium(uint256 _dollarPriceMaxPremium) external onlyOperator {
        require(_dollarPriceMaxPremium >= dollarPriceOne && _dollarPriceMaxPremium <= dollarPriceOne.mul(200).div(100), "out of range"); // [$1.0, $2.0]
        dollarPriceMaxPremium = _dollarPriceMaxPremium;
    }

    function setMaxSupplyExpansionPercents(uint256 _maxSupplyExpansionPercent, uint256 _maxSupplyExpansionPercentInDebtPhase) external onlyOperator {
        require(_maxSupplyExpansionPercent >= 10 && _maxSupplyExpansionPercent <= 3000, "_maxSupplyExpansionPercent: out of range"); // [0.1%, 30%]
        require(
            _maxSupplyExpansionPercentInDebtPhase >= 10 && _maxSupplyExpansionPercentInDebtPhase <= 3000,
            "_maxSupplyExpansionPercentInDebtPhase: out of range"
        ); // [0.1%, 30%]
        require(
            _maxSupplyExpansionPercent <= _maxSupplyExpansionPercentInDebtPhase,
            "_maxSupplyExpansionPercent is over _maxSupplyExpansionPercentInDebtPhase"
        );
        maxSupplyExpansionPercent = _maxSupplyExpansionPercent;
        maxSupplyExpansionPercentInDebtPhase = _maxSupplyExpansionPercentInDebtPhase;
    }

    function setBondDepletionFloorPercent(uint256 _bondDepletionFloorPercent) external onlyOperator {
        require(_bondDepletionFloorPercent >= 500 && _bondDepletionFloorPercent <= 13000, "out of range"); // [5%, 130%]
        bondDepletionFloorPercent = _bondDepletionFloorPercent;
    }

    function setSeigniorageExpansionFloorPercent(uint256 _seigniorageExpansionFloorPercent) external onlyOperator {
        require(_seigniorageExpansionFloorPercent >= 3000 && _seigniorageExpansionFloorPercent <= 10000, "out of range"); // [30%, 100%]
        seigniorageExpansionFloorPercent = _seigniorageExpansionFloorPercent;
    }

    function setMaxSupplyContractionPercent(uint256 _maxSupplyContractionPercent) external onlyOperator {
        require(_maxSupplyContractionPercent >= 100 && _maxSupplyContractionPercent <= 3000, "out of range"); // [0.1%, 30%]
        maxSupplyContractionPercent = _maxSupplyContractionPercent;
    }

    function setMaxDebtRatioPercent(uint256 _maxDebtRatioPercent) external onlyOperator {
        require(_maxDebtRatioPercent >= 1000 && _maxDebtRatioPercent <= 10000, "out of range"); // [10%, 100%]
        maxDebtRatioPercent = _maxDebtRatioPercent;
    }

    function setStablizationFund(address _stablizationFund) external onlyOperator {
        require(_stablizationFund != address(0), "zero");
        stablizationFund = _stablizationFund;
    }

    function setStablizationFundSharedPercent(uint256 _stablizationFundSharedPercent, uint256 _stablizationFundSharedPercentInDebtPhase) external onlyOperator {
        require(_stablizationFundSharedPercent <= 7500, "sharePercent: out of range"); // <= 75%
        require(_stablizationFundSharedPercentInDebtPhase <= 7500, "sharePercentInDebtPhase: out of range"); // <= 75%
        stablizationFundSharedPercent = _stablizationFundSharedPercent;
        stablizationFundSharedPercentInDebtPhase = _stablizationFundSharedPercentInDebtPhase;
    }

    function migrate(address target) external onlyOperator {
        require(!migrated, "Migrated");
        checkOperator();

        // dollar
        Operator(dollar).transferOperator(target);
        Operator(dollar).transferOwnership(target);
        IERC20(dollar).transfer(target, IERC20(dollar).balanceOf(address(this)));

        // bond
        Operator(bond).transferOperator(target);
        Operator(bond).transferOwnership(target);
        IERC20(bond).transfer(target, IERC20(bond).balanceOf(address(this)));

        // share
        Operator(share).transferOperator(target);
        Operator(share).transferOwnership(target);
        IERC20(share).transfer(target, IERC20(share).balanceOf(address(this)));

        migrated = true;
        emit Migration(target);
    }

    /* ========== MUTABLE FUNCTIONS ========== */

    function _updateDollarPrice() internal {
        try IOracle(dollarOracle).update() {} catch {}
    }

    function buyBonds(uint256 amount, uint256 targetPrice) external onlyOneBlock {
        checkCondition();
        checkOperator();
        require(amount > 0, "Zero amount");

        uint256 dollarPrice = getDollarPrice();
        require(dollarPrice == targetPrice, "Dollar price moved");
        require(
            dollarPrice < dollarPriceOne, // price < $1
            "DollarPrice < 1"
        );

        require(amount <= epochSupplyContractionLeft, "No bond left");

        uint256 dollarSupply = IERC20(dollar).totalSupply();
        uint256 newBondSupply = IERC20(bond).totalSupply().add(amount);
        require(newBondSupply <= dollarSupply.mul(maxDebtRatioPercent).div(10000), "over max debt ratio");

        IBasisAsset(dollar).burnFrom(msg.sender, amount);
        IBasisAsset(bond).mint(msg.sender, amount);

        epochSupplyContractionLeft = epochSupplyContractionLeft.sub(amount);
        _updateDollarPrice();

        emit BoughtBonds(msg.sender, amount, amount);
    }

    function redeemBonds(uint256 amount, uint256 targetPrice) external onlyOneBlock {
        checkCondition();
        checkOperator();
        require(amount > 0, "Zero amount");

        uint256 dollarPrice = getDollarPrice();
        require(dollarPrice == targetPrice, "Dollar price moved");
        
        uint256 _rate = getBondPremiumRate();
        require(_rate > 0, "Invalid bond rate");

        uint256 _dollarAmount = amount.mul(_rate).div(1e18);
        require(IERC20(dollar).balanceOf(address(this)) >= _dollarAmount, "Treasury has no more budget");

        seigniorageSaved = seigniorageSaved.sub(Math.min(seigniorageSaved, _dollarAmount));

        IBasisAsset(bond).burnFrom(msg.sender, amount);
        IERC20(dollar).safeTransfer(msg.sender, _dollarAmount);

        _updateDollarPrice();

        emit RedeemedBonds(msg.sender, _dollarAmount, amount);
    }

    function _sendToBoardRoom(uint256 _amount, uint256 _stablizationFundSharedPercent) internal {
        IBasisAsset(dollar).mint(address(this), _amount);
        if (_stablizationFundSharedPercent > 0) {
            uint256 _stablizationFundSharedAmount = _amount.mul(_stablizationFundSharedPercent).div(10000);
            IERC20(dollar).transfer(stablizationFund, _stablizationFundSharedAmount);
            emit StablizationFundFunded(now, _stablizationFundSharedAmount);
            _amount = _amount.sub(_stablizationFundSharedAmount);
        }
        IERC20(dollar).safeApprove(boardroom, 0);
        IERC20(dollar).safeApprove(boardroom, _amount);
        IBoardroom(boardroom).allocateSeigniorage(_amount);
        emit BoardroomFunded(now, _amount);
    }

    function allocateSeigniorage() external onlyOneBlock {
        checkCondition();
        checkEpoch();
        checkOperator();
        _updateDollarPrice();
        uint256 dollarSupply = IERC20(dollar).totalSupply().sub(seigniorageSaved);
        uint256 dollarPrice = getDollarPrice();
        if (dollarPrice > dollarPriceCeiling) {
            uint256 bondSupply = IERC20(bond).totalSupply();
            uint256 _percentage = dollarPrice.sub(dollarPriceOne);
            uint256 _savedForBond;
            uint256 _savedForBoardRoom;
            uint256 _stablizationFundSharePercent;
            if (seigniorageSaved >= bondSupply.mul(bondDepletionFloorPercent).div(10000)) {
                // saved enough to pay debt, mint as usual rate
                uint256 _mse = maxSupplyExpansionPercent.mul(1e14);
                if (_percentage > _mse) {
                    _percentage = _mse;
                }
                _savedForBoardRoom = dollarSupply.mul(_percentage).div(1e18);
                _stablizationFundSharePercent = stablizationFundSharedPercent;
            } else {
                // have not saved enough to pay debt, mint more
                uint256 _mse = maxSupplyExpansionPercentInDebtPhase.mul(1e14);
                if (_percentage > _mse) {
                    _percentage = _mse;
                }
                uint256 _seigniorage = dollarSupply.mul(_percentage).div(1e18);
                _savedForBoardRoom = _seigniorage.mul(seigniorageExpansionFloorPercent).div(10000);
                _savedForBond = _seigniorage.sub(_savedForBoardRoom);
                _stablizationFundSharePercent = stablizationFundSharedPercentInDebtPhase;
            }
            if (_savedForBoardRoom > 0) {
                _sendToBoardRoom(_savedForBoardRoom, _stablizationFundSharePercent);
            }
            if (_savedForBond > 0) {
                seigniorageSaved = seigniorageSaved.add(_savedForBond);
                IBasisAsset(dollar).mint(address(this), _savedForBond);
                emit TreasuryFunded(now, _savedForBond);
            }
        }
    }

    function governanceRecoverUnsupported(
        IERC20 _token,
        uint256 _amount,
        address _to
    ) external onlyOperator {
        // do not allow to drain core tokens
        require(address(_token) != address(dollar), "dollar");
        require(address(_token) != address(bond), "bond");
        require(address(_token) != address(share), "share");
        _token.safeTransfer(_to, _amount);
    }

    /* ========== BOARDROOM CONTROLLING FUNCTIONS ========== */

    function boardroomSetOperator(address _operator) external onlyOperator {
        IBoardroom(boardroom).setOperator(_operator);
    }

    function boardroomSetLockUp(uint256 _withdrawLockupEpochs, uint256 _rewardLockupEpochs) external onlyOperator {
        IBoardroom(boardroom).setLockUp(_withdrawLockupEpochs, _rewardLockupEpochs);
    }

    function boardroomSetMaxClaimAndWithdraw(uint256 _maxRewardClaimWhenDollarPriceLessThanOne, uint256 _maxWithdrawWhenDollarPriceLessThanOne) external onlyOperator {
        IBoardroom(boardroom).setMaxClaimAndWithdraw(_maxRewardClaimWhenDollarPriceLessThanOne, _maxWithdrawWhenDollarPriceLessThanOne);
    }

    function boardroomAllocateSeigniorage(uint256 amount) external onlyOperator {
        IBoardroom(boardroom).allocateSeigniorage(amount);
    }

    function boardroomGovernanceRecoverUnsupported(
        address _token,
        uint256 _amount,
        address _to
    ) external onlyOperator {
        IBoardroom(boardroom).governanceRecoverUnsupported(_token, _amount, _to);
    }
}

File 2 of 15 : IBasisAsset.sol
pragma solidity ^0.6.0;

interface IBasisAsset {
    function mint(address recipient, uint256 amount) external returns (bool);

    function burn(uint256 amount) external;

    function burnFrom(address from, uint256 amount) external;

    function isOperator() external returns (bool);

    function operator() external view returns (address);
}

File 3 of 15 : IBoardroom.sol
pragma solidity ^0.6.0;

interface IBoardroom {
    function balanceOf(address _director) external view returns (uint256);

    function earned(address _director) external view returns (uint256);

    function canWithdraw(address _director) external view returns (bool);

    function canClaimReward(address _director) external view returns (bool);

    function setOperator(address _operator) external;

    function setLockUp(uint256 _withdrawLockupEpochs, uint256 _rewardLockupEpochs) external;

    function setMaxClaimAndWithdraw(uint256 _maxRewardClaimWhenDollarPriceLessThanOne, uint256 _maxWithdrawWhenDollarPriceLessThanOne) external;

    function stake(uint256 _amount) external;

    function withdraw(uint256 _amount) external;

    function exit() external;

    function claimReward() external;

    function allocateSeigniorage(uint256 _amount) external;

    function governanceRecoverUnsupported(
        address _token,
        uint256 _amount,
        address _to
    ) external;
}

File 4 of 15 : IOracle.sol
pragma solidity ^0.6.0;

interface IOracle {
    function update() external;

    function consult(address token, uint256 amountIn) external view returns (uint256 amountOut);
}

File 5 of 15 : Babylonian.sol
pragma solidity ^0.6.0;

library Babylonian {
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
        // else z = 0
    }
}

File 6 of 15 : Operator.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract Operator is Context, Ownable {
    address private _operator;

    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);

    constructor() internal {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
    }

    function operator() public view returns (address) {
        return _operator;
    }

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    function isOperator() public view returns (bool) {
        return _msgSender() == _operator;
    }

    function transferOperator(address newOperator_) public onlyOwner {
        _transferOperator(newOperator_);
    }

    function _transferOperator(address newOperator_) internal {
        require(newOperator_ != address(0), "operator: zero address given for new operator");
        emit OperatorTransferred(address(0), newOperator_);
        _operator = newOperator_;
    }
}

File 7 of 15 : ContractGuard.sol
pragma solidity 0.6.12;

contract ContractGuard {
    mapping(uint256 => mapping(address => bool)) private _status;

    function checkSameOriginReentranted() internal view returns (bool) {
        return _status[block.number][tx.origin];
    }

    function checkSameSenderReentranted() internal view returns (bool) {
        return _status[block.number][msg.sender];
    }

    modifier onlyOneBlock() {
        require(!checkSameOriginReentranted(), "ContractGuard: one block, one function");
        require(!checkSameSenderReentranted(), "ContractGuard: one block, one function");

        _;

        _status[block.number][tx.origin] = true;
        _status[block.number][msg.sender] = true;
    }
}

File 8 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

File 9 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../GSN/Context.sol";
/**
 * @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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 10 of 15 : Math.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

File 11 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

File 12 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

File 13 of 15 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";

/**
 * @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 SafeMath for uint256;
    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).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _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 14 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

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

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

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 15 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"_dollar","type":"address"},{"internalType":"address","name":"_bond","type":"address"},{"internalType":"address","name":"_share","type":"address"},{"internalType":"address","name":"_dollarOracle","type":"address"},{"internalType":"address","name":"_stablizationFund","type":"address"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seigniorage","type":"uint256"}],"name":"BoardroomFunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"dollarAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bondAmount","type":"uint256"}],"name":"BoughtBonds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"}],"name":"Migration","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"dollarAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bondAmount","type":"uint256"}],"name":"RedeemedBonds","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seigniorage","type":"uint256"}],"name":"StablizationFundFunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seigniorage","type":"uint256"}],"name":"TreasuryFunded","type":"event"},{"inputs":[],"name":"PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allocateSeigniorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"boardroom","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"boardroomAllocateSeigniorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"boardroomGovernanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawLockupEpochs","type":"uint256"},{"internalType":"uint256","name":"_rewardLockupEpochs","type":"uint256"}],"name":"boardroomSetLockUp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxRewardClaimWhenDollarPriceLessThanOne","type":"uint256"},{"internalType":"uint256","name":"_maxWithdrawWhenDollarPriceLessThanOne","type":"uint256"}],"name":"boardroomSetMaxClaimAndWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"boardroomSetOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bond","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bondDepletionFloorPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"targetPrice","type":"uint256"}],"name":"buyBonds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dollar","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dollarOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dollarPriceCeiling","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dollarPriceMaxPremium","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dollarPriceOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epochSupplyContractionLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBondPremiumRate","outputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDollarPrice","outputs":[{"internalType":"uint256","name":"dollarPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRedeemableBonds","outputs":[{"internalType":"uint256","name":"_redeemableBonds","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isMigrated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDebtRatioPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyContractionPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyExpansionPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyExpansionPercentInDebtPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextEpochPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"targetPrice","type":"uint256"}],"name":"redeemBonds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seigniorageExpansionFloorPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"seigniorageSaved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_boardroom","type":"address"}],"name":"setBoardroom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bondDepletionFloorPercent","type":"uint256"}],"name":"setBondDepletionFloorPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dollarOracle","type":"address"}],"name":"setDollarOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dollarPriceCeiling","type":"uint256"}],"name":"setDollarPriceCeiling","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dollarPriceMaxPremium","type":"uint256"}],"name":"setDollarPriceMaxPremium","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDebtRatioPercent","type":"uint256"}],"name":"setMaxDebtRatioPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupplyContractionPercent","type":"uint256"}],"name":"setMaxSupplyContractionPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupplyExpansionPercent","type":"uint256"},{"internalType":"uint256","name":"_maxSupplyExpansionPercentInDebtPhase","type":"uint256"}],"name":"setMaxSupplyExpansionPercents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seigniorageExpansionFloorPercent","type":"uint256"}],"name":"setSeigniorageExpansionFloorPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stablizationFund","type":"address"}],"name":"setStablizationFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stablizationFundSharedPercent","type":"uint256"},{"internalType":"uint256","name":"_stablizationFundSharedPercentInDebtPhase","type":"uint256"}],"name":"setStablizationFundSharedPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"share","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stablizationFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stablizationFundSharedPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stablizationFundSharedPercentInDebtPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526000600160146101000a81548160ff021916908315150217905550600060035560006004553480156200003657600080fd5b506040516200661538038062006615833981810160405260c08110156200005c57600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505080421062000115576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f6c6174650000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b85600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600281905550670de0b6b3a7640000600a81905550620002a76064620002936065600a546200044c60201b6200494b1790919060201c565b620004d760201b620049d11790919060201c565b600b81905550620002e46064620002d06082600a546200044c60201b6200494b1790919060201c565b620004d760201b620049d11790919060201c565b600c819055506102bc600e819055506102bc600f81905550612710601081905550611f4060118190555061012c601281905550610dac601381905550611194601581905550610ea6601681905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015620003bc57600080fd5b505afa158015620003d1573d6000803e3d6000fd5b505050506040513d6020811015620003e857600080fd5b8101908080519060200190929190505050600d8190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050620005f4565b600080831415620004615760009050620004d1565b60008284029050828482816200047357fe5b0414620004cc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180620065f46021913960400191505060405180910390fd5b809150505b92915050565b60006200052183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200052960201b60201c565b905092915050565b60008083118290620005d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200059d57808201518184015260208101905062000580565b50505050905090810190601f168015620005cb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581620005e657fe5b049050809150509392505050565b615ff080620006046000396000f3fe608060405234801561001057600080fd5b506004361061030b5760003560e01c80638c2d86491161019d578063b6995158116100e9578063e1f095aa116100a2578063ea83a6101161007c578063ea83a61014610b80578063f8cd4d7214610bb8578063fc19657214610bf0578063fcb6f00814610c245761030b565b8063e1f095aa14610b26578063e6adc46f14610b44578063e90b245414610b625761030b565b8063b699515814610a22578063c5967c2614610a5a578063ce5494bb14610a78578063cecce38e14610abc578063d98f249514610aea578063da3ed41914610b085761030b565b8063a3ec30fe11610156578063b06faf6211610130578063b06faf621461095c578063b3ab15fb1461097c578063b3ffc777146109c0578063b4d1d79514610a045761030b565b8063a3ec30fe14610876578063a8d5fd65146108e4578063b06ce14a146109185761030b565b80638c2d8649146107885780638c664db6146107b6578063900cf0cf146107e4578063902aee541461080257806394bdf63e146108205780639a4a5a041461083e5761030b565b806354f04a111161025c5780635e02c51e1161021557806372c054f9116101ef57806372c054f91461071057806378e979251461072e57806381d11eaf1461074c57806382ef2dd41461076a5761030b565b80635e02c51e1461068a57806364c9ec6f146106be578063723ee2c4146106f25761030b565b806354f04a11146105aa578063570ca735146105e2578063591663e11461061657806359bf5d39146106445780635a0fc79c146106625780635b756179146106805761030b565b806322f832cd116102c9578063451111b7116102a3578063451111b714610490578063476fbdff146104c457806351adeb571461050857806354575af41461053c5761030b565b806322f832cd146104245780632c678c64146104425780633c8bac1a146104625761030b565b8062b618191461031057806301a937831461032e5780630db7eb0b1461035c578063118ebbf91461037a57806314b763f3146103b25780631a5e2e54146103e0575b600080fd5b610318610c42565b6040518082815260200191505060405180910390f35b61035a6004803603602081101561034457600080fd5b8101908080359060200190929190505050610c48565b005b610364610d9b565b6040518082815260200191505060405180910390f35b6103b06004803603604081101561039057600080fd5b810190808035906020019092919080359060200190929190505050610df7565b005b6103de600480360360208110156103c857600080fd5b81019080803590602001909291905050506113f9565b005b610422600480360360208110156103f657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061154c565b005b61042c611653565b6040518082815260200191505060405180910390f35b61044a611659565b60405180821515815260200191505060405180910390f35b61048e6004803603602081101561047857600080fd5b810190808035906020019092919050505061166c565b005b6104986117e5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610506600480360360208110156104da57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061180b565b005b6105106119b5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105a86004803603606081101561055257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119db565b005b6105e0600480360360408110156105c057600080fd5b810190808035906020019092919080359060200190929190505050611d1a565b005b6105ea612494565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106426004803603602081101561062c57600080fd5b81019080803590602001909291905050506124ba565b005b61064c61260d565b6040518082815260200191505060405180910390f35b61066a612617565b6040518082815260200191505060405180910390f35b61068861261d565b005b610692612bea565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106c6612c10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106fa612c36565b6040518082815260200191505060405180910390f35b610718612c3c565b6040518082815260200191505060405180910390f35b610736612d67565b6040518082815260200191505060405180910390f35b610754612d6d565b6040518082815260200191505060405180910390f35b610772612d73565b6040518082815260200191505060405180910390f35b6107b46004803603602081101561079e57600080fd5b8101908080359060200190929190505050612d79565b005b6107e2600480360360208110156107cc57600080fd5b8101908080359060200190929190505050612ef2565b005b6107ec613045565b6040518082815260200191505060405180910390f35b61080a61304b565b6040518082815260200191505060405180910390f35b610828613051565b6040518082815260200191505060405180910390f35b6108746004803603604081101561085457600080fd5b810190808035906020019092919080359060200190929190505050613057565b005b6108e26004803603606081101561088c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506131ff565b005b6108ec613390565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61095a6004803603602081101561092e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506133b6565b005b61096461351f565b60405180821515815260200191505060405180910390f35b6109be6004803603602081101561099257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613536565b005b610a02600480360360208110156109d657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061363d565b005b610a0c613744565b6040518082815260200191505060405180910390f35b610a5860048036036040811015610a3857600080fd5b81019080803590602001909291908035906020019092919050505061374a565b005b610a62613948565b6040518082815260200191505060405180910390f35b610aba60048036036020811015610a8e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061397a565b005b610ae860048036036020811015610ad257600080fd5b81019080803590602001909291905050506143b0565b005b610af2614502565b6040518082815260200191505060405180910390f35b610b10614508565b6040518082815260200191505060405180910390f35b610b2e61450e565b6040518082815260200191505060405180910390f35b610b4c61465b565b6040518082815260200191505060405180910390f35b610b6a614661565b6040518082815260200191505060405180910390f35b610bb660048036036040811015610b9657600080fd5b810190808035906020019092919080359060200190929190505050614667565b005b610bee60048036036040811015610bce57600080fd5b8101908080359060200190929190803590602001909291905050506147c3565b005b610bf861491f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610c2c614945565b6040518082815260200191505060405180910390f35b600c5481565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166397ffe1d7826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610d8057600080fd5b505af1158015610d94573d6000803e3d6000fd5b5050505050565b600080610da661450e565b9050600b54811115610dc557610dbe81600c54614a1b565b9150610df3565b610df0612710610de2612328600a5461494b90919063ffffffff16565b6149d190919063ffffffff16565b91505b5090565b610dff614a34565b15610e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615f176026913960400191505060405180910390fd5b610e5d614a98565b15610eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615f176026913960400191505060405180910390fd5b610ebb614afc565b610ec3614bf9565b60008211610f39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f5a65726f20616d6f756e7400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000610f4361450e565b9050818114610fba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f446f6c6c6172207072696365206d6f766564000000000000000000000000000081525060200191505060405180910390fd5b6000610fc4610d9b565b90506000811161103c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f496e76616c696420626f6e64207261746500000000000000000000000000000081525060200191505060405180910390fd5b600061106b670de0b6b3a764000061105d848861494b90919063ffffffff16565b6149d190919063ffffffff16565b905080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156110f757600080fd5b505afa15801561110b573d6000803e3d6000fd5b505050506040513d602081101561112157600080fd5b810190808051906020019092919050505010156111a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f547265617375727920686173206e6f206d6f726520627564676574000000000081525060200191505060405180910390fd5b6111c66111b5600d5483614a1b565b600d54614fc990919063ffffffff16565b600d81905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033876040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561125f57600080fd5b505af1158015611273573d6000803e3d6000fd5b505050506112c43382600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166150139092919063ffffffff16565b6112cc6150b5565b3373ffffffffffffffffffffffffffffffffffffffff167f51e0d16595cabc591e64da08e45bb223577e5b9a39cd947b4ddc3472b2dd88788287604051808381526020018281526020019250505060405180910390a2505050600160008043815260200190815260200160002060003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160008043815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b610bb881101580156114d057506127108111155b611542576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f7574206f662072616e6765000000000000000000000000000000000000000081525060200191505060405180910390fd5b8060118190555050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461160f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60115481565b600160149054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461172f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b600a5481101580156117695750611765606461175760c8600a5461494b90919063ffffffff16565b6149d190919063ffffffff16565b8111155b6117db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f7574206f662072616e6765000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600c8190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146118ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611971576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f7a65726f0000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a9e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b62576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f646f6c6c6172000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c26576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f626f6e640000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f736861726500000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b611d1581838573ffffffffffffffffffffffffffffffffffffffff166150139092919063ffffffff16565b505050565b611d22614a34565b15611d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615f176026913960400191505060405180910390fd5b611d80614a98565b15611dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615f176026913960400191505060405180910390fd5b611dde614afc565b611de6614bf9565b60008211611e5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f5a65726f20616d6f756e7400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000611e6661450e565b9050818114611edd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f446f6c6c6172207072696365206d6f766564000000000000000000000000000081525060200191505060405180910390fd5b600a548110611f54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f446f6c6c61725072696365203c2031000000000000000000000000000000000081525060200191505060405180910390fd5b600454831115611fcc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f4e6f20626f6e64206c656674000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561203657600080fd5b505afa15801561204a573d6000803e3d6000fd5b505050506040513d602081101561206057600080fd5b81019080805190602001909291905050509050600061212a85600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156120e157600080fd5b505afa1580156120f5573d6000803e3d6000fd5b505050506040513d602081101561210b57600080fd5b810190808051906020019092919050505061513c90919063ffffffff16565b90506121556127106121476013548561494b90919063ffffffff16565b6149d190919063ffffffff16565b8111156121ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f6f766572206d6178206465627420726174696f0000000000000000000000000081525060200191505060405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033876040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561225d57600080fd5b505af1158015612271573d6000803e3d6000fd5b50505050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933876040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561230857600080fd5b505af115801561231c573d6000803e3d6000fd5b505050506040513d602081101561233257600080fd5b81019080805190602001909291905050505061235985600454614fc990919063ffffffff16565b6004819055506123676150b5565b3373ffffffffffffffffffffffffffffffffffffffff167f73017f1b70789e2e66759eeb3c7ec11f59e6eedb55d921cfaec5410dd42a47998687604051808381526020018281526020019250505060405180910390a2505050600160008043815260200190815260200160002060003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160008043815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461257d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b6103e8811015801561259157506127108111155b612603576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f7574206f662072616e6765000000000000000000000000000000000000000081525060200191505060405180910390fd5b8060138190555050565b6000600d54905090565b600d5481565b612625614a34565b1561267b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615f176026913960400191505060405180910390fd5b612683614a98565b156126d9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615f176026913960400191505060405180910390fd5b6126e1614afc565b6126e96151c4565b6126f1614bf9565b6126f96150b5565b60006127b2600d54600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561276957600080fd5b505afa15801561277d573d6000803e3d6000fd5b505050506040513d602081101561279357600080fd5b8101908080519060200190929190505050614fc990919063ffffffff16565b905060006127be61450e565b9050600b54811115612b16576000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561283457600080fd5b505afa158015612848573d6000803e3d6000fd5b505050506040513d602081101561285e57600080fd5b810190808051906020019092919050505090506000612888600a5484614fc990919063ffffffff16565b905060008060006128b86127106128aa6010548861494b90919063ffffffff16565b6149d190919063ffffffff16565b600d54106129255760006128dd655af3107a4000600e5461494b90919063ffffffff16565b9050808511156128eb578094505b612918670de0b6b3a764000061290a878b61494b90919063ffffffff16565b6149d190919063ffffffff16565b92506015549150506129c9565b6000612942655af3107a4000600f5461494b90919063ffffffff16565b905080851115612950578094505b600061297f670de0b6b3a7640000612971888c61494b90919063ffffffff16565b6149d190919063ffffffff16565b90506129aa61271061299c6011548461494b90919063ffffffff16565b6149d190919063ffffffff16565b93506129bf8482614fc990919063ffffffff16565b9450601654925050505b60008211156129dd576129dc8282615330565b5b6000831115612b10576129fb83600d5461513c90919063ffffffff16565b600d81905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612a9457600080fd5b505af1158015612aa8573d6000803e3d6000fd5b505050506040513d6020811015612abe57600080fd5b8101908080519060200190929190505050507ff705142bf09f04297640495ddf7c59b7fd6f51894c5aea9602d631cf05f0efc24284604051808381526020018281526020019250505060405180910390a15b50505050505b5050600160008043815260200190815260200160002060003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160008043815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b600080612c4761450e565b9050600b54811115612d63576000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612cde57600080fd5b505afa158015612cf2573d6000803e3d6000fd5b505050506040513d6020811015612d0857600080fd5b810190808051906020019092919050505090506000612d25610d9b565b90506000811115612d6057612d5d81612d4f670de0b6b3a76400008561494b90919063ffffffff16565b6149d190919063ffffffff16565b93505b50505b5090565b60025481565b60105481565b600f5481565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612e3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b600a548110158015612e765750612e726064612e646078600a5461494b90919063ffffffff16565b6149d190919063ffffffff16565b8111155b612ee8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f7574206f662072616e6765000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600b8190555050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612fb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b6101f48110158015612fc957506132c88111155b61303b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f7574206f662072616e6765000000000000000000000000000000000000000081525060200191505060405180910390fd5b8060108190555050565b60035481565b60165481565b600a5481565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461311a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b611d4c821115613192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f736861726550657263656e743a206f7574206f662072616e676500000000000081525060200191505060405180910390fd5b611d4c8111156131ed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615ec86025913960400191505060405180910390fd5b81601581905550806016819055505050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146132c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166354575af48484846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019350505050600060405180830381600087803b15801561337357600080fd5b505af1158015613387573d6000803e3d6000fd5b50505050505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ab15fb826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561350457600080fd5b505af1158015613518573d6000803e3d6000fd5b5050505050565b6000600160149054906101000a900460ff16905090565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146135f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613700576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61a8c081565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461380d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b600a82101580156138205750610bb88211155b613875576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180615ea06028913960400191505060405180910390fd5b600a81101580156138885750610bb88111155b6138dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180615e046033913960400191505060405180910390fd5b80821115613936576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526048815260200180615f736048913960600191505060405180910390fd5b81600e8190555080600f819055505050565b600061397561396461a8c060035461494b90919063ffffffff16565b60025461513c90919063ffffffff16565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613a3d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b600160149054906101000a900460ff1615613ac0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f4d6967726174656400000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b613ac8614bf9565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329605e77826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b158015613b5357600080fd5b505af1158015613b67573d6000803e3d6000fd5b50505050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b158015613bf657600080fd5b505af1158015613c0a573d6000803e3d6000fd5b50505050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015613cd657600080fd5b505afa158015613cea573d6000803e3d6000fd5b505050506040513d6020811015613d0057600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015613d6457600080fd5b505af1158015613d78573d6000803e3d6000fd5b505050506040513d6020811015613d8e57600080fd5b810190808051906020019092919050505050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329605e77826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b158015613e2b57600080fd5b505af1158015613e3f573d6000803e3d6000fd5b50505050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b158015613ece57600080fd5b505af1158015613ee2573d6000803e3d6000fd5b50505050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015613fae57600080fd5b505afa158015613fc2573d6000803e3d6000fd5b505050506040513d6020811015613fd857600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561403c57600080fd5b505af1158015614050573d6000803e3d6000fd5b505050506040513d602081101561406657600080fd5b810190808051906020019092919050505050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329605e77826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561410357600080fd5b505af1158015614117573d6000803e3d6000fd5b50505050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1580156141a657600080fd5b505af11580156141ba573d6000803e3d6000fd5b50505050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561428657600080fd5b505afa15801561429a573d6000803e3d6000fd5b505050506040513d60208110156142b057600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561431457600080fd5b505af1158015614328573d6000803e3d6000fd5b505050506040513d602081101561433e57600080fd5b81019080805190602001909291905050505060018060146101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f0caca70b66aed56b0630989a049110023c5a3f37e0ea4b6ce96fc747663f3ebc60405160405180910390a250565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614614473576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b606481101580156144865750610bb88111155b6144f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f7574206f662072616e6765000000000000000000000000000000000000000081525060200191505060405180910390fd5b8060128190555050565b600e5481565b60135481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633ddac953600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16670de0b6b3a76400006040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060206040518083038186803b1580156145cb57600080fd5b505afa9250505080156145ff57506040513d60208110156145eb57600080fd5b810190808051906020019092919050505060015b614654576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180615e376022913960400191505060405180910390fd5b8091505090565b60155481565b60125481565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461472a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630bfd6ee483836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b1580156147a757600080fd5b505af11580156147bb573d6000803e3d6000fd5b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614614886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6f6e6c794f70657261746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632ffaaa0983836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561490357600080fd5b505af1158015614917573d6000803e3d6000fd5b505050505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b60008083141561495e57600090506149cb565b600082840290508284828161496f57fe5b04146149c6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180615e7f6021913960400191505060405180910390fd5b809150505b92915050565b6000614a1383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250615729565b905092915050565b6000818310614a2a5781614a2c565b825b905092915050565b600080600043815260200190815260200160002060003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b600080600043815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b600160149054906101000a900460ff1615614b7f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f4d6967726174656400000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600254421015614bf7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f4e6f74207374617274656420796574000000000000000000000000000000000081525060200191505060405180910390fd5b565b3073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663570ca7356040518163ffffffff1660e01b815260040160206040518083038186803b158015614c7857600080fd5b505afa158015614c8c573d6000803e3d6000fd5b505050506040513d6020811015614ca257600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff16148015614da357503073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663570ca7356040518163ffffffff1660e01b815260040160206040518083038186803b158015614d5057600080fd5b505afa158015614d64573d6000803e3d6000fd5b505050506040513d6020811015614d7a57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff16145b8015614e7c57503073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663570ca7356040518163ffffffff1660e01b815260040160206040518083038186803b158015614e2957600080fd5b505afa158015614e3d573d6000803e3d6000fd5b505050506040513d6020811015614e5357600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff16145b8015614f5557503073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663570ca7356040518163ffffffff1660e01b815260040160206040518083038186803b158015614f0257600080fd5b505afa158015614f16573d6000803e3d6000fd5b505050506040513d6020811015614f2c57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff16145b614fc7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5065726d697373696f6e7320726571756972656400000000000000000000000081525060200191505060405180910390fd5b565b600061500b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506157ef565b905092915050565b6150b08363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506158af565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561511f57600080fd5b505af1925050508015615130575060015b6151395761513a565b5b565b6000808284019050838110156151ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6151cc613948565b421015615241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4e6f74206f70656e65642079657400000000000000000000000000000000000081525060200191505060405180910390fd5b615257600160035461513c90919063ffffffff16565b60038190555061532861271061531a601254600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156152d157600080fd5b505afa1580156152e5573d6000803e3d6000fd5b505050506040513d60208110156152fb57600080fd5b810190808051906020019092919050505061494b90919063ffffffff16565b6149d190919063ffffffff16565b600481905550565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156153c357600080fd5b505af11580156153d7573d6000803e3d6000fd5b505050506040513d60208110156153ed57600080fd5b810190808051906020019092919050505050600081111561557a576000615431612710615423848661494b90919063ffffffff16565b6149d190919063ffffffff16565b9050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156154e857600080fd5b505af11580156154fc573d6000803e3d6000fd5b505050506040513d602081101561551257600080fd5b8101908080519060200190929190505050507fa097f479814e9238f7f09d1c71d0eba10b4051135acf75c6b1676a60f78155e24282604051808381526020018281526020019250505060405180910390a16155768184614fc990919063ffffffff16565b9250505b6155ea600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661599e9092919063ffffffff16565b615659600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661599e9092919063ffffffff16565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166397ffe1d7836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156156ce57600080fd5b505af11580156156e2573d6000803e3d6000fd5b505050507f03ca7276ab7799bf73fb79d27ff0610cd7049574f2508ef8445162833d439aea4283604051808381526020018281526020019250505060405180910390a15050565b600080831182906157d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561579a57808201518184015260208101905061577f565b50505050905090810190601f1680156157c75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816157e157fe5b049050809150509392505050565b600083831115829061589c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015615861578082015181840152602081019050615846565b50505050905090810190601f16801561588e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6060615911826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16615b639092919063ffffffff16565b90506000815111156159995780806020019051602081101561593257600080fd5b8101908080519060200190929190505050615998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180615eed602a913960400191505060405180910390fd5b5b505050565b6000811480615a6c575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015615a2f57600080fd5b505afa158015615a43573d6000803e3d6000fd5b505050506040513d6020811015615a5957600080fd5b8101908080519060200190929190505050145b615ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180615f3d6036913960400191505060405180910390fd5b615b5e8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506158af565b505050565b6060615b728484600085615b7b565b90509392505050565b606082471015615bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615e596026913960400191505060405180910390fd5b615bdf85615d24565b615c51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310615ca15780518252602082019150602081019050602083039250615c7e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114615d03576040519150601f19603f3d011682016040523d82523d6000602084013e615d08565b606091505b5091509150615d18828286615d37565b92505050949350505050565b600080823b905060008111915050919050565b60608315615d4757829050615dfc565b600083511115615d5a5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015615dc1578082015181840152602081019050615da6565b50505050905090810190601f168015615dee5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe5f6d6178537570706c79457870616e73696f6e50657263656e74496e4465627450686173653a206f7574206f662072616e67654f7261636c6520636f6e73756c7420646f6c6c6172207072696365206661696c6564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775f6d6178537570706c79457870616e73696f6e50657263656e743a206f7574206f662072616e6765736861726550657263656e74496e4465627450686173653a206f7574206f662072616e67655361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564436f6e747261637447756172643a206f6e6520626c6f636b2c206f6e652066756e6374696f6e5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63655f6d6178537570706c79457870616e73696f6e50657263656e74206973206f766572205f6d6178537570706c79457870616e73696f6e50657263656e74496e446562745068617365a2646970667358221220cb823d9c0dd5e36e1710ef096e8b7515ebb370ddb8256e9cfd26c67f60dc54b364736f6c634300060c0033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f770000000000000000000000008c784c49097dcc637b93232e15810d53871992bf0000000000000000000000009e0d278168fdd4efea3c5b6c9e8d06e5b05e66d4000000000000000000000000acabd3f9b8f76ffd2724604185fa5afa5df25ac6000000000000000000000000d9b6e938f19e645cba7d9f25df0b1af34533cf1d0000000000000000000000000b5c1bb6cdadbb126b1d98d785e79558b437de2200000000000000000000000000000000000000000000000000000000601ca6a0

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

0000000000000000000000008c784c49097dcc637b93232e15810d53871992bf0000000000000000000000009e0d278168fdd4efea3c5b6c9e8d06e5b05e66d4000000000000000000000000acabd3f9b8f76ffd2724604185fa5afa5df25ac6000000000000000000000000d9b6e938f19e645cba7d9f25df0b1af34533cf1d0000000000000000000000000b5c1bb6cdadbb126b1d98d785e79558b437de2200000000000000000000000000000000000000000000000000000000601ca6a0

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000008c784c49097dcc637b93232e15810d53871992bf
Arg [1] : 0000000000000000000000009e0d278168fdd4efea3c5b6c9e8d06e5b05e66d4
Arg [2] : 000000000000000000000000acabd3f9b8f76ffd2724604185fa5afa5df25ac6
Arg [3] : 000000000000000000000000d9b6e938f19e645cba7d9f25df0b1af34533cf1d
Arg [4] : 0000000000000000000000000b5c1bb6cdadbb126b1d98d785e79558b437de22
Arg [5] : 00000000000000000000000000000000000000000000000000000000601ca6a0


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.