ETH Price: $2,665.41 (+1.35%)

Contract

0xAA4d8DbeCFC2ABb7cE6462Ec7D5Aca03E6CF2B7f
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deposit181427282023-09-15 16:14:11516 days ago1694794451IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.0045733324.85710804
Initialize Bond ...181427192023-09-15 16:12:23516 days ago1694794343IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.0013440724.87457694
Deposit181426922023-09-15 16:06:59516 days ago1694794019IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.006134324.03865401
Initialize Bond ...181425882023-09-15 15:45:59516 days ago1694792759IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.0011762821.47993969
Redeem181190862023-09-12 8:33:11520 days ago1694507591IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.0008455311.3181173
Redeem181190502023-09-12 8:25:59520 days ago1694507159IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.000883339.5921294
Redeem181189792023-09-12 8:11:47520 days ago1694506307IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.002938169.70439396
Redeem181188742023-09-12 7:50:23520 days ago1694505023IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.000878919.54406015
Redeem181187452023-09-12 7:24:23520 days ago1694503463IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.000882029.57784615
Redeem181186062023-09-12 6:56:35520 days ago1694501795IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.002678788.78964552
Initialize Bond ...181185872023-09-12 6:52:35520 days ago1694501555IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.00043968.58030537
Deposit181184822023-09-12 6:31:23520 days ago1694500283IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.001835968.89009649
Deposit181184692023-09-12 6:28:47520 days ago1694500127IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.003528368.2103139
Initialize Bond ...181184502023-09-12 6:24:47520 days ago1694499887IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.000616128.65997558
Deposit181183362023-09-12 6:01:23520 days ago1694498483IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.001708279.25469099
Initialize Bond ...181183292023-09-12 5:59:59520 days ago1694498399IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.000449928.78387548
Deposit181183152023-09-12 5:57:11520 days ago1694498231IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.001489048.06645047
Deposit181182812023-09-12 5:50:23520 days ago1694497823IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.002340068.06960343
Deposit181182782023-09-12 5:49:47520 days ago1694497787IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.002806268.58223331
Initialize Bond ...181182772023-09-12 5:49:35520 days ago1694497775IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.000354478.12839563
Initialize Bond ...181182392023-09-12 5:41:59520 days ago1694497319IN
0xAA4d8Dbe...3E6CF2B7f
0 ETH0.001480718.12980868

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x573251C4...954134E46
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
FRIENDSHIPSBondDepository

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-09-12
*/

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

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

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

