Contract 0xca271bbfce2b0ca4ab022855bc4ec382c2e373d1

 

Contract Overview

Balance:
0 ETH

ETH Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x43a24008b450a015d01d8a1fcfe4f18cef000ea6525c6625bdc1d58842f03f98Redeem34338662021-11-29 13:46:4630 mins ago0x0db5e7924d87d2ec27876882e7af911a58050dd1 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000728075417 ETH
0x174402381caec46b5efe9ef43f2095b9c1ace8688cc2b31c34b82585720bd8bfRedeem34333932021-11-29 13:25:5651 mins ago0x9f3bc1104ff63428026aafa5ace281f15fd0bc21 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000725718335 ETH
0xaf0e27feedf443eeabe5191d404b0da3b80a5ff373d42f601f54d8f064cffe9dRedeem34284222021-11-29 9:28:044 hrs 49 mins ago0x40b44834b8a10808474a049ab162ed260dd011a9 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000738229813 ETH
0x29d830bb0790cf1d1c67c62faed63440802fce49aad5f72f6c4b1f346acc436aDeposit34214722021-11-29 2:46:3611 hrs 31 mins ago0x7b51771a1df398e1c00b0fabe4ff33babbdcdf35 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.001426993507 ETH
0x4eebb240e895fc74f1cac44b252ddf3ac4244d733f79ed9d81c38116c976caf9Redeem34181632021-11-28 23:36:1114 hrs 41 mins ago0x0db5e7924d87d2ec27876882e7af911a58050dd1 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000741001606 ETH
0xd688aa237e76d90c0787b3509288c6a2678c5fa486884523c273b4e417122586Redeem34180642021-11-28 23:31:2614 hrs 46 mins ago0xaf616daba40f81b75af5373294d4dbe29dd0e0f6 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000739927703 ETH
0x68844b4dcc8025d602cde7d9b6863c004c30eaf3218e8e5cafcc744864244e51Redeem34177482021-11-28 23:15:0915 hrs 2 mins ago0xeceaee31ab7f0903e0234191a51ee2bdea9dd72c IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000735927005 ETH
0x21c3def7e75e6e512f7b2e1f1fe8c6355d26d3170952147a655cee605d944d83Deposit34167662021-11-28 22:32:4515 hrs 44 mins ago0xdd52d6fe693608ef6eddf2b68cdfb502a9d3da19 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000770302089 ETH
0x92acd72fea4ffcab7fe516b7a9b26918f9a936c063d8240fc39050d400a36ac1Redeem34167422021-11-28 22:31:4915 hrs 45 mins ago0xdd52d6fe693608ef6eddf2b68cdfb502a9d3da19 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000724057116 ETH
0x84235e460b97a1af37a6d6b52e332b491b3395b768bd45a9f8d125fec03af279Redeem34162932021-11-28 22:10:2116 hrs 7 mins ago0x1d347dc7933a74fd792cc29df2bf5a8c5f6284ed IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000738533459 ETH
0xba0aaff52ca16c53dbb7df71ee5ba5816b935974566e68619ac68a86465cbbe3Redeem34140882021-11-28 20:44:0017 hrs 33 mins ago0x796580c474bcaea69b5cdf6e2b8cb47de59af853 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000683489047 ETH
0x2fe2783323ae4955c815af04be4bef938ded9702942c589a6582f901670194bdDeposit34123452021-11-28 19:16:4019 hrs 1 min ago0xeceaee31ab7f0903e0234191a51ee2bdea9dd72c IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.001279490334 ETH
0x3b402d3b2d359b4d6eaab1a3e5a85a7b5b58f8c373894b5586070421fe0a4db7Redeem34105872021-11-28 17:56:3220 hrs 21 mins ago0xa27ff27db3df10a9ed75d00a1918b6895097cf55 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000664102857 ETH
0xfc27fd9410f19b1e899c2cecdede1d559102b459c1018f407787d597b41b4bccRedeem34067252021-11-28 14:48:0523 hrs 29 mins ago0x0e892a7fb5ff16ef41afac1a1ed0c4a49eb05e9d IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000650523453 ETH
0xb8372af233b367d8414f472df3be491f9971aac834ec16a53a7c366882774625Redeem34063892021-11-28 14:34:2223 hrs 43 mins ago0xbddab3efa0c88e97428ab742e74e9d2898daf4a8 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000649246569 ETH
0xbe4a88c1ed3580770dec3802a90a6010dffc4983d9f471780d6bc67f7405ae1dRedeem34046692021-11-28 13:15:101 day 1 hr ago0x483895e2d88bb8ad9cb097ed0a0367e926d49271 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000640003958 ETH
0x122a6e25cd933ecb23b675fac93e070fa5b90b6488d6e4227c51b18e2b6b74faRedeem34041862021-11-28 12:48:351 day 1 hr ago0x0db5e7924d87d2ec27876882e7af911a58050dd1 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000669838298 ETH
0xc5d700ec11f24f7be9c703db9d4358ab776c5cddb5211bdeba27bff30e54cf21Redeem34041092021-11-28 12:44:021 day 1 hr ago0xfaa17e8343befe11ee9cf5f345fb65936283a013 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000651542603 ETH
0xd01498a693db4a3799c1b71b42a7f43582652f83b7ad8d78c3cfd1b4825256beRedeem34034932021-11-28 12:09:321 day 2 hrs ago0x9f3bc1104ff63428026aafa5ace281f15fd0bc21 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.00066514073 ETH
0x89d6937cb75860194aee30d19404125ff20874694d0dc37a3da2406370f45860Redeem34008422021-11-28 9:56:401 day 4 hrs ago0xcd0e51e180005d798bcd980f51e5c4d04d93111d IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000672635086 ETH
0x56574ef70f08ad3b057e3cf2a10c3505926e4ead019fbfb64b6aefd50d9af8ecRedeem34005842021-11-28 9:46:341 day 4 hrs ago0x0bd63552fa759c3be38356290e4348dc8fc777f5 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000675946936 ETH
0x576b035b0db87bc5c3f9082b476abcb5de1e74b43da58e5645d41bebdd91ad50Redeem33987922021-11-28 8:18:081 day 5 hrs ago0x75f1694a994c44e714bad6916ef9e223f288364e IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000677755859 ETH
0xb7fa97a727fe16dc0ba2af6fb53f7b2bfdd788cfa0f85acd159803f9c2308d7eRedeem33981942021-11-28 7:45:501 day 6 hrs ago0xd8d1c3e5ea0ae850a45057d0587255021c615ab1 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000689298902 ETH
0xaa0d9db42e790433074a13fdf294630bec88106ce5c3c0e6e23548744eca8311Redeem33979622021-11-28 7:30:371 day 6 hrs ago0xe35655a7c1793f950d2419d24a3fc561f0b77e96 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000688221725 ETH
0xb57e71143501b845ebc3a805b3ab27b35320050ce7e29637e06ce283186a9c9eRedeem33945912021-11-28 4:06:251 day 10 hrs ago0x92ec8dfaecc357c5b44f6f822c3d3ed0a34f0789 IN  0xca271bbfce2b0ca4ab022855bc4ec382c2e373d10 ETH0.000707923076 ETH
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EthBondDepository

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at arbiscan.io on 2021-11-20
*/

// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.7.5;

/* 
Converted to support multiple owners.
 */
contract Ownable {

    mapping(address=>bool) internal _owners;

    address internal _newOwner;

    event AdminPushed(address indexed addedBy, address indexed newOwner);
    event AdminPulled(address indexed previousOwner);

    constructor () {
        _owners[msg.sender] = true;
        emit AdminPushed( address(0), msg.sender );
    }

    function isAdmin(address id) public view returns (bool) {
        return _owners[id];
    }

    modifier onlyAdmin() {
        require( _owners[msg.sender], "Ownable: caller is not the owner" );
        _;
    }

    function pushAdmin( address newOwner_ ) public virtual onlyAdmin() {
        require( newOwner_ != address(0), "Ownable: new owner is the zero address");
        require( !_owners[newOwner_], "Ownable: new owner is already a owner");
        _owners[newOwner_] = true;
        emit AdminPushed( msg.sender, newOwner_ );
    }
    
    function renounceAdmin(address oldOwner_) public virtual onlyAdmin() {
        _owners[oldOwner_] = false;
        emit AdminPulled( oldOwner_ );
    }
}

library SafeMath {

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    function sub32(uint32 a, uint32 b) internal pure returns (uint32) {
        return sub32(a, b, "SafeMath: subtraction overflow");
    }

    function sub32(uint32 a, uint32 b, string memory errorMessage) internal pure returns (uint32) {
        require(b <= a, errorMessage);
        uint32 c = a - b;

        return c;
    }

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

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

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        return c;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }

    function sqrrt(uint256 a) internal pure returns (uint c) {
        if (a > 3) {
            c = a;
            uint b = add( div( a, 2), 1 );
            while (b < c) {
                c = b;
                b = div( add( div( a, b ), b), 2 );
            }
        } else if (a != 0) {
            c = 1;
        }
    }
}

