ETH Price: $3,157.44 (-2.60%)

Contract

0x10C0f93f64e3C8D0a1b0f4B87d6155fd9e89D08D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Redeem138868992021-12-27 11:02:491113 days ago1640602969IN
OlympusDAO: LUSD Bond V1
0 ETH0.0031032646.50414096
Redeem138117352021-12-15 19:49:581125 days ago1639597798IN
OlympusDAO: LUSD Bond V1
0 ETH0.0057295108
Redeem137322282021-12-03 7:20:221137 days ago1638516022IN
OlympusDAO: LUSD Bond V1
0 ETH0.00682128102.22057855
Redeem137085702021-11-29 12:18:391141 days ago1638188319IN
OlympusDAO: LUSD Bond V1
0 ETH0.013816662.92631636
Redeem136825332021-11-25 8:53:191145 days ago1637830399IN
OlympusDAO: LUSD Bond V1
0 ETH0.00787397117.99576487
Redeem136304212021-11-17 2:53:321154 days ago1637117612IN
OlympusDAO: LUSD Bond V1
0 ETH0.007668114.90924897
Redeem135923562021-11-11 2:40:241160 days ago1636598424IN
OlympusDAO: LUSD Bond V1
0 ETH0.00813848121.95953868
Redeem135870812021-11-10 7:13:481160 days ago1636528428IN
OlympusDAO: LUSD Bond V1
0 ETH0.00795765150
Redeem135869312021-11-10 6:38:371160 days ago1636526317IN
OlympusDAO: LUSD Bond V1
0 ETH0.00866554129.85785304
Redeem135864632021-11-10 4:48:091160 days ago1636519689IN
OlympusDAO: LUSD Bond V1
0 ETH0.00894217134.00329712
Redeem135846142021-11-09 21:43:101161 days ago1636494190IN
OlympusDAO: LUSD Bond V1
0 ETH0.00941296145
Redeem135840622021-11-09 19:34:381161 days ago1636486478IN
OlympusDAO: LUSD Bond V1
0 ETH0.02439781111.1077565
Redeem135827812021-11-09 14:54:081161 days ago1636469648IN
OlympusDAO: LUSD Bond V1
0 ETH0.01293442193.85834184
Redeem135827292021-11-09 14:41:001161 days ago1636468860IN
OlympusDAO: LUSD Bond V1
0 ETH0.00941296145
Redeem135819762021-11-09 11:51:111161 days ago1636458671IN
OlympusDAO: LUSD Bond V1
0 ETH0.00957773143.52757058
Redeem135813222021-11-09 9:16:201161 days ago1636449380IN
OlympusDAO: LUSD Bond V1
0 ETH0.02369586102.07133981
Redeem135804972021-11-09 6:06:331161 days ago1636437993IN
OlympusDAO: LUSD Bond V1
0 ETH0.00759545143.19966162
Redeem135804972021-11-09 6:06:331161 days ago1636437993IN
OlympusDAO: LUSD Bond V1
0 ETH0.00761227143.48966162
Redeem135794612021-11-09 2:09:091162 days ago1636423749IN
OlympusDAO: LUSD Bond V1
0 ETH0.01460632225
Redeem135783852021-11-08 22:21:121162 days ago1636410072IN
OlympusDAO: LUSD Bond V1
0 ETH0.00714389110.04656821
Redeem135783732021-11-08 22:19:021162 days ago1636409942IN
OlympusDAO: LUSD Bond V1
0 ETH0.00747295115.13679476
Redeem135783142021-11-08 22:06:461162 days ago1636409206IN
OlympusDAO: LUSD Bond V1
0 ETH0.00696764107.33157991
Redeem135781232021-11-08 21:24:191162 days ago1636406659IN
OlympusDAO: LUSD Bond V1
0 ETH0.00746545115
Redeem135772842021-11-08 18:13:541162 days ago1636395234IN
OlympusDAO: LUSD Bond V1
0 ETH0.01112424135.63342658
Redeem135764332021-11-08 14:57:021162 days ago1636383422IN
OlympusDAO: LUSD Bond V1
0 ETH0.00852721103.96886473
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
139666722022-01-08 19:30:241101 days ago1641670224
0x10C0f93f...d9e89D08D
0 ETH
139366472022-01-04 3:49:351105 days ago1641268175
0x10C0f93f...d9e89D08D
0 ETH
138940422021-12-28 13:37:151112 days ago1640698635
0x10C0f93f...d9e89D08D
0 ETH
138912732021-12-28 3:14:401112 days ago1640661280
0x10C0f93f...d9e89D08D
0 ETH
138890832021-12-27 19:16:231113 days ago1640632583
0x10C0f93f...d9e89D08D
0 ETH
138868992021-12-27 11:02:491113 days ago1640602969
0x10C0f93f...d9e89D08D
0 ETH
138741022021-12-25 11:37:241115 days ago1640432244
0x10C0f93f...d9e89D08D
0 ETH
138698512021-12-24 19:46:511116 days ago1640375211
0x10C0f93f...d9e89D08D
0 ETH
138676652021-12-24 11:36:371116 days ago1640345797
0x10C0f93f...d9e89D08D
0 ETH
138440042021-12-20 19:38:111120 days ago1640029091
0x10C0f93f...d9e89D08D
0 ETH
138439982021-12-20 19:36:301120 days ago1640028990
0x10C0f93f...d9e89D08D
0 ETH
138439972021-12-20 19:36:051120 days ago1640028965
0x10C0f93f...d9e89D08D
0 ETH
138362792021-12-19 14:58:531121 days ago1639925933
0x10C0f93f...d9e89D08D
0 ETH
138159172021-12-16 11:21:191124 days ago1639653679
0x10C0f93f...d9e89D08D
0 ETH
138137922021-12-16 3:34:261124 days ago1639625666
0x10C0f93f...d9e89D08D
0 ETH
138117352021-12-15 19:49:581125 days ago1639597798
0x10C0f93f...d9e89D08D
0 ETH
138116982021-12-15 19:41:491125 days ago1639597309
0x10C0f93f...d9e89D08D
0 ETH
138094562021-12-15 11:29:271125 days ago1639567767
0x10C0f93f...d9e89D08D
0 ETH
138094512021-12-15 11:28:271125 days ago1639567707
0x10C0f93f...d9e89D08D
0 ETH
138072972021-12-15 3:27:141125 days ago1639538834
0x10C0f93f...d9e89D08D
0 ETH
138072952021-12-15 3:26:501125 days ago1639538810
0x10C0f93f...d9e89D08D
0 ETH
138072792021-12-15 3:23:251125 days ago1639538605
0x10C0f93f...d9e89D08D
0 ETH
138051672021-12-14 19:24:531126 days ago1639509893
0x10C0f93f...d9e89D08D
0 ETH
138051672021-12-14 19:24:531126 days ago1639509893
0x10C0f93f...d9e89D08D
0 ETH
138051672021-12-14 19:24:531126 days ago1639509893
0x10C0f93f...d9e89D08D
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OlympusBondDepository

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-20
*/

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

// Note: Contract logic begins on line 607

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 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 ITreasury {
    function deposit( uint _amount, address _token, uint _profit ) external returns ( bool );
    function valueOf( address _token, uint _amount ) external view returns ( uint value_ );
}

interface IBondCalculator {
    function valuation( address _LP, uint _amount ) external view returns ( uint );
    function markdown( address _LP ) external view returns ( uint );
}

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

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

