Contract 0x858636f350fc812c3c88d1578925c502727ab323 1

Contract Overview

Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x12885d04a4783471b6807184bf449caeb087ae0f710e49dac7e379afe28a2097Redeem101119782022-01-27 5:51:062 hrs 19 mins ago0xffa26a18c8ec68c87959e92a94e1ed2dcbe12679 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00055037525
0x7233fc79e65acf972faf85b7977995fb2f666e5a5583819af56153f4859c4c40Redeem101014462022-01-27 0:06:508 hrs 4 mins ago0xf29693b22ae9180d6a3e0862c4893a9a1dff0b08 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00782667 30
0x0a0b75e81da38bd4bf6751951cf995187a52dadb9d5db8c1a2eed7da2381d96cRedeem100963592022-01-26 21:17:4210 hrs 53 mins ago0x0a64c99a2aa5465ecbb01bbe2822b5681e694ade IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.007833728218 30.02705449
0xcedc700d5a4759b1497ee30b3b8dcce3f250ae27c6eb00e6bcf1a6e467675724Redeem100936782022-01-26 19:49:4812 hrs 21 mins ago0x9963f53ee13a504b8487b672f34864fdb85d3604 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.012334908867 50.596658862
0xbee6c8491cd4b6cf2a10e50a6c2a231c75d03ffb788f404d49914339e2cf1a6cRedeem100824912022-01-26 13:51:0718 hrs 19 mins ago0xffa26a18c8ec68c87959e92a94e1ed2dcbe12679 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00055037525
0xfb353e60310bdcdcfe182e51d50930878f772d5e7fbbc5d2730ef0bfce3a0777Redeem100806332022-01-26 12:50:1019 hrs 20 mins ago0xdee803213c64ba0cd92fda48f9b9d1d5fe69bdca IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00782667 30
0x0b0d79bc7c1125bddb325af77d8b4e98c9e8e058c9fe88cfedf2e10df40e06d7Redeem100681122022-01-26 5:51:041 day 2 hrs ago0xffa26a18c8ec68c87959e92a94e1ed2dcbe12679 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00055037525
0xa18d1800d5f45491a4211ef4b11199c627b1c7fbdd78b44511b45bb41de60245Redeem100593582022-01-26 1:00:561 day 7 hrs ago0xbd4984124b021bcf56fe34e86f364f4727b55af3 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.01071015768 145.338748019
0x48a39df6a49ae9383551557ff00d0f19c3259a2fb38f8c91279aff91cb332549Redeem100574982022-01-25 23:59:251 day 8 hrs ago0xb36f53d5e2cd5870157e5d78f2a3707966432a23 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.008664417258117.577685994
0x46a9db9cefeabf64cefd7be4462064f11ac57181d9f7ad031a7382424e181bcaRedeem100535632022-01-25 21:51:121 day 10 hrs ago0xffa26a18c8ec68c87959e92a94e1ed2dcbe12679 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00055555753725.235409398
0xc48c0719329bb7b875f32a1d92294688ee154800563aebab563b80662042b4f8Redeem100532002022-01-25 21:39:181 day 10 hrs ago0xe72a54c36c255946616756b2efa3be2c9369c7d0 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00731367 30
0x967de63aaed0f0312d57a9bdaaf90bef43c8eed35fc225aa5e08795aed4e2ceaRedeem100525792022-01-25 21:19:321 day 10 hrs ago0x3060bfd7604b30dae39a1b43b9773b0816aed1ea IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00731367 30
0xe9d2a9883d108e14ff5152f6ea5e8cd6ec2c201c368a4daa5c020b2de7c91afdRedeem100430122022-01-25 16:03:041 day 16 hrs ago0xe147a0e83c1c6dd4bbb35afa9f064d6894cb1f28 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00221073 30
0x4371e7aae332bd06cbe48b8175347381c1265c5f591036de9e0930a87f3b30a5Redeem100390062022-01-25 13:51:041 day 18 hrs ago0xffa26a18c8ec68c87959e92a94e1ed2dcbe12679 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00055037525
0x4f979ed2313123a0c2d18bb3a3721fbdf2e5a02e154fc25b6bc758c1d4a23970Redeem100345442022-01-25 11:22:591 day 20 hrs ago0x0b33284c2455ce5453568eb7593474099cb512b0 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00221073 30
0x1aad41f7604ee5087d4a87727affd8486d778b9f14ace3cdfb6dba48d5681428Redeem100311692022-01-25 9:30:111 day 22 hrs ago0xa2883ef9287aa30ec8311065c6590bddda049be6 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00221073 30
0x902f259c38edfadb140ec90698b9244e52fd8781d410d53c66bc7e7a983b13d1Redeem100291842022-01-25 8:23:461 day 23 hrs ago0x6ef44612afeb85a982d7d1507470d04999254a34 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.0073136730
0x8a7c3facf3e04aa1c7aa07496c094d63cdd81830e955315229133fda37b0afe6Redeem100246572022-01-25 5:51:042 days 2 hrs ago0xffa26a18c8ec68c87959e92a94e1ed2dcbe12679 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00055037525
0x67a72b28f8a82ad9554dff6616f763e34bce2a05f9cfb5235d9ddbfb9bb1af10Redeem100228452022-01-25 4:50:562 days 3 hrs ago0xf689a61ad856ba9bb4fd53ed0d1f30473082c9ec IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00731367 30
0xedf1cf3fc95e72d8bc1056ba61d1a5137d8cba7afb5d389ff5cb455ebcd1484aRedeem100114632022-01-24 22:35:182 days 9 hrs ago0x8ca7b65287b48680183d158236d479f74755c31b IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00731367 30
0xc6bc5d55eeaf1ffa4fa79c8d71cc2147a8d3f9ac11985affe116cdd917b60e44Redeem100101202022-01-24 21:51:082 days 10 hrs ago0xffa26a18c8ec68c87959e92a94e1ed2dcbe12679 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00055870724325.378480301
0x29335dc2c8bf7ae5e5dc0bcb4200a03bfb2575b2536bd42eeb144b2116d368ceRedeem100049542022-01-24 19:02:002 days 13 hrs ago0xe5b1fb66ed888fe5a0f30748248aa026a61ec480 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.009964141337 40.871989046
0x5f8fa11e4a798cb0c3a0aa4cdbdadfbeaaf264b93765c13d0e3930d2118d140dRedeem100036312022-01-24 18:17:062 days 13 hrs ago0x33e5bf87c9d07553b5c92935d42ea70a536b163e IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.007436958708 30.505718914
0xc1016349952812db6f44077511646dcd3383b5de73e51759a7fb60a2e44fabe9Redeem100010612022-01-24 16:54:232 days 15 hrs ago0x3489306c81eae20c81897679cb115fb1c1d101ef IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00731367 30
0x78d4322e8b936b26315282d1e069c05265f676bb612cefe62ae7ab39738cdc84Redeem99979712022-01-24 15:14:262 days 16 hrs ago0xbeba5afc24f306a5ac0c444ae34539bde3e48af0 IN  0x858636f350fc812c3c88d1578925c502727ab3230 AVAX0.00792809097 32.520298169
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TimeBondDepository

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 snowtrace.io on 2021-12-22
*/

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

interface IOwnable {
  function policy() external view returns (address);

  function renounceManagement() external;
  
  function pushManagement( address newOwner_ ) external;
  
  function pullManagement() external;
}