library Address {

    function isContract(address account) internal view returns (bool) {

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

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

    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    function functionCall(
        address target, 
        bytes memory data, 
        string memory errorMessage
    ) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

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

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

    function _functionCallWithValue(
        address target, 
        bytes memory data, 
        uint256 weiValue, 
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

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

    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    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 functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    function functionDelegateCall(
        address target, 
        bytes memory data, 
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

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

    function _verifyCallResult(
        bool success, 
        bytes memory returndata, 
        string memory errorMessage
    ) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            if (returndata.length > 0) {

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }

    function addressToString(address _address) internal pure returns(string memory) {
        bytes32 _bytes = bytes32(uint256(_address));
        bytes memory HEX = "0123456789abcdef";
        bytes memory _addr = new bytes(42);

        _addr[0] = '0';
        _addr[1] = 'x';

        for(uint256 i = 0; i < 20; i++) {
            _addr[2+i*2] = HEX[uint8(_bytes[i + 12] >> 4)];
            _addr[3+i*2] = HEX[uint8(_bytes[i + 12] & 0x0f)];
        }

        return string(_addr);

    }
}

interface IERC20 {
    function decimals() external view returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address recipient, uint256 amount) external returns (bool);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);
}

abstract contract ERC20 is IERC20 {

    using SafeMath for uint256;

    // TODO comment actual hash value.
    bytes32 constant private ERC20TOKEN_ERC1820_INTERFACE_ID = keccak256( "ERC20Token" );
    
    mapping (address => uint256) internal _balances;

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

    uint256 internal _totalSupply;

    string internal _name;
    
    string internal _symbol;
    
    uint8 internal _decimals;

    constructor (string memory name_, string memory symbol_, uint8 decimals_) {
        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view override returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, msg.sender, _allowances[sender][msg.sender]
            .sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender]
            .sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    function _mint(address account_, uint256 ammount_) internal virtual {
        require(account_ != address(0), "ERC20: mint to the zero address");
        _beforeTokenTransfer(address( this ), account_, ammount_);
        _totalSupply = _totalSupply.add(ammount_);
        _balances[account_] = _balances[account_].add(ammount_);
        emit Transfer(address( this ), account_, ammount_);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

  function _beforeTokenTransfer( address from_, address to_, uint256 amount_ ) internal virtual { }
}

interface IERC2612Permit {

    function permit(
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    function nonces(address owner) external view returns (uint256);
}

library Counters {
    using SafeMath for uint256;

    struct Counter {

        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

abstract contract ERC20Permit is ERC20, IERC2612Permit {
    using Counters for Counters.Counter;

    mapping(address => Counters.Counter) private _nonces;

    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

    bytes32 public DOMAIN_SEPARATOR;

    constructor() {
        uint256 chainID;
        assembly {
            chainID := chainid()
        }

        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes(name())),
                keccak256(bytes("1")), // Version
                chainID,
                address(this)
            )
        );
    }

    function permit(
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= deadline, "Permit: expired deadline");

        bytes32 hashStruct =
            keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, amount, _nonces[owner].current(), deadline));

        bytes32 _hash = keccak256(abi.encodePacked(uint16(0x1901), DOMAIN_SEPARATOR, hashStruct));

        address signer = ecrecover(_hash, v, r, s);
        require(signer != address(0) && signer == owner, "ZeroSwapPermit: Invalid signature");

        _nonces[owner].increment();
        _approve(owner, spender, amount);
    }

    function nonces(address owner) public view override returns (uint256) {
        return _nonces[owner].current();
    }
}

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

    function safeApprove(IERC20 token, address spender, uint256 value) internal {

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

    function _callOptionalReturn(IERC20 token, bytes memory data) private {

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

library FullMath {
    function fullMul(uint256 x, uint256 y) private pure returns (uint256 l, uint256 h) {
        uint256 mm = mulmod(x, y, uint256(-1));
        l = x * y;
        h = mm - l;
        if (mm < l) h -= 1;
    }

    function fullDiv(
        uint256 l,
        uint256 h,
        uint256 d
    ) private pure returns (uint256) {
        uint256 pow2 = d & -d;
        d /= pow2;
        l /= pow2;
        l += h * ((-pow2) / pow2 + 1);
        uint256 r = 1;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        return l * r;
    }

    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 d
    ) internal pure returns (uint256) {
        (uint256 l, uint256 h) = fullMul(x, y);
        uint256 mm = mulmod(x, y, d);
        if (mm > l) h -= 1;
        l -= mm;
        require(h < d, 'FullMath::mulDiv: overflow');
        return fullDiv(l, h, d);
    }
}

library FixedPoint {

    struct uq112x112 {
        uint224 _x;
    }

    struct uq144x112 {
        uint256 _x;
    }

    uint8 private constant RESOLUTION = 112;
    uint256 private constant Q112 = 0x10000000000000000000000000000;
    uint256 private constant Q224 = 0x100000000000000000000000000000000000000000000000000000000;
    uint256 private constant LOWER_MASK = 0xffffffffffffffffffffffffffff; // decimal of UQ*x112 (lower 112 bits)

    function decode(uq112x112 memory self) internal pure returns (uint112) {
        return uint112(self._x >> RESOLUTION);
    }

    function decode112with18(uq112x112 memory self) internal pure returns (uint) {

        return uint(self._x) / 5192296858534827;
    }

    function fraction(uint256 numerator, uint256 denominator) internal pure returns (uq112x112 memory) {
        require(denominator > 0, 'FixedPoint::fraction: division by zero');
        if (numerator == 0) return FixedPoint.uq112x112(0);

        if (numerator <= uint144(-1)) {
            uint256 result = (numerator << RESOLUTION) / denominator;
            require(result <= uint224(-1), 'FixedPoint::fraction: overflow');
            return uq112x112(uint224(result));
        } else {
            uint256 result = FullMath.mulDiv(numerator, Q112, denominator);
            require(result <= uint224(-1), 'FixedPoint::fraction: overflow');
            return uq112x112(uint224(result));
        }
    }
}

interface AggregatorV3Interface {

  function decimals() external view returns (uint8);
  function description() external view returns (string memory);
  function version() external view returns (uint256);

  // getRoundData and latestRoundData should both raise "No data present"
  // if they do not have data to report, instead of returning unset values
  // which could be misinterpreted as actual reported values.
  function getRoundData(uint80 _roundId)
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );
  function latestRoundData()
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );
}

interface ITreasury {
    function deposit( uint _amount, address _token, uint _profit ) external returns ( bool );
    function valueOf( address _token, uint _amount ) external view returns ( uint value_ );
    function mintRewards( address _recipient, uint _amount ) external;
}

interface IStaking {
    function stake( uint _amount, address _recipient ) external returns ( bool );
}

interface IStakingHelper {
    function stake( uint _amount, address _recipient ) external;
}

interface IWETH9 is IERC20 {
    /// @notice Deposit ether to get wrapped ether
    function deposit() external payable;
}