contract OlympusBondDepository is Ownable {

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




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

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




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

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

    bool public immutable isLiquidityBond; // LP and Reserve bonds are treated slightly different
    address public immutable bondCalculator; // calculates value of LP tokens

    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
    uint public lastDecay; // reference block for debt decay




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

    // Info for creating new bonds
    struct Terms {
        uint controlVariable; // scaling variable for price
        uint vestingTerm; // in blocks
        uint minimumPrice; // vs principle value
        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
    }

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

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




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

    constructor ( 
        address _OHM,
        address _principle,
        address _treasury, 
        address _DAO, 
        address _bondCalculator
    ) {
        require( _OHM != address(0) );
        OHM = _OHM;
        require( _principle != address(0) );
        principle = _principle;
        require( _treasury != address(0) );
        treasury = _treasury;
        require( _DAO != address(0) );
        DAO = _DAO;
        // bondCalculator should be address(0) if not LP bond
        bondCalculator = _bondCalculator;
        isLiquidityBond = ( _bondCalculator != address(0) );
    }

    /**
     *  @notice initializes bond parameters
     *  @param _controlVariable uint
     *  @param _vestingTerm uint
     *  @param _minimumPrice uint
     *  @param _maxPayout uint
     *  @param _fee uint
     *  @param _maxDebt uint
     *  @param _initialDebt uint
     */
    function initializeBondTerms( 
        uint _controlVariable, 
        uint _vestingTerm,
        uint _minimumPrice,
        uint _maxPayout,
        uint _fee,
        uint _maxDebt,
        uint _initialDebt
    ) external onlyPolicy() {
        require( terms.controlVariable == 0, "Bonds must be initialized from 0" );
        terms = Terms ({
            controlVariable: _controlVariable,
            vestingTerm: _vestingTerm,
            minimumPrice: _minimumPrice,
            maxPayout: _maxPayout,
            fee: _fee,
            maxDebt: _maxDebt
        });
        totalDebt = _initialDebt;
        lastDecay = block.number;
    }



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

    enum PARAMETER { VESTING, PAYOUT, FEE, DEBT }
    /**
     *  @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 >= 10000, "Vesting must be longer than 36 hours" );
            terms.vestingTerm = _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;
        }
    }

    /**
     *  @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,
        uint _buffer 
    ) external onlyPolicy() {
        require( _increment <= terms.controlVariable.mul( 25 ).div( 1000 ), "Increment too large" );

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

    /**
     *  @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" );

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

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

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

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

        // profits are calculated
        uint fee = payout.mul( terms.fee ).div( 10000 );
        uint profit = value.sub( payout ).sub( fee );

        /**
            principle is transferred in
            approved and
            deposited into the treasury, returning (_amount - profit) OHM
         */
        IERC20( principle ).safeTransferFrom( msg.sender, address(this), _amount );
        IERC20( principle ).approve( address( treasury ), _amount );
        ITreasury( treasury ).deposit( _amount, principle, profit );
        
        if ( fee != 0 ) { // fee is transferred to dao 
            IERC20( OHM ).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,
            lastBlock: block.number,
            pricePaid: priceInUSD
        });

        // indexed events are emitted
        emit BondCreated( _amount, payout, block.number.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 ) {        
        Bond memory info = bondInfo[ _recipient ];
        uint percentVested = percentVestedFor( _recipient ); // (blocks since last interaction / vesting term remaining)

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

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

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

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



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

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

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

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




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

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

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


    /**
     *  @notice calculate current bond premium
     *  @return price_ uint
     */
    function bondPrice() public view returns ( uint price_ ) {        
        price_ = terms.controlVariable.mul( debtRatio() ).add( 1000000000 ).div( 1e7 );
        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() ).add( 1000000000 ).div( 1e7 );
        if ( price_ < terms.minimumPrice ) {
            price_ = terms.minimumPrice;        
        } else if ( terms.minimumPrice != 0 ) {
            terms.minimumPrice = 0;
        }
    }

    /**
     *  @notice converts bond price to DAI value
     *  @return price_ uint
     */
    function bondPriceInUSD() public view returns ( uint price_ ) {
        if( isLiquidityBond ) {
            price_ = bondPrice().mul( IBondCalculator( bondCalculator ).markdown( principle ) ).div( 100 );
        } else {
            price_ = bondPrice().mul( 10 ** IERC20( principle ).decimals() ).div( 100 );
        }
    }


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

    /**
     *  @notice debt ratio in same terms for reserve or liquidity bonds
     *  @return uint
     */
    function standardizedDebtRatio() external view returns ( uint ) {
        if ( isLiquidityBond ) {
            return debtRatio().mul( IBondCalculator( bondCalculator ).markdown( principle ) ).div( 1e9 );
        } else {
            return debtRatio();
        }
    }

    /**
     *  @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_ ) {
        uint blocksSinceLast = block.number.sub( lastDecay );
        decay_ = totalDebt.mul( blocksSinceLast ).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 blocksSinceLast = block.number.sub( bond.lastBlock );
        uint vesting = bond.vesting;

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

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

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




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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_OHM","type":"address"},{"internalType":"address","name":"_principle","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_DAO","type":"address"},{"internalType":"address","name":"_bondCalculator","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":"OHM","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adjustment","outputs":[{"internalType":"bool","name":"add","type":"bool"},{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"uint256","name":"target","type":"uint256"},{"internalType":"uint256","name":"buffer","type":"uint256"},{"internalType":"uint256","name":"lastBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bondCalculator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bondInfo","outputs":[{"internalType":"uint256","name":"payout","type":"uint256"},{"internalType":"uint256","name":"vesting","type":"uint256"},{"internalType":"uint256","name":"lastBlock","type":"uint256"},{"internalType":"uint256","name":"pricePaid","type":"uint256"}],"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":"_vestingTerm","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":"uint256","name":"_initialDebt","type":"uint256"}],"name":"initializeBondTerms","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isLiquidityBond","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastDecay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"_buffer","type":"uint256"}],"name":"setAdjustment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum OlympusBondDepository.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":"vestingTerm","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"}],"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"}]

6101406040523480156200001257600080fd5b506040516200468538038062004685833981810160405260a08110156200003857600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a3600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156200016757600080fd5b8473ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415620001d957600080fd5b8373ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200024b57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620002bd57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff166101208173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561010081151560f81b81525050505050505060805160601c60a05160601c60c05160601c60e05160601c6101005160f81c6101205160601c6142406200044560003980611b5a52806125a552806128b1525080611b2c52806125745280612be752508061235d52806126c052806127bf5250806118c15280611edc52806121ac528061225d5250806109a75280611b965280611c6f5280611f1852806121295280612170528061229a52806125e1528061276352508061237f52806126e4528061270a52806129085280612c845280612e855280612f6c528061310b52506142406000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80637927ebf811610125578063cea55f57116100ad578063d7ccfb0b1161007c578063d7ccfb0b1461090f578063e0176de81461092d578063e392a2621461094b578063f5c2ab5b14610969578063fc7b9c181461098757610211565b8063cea55f5714610840578063d4d863ce1461085e578063d5025625146108ae578063d7969060146108ef57610211565b806398fabd3a116100f457806398fabd3a146106dd578063a6c41fec14610711578063b4abccba14610745578063c5332b7c1461079f578063cd1234b3146107d357610211565b80637927ebf8146105f3578063844b5c7c146106355780638dbdbe6d14610653578063904b3ece146106bf57610211565b8063451ee4a1116101a85780635a96ac0a116101775780635a96ac0a146104f957806361d027b3146105035780637153500814610537578063759076e5146105a157806377b81895146105bf57610211565b8063451ee4a1146103ed57806346f68ee9146104295780634cf088d91461046d578063507930ec146104a157610211565b80631a3d0068116101e45780631a3d0068146102e05780631e321a0f1461032e5780631feed31f146103695780632f3f470a146103cd57610211565b8063016a42841461021657806301b88ee81461024a5780630505c8c9146102a2578063089208d8146102d6575b600080fd5b61021e6109a5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61028c6004803603602081101561026057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109c9565b6040518082815260200191505060405180910390f35b6102aa610a60565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102de610a89565b005b61032c600480360360808110156102f657600080fd5b81019080803515159060200190929190803590602001909291908035906020019092919080359060200190929190505050610c08565b005b6103676004803603604081101561034457600080fd5b81019080803560ff16906020019092919080359060200190929190505050610de7565b005b6103b76004803603604081101561037f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506110ac565b6040518082815260200191505060405180910390f35b6103d56113c4565b60405180821515815260200191505060405180910390f35b6103f56113d7565b6040518086151581526020018581526020018481526020018381526020018281526020019550505050505060405180910390f35b61046b6004803603602081101561043f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611408565b005b61047561160d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104e3600480360360208110156104b757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611633565b6040518082815260200191505060405180910390f35b610501611719565b005b61050b6118bf565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61059f600480360360e081101561054d57600080fd5b81019080803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506118e3565b005b6105a9611aa4565b6040518082815260200191505060405180910390f35b6105c7611ac7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61061f6004803603602081101561060957600080fd5b8101908080359060200190929190505050611aed565b6040518082815260200191505060405180910390f35b61063d611b28565b6040518082815260200191505060405180910390f35b6106a96004803603606081101561066957600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d3e565b6040518082815260200191505060405180910390f35b6106c7612570565b6040518082815260200191505060405180910390f35b6106e56126be565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107196126e2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107876004803603602081101561075b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612706565b60405180821515815260200191505060405180910390f35b6107a76128af565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610815600480360360208110156107e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506128d3565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b610848612903565b6040518082815260200191505060405180910390f35b6108ac6004803603604081101561087457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506129f8565b005b6108b6612bbb565b60405180878152602001868152602001858152602001848152602001838152602001828152602001965050505050505060405180910390f35b6108f7612be5565b60405180821515815260200191505060405180910390f35b610917612c09565b6040518082815260200191505060405180910390f35b610935612c70565b6040518082815260200191505060405180910390f35b610953612d44565b6040518082815260200191505060405180910390f35b610971612da0565b6040518082815260200191505060405180910390f35b61098f612da6565b6040518082815260200191505060405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806109d583611633565b90506000600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015490506127108210610a2f57809250610a59565b610a56612710610a488484612dac90919063ffffffff16565b612e3290919063ffffffff16565b92505b5050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b4a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cc9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610cf66103e8610ce86019600460000154612dac90919063ffffffff16565b612e3290919063ffffffff16565b831115610d6b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f496e6372656d656e7420746f6f206c617267650000000000000000000000000081525060200191505060405180910390fd5b6040518060a00160405280851515815260200184815260200183815260200182815260200143815250600a60008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015590505050505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ea8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006003811115610eb557fe5b826003811115610ec157fe5b1415610f3157612710811015610f22576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806141bd6024913960400191505060405180910390fd5b806004600101819055506110a8565b60016003811115610f3e57fe5b826003811115610f4a57fe5b1415610fd7576103e8811115610fc8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5061796f75742063616e6e6f742062652061626f766520312070657263656e7481525060200191505060405180910390fd5b806004600301819055506110a7565b60026003811115610fe457fe5b826003811115610ff057fe5b141561107c5761271081111561106e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f44414f206665652063616e6e6f7420657863656564207061796f75740000000081525060200191505060405180910390fd5b8060048001819055506110a6565b60038081111561108857fe5b82600381111561109457fe5b14156110a557806004600501819055505b5b5b5b5050565b60006110b66140b1565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820154815250509050600061113585611633565b9050612710811061121557600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008082016000905560018201600090556002820160009055600382016000905550508473ffffffffffffffffffffffffffffffffffffffff167f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b183600001516000604051808381526020018281526020019250505060405180910390a261120c85858460000151612e7c565b925050506113be565b6000611242612710611234848660000151612dac90919063ffffffff16565b612e3290919063ffffffff16565b905060405180608001604052806112668386600001516132d390919063ffffffff16565b81526020016112986112858660400151436132d390919063ffffffff16565b86602001516132d390919063ffffffff16565b81526020014381526020018460600151815250600f60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301559050508573ffffffffffffffffffffffffffffffffffffffff167f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b182600f60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154604051808381526020018281526020019250505060405180910390a26113b8868683612e7c565b93505050505b92915050565b600360149054906101000a900460ff1681565b600a8060000160009054906101000a900460ff16908060010154908060020154908060030154908060040154905085565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061410b6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061163d6140b1565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806080016040529081600082015481526020016001820154815260200160028201548152602001600382015481525050905060006116ca8260400151436132d390919063ffffffff16565b9050600082602001519050600081111561170c57611705816116f761271085612dac90919063ffffffff16565b612e3290919063ffffffff16565b9350611711565b600093505b505050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806141316022913960400191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d60405160405180910390a3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b7f000000000000000000000000000000000000000000000000000000000000000081565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060046000015414611a1f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f426f6e6473206d75737420626520696e697469616c697a65642066726f6d203081525060200191505060405180910390fd5b6040518060c00160405280888152602001878152602001868152602001858152602001848152602001838152506004600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050155905050806010819055504360118190555050505050505050565b6000611ac2611ab1612d44565b6010546132d390919063ffffffff16565b905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611b21662386f26fc10000611b13611b0e85611b09612c09565b61331d565b6135fe565b612e3290919063ffffffff16565b9050919050565b60007f000000000000000000000000000000000000000000000000000000000000000015611c6557611c5e6064611c507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166332da80a37f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611bff57600080fd5b505afa158015611c13573d6000803e3d6000fd5b505050506040513d6020811015611c2957600080fd5b8101908080519060200190929190505050611c42612c09565b612dac90919063ffffffff16565b612e3290919063ffffffff16565b9050611d3b565b611d386064611d2a7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611cd357600080fd5b505afa158015611ce7573d6000803e3d6000fd5b505050506040513d6020811015611cfd57600080fd5b810190808051906020019092919050505060ff16600a0a611d1c612c09565b612dac90919063ffffffff16565b612e3290919063ffffffff16565b90505b90565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611de2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f496e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b611dea61363a565b6004600501546010541115611e67576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4d6178206361706163697479207265616368656400000000000000000000000081525060200191505060405180910390fd5b6000611e71611b28565b90506000611e7d613665565b905080851015611ed8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061419a6023913960400191505060405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631eec5a9a7f0000000000000000000000000000000000000000000000000000000000000000896040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060206040518083038186803b158015611f8957600080fd5b505afa158015611f9d573d6000803e3d6000fd5b505050506040513d6020811015611fb357600080fd5b810190808051906020019092919050505090506000611fd182611aed565b90506298968081101561204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f426f6e6420746f6f20736d616c6c00000000000000000000000000000000000081525060200191505060405180910390fd5b612054612c70565b8111156120c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f426f6e6420746f6f206c6172676500000000000000000000000000000000000081525060200191505060405180910390fd5b60006120f66127106120e8600480015485612dac90919063ffffffff16565b612e3290919063ffffffff16565b9050600061211f8261211185876132d390919063ffffffff16565b6132d390919063ffffffff16565b905061216e33308c7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166136ea909392919063ffffffff16565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f00000000000000000000000000000000000000000000000000000000000000008c6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561221f57600080fd5b505af1158015612233573d6000803e3d6000fd5b505050506040513d602081101561224957600080fd5b8101908080519060200190929190505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bc157ac18b7f0000000000000000000000000000000000000000000000000000000000000000846040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561231457600080fd5b505af1158015612328573d6000803e3d6000fd5b505050506040513d602081101561233e57600080fd5b810190808051906020019092919050505050600082146123c4576123c37f0000000000000000000000000000000000000000000000000000000000000000837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166137ab9092919063ffffffff16565b5b6123d98460105461384d90919063ffffffff16565b601081905550604051806080016040528061243f85600f60008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015461384d90919063ffffffff16565b8152602001600460010154815260200143815260200187815250600f60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155905050856124dc6004600101544361384d90919063ffffffff16565b847f1fec6dc81f140574bf43f6b1e420ae1dd47928b9d57db8cbd7b8611063b85ae58d6040518082815260200191505060405180910390a461251c612903565b612524613665565b61252c611b28565b7f375b221f40939bfd8f49723a17cf7bc6d576ebf72efe2cc3e991826f5b3f390a60405160405180910390a46125606138d5565b8296505050505050509392505050565b60007f0000000000000000000000000000000000000000000000000000000000000000156126b0576126a9633b9aca0061269b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166332da80a37f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561264a57600080fd5b505afa15801561265e573d6000803e3d6000fd5b505050506040513d602081101561267457600080fd5b810190808051906020019092919050505061268d612903565b612dac90919063ffffffff16565b612e3290919063ffffffff16565b90506126bb565b6126b8612903565b90505b90565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561276157600080fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127ba57600080fd5b6128a67f00000000000000000000000000000000000000000000000000000000000000008373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561284557600080fd5b505afa158015612859573d6000803e3d6000fd5b505050506040513d602081101561286f57600080fd5b81019080805190602001909291905050508473ffffffffffffffffffffffffffffffffffffffff166137ab9092919063ffffffff16565b60019050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600f6020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561296c57600080fd5b505afa158015612980573d6000803e3d6000fd5b505050506040513d602081101561299657600080fd5b810190808051906020019092919050505090506129f2670de0b6b3a76400006129e46129df6129d9633b9aca006129cb611aa4565b612dac90919063ffffffff16565b8561331d565b6135fe565b612e3290919063ffffffff16565b91505090565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612ab9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612af357600080fd5b8015612b5a576001600360146101000a81548160ff02191690831515021790555081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612bb7565b6000600360146101000a81548160ff02191690831515021790555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b60048060000154908060010154908060020154908060030154908060040154908060050154905086565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000612c5562989680612c47633b9aca00612c39612c25612903565b600460000154612dac90919063ffffffff16565b61384d90919063ffffffff16565b612e3290919063ffffffff16565b9050600460020154811015612c6d5760046002015490505b90565b6000612d3f620186a0612d316004600301547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612ce857600080fd5b505afa158015612cfc573d6000803e3d6000fd5b505050506040513d6020811015612d1257600080fd5b8101908080519060200190929190505050612dac90919063ffffffff16565b612e3290919063ffffffff16565b905090565b600080612d5c601154436132d390919063ffffffff16565b9050612d8a600460010154612d7c83601054612dac90919063ffffffff16565b612e3290919063ffffffff16565b9150601054821115612d9c5760105491505b5090565b60115481565b60105481565b600080831415612dbf5760009050612e2c565b6000828402905082848281612dd057fe5b0414612e27576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806141796021913960400191505060405180910390fd5b809150505b92915050565b6000612e7483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613a59565b905092915050565b600082612f55577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612f1457600080fd5b505af1158015612f28573d6000803e3d6000fd5b505050506040513d6020811015612f3e57600080fd5b8101908080519060200190929190505050506132c9565b600360149054906101000a900460ff1615613109577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561301d57600080fd5b505af1158015613031573d6000803e3d6000fd5b505050506040513d602081101561304757600080fd5b810190808051906020019092919050505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637acb775783866040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b1580156130ec57600080fd5b505af1158015613100573d6000803e3d6000fd5b505050506132c8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156131bc57600080fd5b505af11580156131d0573d6000803e3d6000fd5b505050506040513d60208110156131e657600080fd5b810190808051906020019092919050505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637acb775783866040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b15801561328b57600080fd5b505af115801561329f573d6000803e3d6000fd5b505050506040513d60208110156132b557600080fd5b8101908080519060200190929190505050505b5b8190509392505050565b600061331583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613b1f565b905092915050565b6133256140d9565b6000821161337e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806141536026913960400191505060405180910390fd5b60008314156133bc57604051806020016040528060007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681525090506135f8565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff71ffffffffffffffffffffffffffffffffffff1683116134f557600082607060ff1685901b8161340957fe5b0490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168111156134c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f77000081525060200191505060405180910390fd5b6040518060200160405280827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509150506135f8565b6000613511846e01000000000000000000000000000085613bdf565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168111156135c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f77000081525060200191505060405180910390fd5b6040518060200160405280827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509150505b92915050565b60006612725dd1d243ab82600001517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168161363257fe5b049050919050565b613656613645612d44565b6010546132d390919063ffffffff16565b60108190555043601181905550565b60006136b1629896806136a3633b9aca00613695613681612903565b600460000154612dac90919063ffffffff16565b61384d90919063ffffffff16565b612e3290919063ffffffff16565b90506004600201548110156136cd5760046002015490506136e7565b6000600460020154146136e65760006004600201819055505b5b90565b6137a5846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613ca1565b50505050565b6138488363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613ca1565b505050565b6000808284019050838110156138cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006138f4600a60030154600a6004015461384d90919063ffffffff16565b90506000600a600101541415801561390c5750804310155b15613a565760006004600001549050600a60000160009054906101000a900460ff161561398a57613950600a6001015460046000015461384d90919063ffffffff16565b600460000181905550600a6002015460046000015410613985576000600a60010181905550600a600201546004600001819055505b6139dd565b6139a7600a600101546004600001546132d390919063ffffffff16565b600460000181905550600a60020154600460000154116139dc576000600a60010181905550600a600201546004600001819055505b5b43600a600401819055507fb923e581a0f83128e9e1d8297aa52b18d6744310476e0b54509c054cd7a93b2a81600460000154600a60010154600a60000160009054906101000a900460ff1660405180858152602001848152602001838152602001821515815260200194505050505060405180910390a1505b50565b60008083118290613b05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613aca578082015181840152602081019050613aaf565b50505050905090810190601f168015613af75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613b1157fe5b049050809150509392505050565b6000838311158290613bcc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b91578082015181840152602081019050613b76565b50505050905090810190601f168015613bbe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000806000613bee8686613d90565b9150915060008480613bfc57fe5b868809905082811115613c10576001820391505b8083039250848210613c8a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f46756c6c4d6174683a3a6d756c4469763a206f766572666c6f7700000000000081525060200191505060405180910390fd5b613c95838387613de3565b93505050509392505050565b6060613d03826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613e809092919063ffffffff16565b9050600081511115613d8b57808060200190516020811015613d2457600080fd5b8101908080519060200190929190505050613d8a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806141e1602a913960400191505060405180910390fd5b5b505050565b60008060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80613dbd57fe5b84860990508385029250828103915082811015613ddb576001820391505b509250929050565b6000808260000383169050808381613df757fe5b049250808581613e0357fe5b0494506001818260000381613e1457fe5b04018402850194506000600190508084026002038102905080840260020381029050808402600203810290508084026002038102905080840260020381029050808402600203810290508084026002038102905080840260020381029050808602925050509392505050565b6060613e8f8484600085613e98565b90509392505050565b6060613ea38561409e565b613f15576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613f655780518252602082019150602081019050602083039250613f42565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613fc7576040519150601f19603f3d011682016040523d82523d6000602084013e613fcc565b606091505b50915091508115613fe1578092505050614096565b600081511115613ff45780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561405b578082015181840152602081019050614040565b50505050905090810190601f1680156140885780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b905060008111915050919050565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b604051806020016040528060007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a206d757374206265206e6577206f776e657220746f2070756c6c4669786564506f696e743a3a6672616374696f6e3a206469766973696f6e206279207a65726f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77536c697070616765206c696d69743a206d6f7265207468616e206d617820707269636556657374696e67206d757374206265206c6f6e676572207468616e20333620686f7572735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220a521e4c756dbd25e41ddaf8456394f15cee33d58ba326fcb535bb432ae05965f64736f6c63430007050033000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a8990000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba000000000000000000000000031f8cc382c9898b273eff4e0b7626a6987c846e8000000000000000000000000245cc372c84b3645bf0ffe6538620b04a217988b0000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c80637927ebf811610125578063cea55f57116100ad578063d7ccfb0b1161007c578063d7ccfb0b1461090f578063e0176de81461092d578063e392a2621461094b578063f5c2ab5b14610969578063fc7b9c181461098757610211565b8063cea55f5714610840578063d4d863ce1461085e578063d5025625146108ae578063d7969060146108ef57610211565b806398fabd3a116100f457806398fabd3a146106dd578063a6c41fec14610711578063b4abccba14610745578063c5332b7c1461079f578063cd1234b3146107d357610211565b80637927ebf8146105f3578063844b5c7c146106355780638dbdbe6d14610653578063904b3ece146106bf57610211565b8063451ee4a1116101a85780635a96ac0a116101775780635a96ac0a146104f957806361d027b3146105035780637153500814610537578063759076e5146105a157806377b81895146105bf57610211565b8063451ee4a1146103ed57806346f68ee9146104295780634cf088d91461046d578063507930ec146104a157610211565b80631a3d0068116101e45780631a3d0068146102e05780631e321a0f1461032e5780631feed31f146103695780632f3f470a146103cd57610211565b8063016a42841461021657806301b88ee81461024a5780630505c8c9146102a2578063089208d8146102d6575b600080fd5b61021e6109a5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61028c6004803603602081101561026057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109c9565b6040518082815260200191505060405180910390f35b6102aa610a60565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102de610a89565b005b61032c600480360360808110156102f657600080fd5b81019080803515159060200190929190803590602001909291908035906020019092919080359060200190929190505050610c08565b005b6103676004803603604081101561034457600080fd5b81019080803560ff16906020019092919080359060200190929190505050610de7565b005b6103b76004803603604081101561037f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506110ac565b6040518082815260200191505060405180910390f35b6103d56113c4565b60405180821515815260200191505060405180910390f35b6103f56113d7565b6040518086151581526020018581526020018481526020018381526020018281526020019550505050505060405180910390f35b61046b6004803603602081101561043f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611408565b005b61047561160d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104e3600480360360208110156104b757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611633565b6040518082815260200191505060405180910390f35b610501611719565b005b61050b6118bf565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61059f600480360360e081101561054d57600080fd5b81019080803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506118e3565b005b6105a9611aa4565b6040518082815260200191505060405180910390f35b6105c7611ac7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61061f6004803603602081101561060957600080fd5b8101908080359060200190929190505050611aed565b6040518082815260200191505060405180910390f35b61063d611b28565b6040518082815260200191505060405180910390f35b6106a96004803603606081101561066957600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d3e565b6040518082815260200191505060405180910390f35b6106c7612570565b6040518082815260200191505060405180910390f35b6106e56126be565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107196126e2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107876004803603602081101561075b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612706565b60405180821515815260200191505060405180910390f35b6107a76128af565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610815600480360360208110156107e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506128d3565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b610848612903565b6040518082815260200191505060405180910390f35b6108ac6004803603604081101561087457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506129f8565b005b6108b6612bbb565b60405180878152602001868152602001858152602001848152602001838152602001828152602001965050505050505060405180910390f35b6108f7612be5565b60405180821515815260200191505060405180910390f35b610917612c09565b6040518082815260200191505060405180910390f35b610935612c70565b6040518082815260200191505060405180910390f35b610953612d44565b6040518082815260200191505060405180910390f35b610971612da0565b6040518082815260200191505060405180910390f35b61098f612da6565b6040518082815260200191505060405180910390f35b7f0000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba081565b6000806109d583611633565b90506000600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015490506127108210610a2f57809250610a59565b610a56612710610a488484612dac90919063ffffffff16565b612e3290919063ffffffff16565b92505b5050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b4a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cc9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610cf66103e8610ce86019600460000154612dac90919063ffffffff16565b612e3290919063ffffffff16565b831115610d6b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f496e6372656d656e7420746f6f206c617267650000000000000000000000000081525060200191505060405180910390fd5b6040518060a00160405280851515815260200184815260200183815260200182815260200143815250600a60008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015590505050505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ea8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006003811115610eb557fe5b826003811115610ec157fe5b1415610f3157612710811015610f22576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806141bd6024913960400191505060405180910390fd5b806004600101819055506110a8565b60016003811115610f3e57fe5b826003811115610f4a57fe5b1415610fd7576103e8811115610fc8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5061796f75742063616e6e6f742062652061626f766520312070657263656e7481525060200191505060405180910390fd5b806004600301819055506110a7565b60026003811115610fe457fe5b826003811115610ff057fe5b141561107c5761271081111561106e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f44414f206665652063616e6e6f7420657863656564207061796f75740000000081525060200191505060405180910390fd5b8060048001819055506110a6565b60038081111561108857fe5b82600381111561109457fe5b14156110a557806004600501819055505b5b5b5b5050565b60006110b66140b1565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820154815250509050600061113585611633565b9050612710811061121557600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008082016000905560018201600090556002820160009055600382016000905550508473ffffffffffffffffffffffffffffffffffffffff167f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b183600001516000604051808381526020018281526020019250505060405180910390a261120c85858460000151612e7c565b925050506113be565b6000611242612710611234848660000151612dac90919063ffffffff16565b612e3290919063ffffffff16565b905060405180608001604052806112668386600001516132d390919063ffffffff16565b81526020016112986112858660400151436132d390919063ffffffff16565b86602001516132d390919063ffffffff16565b81526020014381526020018460600151815250600f60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301559050508573ffffffffffffffffffffffffffffffffffffffff167f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b182600f60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154604051808381526020018281526020019250505060405180910390a26113b8868683612e7c565b93505050505b92915050565b600360149054906101000a900460ff1681565b600a8060000160009054906101000a900460ff16908060010154908060020154908060030154908060040154905085565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061410b6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061163d6140b1565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806080016040529081600082015481526020016001820154815260200160028201548152602001600382015481525050905060006116ca8260400151436132d390919063ffffffff16565b9050600082602001519050600081111561170c57611705816116f761271085612dac90919063ffffffff16565b612e3290919063ffffffff16565b9350611711565b600093505b505050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806141316022913960400191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d60405160405180910390a3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b7f00000000000000000000000031f8cc382c9898b273eff4e0b7626a6987c846e881565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060046000015414611a1f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f426f6e6473206d75737420626520696e697469616c697a65642066726f6d203081525060200191505060405180910390fd5b6040518060c00160405280888152602001878152602001868152602001858152602001848152602001838152506004600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050155905050806010819055504360118190555050505050505050565b6000611ac2611ab1612d44565b6010546132d390919063ffffffff16565b905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611b21662386f26fc10000611b13611b0e85611b09612c09565b61331d565b6135fe565b612e3290919063ffffffff16565b9050919050565b60007f000000000000000000000000000000000000000000000000000000000000000015611c6557611c5e6064611c507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166332da80a37f0000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba06040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611bff57600080fd5b505afa158015611c13573d6000803e3d6000fd5b505050506040513d6020811015611c2957600080fd5b8101908080519060200190929190505050611c42612c09565b612dac90919063ffffffff16565b612e3290919063ffffffff16565b9050611d3b565b611d386064611d2a7f0000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611cd357600080fd5b505afa158015611ce7573d6000803e3d6000fd5b505050506040513d6020811015611cfd57600080fd5b810190808051906020019092919050505060ff16600a0a611d1c612c09565b612dac90919063ffffffff16565b612e3290919063ffffffff16565b90505b90565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611de2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f496e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b611dea61363a565b6004600501546010541115611e67576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4d6178206361706163697479207265616368656400000000000000000000000081525060200191505060405180910390fd5b6000611e71611b28565b90506000611e7d613665565b905080851015611ed8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061419a6023913960400191505060405180910390fd5b60007f00000000000000000000000031f8cc382c9898b273eff4e0b7626a6987c846e873ffffffffffffffffffffffffffffffffffffffff16631eec5a9a7f0000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba0896040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060206040518083038186803b158015611f8957600080fd5b505afa158015611f9d573d6000803e3d6000fd5b505050506040513d6020811015611fb357600080fd5b810190808051906020019092919050505090506000611fd182611aed565b90506298968081101561204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f426f6e6420746f6f20736d616c6c00000000000000000000000000000000000081525060200191505060405180910390fd5b612054612c70565b8111156120c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f426f6e6420746f6f206c6172676500000000000000000000000000000000000081525060200191505060405180910390fd5b60006120f66127106120e8600480015485612dac90919063ffffffff16565b612e3290919063ffffffff16565b9050600061211f8261211185876132d390919063ffffffff16565b6132d390919063ffffffff16565b905061216e33308c7f0000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba073ffffffffffffffffffffffffffffffffffffffff166136ea909392919063ffffffff16565b7f0000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba073ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f00000000000000000000000031f8cc382c9898b273eff4e0b7626a6987c846e88c6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561221f57600080fd5b505af1158015612233573d6000803e3d6000fd5b505050506040513d602081101561224957600080fd5b8101908080519060200190929190505050507f00000000000000000000000031f8cc382c9898b273eff4e0b7626a6987c846e873ffffffffffffffffffffffffffffffffffffffff1663bc157ac18b7f0000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba0846040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561231457600080fd5b505af1158015612328573d6000803e3d6000fd5b505050506040513d602081101561233e57600080fd5b810190808051906020019092919050505050600082146123c4576123c37f000000000000000000000000245cc372c84b3645bf0ffe6538620b04a217988b837f000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a89973ffffffffffffffffffffffffffffffffffffffff166137ab9092919063ffffffff16565b5b6123d98460105461384d90919063ffffffff16565b601081905550604051806080016040528061243f85600f60008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015461384d90919063ffffffff16565b8152602001600460010154815260200143815260200187815250600f60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155905050856124dc6004600101544361384d90919063ffffffff16565b847f1fec6dc81f140574bf43f6b1e420ae1dd47928b9d57db8cbd7b8611063b85ae58d6040518082815260200191505060405180910390a461251c612903565b612524613665565b61252c611b28565b7f375b221f40939bfd8f49723a17cf7bc6d576ebf72efe2cc3e991826f5b3f390a60405160405180910390a46125606138d5565b8296505050505050509392505050565b60007f0000000000000000000000000000000000000000000000000000000000000000156126b0576126a9633b9aca0061269b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166332da80a37f0000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba06040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561264a57600080fd5b505afa15801561265e573d6000803e3d6000fd5b505050506040513d602081101561267457600080fd5b810190808051906020019092919050505061268d612903565b612dac90919063ffffffff16565b612e3290919063ffffffff16565b90506126bb565b6126b8612903565b90505b90565b7f000000000000000000000000245cc372c84b3645bf0ffe6538620b04a217988b81565b7f000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a89981565b60007f000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a89973ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561276157600080fd5b7f0000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127ba57600080fd5b6128a67f000000000000000000000000245cc372c84b3645bf0ffe6538620b04a217988b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561284557600080fd5b505afa158015612859573d6000803e3d6000fd5b505050506040513d602081101561286f57600080fd5b81019080805190602001909291905050508473ffffffffffffffffffffffffffffffffffffffff166137ab9092919063ffffffff16565b60019050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600f6020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b6000807f000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a89973ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561296c57600080fd5b505afa158015612980573d6000803e3d6000fd5b505050506040513d602081101561299657600080fd5b810190808051906020019092919050505090506129f2670de0b6b3a76400006129e46129df6129d9633b9aca006129cb611aa4565b612dac90919063ffffffff16565b8561331d565b6135fe565b612e3290919063ffffffff16565b91505090565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612ab9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612af357600080fd5b8015612b5a576001600360146101000a81548160ff02191690831515021790555081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612bb7565b6000600360146101000a81548160ff02191690831515021790555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b60048060000154908060010154908060020154908060030154908060040154908060050154905086565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000612c5562989680612c47633b9aca00612c39612c25612903565b600460000154612dac90919063ffffffff16565b61384d90919063ffffffff16565b612e3290919063ffffffff16565b9050600460020154811015612c6d5760046002015490505b90565b6000612d3f620186a0612d316004600301547f000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a89973ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612ce857600080fd5b505afa158015612cfc573d6000803e3d6000fd5b505050506040513d6020811015612d1257600080fd5b8101908080519060200190929190505050612dac90919063ffffffff16565b612e3290919063ffffffff16565b905090565b600080612d5c601154436132d390919063ffffffff16565b9050612d8a600460010154612d7c83601054612dac90919063ffffffff16565b612e3290919063ffffffff16565b9150601054821115612d9c5760105491505b5090565b60115481565b60105481565b600080831415612dbf5760009050612e2c565b6000828402905082848281612dd057fe5b0414612e27576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806141796021913960400191505060405180910390fd5b809150505b92915050565b6000612e7483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613a59565b905092915050565b600082612f55577f000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a89973ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612f1457600080fd5b505af1158015612f28573d6000803e3d6000fd5b505050506040513d6020811015612f3e57600080fd5b8101908080519060200190929190505050506132c9565b600360149054906101000a900460ff1615613109577f000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a89973ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561301d57600080fd5b505af1158015613031573d6000803e3d6000fd5b505050506040513d602081101561304757600080fd5b810190808051906020019092919050505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637acb775783866040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b1580156130ec57600080fd5b505af1158015613100573d6000803e3d6000fd5b505050506132c8565b7f000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a89973ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156131bc57600080fd5b505af11580156131d0573d6000803e3d6000fd5b505050506040513d60208110156131e657600080fd5b810190808051906020019092919050505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637acb775783866040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b15801561328b57600080fd5b505af115801561329f573d6000803e3d6000fd5b505050506040513d60208110156132b557600080fd5b8101908080519060200190929190505050505b5b8190509392505050565b600061331583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613b1f565b905092915050565b6133256140d9565b6000821161337e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806141536026913960400191505060405180910390fd5b60008314156133bc57604051806020016040528060007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681525090506135f8565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff71ffffffffffffffffffffffffffffffffffff1683116134f557600082607060ff1685901b8161340957fe5b0490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168111156134c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f77000081525060200191505060405180910390fd5b6040518060200160405280827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509150506135f8565b6000613511846e01000000000000000000000000000085613bdf565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168111156135c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f77000081525060200191505060405180910390fd5b6040518060200160405280827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509150505b92915050565b60006612725dd1d243ab82600001517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168161363257fe5b049050919050565b613656613645612d44565b6010546132d390919063ffffffff16565b60108190555043601181905550565b60006136b1629896806136a3633b9aca00613695613681612903565b600460000154612dac90919063ffffffff16565b61384d90919063ffffffff16565b612e3290919063ffffffff16565b90506004600201548110156136cd5760046002015490506136e7565b6000600460020154146136e65760006004600201819055505b5b90565b6137a5846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613ca1565b50505050565b6138488363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613ca1565b505050565b6000808284019050838110156138cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006138f4600a60030154600a6004015461384d90919063ffffffff16565b90506000600a600101541415801561390c5750804310155b15613a565760006004600001549050600a60000160009054906101000a900460ff161561398a57613950600a6001015460046000015461384d90919063ffffffff16565b600460000181905550600a6002015460046000015410613985576000600a60010181905550600a600201546004600001819055505b6139dd565b6139a7600a600101546004600001546132d390919063ffffffff16565b600460000181905550600a60020154600460000154116139dc576000600a60010181905550600a600201546004600001819055505b5b43600a600401819055507fb923e581a0f83128e9e1d8297aa52b18d6744310476e0b54509c054cd7a93b2a81600460000154600a60010154600a60000160009054906101000a900460ff1660405180858152602001848152602001838152602001821515815260200194505050505060405180910390a1505b50565b60008083118290613b05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613aca578082015181840152602081019050613aaf565b50505050905090810190601f168015613af75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613b1157fe5b049050809150509392505050565b6000838311158290613bcc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b91578082015181840152602081019050613b76565b50505050905090810190601f168015613bbe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000806000613bee8686613d90565b9150915060008480613bfc57fe5b868809905082811115613c10576001820391505b8083039250848210613c8a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f46756c6c4d6174683a3a6d756c4469763a206f766572666c6f7700000000000081525060200191505060405180910390fd5b613c95838387613de3565b93505050509392505050565b6060613d03826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613e809092919063ffffffff16565b9050600081511115613d8b57808060200190516020811015613d2457600080fd5b8101908080519060200190929190505050613d8a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806141e1602a913960400191505060405180910390fd5b5b505050565b60008060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80613dbd57fe5b84860990508385029250828103915082811015613ddb576001820391505b509250929050565b6000808260000383169050808381613df757fe5b049250808581613e0357fe5b0494506001818260000381613e1457fe5b04018402850194506000600190508084026002038102905080840260020381029050808402600203810290508084026002038102905080840260020381029050808402600203810290508084026002038102905080840260020381029050808602925050509392505050565b6060613e8f8484600085613e98565b90509392505050565b6060613ea38561409e565b613f15576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613f655780518252602082019150602081019050602083039250613f42565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613fc7576040519150601f19603f3d011682016040523d82523d6000602084013e613fcc565b606091505b50915091508115613fe1578092505050614096565b600081511115613ff45780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561405b578082015181840152602081019050614040565b50505050905090810190601f1680156140885780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b905060008111915050919050565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b604051806020016040528060007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a206d757374206265206e6577206f776e657220746f2070756c6c4669786564506f696e743a3a6672616374696f6e3a206469766973696f6e206279207a65726f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77536c697070616765206c696d69743a206d6f7265207468616e206d617820707269636556657374696e67206d757374206265206c6f6e676572207468616e20333620686f7572735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220a521e4c756dbd25e41ddaf8456394f15cee33d58ba326fcb535bb432ae05965f64736f6c63430007050033

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

000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a8990000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba000000000000000000000000031f8cc382c9898b273eff4e0b7626a6987c846e8000000000000000000000000245cc372c84b3645bf0ffe6538620b04a217988b0000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _OHM (address): 0x383518188C0C6d7730D91b2c03a03C837814a899
Arg [1] : _principle (address): 0x5f98805A4E8be255a32880FDeC7F6728C6568bA0
Arg [2] : _treasury (address): 0x31F8Cc382c9898b273eff4e0b7626a6987C846E8
Arg [3] : _DAO (address): 0x245cc372C84B3645Bf0Ffe6538620B04a217988B
Arg [4] : _bondCalculator (address): 0x0000000000000000000000000000000000000000

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000383518188c0c6d7730d91b2c03a03c837814a899
Arg [1] : 0000000000000000000000005f98805a4e8be255a32880fdec7f6728c6568ba0
Arg [2] : 00000000000000000000000031f8cc382c9898b273eff4e0b7626a6987c846e8
Arg [3] : 000000000000000000000000245cc372c84b3645bf0ffe6538620b04a217988b
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

21342:17385:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22057:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37872:400;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;739:89;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;964:158;;;:::i;:::-;;26884:466;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25974:714;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30430:1206;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22587:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;22672:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1130:260;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22456:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37273:427;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1402:221;;;:::i;:::-;;22127:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;25059:669;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36616:106;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22509:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;34292:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35396:331;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28030:2249;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36242:275;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22204:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;21987;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38456:268;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;22375:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;22738:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35851:270;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27483:318;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22617:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22276:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;34558:261;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34023:140;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36824:286;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22913:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22831;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22057:34;;;:::o;37872:400::-;37944:19;37977:18;37998:30;38016:10;37998:16;:30::i;:::-;37977:51;;38039:11;38053:8;:22;38063:10;38053:22;;;;;;;;;;;;;;;:29;;;38039:43;;38117:5;38100:13;:22;38095:170;;38157:6;38140:23;;38095:170;;;38213:40;38246:5;38213:27;38225:13;38213:6;:10;;:27;;;;:::i;:::-;:31;;:40;;;;:::i;:::-;38196:57;;38095:170;37872:400;;;;;:::o;739:89::-;787:7;814:6;;;;;;;;;;;807:13;;739:89;:::o;964:158::-;888:10;878:20;;:6;;;;;;;;;;:20;;;869:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1080:1:::1;1047:37;;1064:6;::::0;::::1;;;;;;;;1047:37;;;;;;;;;;;;1112:1;1095:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;964:158::o:0;26884:466::-;888:10;878:20;;:6;;;;;;;;;;:20;;;869:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27071:43:::1;27108:4;27071:31;27098:2;27071:5;:21;;;:25;;:31;;;;:::i;:::-;:35;;:43;;;;:::i;:::-;27057:10;:57;;27048:91;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;27165:177;;;;;;;;27192:9;27165:177;;;;;;27222:10;27165:177;;;;27255:7;27165:177;;;;27285:7;27165:177;;;;27318:12;27165:177;;::::0;27152:10:::1;:190;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26884:466:::0;;;;:::o;25974:714::-;888:10;878:20;;:6;;;;;;;;;;:20;;;869:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26086:17:::1;26072:31;;;;;;;;:10;:31;;;;;;;;;26067:614;;;26145:5;26135:6;:15;;26126:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26227:6;26207:5;:17;;:26;;;;26067:614;;;26270:16;26256:30;;;;;;;;:10;:30;;;;;;;;;26251:430;;;26328:4;26318:6;:14;;26309:61;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;26403:6;26385:5;:15;;:24;;;;26251:430;;;26446:13;26432:27;;;;;;;;:10;:27;;;;;;;;;26427:254;;;26501:5;26491:6;:15;;26482:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;26567:6;26555:5;:9:::0;::::1;:18;;;;26427:254;;;26610:14;26596:28:::0;::::1;;;;;;;:10;:28;;;;;;;;;26591:90;;;26663:6;26647:5;:13;;:22;;;;26591:90;26427:254;26251:430;26067:614;25974:714:::0;;:::o;30430:1206::-;30500:4;30526:16;;:::i;:::-;30545:8;:22;30555:10;30545:22;;;;;;;;;;;;;;;30526:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30578:18;30599:30;30617:10;30599:16;:30::i;:::-;30578:51;;30724:5;30707:13;:22;30702:927;;30773:8;:22;30783:10;30773:22;;;;;;;;;;;;;;;;30766:29;;;;;;;;;;;;;;;;;;;;;;;;;;30849:10;30835:42;;;30861:4;:11;;;30874:1;30835:42;;;;;;;;;;;;;;;;;;;;;;;;30917:46;30930:10;30942:6;30950:4;:11;;;30917;:46::i;:::-;30910:53;;;;;;30702:927;31082:11;31096:45;31134:5;31096:32;31113:13;31096:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:45;;;;:::i;:::-;31082:59;;31226:241;;;;;;;;31258:25;31275:6;31258:4;:11;;;:15;;:25;;;;:::i;:::-;31226:241;;;;31311:54;31329:34;31347:4;:14;;;31329:12;:16;;:34;;;;:::i;:::-;31311:4;:12;;;:16;;:54;;;;:::i;:::-;31226:241;;;;31395:12;31226:241;;;;31437:4;:14;;;31226:241;;;31201:8;:22;31211:10;31201:22;;;;;;;;;;;;;;;:266;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31503:10;31489:65;;;31515:6;31523:8;:22;31533:10;31523:22;;;;;;;;;;;;;;;:29;;;31489:65;;;;;;;;;;;;;;;;;;;;;;;;31576:41;31589:10;31601:6;31609;31576:11;:41::i;:::-;31569:48;;;;;30430:1206;;;;;:::o;22587:21::-;;;;;;;;;;;;;:::o;22672:24::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1130:260::-;888:10;878:20;;:6;;;;;;;;;;:20;;;869:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1253:1:::1;1232:23;;:9;:23;;;;1223:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1339:9;1314:36;;1331:6;::::0;::::1;;;;;;;;1314:36;;;;;;;;;;;;1373:9;1361;;:21;;;;;;;;;;;;;;;;;;1130:260:::0;:::o;22456:22::-;;;;;;;;;;;;;:::o;37273:427::-;37343:19;37376:16;;:::i;:::-;37395:8;:22;37405:10;37395:22;;;;;;;;;;;;;;;37376:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37428:20;37451:34;37469:4;:14;;;37451:12;:16;;:34;;;;:::i;:::-;37428:57;;37496:12;37511:4;:12;;;37496:27;;37551:1;37541:7;:11;37536:157;;;37587:43;37621:7;37587:28;37608:5;37587:15;:19;;:28;;;;:::i;:::-;:32;;:43;;;;:::i;:::-;37570:60;;37536:157;;;37680:1;37663:18;;37536:157;37273:427;;;;;;:::o;1402:221::-;1486:9;;;;;;;;;;;1472:23;;:10;:23;;;1463:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1575:9;;;;;;;;;;;1550:36;;1567:6;;;;;;;;;;1550:36;;;;;;;;;;;;1606:9;;;;;;;;;;;1597:6;;:18;;;;;;;;;;;;;;;;;;1402:221::o;22127:33::-;;;:::o;25059:669::-;888:10;878:20;;:6;;;;;;;;;;:20;;;869:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25351:1:::1;25326:5;:21;;;:26;25317:73;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;25409:241;;;;;;;;25448:16;25409:241;;;;25492:12;25409:241;;;;25533:13;25409:241;;;;25572:10;25409:241;;;;25602:4;25409:241;;;;25630:8;25409:241;;::::0;25401:5:::1;:249;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25673:12;25661:9;:24;;;;25708:12;25696:9;:24;;;;25059:669:::0;;;;;;;:::o;36616:106::-;36661:4;36686:28;36701:11;:9;:11::i;:::-;36686:9;;:13;;:28;;;;:::i;:::-;36679:35;;36616:106;:::o;22509:28::-;;;;;;;;;;;;;:::o;34292:161::-;34348:4;34373:72;34439:4;34373:60;:42;34394:6;34402:11;:9;:11::i;:::-;34373:19;:42::i;:::-;:58;:60::i;:::-;:64;;:72;;;;:::i;:::-;34366:79;;34292:161;;;:::o;35396:331::-;35444:11;35473:15;35469:251;;;35515:85;35595:3;35515:74;35549:14;35532:42;;;35576:9;35532:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35515:11;:9;:11::i;:::-;:15;;:74;;;;:::i;:::-;:78;;:85;;;;:::i;:::-;35506:94;;35469:251;;;35642:66;35703:3;35642:55;35673:9;35665:28;;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35659:36;;:2;:36;35642:11;:9;:11::i;:::-;:15;;:55;;;;:::i;:::-;:59;;:66;;;;:::i;:::-;35633:75;;35469:251;35396:331;:::o;28030:2249::-;28152:4;28201:1;28179:24;;:10;:24;;;;28170:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28237:11;:9;:11::i;:::-;28281:5;:13;;;28268:9;;:26;;28259:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28341:15;28359:16;:14;:16::i;:::-;28341:34;;28409:16;28428:12;:10;:12::i;:::-;28409:31;;28475:11;28462:9;:24;;28453:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28563:10;28587:8;28576:29;;;28607:9;28618:7;28576:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28563:64;;28638:11;28652:18;28663:5;28652:9;:18::i;:::-;28638:32;;28734:8;28724:6;:18;;28715:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28839:11;:9;:11::i;:::-;28829:6;:21;;28820:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28965:8;28976:36;29005:5;28976:23;28988:5;:9;;;28976:6;:10;;:23;;;;:::i;:::-;:27;;:36;;;;:::i;:::-;28965:47;;29023:11;29037:30;29062:3;29037:19;29048:6;29037:5;:9;;:19;;;;:::i;:::-;:23;;:30;;;;:::i;:::-;29023:44;;29248:74;29286:10;29306:4;29313:7;29256:9;29248:36;;;;:74;;;;;;:::i;:::-;29341:9;29333:27;;;29371:8;29383:7;29333:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29414:8;29403:29;;;29434:7;29443:9;29454:6;29403:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29495:1;29488:3;:8;29483:112;;29544:38;29572:3;29577;29552;29544:26;;;;:38;;;;;:::i;:::-;29483:112;29663:22;29678:5;29663:9;;:13;;:22;;;;:::i;:::-;29651:9;:34;;;;29777:199;;;;;;;;29806:43;29841:6;29806:8;:22;29816:10;29806:22;;;;;;;;;;;;;;;:29;;;:33;;:43;;;;:::i;:::-;29777:199;;;;29873:5;:17;;;29777:199;;;;29916:12;29777:199;;;;29954:10;29777:199;;;29752:8;:22;29762:10;29752:22;;;;;;;;;;;;;;;:224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30102:10;30063:37;30081:5;:17;;;30063:12;:16;;:37;;;;:::i;:::-;30055:6;30033:81;30046:7;30033:81;;;;;;;;;;;;;;;;;;30180:11;:9;:11::i;:::-;30166:12;:10;:12::i;:::-;30148:16;:14;:16::i;:::-;30130:63;;;;;;;;;;30206:8;:6;:8::i;:::-;30264:6;30257:13;;;;;;;;28030:2249;;;;;:::o;36242:275::-;36299:4;36322:15;36317:193;;;36362:85;36442:3;36362:74;36396:14;36379:42;;;36423:9;36379:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36362:11;:9;:11::i;:::-;:15;;:74;;;;:::i;:::-;:78;;:85;;;;:::i;:::-;36355:92;;;;36317:193;36487:11;:9;:11::i;:::-;36480:18;;36242:275;;:::o;22204:28::-;;;:::o;21987:::-;;;:::o;38456:268::-;38519:4;38556:3;38546:13;;:6;:13;;;;38537:24;;;;;;38591:9;38581:19;;:6;:19;;;;38572:30;;;;;;38613:81;38644:3;38657:6;38649:26;;;38685:4;38649:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38621:6;38613:29;;;;:81;;;;;:::i;:::-;38712:4;38705:11;;38456:268;;;:::o;22375:39::-;;;:::o;22738:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;35851:270::-;35894:15;35926:11;35948:3;35940:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35926:41;;35991:122;36107:4;35991:110;:92;36026:24;36045:3;36026:13;:11;:13::i;:::-;:17;;:24;;;;:::i;:::-;36066:6;35991:19;:92::i;:::-;:108;:110::i;:::-;:114;;:122;;;;:::i;:::-;35978:135;;35851:270;;:::o;27483:318::-;888:10;878:20;;:6;;;;;;;;;;:20;;;869:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27599:1:::1;27579:22;;:8;:22;;;;27570:33;;;::::0;::::1;;27619:7;27614:180;;;27656:4;27644:9;;:16;;;;;;;;;;;;;;;;;;27691:8;27675:13;;:24;;;;;;;;;;;;;;;;;;27614:180;;;27744:5;27732:9;;:17;;;;;;;;;;;;;;;;;;27774:8;27764:7;;:18;;;;;;;;;;;;;;;;;;27614:180;27483:318:::0;;:::o;22617:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22276:37::-;;;:::o;34558:261::-;34601:11;34643:69;34707:3;34643:58;34689:10;34643:40;34670:11;:9;:11::i;:::-;34643:5;:21;;;:25;;:40;;;;:::i;:::-;:44;;:58;;;;:::i;:::-;:62;;:69;;;;:::i;:::-;34634:78;;34737:5;:18;;;34728:6;:27;34723:89;;;34782:5;:18;;;34773:27;;34723:89;34558:261;:::o;34023:140::-;34066:4;34091:64;34147:6;34091:50;34124:5;:15;;;34099:3;34091:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:31;;:50;;;;:::i;:::-;:54;;:64;;;;:::i;:::-;34084:71;;34023:140;:::o;36824:286::-;36867:11;36892:20;36915:29;36933:9;;36915:12;:16;;:29;;;;:::i;:::-;36892:52;;36964:57;37002:5;:17;;;36964:32;36979:15;36964:9;;:13;;:32;;;;:::i;:::-;:36;;:57;;;;:::i;:::-;36955:66;;37046:9;;37037:6;:18;37032:71;;;37082:9;;37073:18;;37032:71;36824:286;;:::o;22913:21::-;;;;:::o;22831:::-;;;;:::o;2189:250::-;2247:7;2276:1;2271;:6;2267:47;;;2301:1;2294:8;;;;2267:47;2326:9;2342:1;2338;:5;2326:17;;2371:1;2366;2362;:5;;;;;;:10;2354:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2430:1;2423:8;;;2189:250;;;;;:::o;2447:132::-;2505:7;2532:39;2536:1;2539;2532:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;2525:46;;2447:132;;;;:::o;31866:690::-;31955:4;31979:6;31973:551;;32045:3;32037:22;;;32061:10;32073:7;32037:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31973:551;;;32161:9;;;;;;;;;;;32156:357;;;32230:3;32222:21;;;32245:13;;;;;;;;;;;32260:7;32222:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32304:13;;;;;;;;;;;32288:37;;;32327:7;32336:10;32288:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32156:357;;;32397:3;32389:21;;;32412:7;;;;;;;;;;;32421;32389:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32459:7;;;;;;;;;;;32449:25;;;32476:7;32485:10;32449:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32156:357;31973:551;32541:7;32534:14;;31866:690;;;;;:::o;1845:136::-;1903:7;1930:43;1934:1;1937;1930:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1923:50;;1845:136;;;;:::o;20002:719::-;20083:16;;:::i;:::-;20134:1;20120:11;:15;20112:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20206:1;20193:9;:14;20189:50;;;20216:23;;;;;;;;20237:1;20216:23;;;;;20209:30;;;;20189:50;20277:2;20256:24;;:9;:24;20252:462;;20297:14;20342:11;19428:3;20315:23;;:9;:23;;20314:39;;;;;;20297:56;;20394:2;20376:21;;:6;:21;;20368:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20454:26;;;;;;;;20472:6;20454:26;;;;;20447:33;;;;;20252:462;20513:14;20530:45;20546:9;19470:31;20563:11;20530:15;:45::i;:::-;20513:62;;20616:2;20598:21;;:6;:21;;20590:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20676:26;;;;;;;;20694:6;20676:26;;;;;20669:33;;;20002:719;;;;;:::o;19857:137::-;19928:4;19970:16;19959:4;:7;;;19954:13;;:32;;;;;;19947:39;;19857:137;;;:::o;33754:124::-;33807:28;33822:11;:9;:11::i;:::-;33807:9;;:13;;:28;;;;:::i;:::-;33795:9;:40;;;;33858:12;33846:9;:24;;;;33754:124::o;34946:345::-;34987:11;35021:69;35085:3;35021:58;35067:10;35021:40;35048:11;:9;:11::i;:::-;35021:5;:21;;;:25;;:40;;;;:::i;:::-;:44;;:58;;;;:::i;:::-;:62;;:69;;;;:::i;:::-;35012:78;;35115:5;:18;;;35106:6;:27;35101:183;;;35160:5;:18;;;35151:27;;35101:183;;;35231:1;35209:5;:18;;;:23;35204:80;;35271:1;35250:5;:18;;:22;;;;35204:80;35101:183;34946:345;:::o;16539:205::-;16640:96;16660:5;16690:27;;;16719:4;16725:2;16729:5;16667:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16640:19;:96::i;:::-;16539:205;;;;:::o;16354:177::-;16437:86;16457:5;16487:23;;;16512:2;16516:5;16464:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16437:19;:86::i;:::-;16354:177;;;:::o;1656:181::-;1714:7;1734:9;1750:1;1746;:5;1734:17;;1775:1;1770;:6;;1762:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1828:1;1821:8;;;1656:181;;;;:::o;32648:1045::-;32686:19;32708:45;32734:10;:17;;;32708:10;:20;;;:24;;:45;;;;:::i;:::-;32686:67;;32787:1;32768:10;:15;;;:20;;:54;;;;;32808:14;32792:12;:30;;32768:54;32764:922;;;32840:12;32855:5;:21;;;32840:36;;32896:10;:14;;;;;;;;;;;;32891:622;;;32956:44;32983:10;:15;;;32956:5;:21;;;:25;;:44;;;;:::i;:::-;32932:5;:21;;:68;;;;33049:10;:17;;;33024:5;:21;;;:42;33019:176;;33110:1;33092:10;:15;;:19;;;;33158:10;:17;;;33134:5;:21;;:41;;;;33019:176;32891:622;;;33259:44;33286:10;:15;;;33259:5;:21;;;:25;;:44;;;;:::i;:::-;33235:5;:21;;:68;;;;33352:10;:17;;;33327:5;:21;;;:42;33322:176;;33413:1;33395:10;:15;;:19;;;;33461:10;:17;;;33437:5;:21;;:41;;;;33322:176;32891:622;33550:12;33527:10;:20;;:35;;;;33582:92;33609:7;33618:5;:21;;;33641:10;:15;;;33658:10;:14;;;;;;;;;;;;33582:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32764:922;;32648:1045;:::o;2587:189::-;2673:7;2705:1;2701;:5;2708:12;2693:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2732:9;2748:1;2744;:5;;;;;;2732:17;;2767:1;2760:8;;;2587:189;;;;;:::o;1989:192::-;2075:7;2108:1;2103;:6;;2111:12;2095:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2135:9;2151:1;2147;:5;2135:17;;2172:1;2165:8;;;1989:192;;;;;:::o;18902:347::-;19008:7;19029:9;19040;19053:13;19061:1;19064;19053:7;:13::i;:::-;19028:38;;;;19077:10;19103:1;19090:15;;;;;19100:1;19097;19090:15;19077:28;;19125:1;19120:2;:6;19116:18;;;19133:1;19128:6;;;;19116:18;19150:2;19145:7;;;;19175:1;19171;:5;19163:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19225:16;19233:1;19236;19239;19225:7;:16::i;:::-;19218:23;;;;;18902:347;;;;;:::o;17743:420::-;17826:23;17852:69;17880:4;17852:69;;;;;;;;;;;;;;;;;17860:5;17852:27;;;;:69;;;;;:::i;:::-;17826:95;;17956:1;17936:10;:17;:21;17932:224;;;18078:10;18067:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18059:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17932:224;17743:420;;;:::o;18194:210::-;18255:9;18266;18288:10;18322:2;18301:25;;;;;18311:1;18308;18301:25;18288:38;;18345:1;18341;:5;18337:9;;18366:1;18361:2;:6;18357:10;;18387:1;18382:2;:6;18378:18;;;18395:1;18390:6;;;;18378:18;18194:210;;;;;;:::o;18412:482::-;18518:7;18538:12;18558:1;18557:2;;18553:1;:6;18538:21;;18575:4;18570:9;;;;;;;;;18595:4;18590:9;;;;;;;;;18637:1;18630:4;18622;18621:5;;18620:14;;;;;;:18;18615:1;:24;18610:29;;;;18650:9;18662:1;18650:13;;18687:1;18683;:5;18679:1;:9;18674:14;;;;18712:1;18708;:5;18704:1;:9;18699:14;;;;18737:1;18733;:5;18729:1;:9;18724:14;;;;18762:1;18758;:5;18754:1;:9;18749:14;;;;18787:1;18783;:5;18779:1;:9;18774:14;;;;18812:1;18808;:5;18804:1;:9;18799:14;;;;18837:1;18833;:5;18829:1;:9;18824:14;;;;18862:1;18858;:5;18854:1;:9;18849:14;;;;18885:1;18881;:5;18874:12;;;;18412:482;;;;;:::o;4288:196::-;4391:12;4423:53;4446:6;4454:4;4460:1;4463:12;4423:22;:53::i;:::-;4416:60;;4288:196;;;;;:::o;5264:979::-;5394:12;5427:18;5438:6;5427:10;:18::i;:::-;5419:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5553:12;5567:23;5594:6;:11;;5614:8;5625:4;5594:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5552:78;;;;5645:7;5641:595;;;5676:10;5669:17;;;;;;5641:595;5810:1;5790:10;:17;:21;5786:439;;;6053:10;6047:17;6114:15;6101:10;6097:2;6093:19;6086:44;6001:148;6196:12;6189:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5264:979;;;;;;;:::o;3461:233::-;3521:4;3540:12;3651:7;3639:20;3631:28;;3685:1;3678:4;:8;3671:15;;;3461:233;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://a521e4c756dbd25e41ddaf8456394f15cee33d58ba326fcb535bb432ae05965f

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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