contract Ownable is IOwnable {

    address internal _owner;
    address internal _newOwner;

    event OwnershipPushed(address indexed previousOwner, address indexed newOwner);
    event OwnershipPulled(address indexed previousOwner, address indexed newOwner);

    constructor () {
        _owner = msg.sender;
        emit OwnershipPushed( address(0), _owner );
    }

    function policy() public view override returns (address) {
        return _owner;
    }

    modifier onlyPolicy() {
        require( _owner == msg.sender, "Ownable: caller is not the owner" );
        _;
    }

    function renounceManagement() public virtual override onlyPolicy() {
        emit OwnershipPushed( _owner, address(0) );
        _owner = address(0);
    }

    function pushManagement( address newOwner_ ) public virtual override onlyPolicy() {
        require( newOwner_ != address(0), "Ownable: new owner is the zero address");
        emit OwnershipPushed( _owner, newOwner_ );
        _newOwner = newOwner_;
    }
    
    function pullManagement() public virtual override {
        require( msg.sender == _newOwner, "Ownable: must be new owner to pull");
        emit OwnershipPulled( _owner, _newOwner );
        _owner = _newOwner;
    }
}

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 TimeBondDepository 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 Time; // token given as payment for bond
    address public immutable principle; // token used to create bond
    address public immutable treasury; // mints Time 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 fee; // as % of bond payout, in hundreths. ( 500 = 5% = 0.05 for every 1 paid)
        uint maxDebt; // 9 decimal debt ratio, max % total supply created as debt
        uint32 vestingTerm; // in seconds
    }

    // Info for bond holder
    struct Bond {
        uint payout; // Time 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 _Time,
        address _principle,
        address _treasury, 
        address _DAO,
        address _feed
    ) {
        require( _Time != address(0) );
        Time = _Time;
        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 _fee,
        uint _initialDebt,
        uint32 _vestingTerm
    ) external onlyPolicy() {
        require( currentDebt() == 0, "Debt must be 0 for initialization" );
        terms = Terms ({
            controlVariable: _controlVariable,
            vestingTerm: _vestingTerm,
            minimumPrice: _minimumPrice,
            maxPayout: _maxPayout,
            fee: _fee,
            maxDebt: _maxDebt
        });
        totalDebt = _initialDebt;
        lastDecay = uint32(block.timestamp);
    }



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

    enum PARAMETER { VESTING, PAYOUT, FEE, DEBT, MINPRICE }
    /**
     *  @notice set parameters for new bonds
     *  @param _parameter PARAMETER
     *  @param _input uint
     */
    function setBondTerms ( PARAMETER _parameter, uint _input ) external onlyPolicy() {
        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.FEE ) { // 2
            require( _input <= 10000, "DAO fee cannot exceed payout" );
            terms.fee = _input;
        } else if ( _parameter == PARAMETER.DEBT ) { // 3
            terms.maxDebt = _input;
        } else if ( _parameter == PARAMETER.MINPRICE ) { // 4
            terms.minimumPrice = _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 onlyPolicy() {
        require( _increment <= terms.controlVariable.mul( 25 ).div( 1000 ), "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 onlyPolicy() {
        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 returns ( uint ) {
        require( _depositor != address(0), "Invalid address" );
        require(msg.sender == _depositor, "LFNA");

        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 Time ( underflow protection )
        require( payout <= maxPayout(), "Bond too large"); // size protection because there is no slippage

        // fees are calculated
        uint fee = payout.mul( terms.fee ).div( 10000 );
        IERC20( principle ).safeTransferFrom( msg.sender, treasury, _amount );
        ITreasury( treasury ).mintRewards( address(this), payout.add(fee) );
        if ( fee != 0 ) { // fee is transferred to dao 
            IERC20( Time ).safeTransfer( DAO, fee ); 
        }
        
        // 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
        return payout; 
    }

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

        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( Time ).transfer( _recipient, _amount ); // send payout
        } else { // if user wants to stake
            if ( useHelper ) { // use if staking warmup is 0
                IERC20( Time ).approve( stakingHelper, _amount );
                IStakingHelper( stakingHelper ).stake( _amount, _recipient );
            } else {
                IERC20( Time ).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( Time ).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 Time supply
     *  @return debtRatio_ uint
     */
    function debtRatio() public view returns ( uint debtRatio_ ) {   
        uint supply = IERC20( Time ).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 Time 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 Time) to the DAO
     *  @return bool
     */
    function recoverLostToken( address _token ) external returns ( bool ) {
        require( _token != Time );
        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":"_Time","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":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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipPulled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipPushed","type":"event"},{"inputs":[],"name":"DAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Time","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":"nonpayable","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":"_fee","type":"uint256"},{"internalType":"uint256","name":"_initialDebt","type":"uint256"},{"internalType":"uint32","name":"_vestingTerm","type":"uint32"}],"name":"initializeBondTerms","outputs":[],"stateMutability":"nonpayable","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":"policy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"principle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pullManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"pushManagement","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":[],"name":"renounceManagement","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 TimeBondDepository.PARAMETER","name":"_parameter","type":"uint8"},{"internalType":"uint256","name":"_input","type":"uint256"}],"name":"setBondTerms","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":"fee","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"}]