contract Ownable is IOwnable {

    address internal _owner;
    address internal _newOwner;

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

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

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

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

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

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

library SafeMath {

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

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

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

library Address {

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

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

    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

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

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

    function functionCallWithValue(
        address target, 
        bytes memory data, 
        uint256 value, 
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

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

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

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

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

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

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

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

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

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

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

        return string(_addr);

    }
}

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

    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

abstract contract ERC20 is IERC20 {

    using SafeMath for uint256;

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

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

    uint256 internal _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

interface IERC2612Permit {

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

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

library Counters {
    using SafeMath for uint256;

    struct Counter {

        uint256 _value; // default: 0
    }

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

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

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

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

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

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

    bytes32 public DOMAIN_SEPARATOR;

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

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

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

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

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

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

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

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

library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

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

        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender)
            .sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

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

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

library FixedPoint {

    struct uq112x112 {
        uint224 _x;
    }

    struct uq144x112 {
        uint256 _x;
    }

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

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

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

        return uint(self._x) / 5192296858534827;
    }

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

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

interface 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 FRIENDSHIPSBondDepository is Ownable {

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




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

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




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

    address public immutable FRIENDCHIPS; // token given as payment for bond
    address public immutable principle; // token used to create bond
    address public immutable treasury; // mints FRIENDSHIPS 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
    uint32 public lastDecay; // reference time for debt decay




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

    // Info for creating new bonds
    struct Terms {
        uint controlVariable; // scaling variable for price
        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
        uint32 vestingTerm; // in seconds
    }

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

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




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

    constructor ( 
        address _FRIENDCHIPS,
        address _principle,
        address _treasury, 
        address _DAO, 
        address _bondCalculator
    ) {
        require( _FRIENDCHIPS != address(0) );
        FRIENDCHIPS = _FRIENDCHIPS;
        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 uint32
     *  @param _minimumPrice uint
     *  @param _maxPayout uint
     *  @param _fee uint
     *  @param _maxDebt uint
     *  @param _initialDebt uint
     */
    function initializeBondTerms( 
        uint _controlVariable, 
        uint _minimumPrice,
        uint _maxPayout,
        uint _fee,
        uint _maxDebt,
        uint _initialDebt,
        uint32 _vestingTerm
    ) external onlyPolicy() {
        terms = Terms ({
            controlVariable: _controlVariable,
            minimumPrice: _minimumPrice,
            maxPayout: _maxPayout,
            fee: _fee,
            maxDebt: _maxDebt,
            vestingTerm: _vestingTerm
        });
        totalDebt = _initialDebt;
        lastDecay = uint32(block.timestamp);
    }



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

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

    /**
     *  @notice set control variable adjustment
     *  @param _addition bool
     *  @param _increment uint
     *  @param _target uint
     *  @param _buffer uint
     */
    function setAdjustment ( 
        bool _addition,
        uint _increment, 
        uint _target,
        uint32 _buffer 
    ) external onlyPolicy() {
        require( _increment <= terms.controlVariable.mul( 25 ).div( 1000 ), "Increment too large" );

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

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


    

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

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

        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 FRIENDSHIPS ( 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) FRIENDSHIPS
         */
        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( FRIENDCHIPS ).safeTransfer( DAO, fee ); 
        }
        
        // total debt is increased
        totalDebt = totalDebt.add( value ); 
                
        // depositor info is stored
        bondInfo[ _depositor ] = Bond({ 
            payout: bondInfo[ _depositor ].payout.add( payout ),
            vesting: terms.vestingTerm,
            lastTime: uint32(block.timestamp),
            pricePaid: priceInUSD
        });

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

        adjust(); // control variable is adjusted
        return payout; 
    }

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

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

        } else { // if unfinished
            // calculate payout vested
            uint payout = info.payout.mul( percentVested ).div( 10000 );
            // store updated deposit info
            bondInfo[ _recipient ] = Bond({
                payout: info.payout.sub( payout ),
                vesting: info.vesting.sub32( uint32( block.timestamp ).sub32( info.lastTime ) ),
                lastTime: uint32(block.timestamp),
                pricePaid: info.pricePaid
            });

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



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

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

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

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




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

    /**
     *  @notice determine maximum bond size
     *  @return uint
     */
    function maxPayout() public view returns ( uint ) {
        return IERC20( FRIENDCHIPS ).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 FRIENDSHIPS supply
     *  @return debtRatio_ uint
     */
    function debtRatio() public view returns ( uint debtRatio_ ) {   
        uint supply = IERC20( FRIENDCHIPS ).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_ ) {
        uint32 timeSinceLast = uint32(block.timestamp).sub32( lastDecay );
        decay_ = totalDebt.mul( timeSinceLast ).div( terms.vestingTerm );
        if ( decay_ > totalDebt ) {
            decay_ = totalDebt;
        }
    }


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

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

    /**
     *  @notice calculate amount of FRIENDSHIPS 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 FRIENDSHIPS) to the DAO
     *  @return bool
     */
    function recoverLostToken( address _token ) external returns ( bool ) {
        require( _token != FRIENDCHIPS );
        require( _token != principle );
        IERC20( _token ).safeTransfer( DAO, IERC20( _token ).balanceOf( address(this) ) );
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_FRIENDCHIPS","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":"FRIENDCHIPS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adjustment","outputs":[{"internalType":"bool","name":"add","type":"bool"},{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"uint256","name":"target","type":"uint256"},{"internalType":"uint32","name":"buffer","type":"uint32"},{"internalType":"uint32","name":"lastTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"pricePaid","type":"uint256"},{"internalType":"uint32","name":"lastTime","type":"uint32"},{"internalType":"uint32","name":"vesting","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bondPrice","outputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bondPriceInUSD","outputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"debtDecay","outputs":[{"internalType":"uint256","name":"decay_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"debtRatio","outputs":[{"internalType":"uint256","name":"debtRatio_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxPrice","type":"uint256"},{"internalType":"address","name":"_depositor","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_controlVariable","type":"uint256"},{"internalType":"uint256","name":"_minimumPrice","type":"uint256"},{"internalType":"uint256","name":"_maxPayout","type":"uint256"},{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"uint256","name":"_maxDebt","type":"uint256"},{"internalType":"uint256","name":"_initialDebt","type":"uint256"},{"internalType":"uint32","name":"_vestingTerm","type":"uint32"}],"name":"initializeBondTerms","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isLiquidityBond","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastDecay","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPayout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"payoutFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_depositor","type":"address"}],"name":"pendingPayoutFor","outputs":[{"internalType":"uint256","name":"pendingPayout_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_depositor","type":"address"}],"name":"percentVestedFor","outputs":[{"internalType":"uint256","name":"percentVested_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"policy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"principle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pullManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"pushManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverLostToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"bool","name":"_stake","type":"bool"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_addition","type":"bool"},{"internalType":"uint256","name":"_increment","type":"uint256"},{"internalType":"uint256","name":"_target","type":"uint256"},{"internalType":"uint32","name":"_buffer","type":"uint32"}],"name":"setAdjustment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum FRIENDSHIPSBondDepository.PARAMETER","name":"_parameter","type":"uint8"},{"internalType":"uint256","name":"_input","type":"uint256"}],"name":"setBondTerms","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staking","type":"address"},{"internalType":"bool","name":"_helper","type":"bool"}],"name":"setStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingHelper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"standardizedDebtRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"terms","outputs":[{"internalType":"uint256","name":"controlVariable","type":"uint256"},{"internalType":"uint256","name":"minimumPrice","type":"uint256"},{"internalType":"uint256","name":"maxPayout","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"uint256","name":"maxDebt","type":"uint256"},{"internalType":"uint32","name":"vestingTerm","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"useHelper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c8063844b5c7c11610125578063cf37a891116100ad578063d7ccfb0b1161007c578063d7ccfb0b14610939578063e0176de814610957578063e392a26214610975578063f5c2ab5b14610993578063fc7b9c18146109b757610211565b8063cf37a89114610812578063d4d863ce14610882578063d5025625146108d2578063d79690601461091957610211565b8063ae9832cf116100f4578063ae9832cf14610699578063b4abccba146106ed578063c5332b7c14610747578063cd1234b31461077b578063cea55f57146107f457610211565b8063844b5c7c146105bd5780638dbdbe6d146105db578063904b3ece1461064757806398fabd3a1461066557610211565b806346f68ee9116101a857806361d027b31161017757806361d027b3146104c15780637562650f146104f5578063759076e51461052957806377b81895146105475780637927ebf81461057b57610211565b806346f68ee9146103e75780634cf088d91461042b578063507930ec1461045f5780635a96ac0a146104b757610211565b80631e321a0f116101e45780631e321a0f146102e05780631feed31f1461031b5780632f3f470a1461037f578063451ee4a11461039f57610211565b8063016a42841461021657806301b88ee81461024a5780630505c8c9146102a2578063089208d8146102d6575b600080fd5b61021e6109d5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61028c6004803603602081101561026057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109f9565b6040518082815260200191505060405180910390f35b6102aa610a90565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102de610ab9565b005b610319600480360360408110156102f657600080fd5b81019080803560ff16906020019092919080359060200190929190505050610c38565b005b6103696004803603604081101561033157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610f47565b6040518082815260200191505060405180910390f35b610387611307565b60405180821515815260200191505060405180910390f35b6103a761131a565b6040518086151581526020018581526020018481526020018363ffffffff1681526020018263ffffffff1681526020019550505050505060405180910390f35b610429600480360360208110156103fd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061136b565b005b610433611570565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104a16004803603602081101561047557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611596565b6040518082815260200191505060405180910390f35b6104bf6116c6565b005b6104c961186c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104fd611890565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105316118b4565b6040518082815260200191505060405180910390f35b61054f6118d7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105a76004803603602081101561059157600080fd5b81019080803590602001909291905050506118fd565b6040518082815260200191505060405180910390f35b6105c5611938565b6040518082815260200191505060405180910390f35b610631600480360360608110156105f157600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b4e565b6040518082815260200191505060405180910390f35b61064f6123ec565b6040518082815260200191505060405180910390f35b61066d61253a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106eb600480360360808110156106af57600080fd5b810190808035151590602001909291908035906020019092919080359060200190929190803563ffffffff16906020019092919050505061255e565b005b61072f6004803603602081101561070357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612783565b60405180821515815260200191505060405180910390f35b61074f61292c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107bd6004803603602081101561079157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612950565b604051808581526020018481526020018363ffffffff1681526020018263ffffffff16815260200194505050505060405180910390f35b6107fc6129a0565b6040518082815260200191505060405180910390f35b610880600480360360e081101561082857600080fd5b81019080803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803563ffffffff169060200190929190505050612a95565b005b6108d06004803603604081101561089857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050612c18565b005b6108da612ddb565b604051808781526020018681526020018581526020018481526020018381526020018263ffffffff168152602001965050505050505060405180910390f35b610921612e15565b60405180821515815260200191505060405180910390f35b610941612e39565b6040518082815260200191505060405180910390f35b61095f612ea0565b6040518082815260200191505060405180910390f35b61097d612f74565b6040518082815260200191505060405180910390f35b61099b613002565b604051808263ffffffff16815260200191505060405180910390f35b6109bf613018565b6040518082815260200191505060405180910390f35b7f000000000000000000000000b6a2c2a0eb6fe200bcea09da66b120391f8126af81565b600080610a0583611596565b90506000600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015490506127108210610a5f57809250610a89565b610a86612710610a78848461301e90919063ffffffff16565b6130a490919063ffffffff16565b92505b5050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b7a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cf9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006004811115610d0657fe5b826004811115610d1257fe5b1415610d9d576201fa40811015610d74576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806145936024913960400191505060405180910390fd5b80600460050160006101000a81548163ffffffff021916908363ffffffff160217905550610f43565b60016004811115610daa57fe5b826004811115610db657fe5b1415610e43576103e8811115610e34576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5061796f75742063616e6e6f742062652061626f766520312070657263656e7481525060200191505060405180910390fd5b80600460020181905550610f42565b60026004811115610e5057fe5b826004811115610e5c57fe5b1415610ee957612710811115610eda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f44414f206665652063616e6e6f7420657863656564207061796f75740000000081525060200191505060405180910390fd5b80600460030181905550610f41565b60036004811115610ef657fe5b826004811115610f0257fe5b1415610f1657806004800181905550610f40565b600480811115610f2257fe5b826004811115610f2e57fe5b1415610f3f57806004600101819055505b5b5b5b5b5050565b6000610f5161447b565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016002820160049054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050600061100885611596565b9050612710811061110657600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008082016000905560018201600090556002820160006101000a81549063ffffffff02191690556002820160046101000a81549063ffffffff021916905550508473ffffffffffffffffffffffffffffffffffffffff167f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b183600001516000604051808381526020018281526020019250505060405180910390a26110fd858584600001516130ee565b92505050611301565b600061113361271061112584866000015161301e90919063ffffffff16565b6130a490919063ffffffff16565b9050604051806080016040528061115783866000015161354590919063ffffffff16565b8152602001846020015181526020014263ffffffff1681526020016111ab61119286604001514263ffffffff1661358f90919063ffffffff16565b866060015163ffffffff1661358f90919063ffffffff16565b63ffffffff16815250600e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548163ffffffff021916908363ffffffff16021790555060608201518160020160046101000a81548163ffffffff021916908363ffffffff1602179055509050508573ffffffffffffffffffffffffffffffffffffffff167f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b182600e60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154604051808381526020018281526020019250505060405180910390a26112fb8686836130ee565b93505050505b92915050565b600360149054906101000a900460ff1681565b600a8060000160009054906101000a900460ff16908060010154908060020154908060030160009054906101000a900463ffffffff16908060030160049054906101000a900463ffffffff16905085565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461142c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806144e16026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006115a061447b565b600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016002820160049054906101000a900463ffffffff1663ffffffff1663ffffffff168152505090506000611671826040015163ffffffff164263ffffffff1661354590919063ffffffff16565b90506000826060015163ffffffff16905060008111156116b9576116b2816116a46127108561301e90919063ffffffff16565b6130a490919063ffffffff16565b93506116be565b600093505b505050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461176c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806145076022913960400191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d60405160405180910390a3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b7f0000000000000000000000004b1536b327daf2b9b492936d3696dc1fc1191e4281565b7f000000000000000000000000082d7215fdfa70d969d7fb5e783f8fe86a46333081565b60006118d26118c1612f74565b600f5461354590919063ffffffff16565b905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611931662386f26fc1000061192361191e85611919612e39565b6135d9565b6138ba565b6130a490919063ffffffff16565b9050919050565b60007f000000000000000000000000000000000000000000000000000000000000000015611a7557611a6e6064611a607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166332da80a37f000000000000000000000000b6a2c2a0eb6fe200bcea09da66b120391f8126af6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611a0f57600080fd5b505afa158015611a23573d6000803e3d6000fd5b505050506040513d6020811015611a3957600080fd5b8101908080519060200190929190505050611a52612e39565b61301e90919063ffffffff16565b6130a490919063ffffffff16565b9050611b4b565b611b486064611b3a7f000000000000000000000000b6a2c2a0eb6fe200bcea09da66b120391f8126af73ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611ae357600080fd5b505afa158015611af7573d6000803e3d6000fd5b505050506040513d6020811015611b0d57600080fd5b810190808051906020019092919050505060ff16600a0a611b2c612e39565b61301e90919063ffffffff16565b6130a490919063ffffffff16565b90505b90565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bf2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f496e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b611bfa6138f6565b6004800154600f541115611c76576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4d6178206361706163697479207265616368656400000000000000000000000081525060200191505060405180910390fd5b6000611c80611938565b90506000611c8c61393b565b905080851015611ce7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806145706023913960400191505060405180910390fd5b60007f0000000000000000000000004b1536b327daf2b9b492936d3696dc1fc1191e4273ffffffffffffffffffffffffffffffffffffffff16631eec5a9a7f000000000000000000000000b6a2c2a0eb6fe200bcea09da66b120391f8126af896040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060206040518083038186803b158015611d9857600080fd5b505afa158015611dac573d6000803e3d6000fd5b505050506040513d6020811015611dc257600080fd5b810190808051906020019092919050505090506000611de0826118fd565b905062989680811015611e5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f426f6e6420746f6f20736d616c6c00000000000000000000000000000000000081525060200191505060405180910390fd5b611e63612ea0565b811115611ed8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f426f6e6420746f6f206c6172676500000000000000000000000000000000000081525060200191505060405180910390fd5b6000611f06612710611ef86004600301548561301e90919063ffffffff16565b6130a490919063ffffffff16565b90506000611f2f82611f21858761354590919063ffffffff16565b61354590919063ffffffff16565b9050611f7e33308c7f000000000000000000000000b6a2c2a0eb6fe200bcea09da66b120391f8126af73ffffffffffffffffffffffffffffffffffffffff166139c0909392919063ffffffff16565b7f000000000000000000000000b6a2c2a0eb6fe200bcea09da66b120391f8126af73ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000004b1536b327daf2b9b492936d3696dc1fc1191e428c6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561202f57600080fd5b505af1158015612043573d6000803e3d6000fd5b505050506040513d602081101561205957600080fd5b8101908080519060200190929190505050507f0000000000000000000000004b1536b327daf2b9b492936d3696dc1fc1191e4273ffffffffffffffffffffffffffffffffffffffff1663bc157ac18b7f000000000000000000000000b6a2c2a0eb6fe200bcea09da66b120391f8126af846040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561212457600080fd5b505af1158015612138573d6000803e3d6000fd5b505050506040513d602081101561214e57600080fd5b810190808051906020019092919050505050600082146121d4576121d37f00000000000000000000000099856ab39bdd02a260df43a608c82da33aa10b33837f000000000000000000000000082d7215fdfa70d969d7fb5e783f8fe86a46333073ffffffffffffffffffffffffffffffffffffffff16613a819092919063ffffffff16565b5b6121e984600f54613b2390919063ffffffff16565b600f81905550604051806080016040528061224f85600e60008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154613b2390919063ffffffff16565b81526020018781526020014263ffffffff168152602001600460050160009054906101000a900463ffffffff1663ffffffff16815250600e60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548163ffffffff021916908363ffffffff16021790555060608201518160020160046101000a81548163ffffffff021916908363ffffffff16021790555090505085612358600460050160009054906101000a900463ffffffff1663ffffffff1642613b2390919063ffffffff16565b847f1fec6dc81f140574bf43f6b1e420ae1dd47928b9d57db8cbd7b8611063b85ae58d6040518082815260200191505060405180910390a46123986129a0565b6123a061393b565b6123a8611938565b7f375b221f40939bfd8f49723a17cf7bc6d576ebf72efe2cc3e991826f5b3f390a60405160405180910390a46123dc613bab565b8296505050505050509392505050565b60007f00000000000000000000000000000000000000000000000000000000000000001561252c57612525633b9aca006125177f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166332da80a37f000000000000000000000000b6a2c2a0eb6fe200bcea09da66b120391f8126af6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156124c657600080fd5b505afa1580156124da573d6000803e3d6000fd5b505050506040513d60208110156124f057600080fd5b81019080805190602001909291905050506125096129a0565b61301e90919063ffffffff16565b6130a490919063ffffffff16565b9050612537565b6125346129a0565b90505b90565b7f00000000000000000000000099856ab39bdd02a260df43a608c82da33aa10b3381565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461261f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61264c6103e861263e601960046000015461301e90919063ffffffff16565b6130a490919063ffffffff16565b8311156126c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f496e6372656d656e7420746f6f206c617267650000000000000000000000000081525060200191505060405180910390fd5b6040518060a0016040528085151581526020018481526020018381526020018263ffffffff1681526020014263ffffffff16815250600a60008201518160000160006101000a81548160ff021916908315150217905550602082015181600101556040820151816002015560608201518160030160006101000a81548163ffffffff021916908363ffffffff16021790555060808201518160030160046101000a81548163ffffffff021916908363ffffffff16021790555090505050505050565b60007f000000000000000000000000082d7215fdfa70d969d7fb5e783f8fe86a46333073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127de57600080fd5b7f000000000000000000000000b6a2c2a0eb6fe200bcea09da66b120391f8126af73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561283757600080fd5b6129237f00000000000000000000000099856ab39bdd02a260df43a608c82da33aa10b338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156128c257600080fd5b505afa1580156128d6573d6000803e3d6000fd5b505050506040513d60208110156128ec57600080fd5b81019080805190602001909291905050508473ffffffffffffffffffffffffffffffffffffffff16613a819092919063ffffffff16565b60019050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600e6020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900463ffffffff16908060020160049054906101000a900463ffffffff16905084565b6000807f000000000000000000000000082d7215fdfa70d969d7fb5e783f8fe86a46333073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612a0957600080fd5b505afa158015612a1d573d6000803e3d6000fd5b505050506040513d6020811015612a3357600080fd5b81019080805190602001909291905050509050612a8f670de0b6b3a7640000612a81612a7c612a76633b9aca00612a686118b4565b61301e90919063ffffffff16565b856135d9565b6138ba565b6130a490919063ffffffff16565b91505090565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b56576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6040518060c001604052808881526020018781526020018681526020018581526020018481526020018263ffffffff168152506004600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050160006101000a81548163ffffffff021916908363ffffffff16021790555090505081600f8190555042601060006101000a81548163ffffffff021916908363ffffffff16021790555050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612cd9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d1357600080fd5b8015612d7a576001600360146101000a81548160ff02191690831515021790555081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612dd7565b6000600360146101000a81548160ff02191690831515021790555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b60048060000154908060010154908060020154908060030154908060040154908060050160009054906101000a900463ffffffff16905086565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000612e8562989680612e77633b9aca00612e69612e556129a0565b60046000015461301e90919063ffffffff16565b613b2390919063ffffffff16565b6130a490919063ffffffff16565b9050600460010154811015612e9d5760046001015490505b90565b6000612f6f620186a0612f616004600201547f000000000000000000000000082d7215fdfa70d969d7fb5e783f8fe86a46333073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612f1857600080fd5b505afa158015612f2c573d6000803e3d6000fd5b505050506040513d6020811015612f4257600080fd5b810190808051906020019092919050505061301e90919063ffffffff16565b6130a490919063ffffffff16565b905090565b600080612fa2601060009054906101000a900463ffffffff164263ffffffff1661358f90919063ffffffff16565b9050612fec600460050160009054906101000a900463ffffffff1663ffffffff16612fde8363ffffffff16600f5461301e90919063ffffffff16565b6130a490919063ffffffff16565b9150600f54821115612ffe57600f5491505b5090565b601060009054906101000a900463ffffffff1681565b600f5481565b600080831415613031576000905061309e565b600082840290508284828161304257fe5b0414613099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061454f6021913960400191505060405180910390fd5b809150505b92915050565b60006130e683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613d57565b905092915050565b6000826131c7577f000000000000000000000000082d7215fdfa70d969d7fb5e783f8fe86a46333073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561318657600080fd5b505af115801561319a573d6000803e3d6000fd5b505050506040513d60208110156131b057600080fd5b81019080805190602001909291905050505061353b565b600360149054906101000a900460ff161561337b577f000000000000000000000000082d7215fdfa70d969d7fb5e783f8fe86a46333073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561328f57600080fd5b505af11580156132a3573d6000803e3d6000fd5b505050506040513d60208110156132b957600080fd5b810190808051906020019092919050505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637acb775783866040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b15801561335e57600080fd5b505af1158015613372573d6000803e3d6000fd5b5050505061353a565b7f000000000000000000000000082d7215fdfa70d969d7fb5e783f8fe86a46333073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561342e57600080fd5b505af1158015613442573d6000803e3d6000fd5b505050506040513d602081101561345857600080fd5b810190808051906020019092919050505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637acb775783866040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b1580156134fd57600080fd5b505af1158015613511573d6000803e3d6000fd5b505050506040513d602081101561352757600080fd5b8101908080519060200190929190505050505b5b8190509392505050565b600061358783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613e1d565b905092915050565b60006135d183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613edd565b905092915050565b6135e16144af565b6000821161363a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806145296026913960400191505060405180910390fd5b600083141561367857604051806020016040528060007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681525090506138b4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff71ffffffffffffffffffffffffffffffffffff1683116137b157600082607060ff1685901b816136c557fe5b0490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681111561377c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f77000081525060200191505060405180910390fd5b6040518060200160405280827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509150506138b4565b60006137cd846e01000000000000000000000000000085613fa9565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16811115613883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f77000081525060200191505060405180910390fd5b6040518060200160405280827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509150505b92915050565b60006612725dd1d243ab82600001517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16816138ee57fe5b049050919050565b613912613901612f74565b600f5461354590919063ffffffff16565b600f8190555042601060006101000a81548163ffffffff021916908363ffffffff160217905550565b600061398762989680613979633b9aca0061396b6139576129a0565b60046000015461301e90919063ffffffff16565b613b2390919063ffffffff16565b6130a490919063ffffffff16565b90506004600101548110156139a35760046001015490506139bd565b6000600460010154146139bc5760006004600101819055505b5b90565b613a7b846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061406b565b50505050565b613b1e8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061406b565b505050565b600080828401905083811015613ba1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000613bf6600a60030160009054906101000a900463ffffffff1663ffffffff16600a60030160049054906101000a900463ffffffff1663ffffffff16613b2390919063ffffffff16565b90506000600a6001015414158015613c0e5750804210155b15613d545760006004600001549050600a60000160009054906101000a900460ff1615613c7d57613c52600a60010154600460000154613b2390919063ffffffff16565b600460000181905550600a6002015460046000015410613c78576000600a600101819055505b613cc1565b613c9a600a6001015460046000015461354590919063ffffffff16565b600460000181905550600a6002015460046000015411613cc0576000600a600101819055505b5b42600a60030160046101000a81548163ffffffff021916908363ffffffff1602179055507fb923e581a0f83128e9e1d8297aa52b18d6744310476e0b54509c054cd7a93b2a81600460000154600a60010154600a60000160009054906101000a900460ff1660405180858152602001848152602001838152602001821515815260200194505050505060405180910390a1505b50565b60008083118290613e03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613dc8578082015181840152602081019050613dad565b50505050905090810190601f168015613df55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613e0f57fe5b049050809150509392505050565b6000838311158290613eca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613e8f578082015181840152602081019050613e74565b50505050905090810190601f168015613ebc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008363ffffffff168363ffffffff1611158290613f96576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f5b578082015181840152602081019050613f40565b50505050905090810190601f168015613f885780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000806000613fb8868661415a565b9150915060008480613fc657fe5b868809905082811115613fda576001820391505b8083039250848210614054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f46756c6c4d6174683a3a6d756c4469763a206f766572666c6f7700000000000081525060200191505060405180910390fd5b61405f8383876141ad565b93505050509392505050565b60606140cd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661424a9092919063ffffffff16565b9050600081511115614155578080602001905160208110156140ee57600080fd5b8101908080519060200190929190505050614154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806145b7602a913960400191505060405180910390fd5b5b505050565b60008060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8061418757fe5b848609905083850292508281039150828110156141a5576001820391505b509250929050565b60008082600003831690508083816141c157fe5b0492508085816141cd57fe5b04945060018182600003816141de57fe5b04018402850194506000600190508084026002038102905080840260020381029050808402600203810290508084026002038102905080840260020381029050808402600203810290508084026002038102905080840260020381029050808602925050509392505050565b60606142598484600085614262565b90509392505050565b606061426d85614468565b6142df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061432f578051825260208201915060208101905060208303925061430c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614391576040519150601f19603f3d011682016040523d82523d6000602084013e614396565b606091505b509150915081156143ab578092505050614460565b6000815111156143be5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561442557808201518184015260208101905061440a565b50505050905090810190601f1680156144525780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b905060008111915050919050565b60405180608001604052806000815260200160008152602001600063ffffffff168152602001600063ffffffff1681525090565b604051806020016040528060007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a206d757374206265206e6577206f776e657220746f2070756c6c4669786564506f696e743a3a6672616374696f6e3a206469766973696f6e206279207a65726f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77536c697070616765206c696d69743a206d6f7265207468616e206d617820707269636556657374696e67206d757374206265206c6f6e676572207468616e20333620686f7572735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122054c3d75c2367ddadd9324dbb709dc0008bf2e95b3c0bb1c796ab372388f7595f64736f6c63430007050033

Deployed Bytecode Sourcemap

21917:17615:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22676:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38661:400;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;693:89;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;918:158;;;:::i;:::-;;26593:828;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31212:1241;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23214:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23299:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1084:260;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23083:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38042:439;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1356:221;;;:::i;:::-;;22746:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;22598:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37374:106;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23136:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;35034:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36138:331;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28775:2286;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37000:275;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22831:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;27617:478;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;39253:276;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23002:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23365:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36601:278;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25739:598;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28228:318;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23244:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22903:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;35300:261;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34757:148;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37582:297;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23540:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23458:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22676:34;;;:::o;38661:400::-;38733:19;38766:18;38787:30;38805:10;38787:16;:30::i;:::-;38766:51;;38828:11;38842:8;:22;38852:10;38842:22;;;;;;;;;;;;;;;:29;;;38828:43;;38906:5;38889:13;:22;38884:170;;38946:6;38929:23;;38884:170;;;39002:40;39035:5;39002:27;39014:13;39002:6;:10;;:27;;;;:::i;:::-;:31;;:40;;;;:::i;:::-;38985:57;;38884:170;38661:400;;;;;:::o;693:89::-;741:7;768:6;;;;;;;;;;;761:13;;693:89;:::o;918:158::-;842:10;832:20;;:6;;;;;;;;;;:20;;;823:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1034:1:::1;1001:37;;1018:6;::::0;::::1;;;;;;;;1001:37;;;;;;;;;;;;1066:1;1049:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;918:158::o:0;26593:828::-;842:10;832:20;;:6;;;;;;;;;;:20;;;823:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26705:17:::1;26691:31;;;;;;;;:10;:31;;;;;;;;;26686:728;;;26764:6;26754;:16;;26745:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26854:6;26827:5;:17;;;:34;;;;;;;;;;;;;;;;;;26686:728;;;26898:16;26884:30;;;;;;;;:10;:30;;;;;;;;;26879:535;;;26956:4;26946:6;:14;;26937:61;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;27031:6;27013:5;:15;;:24;;;;26879:535;;;27074:13;27060:27;;;;;;;;:10;:27;;;;;;;;;27055:359;;;27129:5;27119:6;:15;;27110:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;27195:6;27183:5;:9;;:18;;;;27055:359;;;27238:14;27224:28;;;;;;;;:10;:28;;;;;;;;;27219:195;;;27291:6;27275:5;:13:::0;::::1;:22;;;;27219:195;;;27334:18;27320:32:::0;::::1;;;;;;;:10;:32;;;;;;;;;27315:99;;;27396:6;27375:5;:18;;:27;;;;27315:99;27219:195;27055:359;26879:535;26686:728;26593:828:::0;;:::o;31212:1241::-;31282:4;31308:16;;:::i;:::-;31327:8;:22;31337:10;31327:22;;;;;;;;;;;;;;;31308:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31430:18;31451:30;31469:10;31451:16;:30::i;:::-;31430:51;;31517:5;31500:13;:22;31495:951;;31566:8;:22;31576:10;31566:22;;;;;;;;;;;;;;;;31559:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31642:10;31628:42;;;31654:4;:11;;;31667:1;31628:42;;;;;;;;;;;;;;;;;;;;;;;;31710:46;31723:10;31735:6;31743:4;:11;;;31710;:46::i;:::-;31703:53;;;;;;31495:951;31875:11;31889:45;31927:5;31889:32;31906:13;31889:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:45;;;;:::i;:::-;31875:59;;32017:267;;;;;;;;32049:25;32066:6;32049:4;:11;;;:15;;:25;;;;:::i;:::-;32017:267;;;;32254:4;:14;;;32017:267;;;;32208:15;32017:267;;;;;;32102:70;32122:48;32155:4;:13;;;32130:15;32122:31;;;;:48;;;;:::i;:::-;32102:4;:12;;;:18;;;;:70;;;;:::i;:::-;32017:267;;;;;31992:8;:22;32002:10;31992:22;;;;;;;;;;;;;;;:292;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32320:10;32306:65;;;32332:6;32340:8;:22;32350:10;32340:22;;;;;;;;;;;;;;;:29;;;32306:65;;;;;;;;;;;;;;;;;;;;;;;;32393:41;32406:10;32418:6;32426;32393:11;:41::i;:::-;32386:48;;;;;31212:1241;;;;;:::o;23214:21::-;;;;;;;;;;;;;:::o;23299:24::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1084:260::-;842:10;832:20;;:6;;;;;;;;;;:20;;;823:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1207:1:::1;1186:23;;:9;:23;;;;1177:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1293:9;1268:36;;1285:6;::::0;::::1;;;;;;;;1268:36;;;;;;;;;;;;1327:9;1315;;:21;;;;;;;;;;;;;;;;;;1084:260:::0;:::o;23083:22::-;;;;;;;;;;;;;:::o;38042:439::-;38112:19;38145:16;;:::i;:::-;38164:8;:22;38174:10;38164:22;;;;;;;;;;;;;;;38145:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38197:21;38221:44;38250:4;:13;;;38221:44;;38228:15;38221:27;;;;:44;;;;:::i;:::-;38197:68;;38276:12;38291:4;:12;;;38276:27;;;;38331:1;38321:7;:11;38316:158;;;38367:44;38402:7;38367:29;38389:5;38367:16;:20;;:29;;;;:::i;:::-;:33;;:44;;;;:::i;:::-;38350:61;;38316:158;;;38461:1;38444:18;;38316:158;38042:439;;;;;;:::o;1356:221::-;1440:9;;;;;;;;;;;1426:23;;:10;:23;;;1417:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1529:9;;;;;;;;;;;1504:36;;1521:6;;;;;;;;;;1504:36;;;;;;;;;;;;1560:9;;;;;;;;;;;1551:6;;:18;;;;;;;;;;;;;;;;;;1356:221::o;22746:33::-;;;:::o;22598:36::-;;;:::o;37374:106::-;37419:4;37444:28;37459:11;:9;:11::i;:::-;37444:9;;:13;;:28;;;;:::i;:::-;37437:35;;37374:106;:::o;23136:28::-;;;;;;;;;;;;;:::o;35034:161::-;35090:4;35115:72;35181:4;35115:60;:42;35136:6;35144:11;:9;:11::i;:::-;35115:19;:42::i;:::-;:58;:60::i;:::-;:64;;:72;;;;:::i;:::-;35108:79;;35034:161;;;:::o;36138:331::-;36186:11;36215:15;36211:251;;;36257:85;36337:3;36257:74;36291:14;36274:42;;;36318:9;36274:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36257:11;:9;:11::i;:::-;:15;;:74;;;;:::i;:::-;:78;;:85;;;;:::i;:::-;36248:94;;36211:251;;;36384:66;36445:3;36384:55;36415:9;36407:28;;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36401:36;;:2;:36;36384:11;:9;:11::i;:::-;:15;;:55;;;;:::i;:::-;:59;;:66;;;;:::i;:::-;36375:75;;36211:251;36138:331;:::o;28775:2286::-;28897:4;28946:1;28924:24;;:10;:24;;;;28915:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28982:11;:9;:11::i;:::-;29026:5;:13;;;29013:9;;:26;;29004:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29086:15;29104:16;:14;:16::i;:::-;29086:34;;29154:16;29173:12;:10;:12::i;:::-;29154:31;;29220:11;29207:9;:24;;29198:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29308:10;29332:8;29321:29;;;29352:9;29363:7;29321:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29308:64;;29383:11;29397:18;29408:5;29397:9;:18::i;:::-;29383:32;;29479:8;29469:6;:18;;29460:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29592:11;:9;:11::i;:::-;29582:6;:21;;29573:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29718:8;29729:36;29758:5;29729:23;29741:5;:9;;;29729:6;:10;;:23;;;;:::i;:::-;:27;;:36;;;;:::i;:::-;29718:47;;29776:11;29790:30;29815:3;29790:19;29801:6;29790:5;:9;;:19;;;;:::i;:::-;:23;;:30;;;;:::i;:::-;29776:44;;30009:74;30047:10;30067:4;30074:7;30017:9;30009:36;;;;:74;;;;;;:::i;:::-;30102:9;30094:27;;;30132:8;30144:7;30094:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30175:8;30164:29;;;30195:7;30204:9;30215:6;30164:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30256:1;30249:3;:8;30244:120;;30305:46;30341:3;30346;30313:11;30305:34;;;;:46;;;;;:::i;:::-;30244:120;30432:22;30447:5;30432:9;;:13;;:22;;;;:::i;:::-;30420:9;:34;;;;30546:209;;;;;;;;30575:43;30610:6;30575:8;:22;30585:10;30575:22;;;;;;;;;;;;;;;:29;;;:33;;:43;;;;:::i;:::-;30546:209;;;;30733:10;30546:209;;;;30691:15;30546:209;;;;;;30642:5;:17;;;;;;;;;;;;30546:209;;;;;30521:8;:22;30531:10;30521:22;;;;;;;;;;;;;;;:234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30884:10;30842:40;30863:5;:17;;;;;;;;;;;;30842:40;;:15;:19;;:40;;;;:::i;:::-;30834:6;30812:84;30825:7;30812:84;;;;;;;;;;;;;;;;;;30962:11;:9;:11::i;:::-;30948:12;:10;:12::i;:::-;30930:16;:14;:16::i;:::-;30912:63;;;;;;;;;;30988:8;:6;:8::i;:::-;31046:6;31039:13;;;;;;;;28775:2286;;;;;:::o;37000:275::-;37057:4;37080:15;37075:193;;;37120:85;37200:3;37120:74;37154:14;37137:42;;;37181:9;37137:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37120:11;:9;:11::i;:::-;:15;;:74;;;;:::i;:::-;:78;;:85;;;;:::i;:::-;37113:92;;;;37075:193;37245:11;:9;:11::i;:::-;37238:18;;37000:275;;:::o;22831:28::-;;;:::o;27617:478::-;842:10;832:20;;:6;;;;;;;;;;:20;;;823:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27806:43:::1;27843:4;27806:31;27833:2;27806:5;:21;;;:25;;:31;;;;:::i;:::-;:35;;:43;;;;:::i;:::-;27792:10;:57;;27783:91;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;27900:187;;;;;;;;27927:9;27900:187;;;;;;27957:10;27900:187;;;;27990:7;27900:187;;;;28020:7;27900:187;;;;;;28059:15;27900:187;;;;::::0;27887:10:::1;:200;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27617:478:::0;;;;:::o;39253:276::-;39316:4;39353:11;39343:21;;:6;:21;;;;39334:32;;;;;;39396:9;39386:19;;:6;:19;;;;39377:30;;;;;;39418:81;39449:3;39462:6;39454:26;;;39490:4;39454:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39426:6;39418:29;;;;:81;;;;;:::i;:::-;39517:4;39510:11;;39253:276;;;:::o;23002:39::-;;;:::o;23365:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;36601:278::-;36644:15;36676:11;36698;36690:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36676:49;;36749:122;36865:4;36749:110;:92;36784:24;36803:3;36784:13;:11;:13::i;:::-;:17;;:24;;;;:::i;:::-;36824:6;36749:19;:92::i;:::-;:108;:110::i;:::-;:114;;:122;;;;:::i;:::-;36736:135;;36601:278;;:::o;25739:598::-;842:10;832:20;;:6;;;;;;;;;;:20;;;823:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26007:241:::1;;;;;;;;26046:16;26007:241;;;;26091:13;26007:241;;;;26130:10;26007:241;;;;26160:4;26007:241;;;;26188:8;26007:241;;;;26224:12;26007:241;;;;::::0;25999:5:::1;:249;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26271:12;26259:9;:24;;;;26313:15;26294:9;;:35;;;;;;;;;;;;;;;;;;25739:598:::0;;;;;;;:::o;28228:318::-;842:10;832:20;;:6;;;;;;;;;;:20;;;823:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28344:1:::1;28324:22;;:8;:22;;;;28315:33;;;::::0;::::1;;28364:7;28359:180;;;28401:4;28389:9;;:16;;;;;;;;;;;;;;;;;;28436:8;28420:13;;:24;;;;;;;;;;;;;;;;;;28359:180;;;28489:5;28477:9;;:17;;;;;;;;;;;;;;;;;;28519:8;28509:7;;:18;;;;;;;;;;;;;;;;;;28359:180;28228:318:::0;;:::o;23244:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22903:37::-;;;:::o;35300:261::-;35343:11;35385:69;35449:3;35385:58;35431:10;35385:40;35412:11;:9;:11::i;:::-;35385:5;:21;;;:25;;:40;;;;:::i;:::-;:44;;:58;;;;:::i;:::-;:62;;:69;;;;:::i;:::-;35376:78;;35479:5;:18;;;35470:6;:27;35465:89;;;35524:5;:18;;;35515:27;;35465:89;35300:261;:::o;34757:148::-;34800:4;34825:72;34889:6;34825:58;34866:5;:15;;;34833:11;34825:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:39;;:58;;;;:::i;:::-;:62;;:72;;;;:::i;:::-;34818:79;;34757:148;:::o;37582:297::-;37625:11;37650:20;37673:42;37704:9;;;;;;;;;;;37680:15;37673:29;;;;:42;;;;:::i;:::-;37650:65;;37735:55;37771:5;:17;;;;;;;;;;;;37735:55;;:30;37750:13;37735:30;;:9;;:13;;:30;;;;:::i;:::-;:34;;:55;;;;:::i;:::-;37726:64;;37815:9;;37806:6;:18;37801:71;;;37851:9;;37842:18;;37801:71;37582:297;;:::o;23540:23::-;;;;;;;;;;;;;:::o;23458:21::-;;;;:::o;2486:250::-;2544:7;2573:1;2568;:6;2564:47;;;2598:1;2591:8;;;;2564:47;2623:9;2639:1;2635;:5;2623:17;;2668:1;2663;2659;:5;;;;;;:10;2651:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2727:1;2720:8;;;2486:250;;;;;:::o;2744:132::-;2802:7;2829:39;2833:1;2836;2829:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;2822:46;;2744:132;;;;:::o;32683:714::-;32772:4;32796:6;32790:575;;32862:11;32854:30;;;32886:10;32898:7;32854:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32790:575;;;32986:9;;;;;;;;;;;32981:373;;;33055:11;33047:29;;;33078:13;;;;;;;;;;;33093:7;33047:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33137:13;;;;;;;;;;;33121:37;;;33160:7;33169:10;33121:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32981:373;;;33230:11;33222:29;;;33253:7;;;;;;;;;;;33262;33222:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33300:7;;;;;;;;;;;33290:25;;;33317:7;33326:10;33290:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32981:373;32790:575;33382:7;33375:14;;32683:714;;;;;:::o;1799:136::-;1857:7;1884:43;1888:1;1891;1884:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1877:50;;1799:136;;;;:::o;2143:137::-;2201:6;2227:45;2233:1;2236;2227:45;;;;;;;;;;;;;;;;;:5;:45::i;:::-;2220:52;;2143:137;;;;:::o;20577:719::-;20658:16;;:::i;:::-;20709:1;20695:11;:15;20687:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20781:1;20768:9;:14;20764:50;;;20791:23;;;;;;;;20812:1;20791:23;;;;;20784:30;;;;20764:50;20852:2;20831:24;;:9;:24;20827:462;;20872:14;20917:11;20003:3;20890:23;;:9;:23;;20889:39;;;;;;20872:56;;20969:2;20951:21;;:6;:21;;20943:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21029:26;;;;;;;;21047:6;21029:26;;;;;21022:33;;;;;20827:462;21088:14;21105:45;21121:9;20045:31;21138:11;21105:15;:45::i;:::-;21088:62;;21191:2;21173:21;;:6;:21;;21165:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21251:26;;;;;;;;21269:6;21251:26;;;;;21244:33;;;20577:719;;;;;:::o;20432:137::-;20503:4;20545:16;20534:4;:7;;;20529:13;;:32;;;;;;20522:39;;20432:137;;;:::o;34477:135::-;34530:28;34545:11;:9;:11::i;:::-;34530:9;;:13;;:28;;;;:::i;:::-;34518:9;:40;;;;34588:15;34569:9;;:35;;;;;;;;;;;;;;;;;;34477:135::o;35688:345::-;35729:11;35763:69;35827:3;35763:58;35809:10;35763:40;35790:11;:9;:11::i;:::-;35763:5;:21;;;:25;;:40;;;;:::i;:::-;:44;;:58;;;;:::i;:::-;:62;;:69;;;;:::i;:::-;35754:78;;35857:5;:18;;;35848:6;:27;35843:183;;;35902:5;:18;;;35893:27;;35843:183;;;35973:1;35951:5;:18;;;:23;35946:80;;36013:1;35992:5;:18;;:22;;;;35946:80;35843:183;35688:345;:::o;17100:205::-;17201:96;17221:5;17251:27;;;17280:4;17286:2;17290:5;17228:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17201:19;:96::i;:::-;17100:205;;;;:::o;16915:177::-;16998:86;17018:5;17048:23;;;17073:2;17077:5;17025:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16998:19;:86::i;:::-;16915:177;;;:::o;1610:181::-;1668:7;1688:9;1704:1;1700;:5;1688:17;;1729:1;1724;:6;;1716:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1782:1;1775:8;;;1610:181;;;;:::o;33489:927::-;33527:18;33548:44;33573:10;:17;;;;;;;;;;;;33548:44;;:10;:19;;;;;;;;;;;;:23;;;;:44;;;;:::i;:::-;33527:65;;33626:1;33607:10;:15;;;:20;;:56;;;;;33650:13;33631:15;:32;;33607:56;33603:806;;;33681:12;33696:5;:21;;;33681:36;;33737:10;:14;;;;;;;;;;;;33732:494;;;33797:44;33824:10;:15;;;33797:5;:21;;;:25;;:44;;;;:::i;:::-;33773:5;:21;;:68;;;;33890:10;:17;;;33865:5;:21;;;:42;33860:112;;33951:1;33933:10;:15;;:19;;;;33860:112;33732:494;;;34036:44;34063:10;:15;;;34036:5;:21;;;:25;;:44;;;;:::i;:::-;34012:5;:21;;:68;;;;34129:10;:17;;;34104:5;:21;;;:42;34099:112;;34190:1;34172:10;:15;;:19;;;;34099:112;33732:494;34269:15;34240:10;:19;;;:45;;;;;;;;;;;;;;;;;;34305:92;34332:7;34341:5;:21;;;34364:10;:15;;;34381:10;:14;;;;;;;;;;;;34305:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33603:806;;33489:927;:::o;2884:189::-;2970:7;3002:1;2998;:5;3005:12;2990:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3029:9;3045:1;3041;:5;;;;;;3029:17;;3064:1;3057:8;;;2884:189;;;;;:::o;1943:192::-;2029:7;2062:1;2057;:6;;2065:12;2049:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2089:9;2105:1;2101;:5;2089:17;;2126:1;2119:8;;;1943:192;;;;;:::o;2288:190::-;2374:6;2406:1;2401:6;;:1;:6;;;;2409:12;2393:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2433:8;2448:1;2444;:5;2433:16;;2469:1;2462:8;;;2288:190;;;;;:::o;19477:347::-;19583:7;19604:9;19615;19628:13;19636:1;19639;19628:7;:13::i;:::-;19603:38;;;;19652:10;19678:1;19665:15;;;;;19675:1;19672;19665:15;19652:28;;19700:1;19695:2;:6;19691:18;;;19708:1;19703:6;;;;19691:18;19725:2;19720:7;;;;19750:1;19746;:5;19738:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19800:16;19808:1;19811;19814;19800:7;:16::i;:::-;19793:23;;;;;19477:347;;;;;:::o;18318:420::-;18401:23;18427:69;18455:4;18427:69;;;;;;;;;;;;;;;;;18435:5;18427:27;;;;:69;;;;;:::i;:::-;18401:95;;18531:1;18511:10;:17;:21;18507:224;;;18653:10;18642:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18634:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18507:224;18318:420;;;:::o;18769:210::-;18830:9;18841;18863:10;18897:2;18876:25;;;;;18886:1;18883;18876:25;18863:38;;18920:1;18916;:5;18912:9;;18941:1;18936:2;:6;18932:10;;18962:1;18957:2;:6;18953:18;;;18970:1;18965:6;;;;18953:18;18769:210;;;;;;:::o;18987:482::-;19093:7;19113:12;19133:1;19132:2;;19128:1;:6;19113:21;;19150:4;19145:9;;;;;;;;;19170:4;19165:9;;;;;;;;;19212:1;19205:4;19197;19196:5;;19195:14;;;;;;:18;19190:1;:24;19185:29;;;;19225:9;19237:1;19225:13;;19262:1;19258;:5;19254:1;:9;19249:14;;;;19287:1;19283;:5;19279:1;:9;19274:14;;;;19312:1;19308;:5;19304:1;:9;19299:14;;;;19337:1;19333;:5;19329:1;:9;19324:14;;;;19362:1;19358;:5;19354:1;:9;19349:14;;;;19387:1;19383;:5;19379:1;:9;19374:14;;;;19412:1;19408;:5;19404:1;:9;19399:14;;;;19437:1;19433;:5;19429:1;:9;19424:14;;;;19460:1;19456;:5;19449:12;;;;18987:482;;;;;:::o;4585:232::-;4724:12;4756:53;4779:6;4787:4;4793:1;4796:12;4756:22;:53::i;:::-;4749:60;;4585:232;;;;;:::o;5643:1025::-;5819:12;5852:18;5863:6;5852:10;:18::i;:::-;5844:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5978:12;5992:23;6019:6;:11;;6039:8;6050:4;6019:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5977:78;;;;6070:7;6066:595;;;6101:10;6094:17;;;;;;6066:595;6235:1;6215:10;:17;:21;6211:439;;;6478:10;6472:17;6539:15;6526:10;6522:2;6518:19;6511:44;6426:148;6621:12;6614:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5643:1025;;;;;;;:::o;3758:233::-;3818:4;3837:12;3948:7;3936:20;3928:28;;3982:1;3975:4;:8;3968:15;;;3758:233;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://54c3d75c2367ddadd9324dbb709dc0008bf2e95b3c0bb1c796ab372388f7595f

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.