ETH Price: $3,220.99 (+0.83%)

Contract

0xE4822c7b7711E245189ceBfa755AF32FAf0a4Ed4
 

Overview

ETH Balance

1.1 ETH

Eth Value

$3,543.09 (@ $3,220.99/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stake With Eth132254882021-09-14 18:40:371156 days ago1631644837IN
0xE4822c7b...FAf0a4Ed4
1.1 ETH0.0075486654.70996509
Stake With Eth132225262021-09-14 7:36:281156 days ago1631604988IN
0xE4822c7b...FAf0a4Ed4
1.18 ETH0.0035661949.87264602
Gov Withdraw Eth...131125812021-08-28 7:40:151173 days ago1630136415IN
0xE4822c7b...FAf0a4Ed4
0 ETH0.0017697655.12245678
Stake With Eth131123592021-08-28 6:46:121173 days ago1630133172IN
0xE4822c7b...FAf0a4Ed4
0.67 ETH0.0057411355.3224115
Stake With Eth131123372021-08-28 6:41:471173 days ago1630132907IN
0xE4822c7b...FAf0a4Ed4
0.95 ETH0.0085545162
Stake With Eth130826832021-08-23 16:39:351178 days ago1629736775IN
0xE4822c7b...FAf0a4Ed4
0.032 ETH0.01491949108.13109238
Stake With Eth130685732021-08-21 12:18:531180 days ago1629548333IN
0xE4822c7b...FAf0a4Ed4
2 ETH0.0024683217.88955342
Stake With Eth130563872021-08-19 15:02:001182 days ago1629385320IN
0xE4822c7b...FAf0a4Ed4
0.01 ETH0.00709651.42928655
Stake With Eth130560492021-08-19 13:42:571182 days ago1629380577IN
0xE4822c7b...FAf0a4Ed4
0.013 ETH0.004553233
Gov Withdraw Eth...130535782021-08-19 4:40:311183 days ago1629348031IN
0xE4822c7b...FAf0a4Ed4
0 ETH0.0008160825.41844748
Stake With Eth130534572021-08-19 4:18:281183 days ago1629346708IN
0xE4822c7b...FAf0a4Ed4
2 ETH0.0042348730.69282155
Stake With Eth130494752021-08-18 13:26:111183 days ago1629293171IN
0xE4822c7b...FAf0a4Ed4
2 ETH0.0043154241.58400943
Stake With Eth130493682021-08-18 12:58:421183 days ago1629291522IN
0xE4822c7b...FAf0a4Ed4
2 ETH0.0035596534.30134373
Stake With Eth130479502021-08-18 7:40:071183 days ago1629272407IN
0xE4822c7b...FAf0a4Ed4
0.11 ETH0.0055412540.16099548
Stake With Eth130479112021-08-18 7:28:571183 days ago1629271737IN
0xE4822c7b...FAf0a4Ed4
0.1 ETH0.002871438.5
Stake With Eth130478982021-08-18 7:25:551183 days ago1629271555IN
0xE4822c7b...FAf0a4Ed4
0.1 ETH0.0029086939
Stake With Eth130478792021-08-18 7:22:051183 days ago1629271325IN
0xE4822c7b...FAf0a4Ed4
0.1 ETH0.0029086939
Stake With Eth130477922021-08-18 7:01:571183 days ago1629270117IN
0xE4822c7b...FAf0a4Ed4
0.1 ETH0.0037921750.84577529
Stake With Eth130477882021-08-18 7:01:021183 days ago1629270062IN
0xE4822c7b...FAf0a4Ed4
0.1 ETH0.0028341138
Stake With Eth130477022021-08-18 6:42:401183 days ago1629268960IN
0xE4822c7b...FAf0a4Ed4
0.1 ETH0.0025357834
Stake With Eth130473342021-08-18 5:22:201183 days ago1629264140IN
0xE4822c7b...FAf0a4Ed4
0.01 ETH0.0044884932.531
Stake With Eth130470382021-08-18 4:15:451184 days ago1629260145IN
0xE4822c7b...FAf0a4Ed4
0.1 ETH0.0027673237.1044205
Stake With Eth130470342021-08-18 4:15:101184 days ago1629260110IN
0xE4822c7b...FAf0a4Ed4
0.1 ETH0.0027777437.24415641
Stake With Eth130469702021-08-18 3:59:241184 days ago1629259164IN
0xE4822c7b...FAf0a4Ed4
0.13 ETH0.0024912733.40315104
Stake With Eth130469632021-08-18 3:57:211184 days ago1629259041IN
0xE4822c7b...FAf0a4Ed4
0.13 ETH0.0025074533.62007232
View all transactions

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
131125812021-08-28 7:40:151173 days ago1630136415
0xE4822c7b...FAf0a4Ed4
3.675 ETH
130535782021-08-19 4:40:311183 days ago1629348031
0xE4822c7b...FAf0a4Ed4
6.18 ETH
129123952021-07-28 4:39:011205 days ago1627447141
0xE4822c7b...FAf0a4Ed4
1.11 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
dcStake

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at Etherscan.io on 2021-07-24
*/

pragma solidity =0.6.6;

/**
 * Math operations with safety checks
 */
library SafeMath {
    function add(uint a, uint b) internal pure returns (uint) {
        uint c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }
    function sub(uint a, uint b) internal pure returns (uint) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }
    function sub(uint a, uint b, string memory errorMessage) internal pure returns (uint) {
        require(b <= a, errorMessage);
        uint c = a - b;

        return c;
    }
    function mul(uint a, uint b) internal pure returns (uint) {
        if (a == 0) {
            return 0;
        }

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

        return c;
    }
    function div(uint a, uint b) internal pure returns (uint) {
        return div(a, b, "SafeMath: division by zero");
    }
    function div(uint a, uint b, string memory errorMessage) internal pure returns (uint) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint c = a / b;

        return c;
    }
}

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
    address public owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    /**
     * @dev The Ownable constructor sets the original `owner` of the contract to the sender
     * account.
     */
    constructor() public {
        owner = msg.sender;
    }


    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }


    /**
     * @dev Allows the current owner to transfer control of the contract to a newOwner.
     * @param newOwner The address to transfer ownership to.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0));
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }
}

interface Oracle {
    function getUniOutput(uint _input, address _token1, address _token2)external view returns (uint);
}

interface ERC20 {
    function allowance(address owner, address spender) external view returns (uint256);
    function transferFrom(address from, address to, uint256 value) external;
    function balanceOf(address who) external view returns (uint256);
    function transfer(address to, uint256 value) external;
}

contract dcStake is Ownable{
    using SafeMath for uint;

    mapping (address => uint) public dcoinRecords;
    mapping (address => uint) public ethRecords;
    uint burnRate;

    address public weth;
    address public usdt;
    address public usdg;
    ERC20 public dcoin;

    Oracle public oracle;

    event StakeChange( address indexed from,uint ethValue,uint dcoinValue, bool isBuy);
    event WithDraw( address indexed from,uint ethValue, uint returnDcoin, uint burnDcoin);

    event GovWithdraw(address indexed to, uint256 value);
    event GovWithdrawToken(address indexed to, uint256 value);

    constructor(address _oracle, address _usdg, address _usdt,address _weth, address _dcoin)public {
        oracle = Oracle(_oracle);
        usdg = _usdg;
        usdt = _usdt;
        weth = _weth;
        dcoin = ERC20(_dcoin);
    }

    function priceEth2DCoin(uint inValue) public view returns (uint){
        uint tmp = oracle.getUniOutput(inValue,weth,usdt);
        tmp = tmp.mul(1000);
        return  oracle.getUniOutput(tmp,usdg,address(dcoin));
    }

    function stakeWithEth() public payable{
        require(msg.value > 0, "!eth value");
        require(msg.value < 10 ether, "!eth value");
        uint needDcoin = priceEth2DCoin(msg.value);
        uint allowed = dcoin.allowance(msg.sender,address(this));
        uint balanced = dcoin.balanceOf(msg.sender);
        require(allowed >= needDcoin, "!allowed");
        require(balanced >= needDcoin, "!balanced");
        dcoin.transferFrom(msg.sender,address(this), needDcoin);

        dcoinRecords[msg.sender] = dcoinRecords[msg.sender].add(needDcoin);
        ethRecords[msg.sender]=ethRecords[msg.sender].add(msg.value);

        StakeChange(msg.sender,msg.value, needDcoin,true);
    }

    function withdraw() public {
        uint storedEth = ethRecords[msg.sender];
        require(storedEth > 0, "!stored");
        uint storedDcoin = dcoinRecords[msg.sender];
        uint burnDcoin = storedDcoin.mul(burnRate).div(100);
        uint returnDcoin = storedDcoin.sub(burnDcoin);
        ethRecords[msg.sender] = 0;
        dcoinRecords[msg.sender] = 0;
        dcoin.transfer( msg.sender, returnDcoin);
        dcoin.transfer( address(0), burnDcoin);
        msg.sender.transfer(storedEth);

        StakeChange(msg.sender,storedEth, storedDcoin,false);
    }

    function balanceOf(address _addr) public view returns (uint balance) {
        return ethRecords[_addr];
    }

    function setOracle(address _oracle)onlyOwner public {
        oracle = Oracle(_oracle);
    }

    function setBurnRate(uint _burnRate)onlyOwner public {
        require(_burnRate < 100, "!range");
        burnRate = _burnRate;
    }

    function govWithdrawEther(uint256 _amount)onlyOwner public {
        require(_amount > 0, "!zero input");
        msg.sender.transfer(_amount);
        emit GovWithdraw(msg.sender, _amount);
    }

    function govWithdrawToken(uint256 _amount)onlyOwner public {
        require(_amount > 0, "!zero input");
        dcoin.transfer(msg.sender, _amount);
        emit GovWithdrawToken(msg.sender, _amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"address","name":"_usdg","type":"address"},{"internalType":"address","name":"_usdt","type":"address"},{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address","name":"_dcoin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"GovWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"GovWithdrawToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"dcoinValue","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isBuy","type":"bool"}],"name":"StakeChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"returnDcoin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnDcoin","type":"uint256"}],"name":"WithDraw","type":"event"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dcoin","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"dcoinRecords","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ethRecords","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"govWithdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"govWithdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"oracle","outputs":[{"internalType":"contract Oracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"inValue","type":"uint256"}],"name":"priceEth2DCoin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnRate","type":"uint256"}],"name":"setBurnRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oracle","type":"address"}],"name":"setOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeWithEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdg","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdt","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051612027380380612027833981810160405260a081101561003357600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050611e22806102056000396000f3fe6080604052600436106100fe5760003560e01c806370a08231116100955780638da5cb5b116100645780638da5cb5b14610436578063b48eb9e51461048d578063ee5849e5146104f2578063f2fde38b14610557578063f5b91b7b146105a8576100fe565b806370a08231146102d257806370ef131e146103375780637adbf9731461038e5780637dc0d1d0146103df576100fe565b80633ccfd60b116100d15780633ccfd60b1461020b5780633fc8cef3146102225780634843ed10146102795780635b72927c14610283576100fe565b806306fd3b5414610103578063189d165e1461013e57806319abbb33146101795780632f48ab7d146101b4575b600080fd5b34801561010f57600080fd5b5061013c6004803603602081101561012657600080fd5b81019080803590602001909291905050506105ff565b005b34801561014a57600080fd5b506101776004803603602081101561016157600080fd5b81019080803590602001909291905050506107e0565b005b34801561018557600080fd5b506101b26004803603602081101561019c57600080fd5b81019080803590602001909291905050506108b9565b005b3480156101c057600080fd5b506101c9610a20565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561021757600080fd5b50610220610a46565b005b34801561022e57600080fd5b50610237610e44565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610281610e6a565b005b34801561028f57600080fd5b506102bc600480360360208110156102a657600080fd5b81019080803590602001909291905050506114cd565b6040518082815260200191505060405180910390f35b3480156102de57600080fd5b50610321600480360360208110156102f557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117a5565b6040518082815260200191505060405180910390f35b34801561034357600080fd5b5061034c6117ee565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561039a57600080fd5b506103dd600480360360208110156103b157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611814565b005b3480156103eb57600080fd5b506103f46118b1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561044257600080fd5b5061044b6118d7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561049957600080fd5b506104dc600480360360208110156104b057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118fc565b6040518082815260200191505060405180910390f35b3480156104fe57600080fd5b506105416004803603602081101561051557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611914565b6040518082815260200191505060405180910390f35b34801561056357600080fd5b506105a66004803603602081101561057a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061192c565b005b3480156105b457600080fd5b506105bd611a7d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461065857600080fd5b600081116106ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217a65726f20696e70757400000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561077757600080fd5b505af115801561078b573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167fa93fc76f972826dc964a92d01caf53a3a2b6338e0b8684f39dd085ef2fa6b3f7826040518082815260200191505060405180910390a250565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461083957600080fd5b606481106108af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f2172616e6765000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8060038190555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461091257600080fd5b60008111610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217a65726f20696e70757400000000000000000000000000000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156109ce573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167fbab948c05df3e6bb363b70ccd842ada769c20139583b7b4014c4b23ef26cd6fe826040518082815260200191505060405180910390a250565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111610b00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260078152602001807f2173746f7265640000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000610b6e6064610b6060035485611aa390919063ffffffff16565b611b2990919063ffffffff16565b90506000610b858284611b7390919063ffffffff16565b90506000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610cba57600080fd5b505af1158015610cce573d6000803e3d6000fd5b50505050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610d7c57600080fd5b505af1158015610d90573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050158015610dda573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167fc37942232369214db09245cfb47ab060f06c4e8da1b9aa8f232a4fd6d59d0049858560006040518084815260200183815260200182151515158152602001935050505060405180910390a250505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003411610ee0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f216574682076616c75650000000000000000000000000000000000000000000081525060200191505060405180910390fd5b678ac7230489e800003410610f5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f216574682076616c75650000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000610f68346114cd565b90506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561103f57600080fd5b505afa158015611053573d6000803e3d6000fd5b505050506040513d602081101561106957600080fd5b810190808051906020019092919050505090506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561111d57600080fd5b505afa158015611131573d6000803e3d6000fd5b505050506040513d602081101561114757600080fd5b81019080805190602001909291905050509050828210156111d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f21616c6c6f77656400000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b82811015611246576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f2162616c616e636564000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561132357600080fd5b505af1158015611337573d6000803e3d6000fd5b5050505061138d83600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bbd90919063ffffffff16565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061142234600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bbd90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167fc37942232369214db09245cfb47ab060f06c4e8da1b9aa8f232a4fd6d59d0049348560016040518084815260200183815260200182151515158152602001935050505060405180910390a2505050565b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166369a9984d84600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060206040518083038186803b1580156115ef57600080fd5b505afa158015611603573d6000803e3d6000fd5b505050506040513d602081101561161957600080fd5b810190808051906020019092919050505090506116416103e882611aa390919063ffffffff16565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166369a9984d82600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060206040518083038186803b15801561176257600080fd5b505afa158015611776573d6000803e3d6000fd5b505050506040513d602081101561178c57600080fd5b8101908080519060200190929190505050915050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461186d57600080fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090505481565b60016020528060005260406000206000915090505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461198557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119bf57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080831415611ab65760009050611b23565b6000828402905082848281611ac757fe5b0414611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611dcc6021913960400191505060405180910390fd5b809150505b92915050565b6000611b6b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c45565b905092915050565b6000611bb583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d0b565b905092915050565b600080828401905083811015611c3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083118290611cf1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cb6578082015181840152602081019050611c9b565b50505050905090810190601f168015611ce35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611cfd57fe5b049050809150509392505050565b6000838311158290611db8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d7d578082015181840152602081019050611d62565b50505050905090810190601f168015611daa5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838503905080915050939250505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220ab04e812d6246f21a8a65fc7a1eadcacbe58a71c2de95b11e9ed4b4c482fe6c564736f6c6343000606003300000000000000000000000088dd282c503621d9d87aa136301d3c09a3bc5b6b000000000000000000000000bd62253c8033f3907c0800780662eab7378a4b96000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000b4056171aa3ba32da1f527431383619b3802802c

Deployed Bytecode

0x6080604052600436106100fe5760003560e01c806370a08231116100955780638da5cb5b116100645780638da5cb5b14610436578063b48eb9e51461048d578063ee5849e5146104f2578063f2fde38b14610557578063f5b91b7b146105a8576100fe565b806370a08231146102d257806370ef131e146103375780637adbf9731461038e5780637dc0d1d0146103df576100fe565b80633ccfd60b116100d15780633ccfd60b1461020b5780633fc8cef3146102225780634843ed10146102795780635b72927c14610283576100fe565b806306fd3b5414610103578063189d165e1461013e57806319abbb33146101795780632f48ab7d146101b4575b600080fd5b34801561010f57600080fd5b5061013c6004803603602081101561012657600080fd5b81019080803590602001909291905050506105ff565b005b34801561014a57600080fd5b506101776004803603602081101561016157600080fd5b81019080803590602001909291905050506107e0565b005b34801561018557600080fd5b506101b26004803603602081101561019c57600080fd5b81019080803590602001909291905050506108b9565b005b3480156101c057600080fd5b506101c9610a20565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561021757600080fd5b50610220610a46565b005b34801561022e57600080fd5b50610237610e44565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610281610e6a565b005b34801561028f57600080fd5b506102bc600480360360208110156102a657600080fd5b81019080803590602001909291905050506114cd565b6040518082815260200191505060405180910390f35b3480156102de57600080fd5b50610321600480360360208110156102f557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117a5565b6040518082815260200191505060405180910390f35b34801561034357600080fd5b5061034c6117ee565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561039a57600080fd5b506103dd600480360360208110156103b157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611814565b005b3480156103eb57600080fd5b506103f46118b1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561044257600080fd5b5061044b6118d7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561049957600080fd5b506104dc600480360360208110156104b057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118fc565b6040518082815260200191505060405180910390f35b3480156104fe57600080fd5b506105416004803603602081101561051557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611914565b6040518082815260200191505060405180910390f35b34801561056357600080fd5b506105a66004803603602081101561057a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061192c565b005b3480156105b457600080fd5b506105bd611a7d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461065857600080fd5b600081116106ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217a65726f20696e70757400000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561077757600080fd5b505af115801561078b573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167fa93fc76f972826dc964a92d01caf53a3a2b6338e0b8684f39dd085ef2fa6b3f7826040518082815260200191505060405180910390a250565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461083957600080fd5b606481106108af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f2172616e6765000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8060038190555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461091257600080fd5b60008111610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217a65726f20696e70757400000000000000000000000000000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156109ce573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167fbab948c05df3e6bb363b70ccd842ada769c20139583b7b4014c4b23ef26cd6fe826040518082815260200191505060405180910390a250565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111610b00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260078152602001807f2173746f7265640000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000610b6e6064610b6060035485611aa390919063ffffffff16565b611b2990919063ffffffff16565b90506000610b858284611b7390919063ffffffff16565b90506000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610cba57600080fd5b505af1158015610cce573d6000803e3d6000fd5b50505050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610d7c57600080fd5b505af1158015610d90573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050158015610dda573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167fc37942232369214db09245cfb47ab060f06c4e8da1b9aa8f232a4fd6d59d0049858560006040518084815260200183815260200182151515158152602001935050505060405180910390a250505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003411610ee0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f216574682076616c75650000000000000000000000000000000000000000000081525060200191505060405180910390fd5b678ac7230489e800003410610f5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f216574682076616c75650000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000610f68346114cd565b90506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561103f57600080fd5b505afa158015611053573d6000803e3d6000fd5b505050506040513d602081101561106957600080fd5b810190808051906020019092919050505090506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561111d57600080fd5b505afa158015611131573d6000803e3d6000fd5b505050506040513d602081101561114757600080fd5b81019080805190602001909291905050509050828210156111d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f21616c6c6f77656400000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b82811015611246576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f2162616c616e636564000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561132357600080fd5b505af1158015611337573d6000803e3d6000fd5b5050505061138d83600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bbd90919063ffffffff16565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061142234600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bbd90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167fc37942232369214db09245cfb47ab060f06c4e8da1b9aa8f232a4fd6d59d0049348560016040518084815260200183815260200182151515158152602001935050505060405180910390a2505050565b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166369a9984d84600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060206040518083038186803b1580156115ef57600080fd5b505afa158015611603573d6000803e3d6000fd5b505050506040513d602081101561161957600080fd5b810190808051906020019092919050505090506116416103e882611aa390919063ffffffff16565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166369a9984d82600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060206040518083038186803b15801561176257600080fd5b505afa158015611776573d6000803e3d6000fd5b505050506040513d602081101561178c57600080fd5b8101908080519060200190929190505050915050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461186d57600080fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090505481565b60016020528060005260406000206000915090505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461198557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119bf57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080831415611ab65760009050611b23565b6000828402905082848281611ac757fe5b0414611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611dcc6021913960400191505060405180910390fd5b809150505b92915050565b6000611b6b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c45565b905092915050565b6000611bb583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d0b565b905092915050565b600080828401905083811015611c3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083118290611cf1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cb6578082015181840152602081019050611c9b565b50505050905090810190601f168015611ce35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611cfd57fe5b049050809150509392505050565b6000838311158290611db8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d7d578082015181840152602081019050611d62565b50505050905090810190601f168015611daa5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838503905080915050939250505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220ab04e812d6246f21a8a65fc7a1eadcacbe58a71c2de95b11e9ed4b4c482fe6c564736f6c63430006060033

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

00000000000000000000000088dd282c503621d9d87aa136301d3c09a3bc5b6b000000000000000000000000bd62253c8033f3907c0800780662eab7378a4b96000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000b4056171aa3ba32da1f527431383619b3802802c

-----Decoded View---------------
Arg [0] : _oracle (address): 0x88DD282c503621D9D87aA136301D3c09A3Bc5b6B
Arg [1] : _usdg (address): 0xbD62253c8033F3907C0800780662EaB7378a4B96
Arg [2] : _usdt (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7
Arg [3] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [4] : _dcoin (address): 0xb4056171AA3ba32dA1F527431383619b3802802C

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000088dd282c503621d9d87aa136301d3c09a3bc5b6b
Arg [1] : 000000000000000000000000bd62253c8033f3907c0800780662eab7378a4b96
Arg [2] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [3] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [4] : 000000000000000000000000b4056171aa3ba32da1f527431383619b3802802c


Deployed Bytecode Sourcemap

2744:3207:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;5736:212:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;5736:212:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;5736:212:0;;;;;;;;;;;;;;;;;:::i;:::-;;5383:137;;5:9:-1;2:2;;;27:1;24;17:12;2:2;5383:137:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;5383:137:0;;;;;;;;;;;;;;;;;:::i;:::-;;5528:200;;5:9:-1;2:2;;;27:1;24;17:12;2:2;5528:200:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;5528:200:0;;;;;;;;;;;;;;;;;:::i;:::-;;2960:19;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2960:19:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;4569:583;;5:9:-1;2:2;;;27:1;24;17:12;2:2;4569:583:0;;;:::i;:::-;;2934:19;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2934:19:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3856:705;;;:::i;:::-;;3623:225;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3623:225:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;3623:225:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5160:112;;5:9:-1;2:2;;;27:1;24;17:12;2:2;5160:112:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;5160:112:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3012:18;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3012:18:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;5280:95;;5:9:-1;2:2;;;27:1;24;17:12;2:2;5280:95:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;5280:95:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;3039:20;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3039:20:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1439;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1439:20:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2862:43;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2862:43:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;2862:43:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2810:45;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2810:45:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;2810:45:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2096:192;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2096:192:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;2096:192:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;2986:19;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2986:19:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;5736:212;1891:5;;;;;;;;;;;1877:19;;:10;:19;;;1869:28;;12:1:-1;9;2:12;1869:28:0;5824:1:::1;5814:7;:11;5806:35;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;5852:5;;;;;;;;;;;:14;;;5867:10;5879:7;5852:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;5852:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;5852:35:0;;;;5920:10;5903:37;;;5932:7;5903:37;;;;;;;;;;;;;;;;;;5736:212:::0;:::o;5383:137::-;1891:5;;;;;;;;;;;1877:19;;:10;:19;;;1869:28;;12:1:-1;9;2:12;1869:28:0;5467:3:::1;5455:9;:15;5447:34;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;5503:9;5492:8;:20;;;;5383:137:::0;:::o;5528:200::-;1891:5;;;;;;;;;;;1877:19;;:10;:19;;;1869:28;;12:1:-1;9;2:12;1869:28:0;5616:1:::1;5606:7;:11;5598:35;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;5644:10;:19;;:28;5664:7;5644:28;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;5644:28:0;5700:10;5688:32;;;5712:7;5688:32;;;;;;;;;;;;;;;;;;5528:200:::0;:::o;2960:19::-;;;;;;;;;;;;;:::o;4569:583::-;4607:14;4624:10;:22;4635:10;4624:22;;;;;;;;;;;;;;;;4607:39;;4677:1;4665:9;:13;4657:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4701:16;4720:12;:24;4733:10;4720:24;;;;;;;;;;;;;;;;4701:43;;4755:14;4772:34;4802:3;4772:25;4788:8;;4772:11;:15;;:25;;;;:::i;:::-;:29;;:34;;;;:::i;:::-;4755:51;;4817:16;4836:26;4852:9;4836:11;:15;;:26;;;;:::i;:::-;4817:45;;4898:1;4873:10;:22;4884:10;4873:22;;;;;;;;;;;;;;;:26;;;;4937:1;4910:12;:24;4923:10;4910:24;;;;;;;;;;;;;;;:28;;;;4949:5;;;;;;;;;;;:14;;;4965:10;4977:11;4949:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;4949:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4949:40:0;;;;5000:5;;;;;;;;;;;:14;;;5024:1;5028:9;5000:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;5000:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5000:38:0;;;;5049:10;:19;;:30;5069:9;5049:30;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5049:30:0;5104:10;5092:52;;;5115:9;5126:11;5138:5;5092:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4569:583;;;;:::o;2934:19::-;;;;;;;;;;;;;:::o;3856:705::-;3925:1;3913:9;:13;3905:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3972:8;3960:9;:20;3952:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4006:14;4023:25;4038:9;4023:14;:25::i;:::-;4006:42;;4059:12;4074:5;;;;;;;;;;;:15;;;4090:10;4109:4;4074:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;4074:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4074:41:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;4074:41:0;;;;;;;;;;;;;;;;4059:56;;4126:13;4142:5;;;;;;;;;;;:15;;;4158:10;4142:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;4142:27:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4142:27:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;4142:27:0;;;;;;;;;;;;;;;;4126:43;;4199:9;4188:7;:20;;4180:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4252:9;4240:8;:21;;4232:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4286:5;;;;;;;;;;;:18;;;4305:10;4324:4;4331:9;4286:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;4286:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4286:55:0;;;;4381:39;4410:9;4381:12;:24;4394:10;4381:24;;;;;;;;;;;;;;;;:28;;:39;;;;:::i;:::-;4354:12;:24;4367:10;4354:24;;;;;;;;;;;;;;;:66;;;;4454:37;4481:9;4454:10;:22;4465:10;4454:22;;;;;;;;;;;;;;;;:26;;:37;;;;:::i;:::-;4431:10;:22;4442:10;4431:22;;;;;;;;;;;;;;;:60;;;;4516:10;4504:49;;;4527:9;4538;4548:4;4504:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3856:705;;;:::o;3623:225::-;3682:4;3698:8;3709:6;;;;;;;;;;;:19;;;3729:7;3737:4;;;;;;;;;;;3742;;;;;;;;;;;3709:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3709:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3709:38:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;3709:38:0;;;;;;;;;;;;;;;;3698:49;;3764:13;3772:4;3764:3;:7;;:13;;;;:::i;:::-;3758:19;;3796:6;;;;;;;;;;;:19;;;3816:3;3820:4;;;;;;;;;;;3833:5;;;;;;;;;;;3796:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3796:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3796:44:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;3796:44:0;;;;;;;;;;;;;;;;3788:52;;;3623:225;;;:::o;5160:112::-;5215:12;5247:10;:17;5258:5;5247:17;;;;;;;;;;;;;;;;5240:24;;5160:112;;;:::o;3012:18::-;;;;;;;;;;;;;:::o;5280:95::-;1891:5;;;;;;;;;;;1877:19;;:10;:19;;;1869:28;;12:1:-1;9;2:12;1869:28:0;5359:7:::1;5343:6;;:24;;;;;;;;;;;;;;;;;;5280:95:::0;:::o;3039:20::-;;;;;;;;;;;;;:::o;1439:::-;;;;;;;;;;;;;:::o;2862:43::-;;;;;;;;;;;;;;;;;:::o;2810:45::-;;;;;;;;;;;;;;;;;:::o;2096:192::-;1891:5;;;;;;;;;;;1877:19;;:10;:19;;;1869:28;;12:1:-1;9;2:12;1869:28:0;2197:1:::1;2177:22;;:8;:22;;;;2169:31;;12:1:-1;9::::0;2:12:::1;2169:31:0;2244:8;2216:37;;2237:5;::::0;::::1;;;;;;;;;2216:37;;;;;;;;;;;;2272:8;2264:5;::::0;:16:::1;;;;;;;;;;;;;;;;;;2096:192:::0;:::o;2986:19::-;;;;;;;;;;;;;:::o;594:238::-;646:4;672:1;667;:6;663:47;;;697:1;690:8;;;;663:47;722:6;735:1;731;:5;722:14;;764:1;759;755;:5;;;;;;:10;747:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;823:1;816:8;;;594:238;;;;;:::o;838:123::-;890:4;914:39;918:1;921;914:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;907:46;;838:123;;;;:::o;275:127::-;327:4;351:43;355:1;358;351:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;344:50;;275:127;;;;:::o;100:169::-;152:4;169:6;182:1;178;:5;169:14;;207:1;202;:6;;194:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;260:1;253:8;;;100:169;;;;:::o;967:246::-;1047:4;1143:1;1139;:5;1146:12;1131:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1131:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1170:6;1183:1;1179;:5;;;;;;1170:14;;1204:1;1197:8;;;967:246;;;;;:::o;408:180::-;488:4;518:1;513;:6;;521:12;505:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;505:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;545:6;558:1;554;:5;545:14;;579:1;572:8;;;408:180;;;;;:::o

Swarm Source

ipfs://ab04e812d6246f21a8a65fc7a1eadcacbe58a71c2de95b11e9ed4b4c482fe6c5

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.