6101006040523480156200001257600080fd5b5060405162002bf738038062002bf7833981810160405260a08110156200003857600080fd5b50805160208201516040808401516060850151608090950151600080546001600160a01b031916331780825593519596949592949391926001600160a01b0392909216917fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba908290a36001600160a01b038516620000b557600080fd5b6001600160601b0319606086901b166080526001600160a01b038416620000db57600080fd5b6001600160601b0319606085901b1660a0526001600160a01b0383166200010157600080fd5b6001600160601b0319606084901b1660c0526001600160a01b0382166200012757600080fd5b6001600160601b0319606083901b1660e0526001600160a01b0381166200014d57600080fd5b600280546001600160a01b039092166001600160a01b03199092169190911790555050505060805160601c60a05160601c60c05160601c60e05160601c6129f8620001ff6000398061125f528061140852806115d3525080610dda5280610fb5528061116b528061119a5250806105c25280610fe45280611148528061159152508061123d528061155252806116bb5280611a1d5280611b0d5280611be05280611cc75280611dd952506129f86000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80638dbdbe6d1161011a578063d24378eb116100ad578063e0176de81161007c578063e0176de81461057f578063e392a26214610587578063f5c2ab5b1461058f578063f8e157ea146105b0578063fc7b9c18146105b857610206565b8063d24378eb14610500578063d4d863ce14610508578063d502562514610536578063d7ccfb0b1461057757610206565b8063b4abccba116100e9578063b4abccba14610439578063cd1234b31461045f578063cea55f57146104b1578063cf37a891146104b957610206565b80638dbdbe6d146103c0578063904b3ece146103f257806398fabd3a146103fa578063ae9832cf1461040257610206565b806346f68ee91161019d57806361d027b31161016c57806361d027b314610383578063759076e51461038b57806377b81895146103935780637927ebf81461039b578063844b5c7c146103b857610206565b806346f68ee9146103275780634cf088d91461034d578063507930ec146103555780635a96ac0a1461037b57610206565b80631e321a0f116101d95780631e321a0f146102795780631feed31f1461029f5780632f3f470a146102cd578063451ee4a1146102e957610206565b8063016a42841461020b57806301b88ee81461022f5780630505c8c914610267578063089208d81461026f575b600080fd5b6102136105c0565b604080516001600160a01b039092168252519081900360200190f35b6102556004803603602081101561024557600080fd5b50356001600160a01b03166105e4565b60408051918252519081900360200190f35b61021361063d565b61027761064d565b005b6102776004803603604081101561028f57600080fd5b5060ff81351690602001356106e4565b610255600480360360408110156102b557600080fd5b506001600160a01b03813516906020013515156108c7565b6102d5610b51565b604080519115158252519081900360200190f35b6102f1610b61565b60408051951515865260208601949094528484019290925263ffffffff9081166060850152166080830152519081900360a00190f35b6102776004803603602081101561033d57600080fd5b50356001600160a01b0316610b87565b610213610c74565b6102556004803603602081101561036b57600080fd5b50356001600160a01b0316610c83565b610277610d2e565b610213610dd8565b610255610dfc565b610213610e17565b610255600480360360208110156103b157600080fd5b5035610e26565b610255610e4b565b610255600480360360608110156103d657600080fd5b50803590602081013590604001356001600160a01b0316610e6d565b6102556113e9565b610213611406565b6102776004803603608081101561041857600080fd5b5080351515906020810135906040810135906060013563ffffffff1661142a565b6102d56004803603602081101561044f57600080fd5b50356001600160a01b031661154e565b6104856004803603602081101561047557600080fd5b50356001600160a01b0316611684565b60408051948552602085019390935263ffffffff91821684840152166060830152519081900360800190f35b6102556116b6565b610277600480360360e08110156104cf57600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c0013563ffffffff1661176e565b610255611874565b6102776004803603604081101561051e57600080fd5b506001600160a01b03813516906020013515156118fa565b61053e6119bd565b604080519687526020870195909552858501939093526060850191909152608084015263ffffffff1660a0830152519081900360c00190f35b6102556119d8565b610255611a09565b610255611aa6565b610597611aff565b6040805163ffffffff9092168252519081900360200190f35b610213611b0b565b610255611b2f565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806105f083610c83565b6001600160a01b0384166000908152600f6020526040902054909150612710821061061d57809250610636565b61063361271061062d8385611b35565b90611b95565b92505b5050919050565b6000546001600160a01b03165b90565b6000546001600160a01b0316331461069a576040805162461bcd60e51b81526020600482018190526024820152600080516020612932833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610731576040805162461bcd60e51b81526020600482018190526024820152600080516020612932833981519152604482015290519081900360640190fd5b600082600481111561073f57fe5b14156107a1576201fa408110156107875760405162461bcd60e51b81526004018080602001828103825260248152602001806129756024913960400191505060405180910390fd5b600a805463ffffffff191663ffffffff83161790556108c3565b60018260048111156107af57fe5b1415610816576103e881111561080c576040805162461bcd60e51b815260206004820181905260248201527f5061796f75742063616e6e6f742062652061626f766520312070657263656e74604482015290519081900360640190fd5b60078190556108c3565b600282600481111561082457fe5b141561088b57612710811115610881576040805162461bcd60e51b815260206004820152601c60248201527f44414f206665652063616e6e6f7420657863656564207061796f757400000000604482015290519081900360640190fd5b60088190556108c3565b600382600481111561089957fe5b14156108a95760098190556108c3565b60048260048111156108b757fe5b14156108c35760068190555b5050565b6000336001600160a01b0384161461090b576040805162461bcd60e51b81526020600482015260026024820152614e4160f01b604482015290519081900360640190fd5b61091361283b565b506001600160a01b0383166000908152600f602090815260408083208151608081018352815481526001820154938101939093526002015463ffffffff80821692840192909252600160201b90041660608201529061097185610c83565b90506127108110610a06576001600160a01b0385166000818152600f6020908152604080832083815560018101849055600201805467ffffffffffffffff19169055855181519081529182019290925281517f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b1929181900390910190a26109fd85858460000151611bd7565b92505050610b4b565b8151600090610a1d906127109061062d9085611b35565b90506040518060800160405280610a41838660000151611eda90919063ffffffff16565b815260200184602001518152602001610a89610a7086606001514263ffffffff16611f1c90919063ffffffff16565b866040015163ffffffff16611f1c90919063ffffffff16565b63ffffffff90811682524281166020928301526001600160a01b0389166000818152600f8452604090819020855180825586860151600183015586830151600290920180546060909801518616600160201b0267ffffffff00000000199390961663ffffffff19909816979097179190911693909317909455835185815292830191909152825190927f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b1928290030190a2610b45868683611bd7565b93505050505b92915050565b600454600160a01b900460ff1681565b600b54600c54600d54600e5460ff9093169263ffffffff80821691600160201b90041685565b6000546001600160a01b03163314610bd4576040805162461bcd60e51b81526020600482018190526024820152600080516020612932833981519152604482015290519081900360640190fd5b6001600160a01b038116610c195760405162461bcd60e51b81526004018080602001828103825260268152602001806128826026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba91a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b6000610c8d61283b565b506001600160a01b0382166000908152600f602090815260408083208151608081018352815481526001820154938101939093526002015463ffffffff80821692840192909252600160201b9004811660608301819052919291610cf6914281169190611eda16565b604083015190915063ffffffff168015610d2157610d1a8161062d84612710611b35565b9350610d26565b600093505b505050919050565b6001546001600160a01b03163314610d775760405162461bcd60e51b81526004018080602001828103825260228152602001806128a86022913960400191505060405180910390fd5b600154600080546040516001600160a01b0393841693909116917faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d91a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610e12610e09611aa6565b60105490611eda565b905090565b6004546001600160a01b031681565b6000610b4b655af3107a400061062d610e4685610e416119d8565b611f5e565b6120d5565b6000610e12620f4240610e67610e5f611874565b610e676119d8565b90611b35565b60006001600160a01b038216610ebc576040805162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015290519081900360640190fd5b336001600160a01b03831614610f02576040805162461bcd60e51b815260206004808301919091526024820152634c464e4160e01b604482015290519081900360640190fd5b610f0a6120ed565b6009546010541115610f5a576040805162461bcd60e51b815260206004820152601460248201527313585e0818d85c1858da5d1e481c995858da195960621b604482015290519081900360640190fd5b6000610f64610e4b565b90506000610f70612112565b905080851015610fb15760405162461bcd60e51b81526004018080602001828103825260238152602001806129526023913960400191505060405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631eec5a9a7f0000000000000000000000000000000000000000000000000000000000000000896040518363ffffffff1660e01b815260040180836001600160a01b031681526020018281526020019250505060206040518083038186803b15801561104857600080fd5b505afa15801561105c573d6000803e3d6000fd5b505050506040513d602081101561107257600080fd5b50519050600061108182610e26565b9050629896808110156110cc576040805162461bcd60e51b815260206004820152600e60248201526d109bdb99081d1bdbc81cdb585b1b60921b604482015290519081900360640190fd5b6110d4611a09565b811115611119576040805162461bcd60e51b815260206004820152600e60248201526d426f6e6420746f6f206c6172676560901b604482015290519081900360640190fd5b600061113961271061062d60056003015485611b3590919063ffffffff16565b90506111906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016337f00000000000000000000000000000000000000000000000000000000000000008c61214c565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016636a20de92306111ca85856121ac565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561121057600080fd5b505af1158015611224573d6000803e3d6000fd5b5050505080600014611284576112846001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083612206565b60105461129190846121ac565b601055604080516080810182526001600160a01b0389166000908152600f602052919091205481906112c390856121ac565b81526020808201889052600a805463ffffffff908116604080860191909152428083166060968701526001600160a01b038e166000908152600f865282902087518155948701516001860155908601516002909401805496909501518216600160201b0267ffffffff000000001994831663ffffffff199097169690961793909316949094179092559054879261135e92918116906121ac16565b604080518c8152905185917f1fec6dc81f140574bf43f6b1e420ae1dd47928b9d57db8cbd7b8611063b85ae5919081900360200190a461139c6116b6565b6113a4612112565b6113ac610e4b565b6040517f375b221f40939bfd8f49723a17cf7bc6d576ebf72efe2cc3e991826f5b3f390a90600090a46113dd61225d565b50979650505050505050565b6000610e126305f5e10061062d6113fe611874565b610e676116b6565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b03163314611477576040805162461bcd60e51b81526020600482018190526024820152600080516020612932833981519152604482015290519081900360640190fd5b60055461148d906103e89061062d906019611b35565b8311156114d7576040805162461bcd60e51b8152602060048201526013602482015272496e6372656d656e7420746f6f206c6172676560681b604482015290519081900360640190fd5b6040805160a0810182529415158086526020860185905290850183905263ffffffff91821660608601819052429092166080909501859052600b805460ff19169091179055600c92909255600d55600e805463ffffffff191690911767ffffffff000000001916600160201b909202919091179055565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561158f57600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156115ce57600080fd5b61167c7f0000000000000000000000000000000000000000000000000000000000000000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561163f57600080fd5b505afa158015611653573d6000803e3d6000fd5b505050506040513d602081101561166957600080fd5b50516001600160a01b0385169190612206565b506001919050565b600f6020526000908152604090208054600182015460029092015490919063ffffffff80821691600160201b90041684565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561171257600080fd5b505afa158015611726573d6000803e3d6000fd5b505050506040513d602081101561173c57600080fd5b50519050611768670de0b6b3a764000061062d610e46611762633b9aca00610e67610dfc565b85611f5e565b91505090565b6000546001600160a01b031633146117bb576040805162461bcd60e51b81526020600482018190526024820152600080516020612932833981519152604482015290519081900360640190fd5b6117c3610dfc565b156117ff5760405162461bcd60e51b81526004018080602001828103825260218152602001806128f06021913960400191505060405180910390fd5b6040805160c08101825288815260208101889052908101869052606081018490526080810185905263ffffffff91821660a0909101819052600597909755600695909555600793909355600855600955600a805463ffffffff1990811690941790556010556011805490921642909116179055565b600080600260009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b1580156118c557600080fd5b505afa1580156118d9573d6000803e3d6000fd5b505050506040513d60a08110156118ef57600080fd5b506020015191505090565b6000546001600160a01b03163314611947576040805162461bcd60e51b81526020600482018190526024820152600080516020612932833981519152604482015290519081900360640190fd5b6001600160a01b03821661195a57600080fd5b801561198f5760048054600160a01b60ff60a01b19909116176001600160a01b0319166001600160a01b0384161790556108c3565b6004805460ff60a01b19169055600380546001600160a01b0384166001600160a01b03199091161790555050565b600554600654600754600854600954600a5463ffffffff1686565b60006119f5620186a061062d6119ec6116b6565b60055490611b35565b60065490915081101561064a575060065490565b6000610e12620186a061062d6005600201547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a7457600080fd5b505afa158015611a88573d6000803e3d6000fd5b505050506040513d6020811015611a9e57600080fd5b505190611b35565b6011546000908190611ac49063ffffffff42811691811690611f1c16565b600a54601054919250611ae99163ffffffff9182169161062d919080861690611b3516565b9150601054821115611afb5760105491505b5090565b60115463ffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b60105481565b600082611b4457506000610b4b565b82820282848281611b5157fe5b0414611b8e5760405162461bcd60e51b81526004018080602001828103825260218152602001806129116021913960400191505060405180910390fd5b9392505050565b6000611b8e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612368565b600082611c87577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb85846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611c5557600080fd5b505af1158015611c69573d6000803e3d6000fd5b505050506040513d6020811015611c7f57600080fd5b50611ed39050565b600454600160a01b900460ff1615611dad57600480546040805163095ea7b360e01b81526001600160a01b039283169381019390935260248301859052517f00000000000000000000000000000000000000000000000000000000000000009091169163095ea7b39160448083019260209291908290030181600087803b158015611d1157600080fd5b505af1158015611d25573d6000803e3d6000fd5b505050506040513d6020811015611d3b57600080fd5b50506004805460408051637acb775760e01b81529283018590526001600160a01b0387811660248501529051911691637acb775791604480830192600092919082900301818387803b158015611d9057600080fd5b505af1158015611da4573d6000803e3d6000fd5b50505050611ed3565b6003546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810185905290517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b158015611e2457600080fd5b505af1158015611e38573d6000803e3d6000fd5b505050506040513d6020811015611e4e57600080fd5b505060035460408051637acb775760e01b8152600481018590526001600160a01b03878116602483015291519190921691637acb77579160448083019260209291908290030181600087803b158015611ea657600080fd5b505af1158015611eba573d6000803e3d6000fd5b505050506040513d6020811015611ed057600080fd5b50505b5092915050565b6000611b8e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061240a565b6000611b8e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612464565b611f6661286f565b60008211611fa55760405162461bcd60e51b81526004018080602001828103825260268152602001806128ca6026913960400191505060405180910390fd5b82611fbf5750604080516020810190915260008152610b4b565b71ffffffffffffffffffffffffffffffffffff831161206657600082607085901b81611fe757fe5b0490506001600160e01b03811115612046576040805162461bcd60e51b815260206004820152601e60248201527f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f770000604482015290519081900360640190fd5b6040518060200160405280826001600160e01b0316815250915050610b4b565b600061207784600160701b856124c3565b90506001600160e01b03811115612046576040805162461bcd60e51b815260206004820152601e60248201527f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f770000604482015290519081900360640190fd5b516612725dd1d243ab6001600160e01b039091160490565b6120f8610e09611aa6565b6010556011805463ffffffff19164263ffffffff16179055565b6000612126620186a061062d6119ec6116b6565b60065490915081101561213c575060065461064a565b6006541561064a57600060065590565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526121a6908590612563565b50505050565b600082820183811015611b8e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612258908490612563565b505050565b600e5460009061227f9063ffffffff600160201b82048116918116906121ac16565b600c54909150158015906122935750804210155b1561236557600554600b5460ff16156122cd57600c546005546122b5916121ac565b6005819055600d54116122c8576000600c555b6122ef565b600c546005546122dc91611eda565b6005819055600d54106122ef576000600c555b600e805467ffffffff000000001916600160201b4263ffffffff1602179055600554600c54600b546040805185815260208101949094528381019290925260ff1615156060830152517fb923e581a0f83128e9e1d8297aa52b18d6744310476e0b54509c054cd7a93b2a916080908290030190a1505b50565b600081836123f45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123b95781810151838201526020016123a1565b50505050905090810190601f1680156123e65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161240057fe5b0495945050505050565b6000818484111561245c5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156123b95781810151838201526020016123a1565b505050900390565b60008363ffffffff168363ffffffff161115829061245c5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156123b95781810151838201526020016123a1565b60008060006124d28686612614565b91509150600084806124e057fe5b8688099050828111156124f4576001820391505b808303925084821061254d576040805162461bcd60e51b815260206004820152601a60248201527f46756c6c4d6174683a3a6d756c4469763a206f766572666c6f77000000000000604482015290519081900360640190fd5b612558838387612641565b979650505050505050565b60606125b8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166126b19092919063ffffffff16565b805190915015612258578080602001905160208110156125d757600080fd5b50516122585760405162461bcd60e51b815260040180806020018281038252602a815260200180612999602a913960400191505060405180910390fd5b6000808060001984860990508385029250828103915082811015612639576001820391505b509250929050565b6000818103821680838161265157fe5b04925080858161265d57fe5b04945080816000038161266c57fe5b60028581038087028203028087028203028087028203028087028203028087028203028087028203029586029003909402930460010193909302939093010292915050565b60606126c084846000856126c8565b949350505050565b60606126d385612835565b612724576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106127635780518252601f199092019160209182019101612744565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146127c5576040519150601f19603f3d011682016040523d82523d6000602084013e6127ca565b606091505b509150915081156127de5791506126c09050565b8051156127ee5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156123b95781810151838201526020016123a1565b3b151590565b60405180608001604052806000815260200160008152602001600063ffffffff168152602001600063ffffffff1681525090565b6040805160208101909152600081529056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a206d757374206265206e6577206f776e657220746f2070756c6c4669786564506f696e743a3a6672616374696f6e3a206469766973696f6e206279207a65726f44656274206d757374206265203020666f7220696e697469616c697a6174696f6e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572536c697070616765206c696d69743a206d6f7265207468616e206d617820707269636556657374696e67206d757374206265206c6f6e676572207468616e20333620686f7572735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220f526bc5b0d1c34bfb5fc1b1c9ee9a7e3cbd6bf6988ca2b559b03ff143eff31d764736f6c63430007050033000000000000000000000000b54f16fb19478766a268f172c9480f8da1a7c9c300000000000000000000000049d5c2bdffac6ce2bfdb6640f4f80f226bc10bab0000000000000000000000001c46450211cb2646cc1da3c5242422967ed9e04c00000000000000000000000078a9e536ebda08b5b9edbe5785c9d1d50fa3278c000000000000000000000000976b3d034e162d8bd72d6b9c989d545b839003b0

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