contract EthBondDepository is Ownable {

    using FixedPoint for *;
    using SafeERC20 for IERC20;
    using SafeMath for uint;
    using SafeMath for uint32;




    /* ======== EVENTS ======== */

    event BondCreated( uint deposit, uint indexed payout, uint indexed expires, uint indexed priceInUSD );
    event BondRedeemed( address indexed recipient, uint payout, uint remaining );
    event BondPriceChanged( uint indexed priceInUSD, uint indexed internalPrice, uint indexed debtRatio );
    event ControlVariableAdjustment( uint initialBCV, uint newBCV, uint adjustment, bool addition );




    /* ======== STATE VARIABLES ======== */
    address public immutable OHM; // token given as payment for bond
    address public immutable principle; // token used to create bond
    address public immutable treasury; // mints OHM when receives principle
    address public immutable DAO; // receives profit share from bond

    AggregatorV3Interface internal priceFeed;

    address public staking; // to auto-stake payout
    address public stakingHelper; // to stake and claim if no staking warmup
    bool public useHelper;

    Terms public terms; // stores terms for new bonds
    Adjust public adjustment; // stores adjustment to BCV data

    mapping( address => Bond ) public bondInfo; // stores bond information for depositors

    uint public totalDebt; // total value of outstanding bonds; used for pricing
    uint32 public lastDecay; // reference block for debt decay




    /* ======== STRUCTS ======== */

    // Info for creating new bonds
    struct Terms {
        uint controlVariable; // scaling variable for price
        uint minimumPrice; // vs principle value. 4 decimals (1500 = 0.15)
        uint maxPayout; // in thousandths of a %. i.e. 500 = 0.5%
        uint maxDebt; // 9 decimal debt ratio, max % total supply created as debt
        uint32 vestingTerm; // in seconds
    }

    // Info for bond holder
    struct Bond {
        uint payout; // OHM remaining to be paid
        uint pricePaid; // In DAI, for front end viewing
        uint32 vesting; // Seconds left to vest
        uint32 lastTime; // Last interaction
    }

    // Info for incremental adjustments to control variable 
    struct Adjust {
        bool add; // addition or subtraction
        uint rate; // increment
        uint target; // BCV when adjustment finished
        uint32 buffer; // minimum length (in seconds) between adjustments
        uint32 lastTime; // block when last adjustment made
    }




    /* ======== INITIALIZATION ======== */

    constructor ( 
        address _OHM,
        address _principle,
        address _treasury, 
        address _DAO,
        address _feed
    ) {
        require( _OHM != address(0) );
        OHM = _OHM;
        require( _principle != address(0) );
        principle = _principle;
        require( _treasury != address(0) );
        treasury = _treasury;
        require( _DAO != address(0) );
        DAO = _DAO;
        require( _feed != address(0) );
        priceFeed = AggregatorV3Interface( _feed );
    }

    /**
     *  @notice initializes bond parameters
     *  @param _controlVariable uint
     *  @param _vestingTerm uint
     *  @param _minimumPrice uint
     *  @param _maxPayout uint
     *  @param _maxDebt uint
     *  @param _initialDebt uint
     */
    function initializeBondTerms( 
        uint _controlVariable, 
        uint _minimumPrice,
        uint _maxPayout,
        uint _maxDebt,
        uint _initialDebt,
        uint32 _vestingTerm
    ) external onlyAdmin() {
        require( currentDebt() == 0, "Debt must be 0 for initialization" );
        terms = Terms ({
            controlVariable: _controlVariable,
            vestingTerm: _vestingTerm,
            minimumPrice: _minimumPrice,
            maxPayout: _maxPayout,
            maxDebt: _maxDebt
        });
        totalDebt = _initialDebt;
        lastDecay = uint32(block.timestamp);
    }



    
    /* ======== POLICY FUNCTIONS ======== */

    enum PARAMETER { VESTING, PAYOUT, DEBT, MINPRICE, BCV }

    function setPriceFeed(address _feed) external onlyAdmin() {
        require( _feed != address(0) );
        priceFeed = AggregatorV3Interface( _feed );
    }

    /**
     *  @notice set parameters for new bonds
     *  @param _parameter PARAMETER
     *  @param _input uint
     */
    
    function setBondTerms ( PARAMETER _parameter, uint _input ) external onlyAdmin() {
        if ( _parameter == PARAMETER.VESTING ) { // 0
            require( _input >= 129600, "Vesting must be longer than 36 hours" );
            terms.vestingTerm = uint32(_input);
        } else if ( _parameter == PARAMETER.PAYOUT ) { // 1
            require( _input <= 1000, "Payout cannot be above 1 percent" );
            terms.maxPayout = _input;
        } else if ( _parameter == PARAMETER.DEBT ) { // 2
            terms.maxDebt = _input;
        } else if ( _parameter == PARAMETER.MINPRICE ) { // 3
            terms.minimumPrice = _input;
        } else if ( _parameter == PARAMETER.BCV ) { // 4
            terms.controlVariable = _input;
        }
    }

    /**
     *  @notice set control variable adjustment
     *  @param _addition bool
     *  @param _increment uint
     *  @param _target uint
     *  @param _buffer uint
     */
    function setAdjustment ( 
        bool _addition,
        uint _increment, 
        uint _target,
        uint32 _buffer 
    ) external onlyAdmin() {
        require( _increment <= _target, "Increment too large" );

        adjustment = Adjust({
            add: _addition,
            rate: _increment,
            target: _target,
            buffer: _buffer,
            lastTime: uint32(block.timestamp)
        });
    }

    /**
     *  @notice set contract for auto stake
     *  @param _staking address
     *  @param _helper bool
     */
    function setStaking( address _staking, bool _helper ) external onlyAdmin() {
        require( _staking != address(0) );
        if ( _helper ) {
            useHelper = true;
            stakingHelper = _staking;
        } else {
            useHelper = false;
            staking = _staking;
        }
    }


    

    /* ======== USER FUNCTIONS ======== */

    /**
     *  @notice deposit bond
     *  @param _amount uint
     *  @param _maxPrice uint
     *  @param _depositor address
     *  @return uint
     */
    function deposit( 
        uint _amount, 
        uint _maxPrice,
        address _depositor
    ) external payable returns ( uint ) {
        require( _depositor != address(0), "Invalid address" );

        decayDebt();
        require( totalDebt <= terms.maxDebt, "Max capacity reached" );
        
        uint priceInUSD = bondPriceInUSD(); // Stored in bond info
        uint nativePrice = _bondPrice();

        require( _maxPrice >= nativePrice, "Slippage limit: more than max price" ); // slippage protection

        uint value = ITreasury( treasury ).valueOf( principle, _amount );
        uint payout = payoutFor( value ); // payout to bonder is computed

        require( payout >= 10000000, "Bond too small" ); // must be > 0.01 OHM ( underflow protection )
        require( payout <= maxPayout(), "Bond too large"); // size protection because there is no slippage

        /**
            asset carries risk and is not minted against
            asset transfered to treasury and rewards minted as payout
         */
        if (address(this).balance >= _amount) {
            // pay with WETH9
            IWETH9(principle).deposit{value: _amount}(); // wrap only what is needed to pay
            IWETH9(principle).transfer(treasury, _amount);
        } else {
            IERC20( principle ).safeTransferFrom( msg.sender, treasury, _amount );
        }
        
        ITreasury( treasury ).mintRewards( address(this), payout );
        
        // total debt is increased
        totalDebt = totalDebt.add( value ); 
                
        // depositor info is stored
        bondInfo[ _depositor ] = Bond({ 
            payout: bondInfo[ _depositor ].payout.add( payout ),
            vesting: terms.vestingTerm,
            lastTime: uint32(block.timestamp),
            pricePaid: priceInUSD
        });

        // indexed events are emitted
        emit BondCreated( _amount, payout, block.timestamp.add( terms.vestingTerm ), priceInUSD );
        emit BondPriceChanged( bondPriceInUSD(), _bondPrice(), debtRatio() );

        adjust(); // control variable is adjusted
        refundETH(); //refund user if needed
        return payout; 
    }

    /** 
     *  @notice redeem bond for user
     *  @param _recipient address
     *  @param _stake bool
     *  @return uint
     */ 
    function redeem( address _recipient, bool _stake ) external returns ( uint ) {        
        Bond memory info = bondInfo[ _recipient ];
        uint percentVested = percentVestedFor( _recipient ); // (blocks since last interaction / vesting term remaining)

        if ( percentVested >= 10000 ) { // if fully vested
            delete bondInfo[ _recipient ]; // delete user info
            emit BondRedeemed( _recipient, info.payout, 0 ); // emit bond data
            return stakeOrSend( _recipient, _stake, info.payout ); // pay user everything due

        } else { // if unfinished
            // calculate payout vested
            uint payout = info.payout.mul( percentVested ).div( 10000 );

            // store updated deposit info
            bondInfo[ _recipient ] = Bond({
                payout: info.payout.sub( payout ),
                vesting: info.vesting.sub32( uint32( block.timestamp ).sub32( info.lastTime ) ),
                lastTime: uint32( block.timestamp ),
                pricePaid: info.pricePaid
            });

            emit BondRedeemed( _recipient, payout, bondInfo[ _recipient ].payout );
            return stakeOrSend( _recipient, _stake, payout );
        }
    }



    
    /* ======== INTERNAL HELPER FUNCTIONS ======== */

    /**
     *  @notice allow user to stake payout automatically
     *  @param _stake bool
     *  @param _amount uint
     *  @return uint
     */
    function stakeOrSend( address _recipient, bool _stake, uint _amount ) internal returns ( uint ) {
        if ( !_stake ) { // if user does not want to stake
            IERC20( OHM ).transfer( _recipient, _amount ); // send payout
        } else { // if user wants to stake
            if ( useHelper ) { // use if staking warmup is 0
                IERC20( OHM ).approve( stakingHelper, _amount );
                IStakingHelper( stakingHelper ).stake( _amount, _recipient );
            } else {
                IERC20( OHM ).approve( staking, _amount );
                IStaking( staking ).stake( _amount, _recipient );
            }
        }
        return _amount;
    }

    /**
     *  @notice makes incremental adjustment to control variable
     */
    function adjust() internal {
         uint timeCanAdjust = adjustment.lastTime.add( adjustment.buffer );
         if( adjustment.rate != 0 && block.timestamp >= timeCanAdjust ) {
            uint initial = terms.controlVariable;
            if ( adjustment.add ) {
                terms.controlVariable = terms.controlVariable.add( adjustment.rate );
                if ( terms.controlVariable >= adjustment.target ) {
                    adjustment.rate = 0;
                }
            } else {
                terms.controlVariable = terms.controlVariable.sub( adjustment.rate );
                if ( terms.controlVariable <= adjustment.target ) {
                    adjustment.rate = 0;
                }
            }
            adjustment.lastTime = uint32(block.timestamp);
            emit ControlVariableAdjustment( initial, terms.controlVariable, adjustment.rate, adjustment.add );
        }
    }

    /**
     *  @notice reduce total debt
     */
    function decayDebt() internal {
        totalDebt = totalDebt.sub( debtDecay() );
        lastDecay = uint32(block.timestamp);
    }




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

    /**
     *  @notice determine maximum bond size
     *  @return uint
     */
    function maxPayout() public view returns ( uint ) {
        return IERC20( OHM ).totalSupply().mul( terms.maxPayout ).div( 100000 );
    }

    /**
     *  @notice calculate interest due for new bond
     *  @param _value uint
     *  @return uint
     */
    function payoutFor( uint _value ) public view returns ( uint ) {
        return FixedPoint.fraction( _value, bondPrice() ).decode112with18().div( 1e14 );
    }


    /**
     *  @notice calculate current bond premium
     *  @return price_ uint
     */
    function bondPrice() public view returns ( uint price_ ) {        
        price_ = terms.controlVariable.mul( debtRatio() ).div( 1e5 );
        if ( price_ < terms.minimumPrice ) {
            price_ = terms.minimumPrice;
        }
    }

    /**
     *  @notice calculate current bond price and remove floor if above
     *  @return price_ uint
     */
    function _bondPrice() internal returns ( uint price_ ) {
        price_ = terms.controlVariable.mul( debtRatio() ).div( 1e5 );
        if ( price_ < terms.minimumPrice ) {
            price_ = terms.minimumPrice;        
        } else if ( terms.minimumPrice != 0 ) {
            terms.minimumPrice = 0;
        }
    }

    /**
     *  @notice get asset price from chainlink
     */
    function assetPrice() public view returns (int) {
        ( , int price, , , ) = priceFeed.latestRoundData();
        return price;
    }

    /**
     *  @notice converts bond price to DAI value
     *  @return price_ uint
     */
    function bondPriceInUSD() public view returns ( uint price_ ) {
        price_ = bondPrice().mul( uint( assetPrice() ) ).mul( 1e6 );
    }


    /**
     *  @notice calculate current ratio of debt to OHM supply
     *  @return debtRatio_ uint
     */
    function debtRatio() public view returns ( uint debtRatio_ ) {   
        uint supply = IERC20( OHM ).totalSupply();
        debtRatio_ = FixedPoint.fraction( 
            currentDebt().mul( 1e9 ), 
            supply
        ).decode112with18().div( 1e18 );
    }

    /**
     *  @notice debt ratio in same terms as reserve bonds
     *  @return uint
     */
    function standardizedDebtRatio() external view returns ( uint ) {
        return debtRatio().mul( uint( assetPrice() ) ).div( 1e8 ); // ETH feed is 8 decimals
    }

    /**
     *  @notice calculate debt factoring in decay
     *  @return uint
     */
    function currentDebt() public view returns ( uint ) {
        return totalDebt.sub( debtDecay() );
    }

    /**
     *  @notice amount to decay total debt by
     *  @return decay_ uint
     */
    function debtDecay() public view returns ( uint decay_ ) {
        uint32 timeSinceLast = uint32(block.timestamp).sub32( lastDecay );
        decay_ = totalDebt.mul( timeSinceLast ).div( terms.vestingTerm );
        if ( decay_ > totalDebt ) {
            decay_ = totalDebt;
        }
    }


    /**
     *  @notice calculate how far into vesting a depositor is
     *  @param _depositor address
     *  @return percentVested_ uint
     */
    function percentVestedFor( address _depositor ) public view returns ( uint percentVested_ ) {
        Bond memory bond = bondInfo[ _depositor ];
        uint secondsSinceLast = uint32(block.timestamp).sub( bond.lastTime );
        uint vesting = bond.vesting;

        if ( vesting > 0 ) {
            percentVested_ = secondsSinceLast.mul( 10000 ).div( vesting );
        } else {
            percentVested_ = 0;
        }
    }

    /**
     *  @notice calculate amount of OHM available for claim by depositor
     *  @param _depositor address
     *  @return pendingPayout_ uint
     */
    function pendingPayoutFor( address _depositor ) external view returns ( uint pendingPayout_ ) {
        uint percentVested = percentVestedFor( _depositor );
        uint payout = bondInfo[ _depositor ].payout;

        if ( percentVested >= 10000 ) {
            pendingPayout_ = payout;
        } else {
            pendingPayout_ = payout.mul( percentVested ).div( 10000 );
        }
    }




    /* ======= AUXILLIARY ======= */

    /**
     *  @notice allow anyone to send lost tokens (excluding principle or OHM) to the DAO
     *  @return bool
     */
    function recoverLostToken( address _token ) external returns ( bool ) {
        require( _token != OHM );
        require( _token != principle );
        IERC20( _token ).safeTransfer( DAO, IERC20( _token ).balanceOf( address(this) ) );
        return true;
    }

    function refundETH() internal {
        if (address(this).balance > 0) safeTransferETH(DAO, address(this).balance);
    }

    /// @notice Transfers ETH to the recipient address
    /// @dev Fails with `STE`
    /// @param to The destination of the transfer
    /// @param value The value to be transferred
    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'STE');
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_OHM","type":"address"},{"internalType":"address","name":"_principle","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_DAO","type":"address"},{"internalType":"address","name":"_feed","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"}],"name":"AdminPulled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addedBy","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"AdminPushed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"deposit","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"payout","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"expires","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"priceInUSD","type":"uint256"}],"name":"BondCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"priceInUSD","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"internalPrice","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"debtRatio","type":"uint256"}],"name":"BondPriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"payout","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"remaining","type":"uint256"}],"name":"BondRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"initialBCV","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBCV","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"adjustment","type":"uint256"},{"indexed":false,"internalType":"bool","name":"addition","type":"bool"}],"name":"ControlVariableAdjustment","type":"event"},{"inputs":[],"name":"DAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OHM","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adjustment","outputs":[{"internalType":"bool","name":"add","type":"bool"},{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"uint256","name":"target","type":"uint256"},{"internalType":"uint32","name":"buffer","type":"uint32"},{"internalType":"uint32","name":"lastTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"assetPrice","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bondInfo","outputs":[{"internalType":"uint256","name":"payout","type":"uint256"},{"internalType":"uint256","name":"pricePaid","type":"uint256"},{"internalType":"uint32","name":"vesting","type":"uint32"},{"internalType":"uint32","name":"lastTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bondPrice","outputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bondPriceInUSD","outputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"debtDecay","outputs":[{"internalType":"uint256","name":"decay_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"debtRatio","outputs":[{"internalType":"uint256","name":"debtRatio_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxPrice","type":"uint256"},{"internalType":"address","name":"_depositor","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_controlVariable","type":"uint256"},{"internalType":"uint256","name":"_minimumPrice","type":"uint256"},{"internalType":"uint256","name":"_maxPayout","type":"uint256"},{"internalType":"uint256","name":"_maxDebt","type":"uint256"},{"internalType":"uint256","name":"_initialDebt","type":"uint256"},{"internalType":"uint32","name":"_vestingTerm","type":"uint32"}],"name":"initializeBondTerms","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"id","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastDecay","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPayout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"payoutFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_depositor","type":"address"}],"name":"pendingPayoutFor","outputs":[{"internalType":"uint256","name":"pendingPayout_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_depositor","type":"address"}],"name":"percentVestedFor","outputs":[{"internalType":"uint256","name":"percentVested_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"principle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"pushAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverLostToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"bool","name":"_stake","type":"bool"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"oldOwner_","type":"address"}],"name":"renounceAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_addition","type":"bool"},{"internalType":"uint256","name":"_increment","type":"uint256"},{"internalType":"uint256","name":"_target","type":"uint256"},{"internalType":"uint32","name":"_buffer","type":"uint32"}],"name":"setAdjustment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum EthBondDepository.PARAMETER","name":"_parameter","type":"uint8"},{"internalType":"uint256","name":"_input","type":"uint256"}],"name":"setBondTerms","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feed","type":"address"}],"name":"setPriceFeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staking","type":"address"},{"internalType":"bool","name":"_helper","type":"bool"}],"name":"setStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingHelper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"standardizedDebtRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"terms","outputs":[{"internalType":"uint256","name":"controlVariable","type":"uint256"},{"internalType":"uint256","name":"minimumPrice","type":"uint256"},{"internalType":"uint256","name":"maxPayout","type":"uint256"},{"internalType":"uint256","name":"maxDebt","type":"uint256"},{"internalType":"uint32","name":"vestingTerm","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"useHelper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6101006040523480156200001257600080fd5b5060405162002f0d38038062002f0d833981810160405260a08110156200003857600080fd5b508051602080830151604080850151606086015160809096015133600081815295869052838620805460ff1916600117905592519596939591949092917f55afcb507472af8b6733d5e5c3c14e658463350e0e8cd96ae0768979fa7d27f9908290a36001600160a01b038516620000ae57600080fd5b6001600160601b0319606086901b166080526001600160a01b038416620000d457600080fd5b6001600160601b0319606085901b1660a0526001600160a01b038316620000fa57600080fd5b6001600160601b0319606084901b1660c0526001600160a01b0382166200012057600080fd5b6001600160601b0319606083901b1660e0526001600160a01b0381166200014657600080fd5b600280546001600160a01b039092166001600160a01b03199092169190911790555050505060805160601c60a05160601c60c05160601c60e05160601c612d0b62000202600039806115da52806118f55280612516525080610eae52806110cb52806112db52806113a352806113ef5250806107ae52806110fa528061123852806112ac528061138052806118b352508061173a528061187452806119dd5280611c3b5280611dda5280611ec15280611fd35250612d0b6000f3fe6080604052600436106101f95760003560e01c80638dbdbe6d1161010d578063cea55f57116100a0578063d7ccfb0b1161006f578063d7ccfb0b1461072a578063e0176de81461073f578063e392a26214610754578063f5c2ab5b14610769578063fc7b9c1814610797576101f9565b8063cea55f571461067f578063d24378eb14610694578063d4d863ce146106a9578063d5025625146106e4576101f9565b8063a6c41fec116100dc578063a6c41fec14610594578063ae9832cf146105a9578063b4abccba146105ed578063cd1234b314610620576101f9565b80638dbdbe6d14610505578063904b3ece1461053757806398fabd3a1461054c5780639dedb48414610561576101f9565b80634cf088d911610190578063724e78da1161015f578063724e78da14610469578063759076e51461049c57806377b81895146104b15780637927ebf8146104c6578063844b5c7c146104f0576101f9565b80634cf088d9146103d9578063507930ec146103ee5780635e1fab0f1461042157806361d027b314610454576101f9565b806324d7806c116101cc57806324d7806c146102e45780632f3f470a1461032b578063309bf24b14610340578063451ee4a11461038e576101f9565b8063016a4284146101fe57806301b88ee81461022f5780631e321a0f146102745780631feed31f146102a9575b600080fd5b34801561020a57600080fd5b506102136107ac565b604080516001600160a01b039092168252519081900360200190f35b34801561023b57600080fd5b506102626004803603602081101561025257600080fd5b50356001600160a01b03166107d0565b60408051918252519081900360200190f35b34801561028057600080fd5b506102a76004803603604081101561029757600080fd5b5060ff8135169060200135610829565b005b3480156102b557600080fd5b50610262600480360360408110156102cc57600080fd5b506001600160a01b03813516906020013515156109ba565b3480156102f057600080fd5b506103176004803603602081101561030757600080fd5b50356001600160a01b0316610c02565b604080519115158252519081900360200190f35b34801561033757600080fd5b50610317610c20565b34801561034c57600080fd5b506102a7600480360360c081101561036357600080fd5b5080359060208101359060408101359060608101359060808101359060a0013563ffffffff16610c30565b34801561039a57600080fd5b506103a3610d31565b60408051951515865260208601949094528484019290925263ffffffff9081166060850152166080830152519081900360a00190f35b3480156103e557600080fd5b50610213610d57565b3480156103fa57600080fd5b506102626004803603602081101561041157600080fd5b50356001600160a01b0316610d66565b34801561042d57600080fd5b506102a76004803603602081101561044457600080fd5b50356001600160a01b0316610e11565b34801561046057600080fd5b50610213610eac565b34801561047557600080fd5b506102a76004803603602081101561048c57600080fd5b50356001600160a01b0316610ed0565b3480156104a857600080fd5b50610262610f57565b3480156104bd57600080fd5b50610213610f73565b3480156104d257600080fd5b50610262600480360360208110156104e957600080fd5b5035610f82565b3480156104fc57600080fd5b50610262610fa7565b6102626004803603606081101561051b57600080fd5b50803590602081013590604001356001600160a01b0316610fc9565b34801561054357600080fd5b506102626115bb565b34801561055857600080fd5b506102136115d8565b34801561056d57600080fd5b506102a76004803603602081101561058457600080fd5b50356001600160a01b03166115fc565b3480156105a057600080fd5b50610213611738565b3480156105b557600080fd5b506102a7600480360360808110156105cc57600080fd5b5080351515906020810135906040810135906060013563ffffffff1661175c565b3480156105f957600080fd5b506103176004803603602081101561061057600080fd5b50356001600160a01b0316611870565b34801561062c57600080fd5b506106536004803603602081101561064357600080fd5b50356001600160a01b03166119a6565b60408051948552602085019390935263ffffffff91821684840152166060830152519081900360800190f35b34801561068b57600080fd5b506102626119d8565b3480156106a057600080fd5b50610262611a90565b3480156106b557600080fd5b506102a7600480360360408110156106cc57600080fd5b506001600160a01b0381351690602001351515611b16565b3480156106f057600080fd5b506106f9611bde565b60408051958652602086019490945284840192909252606084015263ffffffff166080830152519081900360a00190f35b34801561073657600080fd5b50610262611bf6565b34801561074b57600080fd5b50610262611c27565b34801561076057600080fd5b50610262611cc4565b34801561077557600080fd5b5061077e611d1d565b6040805163ffffffff9092168252519081900360200190f35b3480156107a357600080fd5b50610262611d29565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806107dc83610d66565b6001600160a01b0384166000908152600e6020526040902054909150612710821061080957809250610822565b61081f6127106108198385611d2f565b90611d8f565b92505b5050919050565b3360009081526020819052604090205460ff1661087b576040805162461bcd60e51b81526020600482018190526024820152600080516020612c20833981519152604482015290519081900360640190fd5b600082600481111561088957fe5b14156108eb576201fa408110156108d15760405162461bcd60e51b8152600401808060200182810382526024815260200180612c636024913960400191505060405180910390fd5b6009805463ffffffff191663ffffffff83161790556109b6565b60018260048111156108f957fe5b1415610960576103e8811115610956576040805162461bcd60e51b815260206004820181905260248201527f5061796f75742063616e6e6f742062652061626f766520312070657263656e74604482015290519081900360640190fd5b60078190556109b6565b600282600481111561096e57fe5b141561097e5760088190556109b6565b600382600481111561098c57fe5b141561099c5760068190556109b6565b60048260048111156109aa57fe5b14156109b65760058190555b5050565b60006109c4612b4b565b506001600160a01b0383166000908152600e602090815260408083208151608081018352815481526001820154938101939093526002015463ffffffff80821692840192909252600160201b900416606082015290610a2285610d66565b90506127108110610ab7576001600160a01b0385166000818152600e6020908152604080832083815560018101849055600201805467ffffffffffffffff19169055855181519081529182019290925281517f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b1929181900390910190a2610aae85858460000151611dd1565b92505050610bfc565b8151600090610ace90612710906108199085611d2f565b90506040518060800160405280610af28386600001516120d490919063ffffffff16565b815260200184602001518152602001610b3a610b2186606001514263ffffffff1661211690919063ffffffff16565b866040015163ffffffff1661211690919063ffffffff16565b63ffffffff90811682524281166020928301526001600160a01b0389166000818152600e8452604090819020855180825586860151600183015586830151600290920180546060909801518616600160201b0267ffffffff00000000199390961663ffffffff19909816979097179190911693909317909455835185815292830191909152825190927f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b1928290030190a2610bf6868683611dd1565b93505050505b92915050565b6001600160a01b031660009081526020819052604090205460ff1690565b600454600160a01b900460ff1681565b3360009081526020819052604090205460ff16610c82576040805162461bcd60e51b81526020600482018190526024820152600080516020612c20833981519152604482015290519081900360640190fd5b610c8a610f57565b15610cc65760405162461bcd60e51b8152600401808060200182810382526021815260200180612bde6021913960400191505060405180910390fd5b6040805160a081018252878152602081018790529081018590526060810184905263ffffffff91821660809091018190526005969096556006949094556007929092556008556009805463ffffffff199081169094179055600f556010805490921642909116179055565b600a54600b54600c54600d5460ff9093169263ffffffff80821691600160201b90041685565b6003546001600160a01b031681565b6000610d70612b4b565b506001600160a01b0382166000908152600e602090815260408083208151608081018352815481526001820154938101939093526002015463ffffffff80821692840192909252600160201b9004811660608301819052919291610dd99142811691906120d416565b604083015190915063ffffffff168015610e0457610dfd8161081984612710611d2f565b9350610e09565b600093505b505050919050565b3360009081526020819052604090205460ff16610e63576040805162461bcd60e51b81526020600482018190526024820152600080516020612c20833981519152604482015290519081900360640190fd5b6001600160a01b038116600081815260208190526040808220805460ff19169055517f82507b75432a5bfae38b4043d050189bb6e16701bd353e27d9b953b97d9712a99190a250565b7f000000000000000000000000000000000000000000000000000000000000000081565b3360009081526020819052604090205460ff16610f22576040805162461bcd60e51b81526020600482018190526024820152600080516020612c20833981519152604482015290519081900360640190fd5b6001600160a01b038116610f3557600080fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000610f6d610f64611cc4565b600f54906120d4565b90505b90565b6004546001600160a01b031681565b6000610bfc655af3107a4000610819610fa285610f9d611bf6565b612158565b6122cf565b6000610f6d620f4240610fc3610fbb611a90565b610fc3611bf6565b90611d2f565b60006001600160a01b038216611018576040805162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015290519081900360640190fd5b6110206122e7565b600854600f541115611070576040805162461bcd60e51b815260206004820152601460248201527313585e0818d85c1858da5d1e481c995858da195960621b604482015290519081900360640190fd5b600061107a610fa7565b9050600061108661230c565b9050808510156110c75760405162461bcd60e51b8152600401808060200182810382526023815260200180612c406023913960400191505060405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631eec5a9a7f0000000000000000000000000000000000000000000000000000000000000000896040518363ffffffff1660e01b815260040180836001600160a01b031681526020018281526020019250505060206040518083038186803b15801561115e57600080fd5b505afa158015611172573d6000803e3d6000fd5b505050506040513d602081101561118857600080fd5b50519050600061119782610f82565b9050629896808110156111e2576040805162461bcd60e51b815260206004820152600e60248201526d109bdb99081d1bdbc81cdb585b1b60921b604482015290519081900360640190fd5b6111ea611c27565b81111561122f576040805162461bcd60e51b815260206004820152600e60248201526d426f6e6420746f6f206c6172676560901b604482015290519081900360640190fd5b874710611373577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0896040518263ffffffff1660e01b81526004016000604051808303818588803b15801561129157600080fd5b505af11580156112a5573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb7f00000000000000000000000000000000000000000000000000000000000000008a6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561134157600080fd5b505af1158015611355573d6000803e3d6000fd5b505050506040513d602081101561136b57600080fd5b506113c89050565b6113c86001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016337f00000000000000000000000000000000000000000000000000000000000000008b612346565b604080516335106f4960e11b81523060048201526024810183905290516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691636a20de9291604480830192600092919082900301818387803b15801561143657600080fd5b505af115801561144a573d6000803e3d6000fd5b5050600f5461145c92509050836123a6565b600f55604080516080810182526001600160a01b0388166000908152600e6020529190912054819061148e90846123a6565b815260208082018790526009805463ffffffff908116604080860191909152428083166060968701526001600160a01b038d166000908152600e865282902087518155948701516001860155908601516002909401805496909501518216600160201b0267ffffffff000000001994831663ffffffff199097169690961793909316949094179092559054869261152992918116906123a616565b604080518b8152905184917f1fec6dc81f140574bf43f6b1e420ae1dd47928b9d57db8cbd7b8611063b85ae5919081900360200190a46115676119d8565b61156f61230c565b611577610fa7565b6040517f375b221f40939bfd8f49723a17cf7bc6d576ebf72efe2cc3e991826f5b3f390a90600090a46115a8612400565b6115b061250b565b979650505050505050565b6000610f6d6305f5e1006108196115d0611a90565b610fc36119d8565b7f000000000000000000000000000000000000000000000000000000000000000081565b3360009081526020819052604090205460ff1661164e576040805162461bcd60e51b81526020600482018190526024820152600080516020612c20833981519152604482015290519081900360640190fd5b6001600160a01b0381166116935760405162461bcd60e51b8152600401808060200182810382526026815260200180612b926026913960400191505060405180910390fd5b6001600160a01b03811660009081526020819052604090205460ff16156116eb5760405162461bcd60e51b8152600401808060200182810382526025815260200180612c876025913960400191505060405180910390fd5b6001600160a01b038116600081815260208190526040808220805460ff191660011790555133917f55afcb507472af8b6733d5e5c3c14e658463350e0e8cd96ae0768979fa7d27f991a350565b7f000000000000000000000000000000000000000000000000000000000000000081565b3360009081526020819052604090205460ff166117ae576040805162461bcd60e51b81526020600482018190526024820152600080516020612c20833981519152604482015290519081900360640190fd5b818311156117f9576040805162461bcd60e51b8152602060048201526013602482015272496e6372656d656e7420746f6f206c6172676560681b604482015290519081900360640190fd5b6040805160a0810182529415158086526020860185905290850183905263ffffffff91821660608601819052429092166080909501859052600a805460ff19169091179055600b92909255600c55600d805463ffffffff191690911767ffffffff000000001916600160201b909202919091179055565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156118b157600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156118f057600080fd5b61199e7f0000000000000000000000000000000000000000000000000000000000000000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561196157600080fd5b505afa158015611975573d6000803e3d6000fd5b505050506040513d602081101561198b57600080fd5b50516001600160a01b038516919061253d565b506001919050565b600e6020526000908152604090208054600182015460029092015490919063ffffffff80821691600160201b90041684565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a3457600080fd5b505afa158015611a48573d6000803e3d6000fd5b505050506040513d6020811015611a5e57600080fd5b50519050611a8a670de0b6b3a7640000610819610fa2611a84633b9aca00610fc3610f57565b85612158565b91505090565b600080600260009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015611ae157600080fd5b505afa158015611af5573d6000803e3d6000fd5b505050506040513d60a0811015611b0b57600080fd5b506020015191505090565b3360009081526020819052604090205460ff16611b68576040805162461bcd60e51b81526020600482018190526024820152600080516020612c20833981519152604482015290519081900360640190fd5b6001600160a01b038216611b7b57600080fd5b8015611bb05760048054600160a01b60ff60a01b19909116176001600160a01b0319166001600160a01b0384161790556109b6565b6004805460ff60a01b19169055600380546001600160a01b0384166001600160a01b03199091161790555050565b60055460065460075460085460095463ffffffff1685565b6000611c13620186a0610819611c0a6119d8565b60055490611d2f565b600654909150811015610f70575060065490565b6000610f6d620186a06108196005600201547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611c9257600080fd5b505afa158015611ca6573d6000803e3d6000fd5b505050506040513d6020811015611cbc57600080fd5b505190611d2f565b6010546000908190611ce29063ffffffff4281169181169061211616565b600954600f54919250611d079163ffffffff91821691610819919080861690611d2f16565b9150600f54821115611d1957600f5491505b5090565b60105463ffffffff1681565b600f5481565b600082611d3e57506000610bfc565b82820282848281611d4b57fe5b0414611d885760405162461bcd60e51b8152600401808060200182810382526021815260200180612bff6021913960400191505060405180910390fd5b9392505050565b6000611d8883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612594565b600082611e81577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb85846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611e4f57600080fd5b505af1158015611e63573d6000803e3d6000fd5b505050506040513d6020811015611e7957600080fd5b506120cd9050565b600454600160a01b900460ff1615611fa757600480546040805163095ea7b360e01b81526001600160a01b039283169381019390935260248301859052517f00000000000000000000000000000000000000000000000000000000000000009091169163095ea7b39160448083019260209291908290030181600087803b158015611f0b57600080fd5b505af1158015611f1f573d6000803e3d6000fd5b505050506040513d6020811015611f3557600080fd5b50506004805460408051637acb775760e01b81529283018590526001600160a01b0387811660248501529051911691637acb775791604480830192600092919082900301818387803b158015611f8a57600080fd5b505af1158015611f9e573d6000803e3d6000fd5b505050506120cd565b6003546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810185905290517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b15801561201e57600080fd5b505af1158015612032573d6000803e3d6000fd5b505050506040513d602081101561204857600080fd5b505060035460408051637acb775760e01b8152600481018590526001600160a01b03878116602483015291519190921691637acb77579160448083019260209291908290030181600087803b1580156120a057600080fd5b505af11580156120b4573d6000803e3d6000fd5b505050506040513d60208110156120ca57600080fd5b50505b5092915050565b6000611d8883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612636565b6000611d8883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612690565b612160612b7f565b6000821161219f5760405162461bcd60e51b8152600401808060200182810382526026815260200180612bb86026913960400191505060405180910390fd5b826121b95750604080516020810190915260008152610bfc565b71ffffffffffffffffffffffffffffffffffff831161226057600082607085901b816121e157fe5b0490506001600160e01b03811115612240576040805162461bcd60e51b815260206004820152601e60248201527f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f770000604482015290519081900360640190fd5b6040518060200160405280826001600160e01b0316815250915050610bfc565b600061227184600160701b856126ef565b90506001600160e01b03811115612240576040805162461bcd60e51b815260206004820152601e60248201527f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f770000604482015290519081900360640190fd5b516612725dd1d243ab6001600160e01b039091160490565b6122f2610f64611cc4565b600f556010805463ffffffff19164263ffffffff16179055565b6000612320620186a0610819611c0a6119d8565b6006549091508110156123365750600654610f70565b60065415610f7057600060065590565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526123a0908590612784565b50505050565b600082820183811015611d88576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600d546000906124229063ffffffff600160201b82048116918116906123a616565b600b54909150158015906124365750804210155b1561250857600554600a5460ff161561247057600b54600554612458916123a6565b6005819055600c541161246b576000600b555b612492565b600b5460055461247f916120d4565b6005819055600c5410612492576000600b555b600d805467ffffffff000000001916600160201b4263ffffffff1602179055600554600b54600a546040805185815260208101949094528381019290925260ff1615156060830152517fb923e581a0f83128e9e1d8297aa52b18d6744310476e0b54509c054cd7a93b2a916080908290030190a1505b50565b471561253b5761253b7f000000000000000000000000000000000000000000000000000000000000000047612835565b565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261258f908490612784565b505050565b600081836126205760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125e55781810151838201526020016125cd565b50505050905090810190601f1680156126125780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161262c57fe5b0495945050505050565b600081848411156126885760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156125e55781810151838201526020016125cd565b505050900390565b60008363ffffffff168363ffffffff16111582906126885760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156125e55781810151838201526020016125cd565b60008060006126fe8686612924565b915091506000848061270c57fe5b868809905082811115612720576001820391505b8083039250848210612779576040805162461bcd60e51b815260206004820152601a60248201527f46756c6c4d6174683a3a6d756c4469763a206f766572666c6f77000000000000604482015290519081900360640190fd5b6115b0838387612951565b60606127d9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129c19092919063ffffffff16565b80519091501561258f578080602001905160208110156127f857600080fd5b505161258f5760405162461bcd60e51b815260040180806020018281038252602a815260200180612cac602a913960400191505060405180910390fd5b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b602083106128815780518252601f199092019160209182019101612862565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128e3576040519150601f19603f3d011682016040523d82523d6000602084013e6128e8565b606091505b505090508061258f576040805162461bcd60e51b815260206004820152600360248201526253544560e81b604482015290519081900360640190fd5b6000808060001984860990508385029250828103915082811015612949576001820391505b509250929050565b6000818103821680838161296157fe5b04925080858161296d57fe5b04945080816000038161297c57fe5b60028581038087028203028087028203028087028203028087028203028087028203028087028203029586029003909402930460010193909302939093010292915050565b60606129d084846000856129d8565b949350505050565b60606129e385612b45565b612a34576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612a735780518252601f199092019160209182019101612a54565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612ad5576040519150601f19603f3d011682016040523d82523d6000602084013e612ada565b606091505b50915091508115612aee5791506129d09050565b805115612afe5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156125e55781810151838201526020016125cd565b3b151590565b60405180608001604052806000815260200160008152602001600063ffffffff168152602001600063ffffffff1681525090565b6040805160208101909152600081529056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734669786564506f696e743a3a6672616374696f6e3a206469766973696f6e206279207a65726f44656274206d757374206265203020666f7220696e697469616c697a6174696f6e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572536c697070616765206c696d69743a206d6f7265207468616e206d617820707269636556657374696e67206d757374206265206c6f6e676572207468616e20333620686f7572734f776e61626c653a206e6577206f776e657220697320616c72656164792061206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220a5453ea3353051990b93eac48966c8408227d0bb3f74344d1eb120e410d9139c64736f6c63430007050033000000000000000000000000db96f8efd6865644993505318cc08ff9c42fb9ac000000000000000000000000739ca6d71365a08f584c8fc4e1029045fa8abc4b00000000000000000000000000efcbd55b59b5d08f3a7501c0ddad34a57a3611000000000000000000000000b0b4bd94d656353a30773ac883591ddbabc0c0ba000000000000000000000000a950b2580e0b020d0f13e88937367fd0f1458d12

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

000000000000000000000000db96f8efd6865644993505318cc08ff9c42fb9ac000000000000000000000000739ca6d71365a08f584c8fc4e1029045fa8abc4b00000000000000000000000000efcbd55b59b5d08f3a7501c0ddad34a57a3611000000000000000000000000b0b4bd94d656353a30773ac883591ddbabc0c0ba000000000000000000000000a950b2580e0b020d0f13e88937367fd0f1458d12

-----Decoded View---------------
Arg [0] : _OHM (address): 0xdb96f8efd6865644993505318cc08ff9c42fb9ac
Arg [1] : _principle (address): 0x739ca6d71365a08f584c8fc4e1029045fa8abc4b
Arg [2] : _treasury (address): 0x00efcbd55b59b5d08f3a7501c0ddad34a57a3611
Arg [3] : _DAO (address): 0xb0b4bd94d656353a30773ac883591ddbabc0c0ba
Arg [4] : _feed (address): 0xa950b2580e0b020d0f13e88937367fd0f1458d12

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000db96f8efd6865644993505318cc08ff9c42fb9ac
Arg [1] : 000000000000000000000000739ca6d71365a08f584c8fc4e1029045fa8abc4b
Arg [2] : 00000000000000000000000000efcbd55b59b5d08f3a7501c0ddad34a57a3611
Arg [3] : 000000000000000000000000b0b4bd94d656353a30773ac883591ddbabc0c0ba
Arg [4] : 000000000000000000000000a950b2580e0b020d0f13e88937367fd0f1458d12


Deployed ByteCode Sourcemap

22411:17565:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23152:34;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;23152:34:0;;;;;;;;;;;;;;38626:400;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38626:400:0;-1:-1:-1;;;;;38626:400:0;;:::i;:::-;;;;;;;;;;;;;;;;26920:766;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26920:766:0;;;;;;;;;:::i;:::-;;31374:1234;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31374:1234:0;;;;;;;;;;:::i;484:93::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;484:93:0;-1:-1:-1;;;;;484:93:0;;:::i;:::-;;;;;;;;;;;;;;;;;;23551:21;;;;;;;;;;;;;:::i;25858:630::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25858:630:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;23636:24::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23420:22;;;;;;;;;;;;;:::i;38015:439::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38015:439:0;-1:-1:-1;;;;;38015:439:0;;:::i;1053:154::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1053:154:0;-1:-1:-1;;;;;1053:154:0;;:::i;23222:33::-;;;;;;;;;;;;;:::i;26617:160::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26617:160:0;-1:-1:-1;;;;;26617:160:0;;:::i;37347:106::-;;;;;;;;;;;;;:::i;23473:28::-;;;;;;;;;;;;;:::i;35159:161::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35159:161:0;;:::i;36441:140::-;;;;;;;;;;;;;:::i;29002:2221::-;;;;;;;;;;;;;;;;-1:-1:-1;29002:2221:0;;;;;;;;;;;-1:-1:-1;;;;;29002:2221:0;;:::i;37082:166::-;;;;;;;;;;;;;:::i;23299:28::-;;;;;;;;;;;;;:::i;711:330::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;711:330:0;-1:-1:-1;;;;;711:330:0;;:::i;23082:28::-;;;;;;;;;;;;;:::i;27882:441::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27882:441:0;;;;;;;;;;;;;;;;;;;;;:::i;39210:268::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39210:268:0;-1:-1:-1;;;;;39210:268:0;;:::i;23702:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23702:42:0;-1:-1:-1;;;;;23702:42:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36705:270;;;;;;;;;;;;;:::i;36196:140::-;;;;;;;;;;;;;:::i;28456:317::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28456:317:0;;;;;;;;;;:::i;23581:18::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35425:243;;;;;;;;;;;;;:::i;34890:140::-;;;;;;;;;;;;;:::i;37555:297::-;;;;;;;;;;;;;:::i;23877:23::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23795:21;;;;;;;;;;;;;:::i;23152:34::-;;;:::o;38626:400::-;38698:19;38731:18;38752:30;38770:10;38752:16;:30::i;:::-;-1:-1:-1;;;;;38807:22:0;;38793:11;38807:22;;;:8;:22;;;;;:29;38731:51;;-1:-1:-1;38871:5:0;38854:22;;38849:170;;38911:6;38894:23;;38849:170;;;38967:40;39000:5;38967:27;:6;38979:13;38967:10;:27::i;:::-;:31;;:40::i;:::-;38950:57;;38849:170;38626:400;;;;;:::o;26920:766::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;27031:17:::1;27017:10;:31;;;;;;;;;27012:667;;;27090:6;27080;:16;;27071:67;;;;-1:-1:-1::0;;;27071:67:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27153:17:::0;:34;;-1:-1:-1;;27153:34:0::1;;::::0;::::1;;::::0;;27012:667:::1;;;27224:16;27210:10;:30;;;;;;;;;27205:474;;;27282:4;27272:6;:14;;27263:61;;;::::0;;-1:-1:-1;;;27263:61:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;27339:15:::0;:24;;;27205:474:::1;;;27400:14;27386:10;:28;;;;;;;;;27381:298;;;27437:13:::0;:22;;;27381:298:::1;;;27496:18;27482:10;:32;;;;;;;;;27477:202;;;27537:18:::0;:27;;;27477:202:::1;;;27601:13;27587:10;:27;;;;;;;;;27582:97;;;27637:5;:30:::0;;;27582:97:::1;26920:766:::0;;:::o;31374:1234::-;31444:4;31470:16;;:::i;:::-;-1:-1:-1;;;;;;31489:22:0;;;;;;:8;:22;;;;;;;;31470:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31470:41:0;;;;;;;;31543:30;31499:10;31543:16;:30::i;:::-;31522:51;;31668:5;31651:13;:22;31646:955;;-1:-1:-1;;;;;31717:22:0;;;;;;:8;:22;;;;;;;;31710:29;;;;;;;;;;;;;-1:-1:-1;;31710:29:0;;;31805:11;;31779:42;;;;;;;;;;;;;;;;;;;;;;;;;31861:46;31874:10;31886:6;31894:4;:11;;;31861;:46::i;:::-;31854:53;;;;;;31646:955;32040:11;;32026;;32040:45;;32078:5;;32040:32;;32057:13;32040:15;:32::i;:45::-;32026:59;;32170:269;;;;;;;;32202:25;32219:6;32202:4;:11;;;:15;;:25;;;;:::i;:::-;32170:269;;;;32409:4;:14;;;32170:269;;;;32255:70;32275:48;32308:4;:13;;;32283:15;32275:31;;;;:48;;;;:::i;:::-;32255:4;:12;;;:18;;;;:70;;;;:::i;:::-;32170:269;;;;;;32362:15;32170:269;;;;;;;-1:-1:-1;;;;;32145:22:0;;-1:-1:-1;32145:22:0;;;:8;:22;;;;;;;:294;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32145:294:0;-1:-1:-1;;32145:294:0;;;;-1:-1:-1;;32145:294:0;;;;;;;;;;;;;;;;;;32461:65;;;;;;;;;;;;;;32145:22;;32461:65;;;;;;;;32548:41;32561:10;32573:6;32581;32548:11;:41::i;:::-;32541:48;;;;;31374:1234;;;;;:::o;484:93::-;-1:-1:-1;;;;;558:11:0;534:4;558:11;;;;;;;;;;;;;;484:93::o;23551:21::-;;;-1:-1:-1;;;23551:21:0;;;;;:::o;25858:630::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;26106:13:::1;:11;:13::i;:::-;:18:::0;26097:66:::1;;;;-1:-1:-1::0;;;26097:66:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26182:217;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;;;26174:5:::1;:225:::0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26174:225:0;;::::1;::::0;;::::1;::::0;;26410:9:::1;:24:::0;26445:9:::1;:35:::0;;;;::::1;26464:15;26445:35:::0;;::::1;;::::0;;25858:630::o;23636:24::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;23636:24:0;;;;:::o;23420:22::-;;;-1:-1:-1;;;;;23420:22:0;;:::o;38015:439::-;38085:19;38118:16;;:::i;:::-;-1:-1:-1;;;;;;38137:22:0;;;;;;:8;:22;;;;;;;;38118:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38118:41:0;;;;;;;;;;;;38137:22;38194:44;;38201:15;38194:27;;;38118:41;38194:27;:44;:::i;:::-;38264:12;;;;38170:68;;-1:-1:-1;38249:27:0;;38294:11;;38289:158;;38340:44;38375:7;38340:29;:16;38362:5;38340:20;:29::i;:44::-;38323:61;;38289:158;;;38434:1;38417:18;;38289:158;38015:439;;;;;;:::o;1053:154::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;1133:18:0;::::1;1154:5;1133:18:::0;;;::::1;::::0;;;;;;;:26;;-1:-1:-1;;1133:26:0::1;::::0;;1175:24;::::1;::::0;1154:5;1175:24:::1;1053:154:::0;:::o;23222:33::-;;;:::o;26617:160::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;26695:19:0;::::1;26686:30;;;::::0;::::1;;26727:9;:42:::0;;-1:-1:-1;;;;;;26727:42:0::1;-1:-1:-1::0;;;;;26727:42:0;;;::::1;::::0;;;::::1;::::0;;26617:160::o;37347:106::-;37392:4;37417:28;37432:11;:9;:11::i;:::-;37417:9;;;:13;:28::i;:::-;37410:35;;37347:106;;:::o;23473:28::-;;;-1:-1:-1;;;;;23473:28:0;;:::o;35159:161::-;35215:4;35240:72;35306:4;35240:60;:42;35261:6;35269:11;:9;:11::i;:::-;35240:19;:42::i;:::-;:58;:60::i;36441:140::-;36489:11;36523:50;36568:3;36523:39;36546:12;:10;:12::i;:::-;36523:11;:9;:11::i;:::-;:15;;:39::i;29002:2221::-;29132:4;-1:-1:-1;;;;;29159:24:0;;29150:54;;;;;-1:-1:-1;;;29150:54:0;;;;;;;;;;;;-1:-1:-1;;;29150:54:0;;;;;;;;;;;;;;;29217:11;:9;:11::i;:::-;29261:13;;29248:9;;:26;;29239:61;;;;;-1:-1:-1;;;29239:61:0;;;;;;;;;;;;-1:-1:-1;;;29239:61:0;;;;;;;;;;;;;;;29321:15;29339:16;:14;:16::i;:::-;29321:34;;29389:16;29408:12;:10;:12::i;:::-;29389:31;;29455:11;29442:9;:24;;29433:74;;;;-1:-1:-1;;;29433:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29543:10;29567:8;-1:-1:-1;;;;;29556:29:0;;29587:9;29598:7;29556:51;;;;;;;;;;;;;-1:-1:-1;;;;;29556:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29556:51:0;;-1:-1:-1;29618:11:0;29632:18;29556:51;29632:9;:18::i;:::-;29618:32;;29714:8;29704:6;:18;;29695:47;;;;;-1:-1:-1;;;29695:47:0;;;;;;;;;;;;-1:-1:-1;;;29695:47:0;;;;;;;;;;;;;;;29819:11;:9;:11::i;:::-;29809:6;:21;;29800:49;;;;;-1:-1:-1;;;29800:49:0;;;;;;;;;;;;-1:-1:-1;;;29800:49:0;;;;;;;;;;;;;;;30094:7;30069:21;:32;30065:336;;30156:9;-1:-1:-1;;;;;30149:25:0;;30182:7;30149:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30249:9;-1:-1:-1;;;;;30242:26:0;;30269:8;30279:7;30242:45;;;;;;;;;;;;;-1:-1:-1;;;;;30242:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30065:336:0;;-1:-1:-1;30065:336:0;;30320:69;-1:-1:-1;;;;;30328:9:0;30320:36;30358:10;30370:8;30380:7;30320:36;:69::i;:::-;30421:58;;;-1:-1:-1;;;30421:58:0;;30464:4;30421:58;;;;;;;;;;;;-1:-1:-1;;;;;30432:8:0;30421:33;;;;:58;;;;;-1:-1:-1;;30421:58:0;;;;;;;-1:-1:-1;30421:33:0;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30548:9:0;;:22;;-1:-1:-1;30548:9:0;-1:-1:-1;30563:5:0;30548:13;:22::i;:::-;30536:9;:34;30662:209;;;;;;;;-1:-1:-1;;;;;30691:22:0;;-1:-1:-1;30691:22:0;;;:8;:22;;;;;;:29;30662:209;;30691:43;;30726:6;30691:33;:43::i;:::-;30662:209;;;;;;;;;30758:17;;;;;;;30662:209;;;;;;;;30807:15;30662:209;;;;;;;;-1:-1:-1;;;;;30637:22:0;;-1:-1:-1;30637:22:0;;;:8;:22;;;;;:234;;;;;;;;30758:17;30637:234;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;30637:234:0;-1:-1:-1;;30637:234:0;;;-1:-1:-1;;30637:234:0;;;;;;;;;;;;;;;;;;30979:17;;30849:10;;30958:40;;30807:15;30979:17;;;30958:19;:40;:::i;:::-;30928:84;;;;;;;;30950:6;;30928:84;;;;;;;;;;31078:11;:9;:11::i;:::-;31064:12;:10;:12::i;:::-;31046:16;:14;:16::i;:::-;31028:63;;;;;;;31104:8;:6;:8::i;:::-;31155:11;:9;:11::i;:::-;31208:6;29002:2221;-1:-1:-1;;;;;;;29002:2221:0:o;37082:166::-;37139:4;37164:50;37209:3;37164:39;37187:12;:10;:12::i;:::-;37164:11;:9;:11::i;23299:28::-;;;:::o;711:330::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;798:23:0;::::1;789:75;;;;-1:-1:-1::0;;;789:75:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;885:18:0;::::1;:7;:18:::0;;;::::1;::::0;;;;;;;::::1;;884:19;875:70;;;;-1:-1:-1::0;;;875:70:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;956:18:0;::::1;:7;:18:::0;;;::::1;::::0;;;;;;;:25;;-1:-1:-1;;956:25:0::1;977:4;956:25;::::0;;997:36;1010:10:::1;::::0;997:36:::1;::::0;::::1;711:330:::0;:::o;23082:28::-;;;:::o;27882:441::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;28070:7:::1;28056:10;:21;;28047:55;;;::::0;;-1:-1:-1;;;28047:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;28047:55:0;;;;;;;;;;;;;::::1;;28128:187;::::0;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;;28287:15:::1;28128:187:::0;;::::1;::::0;;;;;;;28115:10:::1;:200:::0;;-1:-1:-1;;28115:200:0::1;::::0;;::::1;::::0;;;;;;;;;;;;-1:-1:-1;;28115:200:0::1;::::0;;::::1;-1:-1:-1::0;;28115:200:0::1;-1:-1:-1::0;;;28115:200:0;;::::1;::::0;;;::::1;::::0;;27882:441::o;39210:268::-;39273:4;39310:3;-1:-1:-1;;;;;39300:13:0;:6;-1:-1:-1;;;;;39300:13:0;;;39291:24;;;;;;39345:9;-1:-1:-1;;;;;39335:19:0;:6;-1:-1:-1;;;;;39335:19:0;;;39326:30;;;;;;39367:81;39398:3;39411:6;-1:-1:-1;;;;;39403:26:0;;39439:4;39403:43;;;;;;;;;;;;;-1:-1:-1;;;;;39403:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39403:43:0;-1:-1:-1;;;;;39367:29:0;;;:81;:29;:81::i;:::-;-1:-1:-1;39466:4:0;39210:268;;;:::o;23702:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;23702:42:0;;;;:::o;36705:270::-;36748:15;36780:11;36802:3;-1:-1:-1;;;;;36794:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36794:27:0;;-1:-1:-1;36845:122:0;36961:4;36845:110;:92;36880:24;36899:3;36880:13;:11;:13::i;:24::-;36920:6;36845:19;:92::i;:122::-;36832:135;;36705:270;;:::o;36196:140::-;36239:3;36259:9;36278;;;;;;;;;-1:-1:-1;;;;;36278:9:0;-1:-1:-1;;;;;36278:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36278:27:0;;;;-1:-1:-1;;36196:140:0;:::o;28456:317::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28551:22:0;::::1;28542:33;;;::::0;::::1;;28591:7;28586:180;;;28616:9;:16:::0;;-1:-1:-1;;;;;;;28616:16:0;;::::1;;-1:-1:-1::0;;;;;;28647:24:0::1;-1:-1:-1::0;;;;;28647:24:0;::::1;;::::0;;28586:180:::1;;;28704:9;:17:::0;;-1:-1:-1;;;;28704:17:0::1;::::0;;28736:7:::1;:18:::0;;-1:-1:-1;;;;;28736:18:0;::::1;-1:-1:-1::0;;;;;;28736:18:0;;::::1;;::::0;;28456:317;;:::o;23581:18::-;;;;;;;;;;;;;;:::o;35425:243::-;35468:11;35510:51;35556:3;35510:40;35537:11;:9;:11::i;:::-;35510:5;:21;;:25;:40::i;:51::-;35586:18;;35501:60;;-1:-1:-1;35577:27:0;;35572:89;;;-1:-1:-1;35631:18:0;;35425:243;:::o;34890:140::-;34933:4;34958:64;35014:6;34958:50;34991:5;:15;;;34966:3;-1:-1:-1;;;;;34958:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34958:27:0;;:31;:50::i;37555:297::-;37677:9;;37598:11;;;;37646:42;;37677:9;37653:15;37646:29;;;37677:9;;;37646:29;:42;:::i;:::-;37744:17;;37708:9;;37623:65;;-1:-1:-1;37708:55:0;;37744:17;;;;;37708:30;;:9;:30;;;;:13;:30;:::i;:55::-;37699:64;;37788:9;;37779:6;:18;37774:71;;;37824:9;;37815:18;;37774:71;37555:297;;:::o;23877:23::-;;;;;;:::o;23795:21::-;;;;:::o;2116:250::-;2174:7;2198:6;2194:47;;-1:-1:-1;2228:1:0;2221:8;;2194:47;2265:5;;;2269:1;2265;:5;:1;2289:5;;;;;:10;2281:56;;;;-1:-1:-1;;;2281:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2357:1;2116:250;-1:-1:-1;;;2116:250:0:o;2374:132::-;2432:7;2459:39;2463:1;2466;2459:39;;;;;;;;;;;;;;;;;:3;:39::i;32838:690::-;32927:4;32951:6;32945:551;;33017:3;-1:-1:-1;;;;;33009:22:0;;33033:10;33045:7;33009:45;;;;;;;;;;;;;-1:-1:-1;;;;;33009:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32945:551:0;;-1:-1:-1;32945:551:0;;33133:9;;-1:-1:-1;;;33133:9:0;;;;33128:357;;;33217:13;;;33194:47;;;-1:-1:-1;;;33194:47:0;;-1:-1:-1;;;;;33217:13:0;;;33194:47;;;;;;;;;;;;;;33202:3;33194:21;;;;;;:47;;;;;;;;;;;;;;-1:-1:-1;33194:21:0;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33276:13:0;;;33260:60;;;-1:-1:-1;;;33260:60:0;;;;;;;;-1:-1:-1;;;;;33260:60:0;;;;;;;;;33276:13;;;33260:37;;:60;;;;;33276:13;;33260:60;;;;;;;33276:13;;33260:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33128:357;;;33384:7;;33361:41;;;-1:-1:-1;;;33361:41:0;;-1:-1:-1;;;;;33384:7:0;;;33361:41;;;;;;;;;;;;33369:3;33361:21;;;;;;:41;;;;;;;;;;;;;;;-1:-1:-1;33361:21:0;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33431:7:0;;33421:48;;;-1:-1:-1;;;33421:48:0;;;;;;;;-1:-1:-1;;;;;33421:48:0;;;;;;;;;33431:7;;;;;33421:25;;:48;;;;;33361:41;;33421:48;;;;;;;33431:7;;33421:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33128:357:0;-1:-1:-1;33513:7:0;32838:690;-1:-1:-1;;32838:690:0:o;1429:136::-;1487:7;1514:43;1518:1;1521;1514:43;;;;;;;;;;;;;;;;;:3;:43::i;1773:137::-;1831:6;1857:45;1863:1;1866;1857:45;;;;;;;;;;;;;;;;;:5;:45::i;20207:719::-;20288:16;;:::i;:::-;20339:1;20325:11;:15;20317:66;;;;-1:-1:-1;;;20317:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20398:14;20394:50;;-1:-1:-1;20421:23:0;;;;;;;;;-1:-1:-1;20421:23:0;;20414:30;;20394:50;20461:24;;;20457:462;;20502:14;20547:11;19633:3;20520:23;;;20547:11;20519:39;;;;;;-1:-1:-1;;;;;;20581:21:0;;;20573:64;;;;;-1:-1:-1;;;20573:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20659:26;;;;;;;;20677:6;-1:-1:-1;;;;;20659:26:0;;;;20652:33;;;;;20457:462;20718:14;20735:45;20751:9;-1:-1:-1;;;20768:11:0;20735:15;:45::i;:::-;20718:62;-1:-1:-1;;;;;;20803:21:0;;;20795:64;;;;;-1:-1:-1;;;20795:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;20062:137;20164:7;20175:16;-1:-1:-1;;;;;20159:13:0;;;:32;;20062:137::o;34610:135::-;34663:28;34678:11;:9;:11::i;34663:28::-;34651:9;:40;34702:9;:35;;-1:-1:-1;;34702:35:0;34721:15;34702:35;;;;;34610:135::o;35795:327::-;35836:11;35870:51;35916:3;35870:40;35897:11;:9;:11::i;35870:51::-;35946:18;;35861:60;;-1:-1:-1;35937:27:0;;35932:183;;;-1:-1:-1;35991:18:0;;35932:183;;;36040:18;;:23;36035:80;;36102:1;36081:18;:22;35795:327;:::o;16730:205::-;16858:68;;;-1:-1:-1;;;;;16858:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16858:68:0;-1:-1:-1;;;16858:68:0;;;16831:96;;16851:5;;16831:19;:96::i;:::-;16730:205;;;;:::o;1240:181::-;1298:7;1330:5;;;1354:6;;;;1346:46;;;;;-1:-1:-1;;;1346:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;33620:929;33705:17;;33659:18;;33680:44;;33705:17;-1:-1:-1;;;33680:19:0;;;;;33705:17;;;33680:23;:44;:::i;:::-;33740:15;;33659:65;;-1:-1:-1;33740:20:0;;;;:56;;;33783:13;33764:15;:32;;33740:56;33736:806;;;33829:5;:21;33870:10;:14;;;33865:494;;;33957:15;;33930:5;:21;:44;;:25;:44::i;:::-;33906:5;:68;;;34023:17;;-1:-1:-1;33993:112:0;;34084:1;34066:15;:19;33993:112;33865:494;;;34196:15;;34169:5;:21;:44;;:25;:44::i;:::-;34145:5;:68;;;34262:17;;-1:-1:-1;34232:112:0;;34323:1;34305:15;:19;34232:112;34373:19;:45;;-1:-1:-1;;34373:45:0;-1:-1:-1;;;34402:15:0;34373:45;;;;;;34474:5;:21;34497:15;;34373:10;34514:14;34438:92;;;;;;;;;;;;;;;;;;;;34514:14;;34438:92;;;;;;;;;;;;;;;;;33736:806;;33620:929;:::o;39486:123::-;39531:21;:25;39527:74;;39558:43;39574:3;39579:21;39558:15;:43::i;:::-;39486:123::o;16545:177::-;16655:58;;;-1:-1:-1;;;;;16655:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16655:58:0;-1:-1:-1;;;16655:58:0;;;16628:86;;16648:5;;16628:19;:86::i;:::-;16545:177;;;:::o;2514:189::-;2600:7;2635:12;2628:5;2620:28;;;;-1:-1:-1;;;2620:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2659:9;2675:1;2671;:5;;;;;;;2514:189;-1:-1:-1;;;;;2514:189:0:o;1573:192::-;1659:7;1695:12;1687:6;;;;1679:29;;;;-1:-1:-1;;;1679:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1731:5:0;;;1573:192::o;1918:190::-;2004:6;2036:1;2031:6;;:1;:6;;;;2039:12;2023:29;;;;;-1:-1:-1;;;2023:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19107:347;19213:7;19234:9;19245;19258:13;19266:1;19269;19258:7;:13::i;:::-;19233:38;;;;19282:10;19308:1;19295:15;;;;;19305:1;19302;19295:15;19282:28;;19330:1;19325:2;:6;19321:18;;;19338:1;19333:6;;;;19321:18;19355:2;19350:7;;;;19380:1;19376;:5;19368:44;;;;;-1:-1:-1;;;19368:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19430:16;19438:1;19441;19444;19430:7;:16::i;17948:420::-;18031:23;18057:69;18085:4;18057:69;;;;;;;;;;;;;;;;;18065:5;-1:-1:-1;;;;;18057:27:0;;;:69;;;;;:::i;:::-;18141:17;;18031:95;;-1:-1:-1;18141:21:0;18137:224;;18283:10;18272:30;;;;;;;;;;;;;;;-1:-1:-1;18272:30:0;18264:85;;;;-1:-1:-1;;;18264:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39805:168;39918:12;;;39878;39918;;;;;;;;;-1:-1:-1;;;;;39896:7:0;;;39911:5;;39896:35;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;39896:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39877:54;;;39950:7;39942:23;;;;;-1:-1:-1;;;39942:23:0;;;;;;;;;;;;-1:-1:-1;;;39942:23:0;;;;;;;;;;;;;;18399:210;18460:9;;;-1:-1:-1;;18516:1:0;18513;18506:25;18493:38;;18550:1;18546;:5;18542:9;;18571:1;18566:2;:6;18562:10;;18592:1;18587:2;:6;18583:18;;;18600:1;18595:6;;;;18583:18;18399:210;;;;;;:::o;18617:482::-;18723:7;18762:2;;;18758:6;;;18763:1;18758:6;18775:9;;;;;;;18800:4;18795:9;;;;;;;;;18835:4;18827;18826:5;;18825:14;;;;;18884:1;:9;;;18913:5;;;18909:9;;18904:14;18938:5;;;18934:9;;18929:14;18963:5;;;18959:9;;18954:14;18988:5;;;18984:9;;18979:14;19013:5;;;19009:9;;19004:14;19038:5;;;19034:9;;19029:14;19063:5;;;19059:9;;19054:14;;;18825;;18842:1;18825:18;18820:24;;;;18815:29;;;;19086:5;;18617:482;-1:-1:-1;;18617:482:0:o;4215:232::-;4354:12;4386:53;4409:6;4417:4;4423:1;4426:12;4386:22;:53::i;:::-;4379:60;4215:232;-1:-1:-1;;;;4215:232:0:o;5273:1025::-;5449:12;5482:18;5493:6;5482:10;:18::i;:::-;5474:60;;;;;-1:-1:-1;;;5474:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5608:12;5622:23;5649:6;-1:-1:-1;;;;;5649:11:0;5669:8;5680:4;5649:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5649:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5607:78;;;;5700:7;5696:595;;;5731:10;-1:-1:-1;5724:17:0;;-1:-1:-1;5724:17:0;5696:595;5845:17;;:21;5841:439;;6108:10;6102:17;6169:15;6156:10;6152:2;6148:19;6141:44;6056:148;6244:20;;-1:-1:-1;;;6244:20:0;;;;;;;;;;;;;;;;;6251:12;;6244:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3388:233;3566:20;3605:8;;;3388:233::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::o

Swarm Source

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