000000000000000000000000b54f16fb19478766a268f172c9480f8da1a7c9c300000000000000000000000049d5c2bdffac6ce2bfdb6640f4f80f226bc10bab0000000000000000000000001c46450211cb2646cc1da3c5242422967ed9e04c00000000000000000000000078a9e536ebda08b5b9edbe5785c9d1d50fa3278c000000000000000000000000976b3d034e162d8bd72d6b9c989d545b839003b0

-----Decoded View---------------
Arg [0] : _Time (address): 0xb54f16fb19478766a268f172c9480f8da1a7c9c3
Arg [1] : _principle (address): 0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab
Arg [2] : _treasury (address): 0x1c46450211cb2646cc1da3c5242422967ed9e04c
Arg [3] : _DAO (address): 0x78a9e536ebda08b5b9edbe5785c9d1d50fa3278c
Arg [4] : _feed (address): 0x976b3d034e162d8bd72d6b9c989d545b839003b0

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000b54f16fb19478766a268f172c9480f8da1a7c9c3
Arg [1] : 00000000000000000000000049d5c2bdffac6ce2bfdb6640f4f80f226bc10bab
Arg [2] : 0000000000000000000000001c46450211cb2646cc1da3c5242422967ed9e04c
Arg [3] : 00000000000000000000000078a9e536ebda08b5b9edbe5785c9d1d50fa3278c
Arg [4] : 000000000000000000000000976b3d034e162d8bd72d6b9c989d545b839003b0


Deployed ByteCode Sourcemap

22781:17494:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23524:34;;;:::i;:::-;;;;-1:-1:-1;;;;;23524:34:0;;;;;;;;;;;;;;38923:400;;;;;;;;;;;;;;;;-1:-1:-1;38923:400:0;-1:-1:-1;;;;;38923:400:0;;:::i;:::-;;;;;;;;;;;;;;;;693:89;;;:::i;918:158::-;;;:::i;:::-;;27260:828;;;;;;;;;;;;;;;;-1:-1:-1;27260:828:0;;;;;;;;;:::i;31604:1294::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31604:1294:0;;;;;;;;;;:::i;23924:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;24009:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1084:260;;;;;;;;;;;;;;;;-1:-1:-1;1084:260:0;-1:-1:-1;;;;;1084:260:0;;:::i;23793:22::-;;;:::i;38311:439::-;;;;;;;;;;;;;;;;-1:-1:-1;38311:439:0;-1:-1:-1;;;;;38311:439:0;;:::i;1356:221::-;;;:::i;23594:33::-;;;:::i;37643:106::-;;;:::i;23846:28::-;;;:::i;35453:161::-;;;;;;;;;;;;;;;;-1:-1:-1;35453:161:0;;:::i;36735:140::-;;;:::i;29442:2011::-;;;;;;;;;;;;;;;;-1:-1:-1;29442:2011:0;;;;;;;;;;;-1:-1:-1;;;;;29442:2011:0;;:::i;37378:166::-;;;:::i;23672:28::-;;;:::i;28284:478::-;;;;;;;;;;;;;;;;-1:-1:-1;28284:478:0;;;;;;;;;;;;;;;;;;;;;:::i;39508:269::-;;;;;;;;;;;;;;;;-1:-1:-1;39508:269:0;-1:-1:-1;;;;;39508:269:0;;:::i;24075:42::-;;;;;;;;;;;;;;;;-1:-1:-1;24075:42:0;-1:-1:-1;;;;;24075:42:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37000:271;;;:::i;26329:675::-;;;;;;;;;;;;;;;;-1:-1:-1;26329:675:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;36490:140::-;;;:::i;28895:318::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28895:318:0;;;;;;;;;;:::i;23954:18::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35719:243;;;:::i;35183:141::-;;;:::i;37851:297::-;;;:::i;24250:23::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23453:29;;;:::i;24168:21::-;;;:::i;23524:34::-;;;:::o;38923:400::-;38995:19;39028:18;39049:30;39067:10;39049:16;:30::i;:::-;-1:-1:-1;;;;;39104:22:0;;39090:11;39104:22;;;:8;:22;;;;;:29;39028:51;;-1:-1:-1;39168:5:0;39151:22;;39146:170;;39208:6;39191:23;;39146:170;;;39264:40;39297:5;39264:27;:6;39276:13;39264:10;:27::i;:::-;:31;;:40::i;:::-;39247:57;;39146:170;38923:400;;;;;:::o;693:89::-;741:7;768:6;-1:-1:-1;;;;;768:6:0;693:89;;:::o;918:158::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;1034:1:::1;1018:6:::0;;1001:37:::1;::::0;-1:-1:-1;;;;;1018:6:0;;::::1;::::0;1001:37:::1;::::0;1034:1;;1001:37:::1;1066:1;1049:19:::0;;-1:-1:-1;;;;;;1049:19:0::1;::::0;;918:158::o;27260:828::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;27372:17:::1;27358:10;:31;;;;;;;;;27353:728;;;27431:6;27421;:16;;27412:67;;;;-1:-1:-1::0;;;27412:67:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27494:17:::0;:34;;-1:-1:-1;;27494:34:0::1;;::::0;::::1;;::::0;;27353:728:::1;;;27565:16;27551:10;:30;;;;;;;;;27546:535;;;27623:4;27613:6;:14;;27604:61;;;::::0;;-1:-1:-1;;;27604:61:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;27680:15:::0;:24;;;27546:535:::1;;;27741:13;27727:10;:27;;;;;;;;;27722:359;;;27796:5;27786:6;:15;;27777:58;;;::::0;;-1:-1:-1;;;27777:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;27850:9:::0;:18;;;27722:359:::1;;;27905:14;27891:10;:28;;;;;;;;;27886:195;;;27942:13:::0;:22;;;27886:195:::1;;;28001:18;27987:10;:32;;;;;;;;;27982:99;;;28042:18:::0;:27;;;27982:99:::1;27260:828:::0;;:::o;31604:1294::-;31674:4;31700:10;-1:-1:-1;;;;;31700:24:0;;;31692:39;;;;;-1:-1:-1;;;31692:39:0;;;;;;;;;;;;-1:-1:-1;;;31692:39:0;;;;;;;;;;;;;;;31749:16;;:::i;:::-;-1:-1:-1;;;;;;31768:22:0;;;;;;:8;:22;;;;;;;;31749:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31749:41:0;;;;;;;;31892:30;31778:10;31892:16;:30::i;:::-;31871:51;;31958:5;31941:13;:22;31936:955;;-1:-1:-1;;;;;32007:22:0;;;;;;:8;:22;;;;;;;;32000:29;;;;;;;;;;;;;-1:-1:-1;;32000:29:0;;;32095:11;;32069:42;;;;;;;;;;;;;;;;;;;;;;;;;32151:46;32164:10;32176:6;32184:4;:11;;;32151;:46::i;:::-;32144:53;;;;;;31936:955;32330:11;;32316;;32330:45;;32368:5;;32330:32;;32347:13;32330:15;:32::i;:45::-;32316:59;;32460:269;;;;;;;;32492:25;32509:6;32492:4;:11;;;:15;;:25;;;;:::i;:::-;32460:269;;;;32699:4;:14;;;32460:269;;;;32545:70;32565:48;32598:4;:13;;;32573:15;32565:31;;;;:48;;;;:::i;:::-;32545:4;:12;;;:18;;;;:70;;;;:::i;:::-;32460:269;;;;;;32652:15;32460:269;;;;;;;-1:-1:-1;;;;;32435:22:0;;-1:-1:-1;32435:22:0;;;:8;:22;;;;;;;:294;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32435:294:0;-1:-1:-1;;32435:294:0;;;;-1:-1:-1;;32435:294:0;;;;;;;;;;;;;;;;;;32751:65;;;;;;;;;;;;;;32435:22;;32751:65;;;;;;;;32838:41;32851:10;32863:6;32871;32838:11;:41::i;:::-;32831:48;;;;;31604:1294;;;;;:::o;23924:21::-;;;-1:-1:-1;;;23924:21:0;;;;;:::o;24009:24::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;24009:24:0;;;;:::o;1084:260::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;1186:23:0;::::1;1177:75;;;;-1:-1:-1::0;;;1177:75:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1285:6;::::0;;1268:36:::1;::::0;-1:-1:-1;;;;;1268:36:0;;::::1;::::0;1285:6;::::1;::::0;1268:36:::1;::::0;::::1;1315:9;:21:::0;;-1:-1:-1;;;;;;1315:21:0::1;-1:-1:-1::0;;;;;1315:21:0;;;::::1;::::0;;;::::1;::::0;;1084:260::o;23793:22::-;;;-1:-1:-1;;;;;23793:22:0;;:::o;38311:439::-;38381:19;38414:16;;:::i;:::-;-1:-1:-1;;;;;;38433:22:0;;;;;;:8;:22;;;;;;;;38414:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38414:41:0;;;;;;;;;;;;38433:22;38490:44;;38497:15;38490:27;;;38414:41;38490:27;:44;:::i;:::-;38560:12;;;;38466:68;;-1:-1:-1;38545:27:0;;38590:11;;38585:158;;38636:44;38671:7;38636:29;:16;38658:5;38636:20;:29::i;:44::-;38619:61;;38585:158;;;38730:1;38713:18;;38585:158;38311:439;;;;;;:::o;1356:221::-;1440:9;;-1:-1:-1;;;;;1440:9:0;1426:10;:23;1417:71;;;;-1:-1:-1;;;1417:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1529:9;;;1521:6;;1504:36;;-1:-1:-1;;;;;1529:9:0;;;;1521:6;;;;1504:36;;;1560:9;;;1551:18;;-1:-1:-1;;;;;;1551:18:0;-1:-1:-1;;;;;1560:9:0;;;1551:18;;;;;;1356:221::o;23594:33::-;;;:::o;37643:106::-;37688:4;37713:28;37728:11;:9;:11::i;:::-;37713:9;;;:13;:28::i;:::-;37706:35;;37643:106;:::o;23846:28::-;;;-1:-1:-1;;;;;23846:28:0;;:::o;35453:161::-;35509:4;35534:72;35600:4;35534:60;:42;35555:6;35563:11;:9;:11::i;:::-;35534:19;:42::i;:::-;:58;:60::i;36735:140::-;36783:11;36817:50;36862:3;36817:39;36840:12;:10;:12::i;:::-;36817:11;:9;:11::i;:::-;:15;;:39::i;29442:2011::-;29564:4;-1:-1:-1;;;;;29591:24:0;;29582:54;;;;;-1:-1:-1;;;29582:54:0;;;;;;;;;;;;-1:-1:-1;;;29582:54:0;;;;;;;;;;;;;;;29655:10;-1:-1:-1;;;;;29655:24:0;;;29647:41;;;;;-1:-1:-1;;;29647:41:0;;;;;;;;;;;;;;;-1:-1:-1;;;29647:41:0;;;;;;;;;;;;;;;29701:11;:9;:11::i;:::-;29745:13;;29732:9;;:26;;29723:61;;;;;-1:-1:-1;;;29723:61:0;;;;;;;;;;;;-1:-1:-1;;;29723:61:0;;;;;;;;;;;;;;;29805:15;29823:16;:14;:16::i;:::-;29805:34;;29873:16;29892:12;:10;:12::i;:::-;29873:31;;29939:11;29926:9;:24;;29917:74;;;;-1:-1:-1;;;29917:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30027:10;30051:8;-1:-1:-1;;;;;30040:29:0;;30071:9;30082:7;30040:51;;;;;;;;;;;;;-1:-1:-1;;;;;30040:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30040:51:0;;-1:-1:-1;30102:11:0;30116:18;30040:51;30116:9;:18::i;:::-;30102:32;;30198:8;30188:6;:18;;30179:47;;;;;-1:-1:-1;;;30179:47:0;;;;;;;;;;;;-1:-1:-1;;;30179:47:0;;;;;;;;;;;;;;;30304:11;:9;:11::i;:::-;30294:6;:21;;30285:49;;;;;-1:-1:-1;;;30285:49:0;;;;;;;;;;;;-1:-1:-1;;;30285:49:0;;;;;;;;;;;;;;;30427:8;30438:36;30467:5;30438:23;30450:5;:9;;;30438:6;:10;;:23;;;;:::i;:36::-;30427:47;-1:-1:-1;30485:69:0;-1:-1:-1;;;;;30493:9:0;30485:36;30523:10;30535:8;30545:7;30485:36;:69::i;:::-;-1:-1:-1;;;;;30576:8:0;30565:33;;30608:4;30615:15;:6;30626:3;30615:10;:15::i;:::-;30565:67;;;;;;;;;;;;;-1:-1:-1;;;;;30565:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30648:3;30655:1;30648:8;30643:113;;30704:39;-1:-1:-1;;;;;30712:4:0;30704:27;30733:3;30738;30704:27;:39::i;:::-;30824:9;;:22;;30839:5;30824:13;:22::i;:::-;30812:9;:34;30938:209;;;;;;;;-1:-1:-1;;;;;30967:22:0;;-1:-1:-1;30967:22:0;;;:8;:22;;;;;;:29;30938:209;;30967:43;;31002:6;30967:33;:43::i;:::-;30938:209;;;;;;;;;31034:17;;;;;;;30938:209;;;;;;;;31083:15;30938:209;;;;;;;;-1:-1:-1;;;;;30913:22:0;;-1:-1:-1;30913:22:0;;;:8;:22;;;;;:234;;;;;;;;31034:17;30913:234;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;30913:234:0;-1:-1:-1;;30913:234:0;;;-1:-1:-1;;30913:234:0;;;;;;;;;;;;;;;;;;31255:17;;31125:10;;31234:40;;31083:15;31255:17;;;31234:19;:40;:::i;:::-;31204:84;;;;;;;;31226:6;;31204:84;;;;;;;;;;31354:11;:9;:11::i;:::-;31340:12;:10;:12::i;:::-;31322:16;:14;:16::i;:::-;31304:63;;;;;;;31380:8;:6;:8::i;:::-;-1:-1:-1;31438:6:0;29442:2011;-1:-1:-1;;;;;;;29442:2011:0:o;37378:166::-;37435:4;37460:50;37505:3;37460:39;37483:12;:10;:12::i;:::-;37460:11;:9;:11::i;23672:28::-;;;:::o;28284:478::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;28473:5:::1;:21:::0;:43:::1;::::0;28510:4:::1;::::0;28473:31:::1;::::0;28500:2:::1;28473:25;:31::i;:43::-;28459:10;:57;;28450:91;;;::::0;;-1:-1:-1;;;28450:91:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;28450:91:0;;;;;;;;;;;;;::::1;;28567:187;::::0;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;;28726:15:::1;28567:187:::0;;::::1;::::0;;;;;;;28554:10:::1;:200:::0;;-1:-1:-1;;28554:200:0::1;::::0;;::::1;::::0;;;;;;;;;;;;-1:-1:-1;;28554:200:0::1;::::0;;::::1;-1:-1:-1::0;;28554:200:0::1;-1:-1:-1::0;;;28554:200:0;;::::1;::::0;;;::::1;::::0;;28284:478::o;39508:269::-;39571:4;39608;-1:-1:-1;;;;;39598:14:0;:6;-1:-1:-1;;;;;39598:14:0;;;39589:25;;;;;;39644:9;-1:-1:-1;;;;;39634:19:0;:6;-1:-1:-1;;;;;39634:19:0;;;39625:30;;;;;;39666:81;39697:3;39710:6;-1:-1:-1;;;;;39702:26:0;;39738:4;39702:43;;;;;;;;;;;;;-1:-1:-1;;;;;39702:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39702:43:0;-1:-1:-1;;;;;39666:29:0;;;:81;:29;:81::i;:::-;-1:-1:-1;39765:4:0;39508:269;;;:::o;24075:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;24075:42:0;;;;:::o;37000:271::-;37043:15;37075:11;37097:4;-1:-1:-1;;;;;37089:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37089:28:0;;-1:-1:-1;37141:122:0;37257:4;37141:110;:92;37176:24;37195:3;37176:13;:11;:13::i;:24::-;37216:6;37141:19;:92::i;:122::-;37128:135;;37000:271;;:::o;26329:675::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;26598:13:::1;:11;:13::i;:::-;:18:::0;26589:66:::1;;;;-1:-1:-1::0;;;26589:66:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26674:241;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;;;26666:5:::1;:249:::0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26666:249:0;;::::1;::::0;;::::1;::::0;;26926:9:::1;:24:::0;26961:9:::1;:35:::0;;;;::::1;26980:15;26961:35:::0;;::::1;;::::0;;26329:675::o;36490:140::-;36533:3;36553:9;36572;;;;;;;;;-1:-1:-1;;;;;36572:9:0;-1:-1:-1;;;;;36572:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36572:27:0;;;;-1:-1:-1;;36490:140:0;:::o;28895:318::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28991:22:0;::::1;28982:33;;;::::0;::::1;;29031:7;29026:180;;;29056:9;:16:::0;;-1:-1:-1;;;;;;;29056:16:0;;::::1;;-1:-1:-1::0;;;;;;29087:24:0::1;-1:-1:-1::0;;;;;29087:24:0;::::1;;::::0;;29026:180:::1;;;29144:9;:17:::0;;-1:-1:-1;;;;29144:17:0::1;::::0;;29176:7:::1;:18:::0;;-1:-1:-1;;;;;29176:18:0;::::1;-1:-1:-1::0;;;;;;29176:18:0;;::::1;;::::0;;28895:318;;:::o;23954:18::-;;;;;;;;;;;;;;;;:::o;35719:243::-;35762:11;35804:51;35850:3;35804:40;35831:11;:9;:11::i;:::-;35804:5;:21;;:25;:40::i;:51::-;35880:18;;35795:60;;-1:-1:-1;35871:27:0;;35866:89;;;-1:-1:-1;35925:18:0;;35719:243;:::o;35183:141::-;35226:4;35251:65;35308:6;35251:51;35285:5;:15;;;35259:4;-1:-1:-1;;;;;35251:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35251:28:0;;:32;:51::i;37851:297::-;37973:9;;37894:11;;;;37942:42;;37973:9;37949:15;37942:29;;;37973:9;;;37942:29;:42;:::i;:::-;38040:17;;38004:9;;37919:65;;-1:-1:-1;38004:55:0;;38040:17;;;;;38004:30;;:9;:30;;;;:13;:30;:::i;:55::-;37995:64;;38084:9;;38075:6;:18;38070:71;;;38120:9;;38111:18;;38070:71;37851:297;;:::o;24250:23::-;;;;;;:::o;23453:29::-;;;:::o;24168:21::-;;;;:::o;2486:250::-;2544:7;2568:6;2564:47;;-1:-1:-1;2598:1:0;2591:8;;2564:47;2635:5;;;2639:1;2635;:5;:1;2659:5;;;;;:10;2651:56;;;;-1:-1:-1;;;2651:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2727:1;2486:250;-1:-1:-1;;;2486:250:0:o;2744:132::-;2802:7;2829:39;2833:1;2836;2829:39;;;;;;;;;;;;;;;;;:3;:39::i;33128:693::-;33217:4;33241:6;33235:554;;33307:4;-1:-1:-1;;;;;33299:23:0;;33324:10;33336:7;33299:46;;;;;;;;;;;;;-1:-1:-1;;;;;33299:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33235:554:0;;-1:-1:-1;33235:554:0;;33424:9;;-1:-1:-1;;;33424:9:0;;;;33419:359;;;33509:13;;;33485:48;;;-1:-1:-1;;;33485:48:0;;-1:-1:-1;;;;;33509:13:0;;;33485:48;;;;;;;;;;;;;;33493:4;33485:22;;;;;;:48;;;;;;;;;;;;;;-1:-1:-1;33485:22:0;:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33568:13:0;;;33552:60;;;-1:-1:-1;;;33552:60:0;;;;;;;;-1:-1:-1;;;;;33552:60:0;;;;;;;;;33568:13;;;33552:37;;:60;;;;;33568:13;;33552:60;;;;;;;33568:13;;33552:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33419:359;;;33677:7;;33653:42;;;-1:-1:-1;;;33653:42:0;;-1:-1:-1;;;;;33677:7:0;;;33653:42;;;;;;;;;;;;33661:4;33653:22;;;;;;:42;;;;;;;;;;;;;;;-1:-1:-1;33653:22:0;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33724:7:0;;33714:48;;;-1:-1:-1;;;33714:48:0;;;;;;;;-1:-1:-1;;;;;33714:48:0;;;;;;;;;33724:7;;;;;33714:25;;:48;;;;;33653:42;;33714:48;;;;;;;33724:7;;33714:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33419:359:0;-1:-1:-1;33806:7:0;33128:693;-1:-1:-1;;33128:693:0:o;1799:136::-;1857:7;1884:43;1888:1;1891;1884:43;;;;;;;;;;;;;;;;;:3;:43::i;2143:137::-;2201:6;2227:45;2233:1;2236;2227:45;;;;;;;;;;;;;;;;;:5;:45::i;20577:719::-;20658:16;;:::i;:::-;20709:1;20695:11;:15;20687:66;;;;-1:-1:-1;;;20687:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20768:14;20764:50;;-1:-1:-1;20791:23:0;;;;;;;;;-1:-1:-1;20791:23:0;;20784:30;;20764:50;20831:24;;;20827:462;;20872:14;20917:11;20003:3;20890:23;;;20917:11;20889:39;;;;;;-1:-1:-1;;;;;;20951:21:0;;;20943:64;;;;;-1:-1:-1;;;20943:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21029:26;;;;;;;;21047:6;-1:-1:-1;;;;;21029:26:0;;;;21022:33;;;;;20827:462;21088:14;21105:45;21121:9;-1:-1:-1;;;21138:11:0;21105:15;:45::i;:::-;21088:62;-1:-1:-1;;;;;;21173:21:0;;;21165:64;;;;;-1:-1:-1;;;21165:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;20432:137;20534:7;20545:16;-1:-1:-1;;;;;20529:13:0;;;:32;;20432:137::o;34903:135::-;34956:28;34971:11;:9;:11::i;34956:28::-;34944:9;:40;34995:9;:35;;-1:-1:-1;;34995:35:0;35014:15;34995:35;;;;;34903:135::o;36089:327::-;36130:11;36164:51;36210:3;36164:40;36191:11;:9;:11::i;36164:51::-;36240:18;;36155:60;;-1:-1:-1;36231:27:0;;36226:183;;;-1:-1:-1;36285:18:0;;36226:183;;;36334:18;;:23;36329:80;;36396:1;36375:18;:22;36089:327;:::o;17100:205::-;17228:68;;;-1:-1:-1;;;;;17228:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17228:68:0;-1:-1:-1;;;17228:68:0;;;17201:96;;17221:5;;17201:19;:96::i;:::-;17100:205;;;;:::o;1610:181::-;1668:7;1700:5;;;1724:6;;;;1716:46;;;;;-1:-1:-1;;;1716:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;16915:177;17025:58;;;-1:-1:-1;;;;;17025:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17025:58:0;-1:-1:-1;;;17025:58:0;;;16998:86;;17018:5;;16998:19;:86::i;:::-;16915:177;;;:::o;33913:929::-;33998:17;;33952:18;;33973:44;;33998:17;-1:-1:-1;;;33973:19:0;;;;;33998:17;;;33973:23;:44;:::i;:::-;34033:15;;33952:65;;-1:-1:-1;34033:20:0;;;;:56;;;34076:13;34057:15;:32;;34033:56;34029:806;;;34122:5;:21;34163:10;:14;;;34158:494;;;34250:15;;34223:5;:21;:44;;:25;:44::i;:::-;34199:5;:68;;;34316:17;;-1:-1:-1;34286:112:0;;34377:1;34359:15;:19;34286:112;34158:494;;;34489:15;;34462:5;:21;:44;;:25;:44::i;:::-;34438:5;:68;;;34555:17;;-1:-1:-1;34525:112:0;;34616:1;34598:15;:19;34525:112;34666:19;:45;;-1:-1:-1;;34666:45:0;-1:-1:-1;;;34695:15:0;34666:45;;;;;;34767:5;:21;34790:15;;34666:10;34807:14;34731:92;;;;;;;;;;;;;;;;;;;;34807:14;;34731:92;;;;;;;;;;;;;;;;;34029:806;;33913:929;:::o;2884:189::-;2970:7;3005:12;2998:5;2990:28;;;;-1:-1:-1;;;2990:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3029:9;3045:1;3041;:5;;;;;;;2884:189;-1:-1:-1;;;;;2884:189:0:o;1943:192::-;2029:7;2065:12;2057:6;;;;2049:29;;;;-1:-1:-1;;;2049:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2101:5:0;;;1943:192::o;2288:190::-;2374:6;2406:1;2401:6;;:1;:6;;;;2409:12;2393:29;;;;;-1:-1:-1;;;2393:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19477:347;19583:7;19604:9;19615;19628:13;19636:1;19639;19628:7;:13::i;:::-;19603:38;;;;19652:10;19678:1;19665:15;;;;;19675:1;19672;19665:15;19652:28;;19700:1;19695:2;:6;19691:18;;;19708:1;19703:6;;;;19691:18;19725:2;19720:7;;;;19750:1;19746;:5;19738:44;;;;;-1:-1:-1;;;19738:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19800:16;19808:1;19811;19814;19800:7;:16::i;:::-;19793:23;19477:347;-1:-1:-1;;;;;;;19477:347:0:o;18318:420::-;18401:23;18427:69;18455:4;18427:69;;;;;;;;;;;;;;;;;18435:5;-1:-1:-1;;;;;18427:27:0;;;:69;;;;;:::i;:::-;18511:17;;18401:95;;-1:-1:-1;18511:21:0;18507:224;;18653:10;18642:30;;;;;;;;;;;;;;;-1:-1:-1;18642:30:0;18634:85;;;;-1:-1:-1;;;18634:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18769:210;18830:9;;;-1:-1:-1;;18886:1:0;18883;18876:25;18863:38;;18920:1;18916;:5;18912:9;;18941:1;18936:2;:6;18932:10;;18962:1;18957:2;:6;18953:18;;;18970:1;18965:6;;;;18953:18;18769:210;;;;;;:::o;18987:482::-;19093:7;19132:2;;;19128:6;;;19133:1;19128:6;19145:9;;;;;;;19170:4;19165:9;;;;;;;;;19205:4;19197;19196:5;;19195:14;;;;;19254:1;:9;;;19283:5;;;19279:9;;19274:14;19308:5;;;19304:9;;19299:14;19333:5;;;19329:9;;19324:14;19358:5;;;19354:9;;19349:14;19383:5;;;19379:9;;19374:14;19408:5;;;19404:9;;19399:14;19433:5;;;19429:9;;19424:14;;;19195;;19212:1;19195:18;19190:24;;;;19185:29;;;;19456:5;;18987:482;-1:-1:-1;;18987:482:0:o;4585:232::-;4724:12;4756:53;4779:6;4787:4;4793:1;4796:12;4756:22;:53::i;:::-;4749:60;4585:232;-1:-1:-1;;;;4585:232:0:o;5643:1025::-;5819:12;5852:18;5863:6;5852:10;:18::i;:::-;5844:60;;;;;-1:-1:-1;;;5844:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5978:12;5992:23;6019:6;-1:-1:-1;;;;;6019:11:0;6039:8;6050:4;6019:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6019:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5977:78;;;;6070:7;6066:595;;;6101:10;-1:-1:-1;6094:17:0;;-1:-1:-1;6094:17:0;6066:595;6215:17;;:21;6211:439;;6478:10;6472:17;6539:15;6526:10;6522:2;6518:19;6511:44;6426:148;6614:20;;-1:-1:-1;;;6614:20:0;;;;;;;;;;;;;;;;;6621:12;;6614:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3758:233;3936:20;3975:8;;;3758:233::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://f526bc5b0d1c34bfb5fc1b1c9ee9a7e3cbd6bf6988ca2b559b03ff143eff31d7
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.