Contract 0x2c9773E9B7c240735175E8211887774accBD0B44

 

Contract Overview

Balance:
0 ETH

ETH Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x8ebded8b9fdb32f5c34fb7eeed441b072ce261ce6e0c9d1bcef48d9578853473Set Bond Terms48537792022-01-21 9:33:287 days 2 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.000897126469 ETH
0x7196cb147e1b4a9fe2ca084ab146ede5a6a719a09a5a73cf1c1b6e68e42f5ae4Set Bond Terms48392852022-01-21 0:00:197 days 11 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.00089185628 ETH
0x97b6cebecb22679da5d607a37e48754c94f12d2497d31731f3e752782b95bdb4Set Bond Terms48208602022-01-20 12:04:097 days 23 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.000775040114 ETH
0xcce04e27146952cda93694943792e97a26b5ebb3e14bd4bd4c2e9fce32d0ac11Set Bond Terms47899942022-01-19 11:59:598 days 23 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.000753234017 ETH
0xfd4815e026adfe83288de7608f41ff1c1c3c6260a063e5972fddc476a694c587Set Bond Terms47752672022-01-18 22:59:269 days 12 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.000800158805 ETH
0xb3f006bd3567fbf68c43f9056ff5b53bc34f1fa3e0e7aa5ba43f210a97e834faSet Bond Terms47705312022-01-18 20:00:119 days 15 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.000780623251 ETH
0x2f6b5b75970463957005f11c206696dec604736c6bb3b3039f686baa69120dfbSet Bond Terms47694012022-01-18 18:59:439 days 16 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.000779056163 ETH
0xe37c7c26c818875c5610fb91320a6e9cbc9b6ec854f795ca3a9710e6c3035aa2Set Bond Terms47155542022-01-17 1:59:4511 days 9 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.000937822558 ETH
0x3f2222d617e85849dcddcf184bf42657f667767d2095858a56cf29ec8f2677b6Set Bond Terms47131012022-01-16 23:59:2911 days 11 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.000937523142 ETH
0xa1ec909156047f362ca83bad542ae2ecbcd0fc1b3c64058a3ab34ffe5a874a11Set Bond Terms47045792022-01-16 17:59:3811 days 17 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.000855976829 ETH
0x73d043da2e81ead4fcd80fb518281467d8dc4a97c44947f5abf6c73a173ce9a1Set Bond Terms47030392022-01-16 17:00:0111 days 18 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.00085425847 ETH
0x8a59ead6536e93c32891f7895d6c16d381d7fc99088e267f65ee85125e9fc800Set Bond Terms46981322022-01-16 13:59:3311 days 21 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.00088691487 ETH
0x2f13ed208b75537bb8536bea582f83e244f8151279dd6ebc4ff39fb95a4d989dSet Bond Terms46811762022-01-15 23:59:3612 days 11 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001013594712 ETH
0x6a1e959bae49a23948bfea7cdabc15b91f04b603feca0642979ec8c64007ac43Set Bond Terms46648282022-01-15 11:00:0813 days 45 mins ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001078491249 ETH
0x08b2928231cd19a99ec6ac8b1c9441f7cf0a725ca466a3017c6d711393302f49Set Bond Terms46613332022-01-15 7:59:2713 days 3 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001095636513 ETH
0x095b62ca12f62b14ba1c48deb661ad287da5d945603f00612d3d489b445e60e0Set Bond Terms46582282022-01-15 4:59:3413 days 6 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.00111246963 ETH
0x9df46c740b066a407ddcff58a518b3a596b3370b5639455349e9068089bc0518Set Bond Terms46530832022-01-15 0:00:0713 days 11 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001121645695 ETH
0xa6eb7fb3ea1deeb54033e67a3b3a77f2c329e94ee94fdd9cf3173145d9d4057fRedeem46516522022-01-14 22:38:3713 days 13 hrs ago0xb33da319afb0f013980196caedacb4e1327e5877 IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001138796191 ETH
0xf72cd19ed203c2e06849dcc1cfdc3ecb7fd6d235d0c74256ddd918f09e7c341bSet Bond Terms46472962022-01-14 18:59:3013 days 16 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001120414673 ETH
0x04b2de8e744c49a09de9cf5254e3a608d11dfcdccc73c721f24c561d87b87d49Set Bond Terms45494652022-01-11 1:59:5917 days 9 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001170937219 ETH
0x6157bba7047d37a7772f36fd1930bf508cf2f95b711b27c02a2b91b2eca8aebeSet Bond Terms45484192022-01-11 0:59:4217 days 10 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001172510627 ETH
0x3b291f78dab71f82bf941eb0d9a8a0c4fd6774ea370eafde9f63c03504412325Set Bond Terms45442672022-01-10 20:59:4317 days 14 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001133734298 ETH
0x2f7d3d2c0ef53d4e4cdea36f0fdebdf62524bee232cdd863cd699c7a68f8f3acSet Bond Terms45417262022-01-10 19:00:2017 days 16 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001125239878 ETH
0xbafe1902e50ef77c750627232439660ff7c8645069491d6aebf8d49db912c183Set Bond Terms45363702022-01-10 15:59:4417 days 19 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001045387257 ETH
0x36131a601d4af71a58825d78dff8074c489e3aefaa1bd52004bcdb9c2dd361e5Set Bond Terms45344292022-01-10 14:59:4117 days 20 hrs ago0x530f340ea366115287c8ab72bd7620f57ea79d4e IN  0x2c9773e9b7c240735175e8211887774accbd0b440 ETH0.001008647951 ETH
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UMAMIBondDepository

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at arbiscan.io on 2022-01-15
*/

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

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

    mapping(address=>bool) internal _owners;

    address internal _newOwner;

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

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

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

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

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

library SafeMath {

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

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

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

library Address {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return string(_addr);

    }
}

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

    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

abstract contract ERC20 is IERC20 {

    using SafeMath for uint256;

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

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

    uint256 internal _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

interface IERC2612Permit {

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

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

library Counters {
    using SafeMath for uint256;

    struct Counter {

        uint256 _value; // default: 0
    }

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

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

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

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

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

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

    bytes32 public DOMAIN_SEPARATOR;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

library FixedPoint {

    struct uq112x112 {
        uint224 _x;
    }

    struct uq144x112 {
        uint256 _x;
    }

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

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

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

        return uint(self._x) / 5192296858534827;
    }

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

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

interface 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 IsUMAMI {
    function index() external view returns ( uint );
}

interface IwsUMAMI {
    function wUMAMITosUMAMI( uint _amount ) external returns ( uint );
    function sUMAMITowUMAMI( uint _amount ) external returns ( uint );
}

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

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

contract UMAMIBondDepository 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 UMAMI; // token given as payment for bond
    address public immutable sUMAMI; // token given as payment for bond
    address public immutable wsUMAMI; // token given as payment for bond
    address public immutable principle; // token used to create bond
    address public immutable treasury; // mints OHM when receives principle
    address public immutable DAO; // receives profit share from bond

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

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

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

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

    uint public totalDebt; // total value of outstanding bonds; used for pricing
    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; // OHM 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 _UMAMI,
        address _sUMAMI,
        address _wsUMAMI,
        address _principle,
        address _treasury, 
        address _DAO, 
        address _bondCalculator
    ) {
        require( _UMAMI != address(0) );
        UMAMI = _UMAMI;
        require( _sUMAMI != address(0) );
        sUMAMI = _sUMAMI;
        require( _wsUMAMI != address(0) );
        wsUMAMI = _wsUMAMI;
        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 onlyAdmin() {
        require( terms.controlVariable == 0, "Bonds must be initialized from 0" );
        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, BCV }
    /**
     *  @notice set parameters for new bonds
     *  @param _parameter PARAMETER
     *  @param _input uint
     */
    function setBondTerms ( PARAMETER _parameter, uint _input ) external onlyAdmin() {
        if ( _parameter == PARAMETER.VESTING ) { // 0
            require( _input >= 129600, "Vesting must be longer than 36 hours" );
            terms.vestingTerm = uint32(_input);
        } else if ( _parameter == PARAMETER.PAYOUT ) { // 1
            require( _input <= 1000, "Payout cannot be above 1 percent" );
            terms.maxPayout = _input;
        } else if ( _parameter == PARAMETER.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;
        }else if ( _parameter == PARAMETER.BCV ) { // 5
            terms.controlVariable = _input;
        }
    }

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

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

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


    

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

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

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

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

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

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

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

        /**
            principle is transferred in
            approved and
            deposited into the treasury, returning (_amount - profit) OHM
         */
        IERC20( principle ).safeTransferFrom( msg.sender, address(this), _amount );
        IERC20( principle ).approve( address( treasury ), _amount );
        ITreasury( treasury ).deposit( _amount, principle, profit );

        // stake newly minted tokens
        if ( useHelper ) { 
            IERC20( UMAMI ).approve( stakingHelper, payout );
            IStakingHelper( stakingHelper ).stake( payout, address(this) );
        } else {
            IERC20( UMAMI ).approve( staking, payout );
            IStaking( staking ).stake( payout, address(this) );
            IStaking( staking ).claim( address(this) );
        }
        uint wPayout = IwsUMAMI( wsUMAMI ).sUMAMITowUMAMI( payout );
        
        if ( fee != 0 ) { // fee is transferred to dao 
            IERC20( UMAMI ).safeTransfer( DAO, fee ); 
        }
        
        // total debt is increased
        totalDebt = totalDebt.add( value ); 
                
        // depositor info is stored
        bondInfo[ _depositor ] = Bond({ 
            payout: bondInfo[ _depositor ].payout.add( wPayout ),
            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
     *  @return uint
     */ 
    function redeem( address _recipient ) 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
            uint payout = IwsUMAMI( wsUMAMI ).wUMAMITosUMAMI( info.payout );
            emit BondRedeemed( _recipient, payout, 0 ); // emit bond data
            return send( _recipient, payout ); // pay user everything due

        }
    }



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

    /**
     *  @notice allow user to stake payout automatically
     *  @param _amount uint
     *  @return uint
     */
    function send( address _recipient, uint _amount ) internal returns ( uint ) {
        IERC20( sUMAMI ).safeTransfer( _recipient, _amount ); // send payout
        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( UMAMI ).totalSupply().mul( terms.maxPayout ).div( 100000 );
    }

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


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

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

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


    /**
     *  @notice calculate current ratio of debt to OHM supply
     *  @return debtRatio_ uint
     */
    function debtRatio() public view returns ( uint debtRatio_ ) {  
        uint supply = IERC20( UMAMI ).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 OHM available for claim by depositor
     *  @param _depositor address
     *  @return pendingPayout_ uint
     */
    function pendingPayoutFor( address _depositor ) external view returns ( uint pendingPayout_ ) {
        uint percentVested = percentVestedFor( _depositor );
        uint payout = bondInfo[ _depositor ].payout;

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




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

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"_UMAMI","type":"address"},{"internalType":"address","name":"_sUMAMI","type":"address"},{"internalType":"address","name":"_wsUMAMI","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":true,"internalType":"address","name":"previousOwner","type":"address"}],"name":"AdminPulled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addedBy","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"AdminPushed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"deposit","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"payout","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"expires","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"priceInUSD","type":"uint256"}],"name":"BondCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"priceInUSD","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"internalPrice","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"debtRatio","type":"uint256"}],"name":"BondPriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"payout","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"remaining","type":"uint256"}],"name":"BondRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"initialBCV","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBCV","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"adjustment","type":"uint256"},{"indexed":false,"internalType":"bool","name":"addition","type":"bool"}],"name":"ControlVariableAdjustment","type":"event"},{"inputs":[],"name":"DAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UMAMI","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":[{"internalType":"address","name":"id","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"principle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"pushAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverLostToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"oldOwner_","type":"address"}],"name":"renounceAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sUMAMI","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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 UMAMIBondDepository.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"},{"inputs":[],"name":"wsUMAMI","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6101806040523480156200001257600080fd5b5060405162002fc638038062002fc6833981810160405260e08110156200003857600080fd5b5080516020808301516040808501516060860151608087015160a088015160c09098015133600081815297889052858820805460ff1916600117905594519798959793969295919491939092907f55afcb507472af8b6733d5e5c3c14e658463350e0e8cd96ae0768979fa7d27f9908290a36001600160a01b038716620000be57600080fd5b6001600160601b0319606088901b166080526001600160a01b038616620000e457600080fd5b6001600160601b0319606087901b1660a0526001600160a01b0385166200010a57600080fd5b6001600160601b0319606086901b1660c0526001600160a01b0384166200013057600080fd5b6001600160601b0319606085901b1660e0526001600160a01b0383166200015657600080fd5b6001600160601b0319606084901b16610100526001600160a01b0382166200017d57600080fd5b6001600160601b0319606092831b8116610120529181901b909116610160526001600160a01b0316151560f81b61014052505050505060805160601c60a05160601c60c05160601c60e05160601c6101005160601c6101205160601c6101405160f81c6101605160601c612d1b620002ab60003980610b3c52806116905280611c98525080610b0e528061165f5280611fcc52508061147a52806118ee5280611be5525080610a915280610da55280610fa9528061108b52508061061c5280610b6b5280610c125280610dd45280610f505280610f7a528061105a52806116bf5280611ba35250806108f552806113b3528061181e525080611cee528061263a52508061089f5280611140528061125352806114585280611b645280611d1552806120415250612d1b6000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c806395a2251f11610125578063cf37a891116100ad578063d7ccfb0b1161007c578063d7ccfb0b146105d9578063e0176de8146105e1578063e392a262146105e9578063f5c2ab5b146105f1578063fc7b9c18146106125761021c565b8063cf37a8911461051b578063d4d863ce14610562578063d502562514610590578063d7969060146105d15761021c565b8063b4abccba116100f4578063b4abccba1461048b578063c5332b7c146104b1578063cd1234b3146104b9578063ce2db2231461050b578063cea55f57146105135761021c565b806395a2251f1461040057806398fabd3a146104265780639dedb4841461042e578063ae9832cf146104545761021c565b8063507930ec116101a857806377b818951161017757806377b81895146103995780637927ebf8146103a1578063844b5c7c146103be5780638dbdbe6d146103c6578063904b3ece146103f85761021c565b8063507930ec1461033d5780635e1fab0f1461036357806361d027b314610389578063759076e5146103915761021c565b806324d7806c116101ef57806324d7806c146102ad5780632f3f470a146102e75780633444d577146102ef578063451ee4a1146102f75780634cf088d9146103355761021c565b8063016a42841461022157806301b88ee8146102455780631e321a0f1461027d5780631eee01b0146102a5575b600080fd5b61022961061a565b604080516001600160a01b039092168252519081900360200190f35b61026b6004803603602081101561025b57600080fd5b50356001600160a01b031661063e565b60408051918252519081900360200190f35b6102a36004803603604081101561029357600080fd5b5060ff8135169060200135610697565b005b61022961089d565b6102d3600480360360208110156102c357600080fd5b50356001600160a01b03166108c1565b604080519115158252519081900360200190f35b6102d36108e3565b6102296108f3565b6102ff610917565b60408051951515865260208601949094528484019290925263ffffffff9081166060850152166080830152519081900360a00190f35b61022961093d565b61026b6004803603602081101561035357600080fd5b50356001600160a01b031661094c565b6102a36004803603602081101561037957600080fd5b50356001600160a01b03166109f4565b610229610a8f565b61026b610ab3565b610229610acf565b61026b600480360360208110156103b757600080fd5b5035610ade565b61026b610b0a565b61026b600480360360608110156103dc57600080fd5b50803590602081013590604001356001600160a01b0316610ca3565b61026b61165b565b61026b6004803603602081101561041657600080fd5b50356001600160a01b0316611757565b6102296118ec565b6102a36004803603602081101561044457600080fd5b50356001600160a01b0316611910565b6102a36004803603608081101561046a57600080fd5b5080351515906020810135906040810135906060013563ffffffff16611a4c565b6102d3600480360360208110156104a157600080fd5b50356001600160a01b0316611b60565b610229611c96565b6104df600480360360208110156104cf57600080fd5b50356001600160a01b0316611cba565b60408051948552602085019390935263ffffffff91821684840152166060830152519081900360800190f35b610229611cec565b61026b611d10565b6102a3600480360360e081101561053157600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c0013563ffffffff16611dc8565b6102a36004803603604081101561057857600080fd5b506001600160a01b0381351690602001351515611ee7565b610598611faf565b604080519687526020870195909552858501939093526060850191909152608084015263ffffffff1660a0830152519081900360c00190f35b6102d3611fca565b61026b611fee565b61026b61202d565b61026b6120ca565b6105f9612123565b6040805163ffffffff9092168252519081900360200190f35b61026b61212f565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008061064a8361094c565b6001600160a01b0384166000908152600e6020526040902054909150612710821061067757809250610690565b61068d6127106106878385612135565b90612195565b92505b5050919050565b3360009081526020819052604090205460ff166106e9576040805162461bcd60e51b81526020600482018190526024820152600080516020612c30833981519152604482015290519081900360640190fd5b60008260058111156106f757fe5b1415610759576201fa4081101561073f5760405162461bcd60e51b8152600401808060200182810382526024815260200180612c736024913960400191505060405180910390fd5b6009805463ffffffff191663ffffffff8316179055610899565b600182600581111561076757fe5b14156107ce576103e88111156107c4576040805162461bcd60e51b815260206004820181905260248201527f5061796f75742063616e6e6f742062652061626f766520312070657263656e74604482015290519081900360640190fd5b6006819055610899565b60028260058111156107dc57fe5b141561084357612710811115610839576040805162461bcd60e51b815260206004820152601c60248201527f44414f206665652063616e6e6f7420657863656564207061796f757400000000604482015290519081900360640190fd5b6007819055610899565b600382600581111561085157fe5b1415610861576008819055610899565b600482600581111561086f57fe5b141561087f576005819055610899565b600582600581111561088d57fe5b14156108995760048190555b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b03811660009081526020819052604090205460ff165b919050565b600354600160a01b900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b600a54600b54600c54600d5460ff9093169263ffffffff80821691600160201b90041685565b6002546001600160a01b031681565b6000610956612b7c565b506001600160a01b0382166000908152600e602090815260408083208151608081018352815481526001820154938101939093526002015463ffffffff808216928401839052600160201b909104811660608401529192916109bc91428216916121d716565b606083015190915063ffffffff1680156109e7576109e08161068784612710612135565b93506109ec565b600093505b505050919050565b3360009081526020819052604090205460ff16610a46576040805162461bcd60e51b81526020600482018190526024820152600080516020612c30833981519152604482015290519081900360640190fd5b6001600160a01b038116600081815260208190526040808220805460ff19169055517f82507b75432a5bfae38b4043d050189bb6e16701bd353e27d9b953b97d9712a99190a250565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610ac9610ac06120ca565b600f54906121d7565b90505b90565b6003546001600160a01b031681565b6000610b04662386f26fc10000610687610aff85610afa611fee565b612219565b612390565b92915050565b60007f000000000000000000000000000000000000000000000000000000000000000015610c0857610c0160646106877f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166332da80a37f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610bc757600080fd5b505afa158015610bdb573d6000803e3d6000fd5b505050506040513d6020811015610bf157600080fd5b5051610bfb611fee565b90612135565b9050610acc565b610ac960646106877f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610c6957600080fd5b505afa158015610c7d573d6000803e3d6000fd5b505050506040513d6020811015610c9357600080fd5b505160ff16600a0a610bfb611fee565b60006001600160a01b038216610cf2576040805162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015290519081900360640190fd5b610cfa6123a8565b600854600f541115610d4a576040805162461bcd60e51b815260206004820152601460248201527313585e0818d85c1858da5d1e481c995858da195960621b604482015290519081900360640190fd5b6000610d54610b0a565b90506000610d606123cd565b905080851015610da15760405162461bcd60e51b8152600401808060200182810382526023815260200180612c506023913960400191505060405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631eec5a9a7f0000000000000000000000000000000000000000000000000000000000000000896040518363ffffffff1660e01b815260040180836001600160a01b031681526020018281526020019250505060206040518083038186803b158015610e3857600080fd5b505afa158015610e4c573d6000803e3d6000fd5b505050506040513d6020811015610e6257600080fd5b505190506000610e7182610ade565b905062989680811015610ebc576040805162461bcd60e51b815260206004820152600e60248201526d109bdb99081d1bdbc81cdb585b1b60921b604482015290519081900360640190fd5b610ec461202d565b811115610f09576040805162461bcd60e51b815260206004820152600e60248201526d426f6e6420746f6f206c6172676560901b604482015290519081900360640190fd5b6000610f296127106106876004600301548561213590919063ffffffff16565b90506000610f4182610f3b86866121d7565b906121d7565b9050610f786001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308d61240f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663095ea7b37f00000000000000000000000000000000000000000000000000000000000000008c6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561100f57600080fd5b505af1158015611023573d6000803e3d6000fd5b505050506040513d602081101561103957600080fd5b50506040805163bc157ac160e01b8152600481018c90526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301526044820184905291517f00000000000000000000000000000000000000000000000000000000000000009092169163bc157ac1916064808201926020929091908290030181600087803b1580156110d657600080fd5b505af11580156110ea573d6000803e3d6000fd5b505050506040513d602081101561110057600080fd5b5050600354600160a01b900460ff1615611227576003546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810186905290517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b15801561118b57600080fd5b505af115801561119f573d6000803e3d6000fd5b505050506040513d60208110156111b557600080fd5b505060035460408051637acb775760e01b81526004810186905230602482015290516001600160a01b0390921691637acb77579160448082019260009290919082900301818387803b15801561120a57600080fd5b505af115801561121e573d6000803e3d6000fd5b505050506113af565b6002546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810186905290517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b15801561129e57600080fd5b505af11580156112b2573d6000803e3d6000fd5b505050506040513d60208110156112c857600080fd5b505060025460408051637acb775760e01b81526004810186905230602482015290516001600160a01b0390921691637acb7757916044808201926020929091908290030181600087803b15801561131e57600080fd5b505af1158015611332573d6000803e3d6000fd5b505050506040513d602081101561134857600080fd5b505060025460408051630f41a04d60e11b815230600482015290516001600160a01b0390921691631e83409a9160248082019260009290919082900301818387803b15801561139657600080fd5b505af11580156113aa573d6000803e3d6000fd5b505050505b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663345afa83856040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b15801561141757600080fd5b505af115801561142b573d6000803e3d6000fd5b505050506040513d602081101561144157600080fd5b50519050821561149f5761149f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000008561246f565b600f546114ac90866124c6565b600f55604080516080810182526001600160a01b038b166000908152600e602052919091205481906114de90846124c6565b81526020018881526020014263ffffffff168152602001600460050160009054906101000a900463ffffffff1663ffffffff16815250600e60008b6001600160a01b03166001600160a01b03168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548163ffffffff021916908363ffffffff16021790555060608201518160020160046101000a81548163ffffffff021916908363ffffffff160217905550905050866115cd600460050160009054906101000a900463ffffffff1663ffffffff16426124c690919063ffffffff16565b604080518e8152905187917f1fec6dc81f140574bf43f6b1e420ae1dd47928b9d57db8cbd7b8611063b85ae5919081900360200190a461160b611d10565b6116136123cd565b61161b610b0a565b6040517f375b221f40939bfd8f49723a17cf7bc6d576ebf72efe2cc3e991826f5b3f390a90600090a461164c612520565b50919998505050505050505050565b60007f00000000000000000000000000000000000000000000000000000000000000001561174f57610c01633b9aca006106877f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166332da80a37f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561171b57600080fd5b505afa15801561172f573d6000803e3d6000fd5b505050506040513d602081101561174557600080fd5b5051610bfb611d10565b610c01611d10565b6000611761612b7c565b506001600160a01b0382166000908152600e602090815260408083208151608081018352815481526001820154938101939093526002015463ffffffff80821692840192909252600160201b9004166060820152906117bf8461094c565b90506127108110610690576001600160a01b038085166000908152600e6020908152604080832083815560018101849055600201805467ffffffffffffffff1916905585518151637b1b35bf60e11b81526004810191909152905192937f0000000000000000000000000000000000000000000000000000000000000000169263f6366b7e9260248084019391929182900301818787803b15801561186357600080fd5b505af1158015611877573d6000803e3d6000fd5b505050506040513d602081101561188d57600080fd5b5051604080518281526000602082015281519293506001600160a01b038816927f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b1929181900390910190a26118e2858261262b565b93505050506108de565b7f000000000000000000000000000000000000000000000000000000000000000081565b3360009081526020819052604090205460ff16611962576040805162461bcd60e51b81526020600482018190526024820152600080516020612c30833981519152604482015290519081900360640190fd5b6001600160a01b0381166119a75760405162461bcd60e51b8152600401808060200182810382526026815260200180612bc36026913960400191505060405180910390fd5b6001600160a01b03811660009081526020819052604090205460ff16156119ff5760405162461bcd60e51b8152600401808060200182810382526025815260200180612c976025913960400191505060405180910390fd5b6001600160a01b038116600081815260208190526040808220805460ff191660011790555133917f55afcb507472af8b6733d5e5c3c14e658463350e0e8cd96ae0768979fa7d27f991a350565b3360009081526020819052604090205460ff16611a9e576040805162461bcd60e51b81526020600482018190526024820152600080516020612c30833981519152604482015290519081900360640190fd5b81831115611ae9576040805162461bcd60e51b8152602060048201526013602482015272496e6372656d656e7420746f6f206c6172676560681b604482015290519081900360640190fd5b6040805160a0810182529415158086526020860185905290850183905263ffffffff91821660608601819052429092166080909501859052600a805460ff19169091179055600b92909255600c55600d805463ffffffff191690911767ffffffff000000001916600160201b909202919091179055565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415611ba157600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415611be057600080fd5b611c8e7f0000000000000000000000000000000000000000000000000000000000000000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611c5157600080fd5b505afa158015611c65573d6000803e3d6000fd5b505050506040513d6020811015611c7b57600080fd5b50516001600160a01b038516919061246f565b506001919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600e6020526000908152604090208054600182015460029092015490919063ffffffff80821691600160201b90041684565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611d6c57600080fd5b505afa158015611d80573d6000803e3d6000fd5b505050506040513d6020811015611d9657600080fd5b50519050611dc2670de0b6b3a7640000610687610aff611dbc633b9aca00610bfb610ab3565b85612219565b91505090565b3360009081526020819052604090205460ff16611e1a576040805162461bcd60e51b81526020600482018190526024820152600080516020612c30833981519152604482015290519081900360640190fd5b60045415611e6f576040805162461bcd60e51b815260206004820181905260248201527f426f6e6473206d75737420626520696e697469616c697a65642066726f6d2030604482015290519081900360640190fd5b6040805160c08101825288815260208101889052908101869052606081018590526080810184905263ffffffff91821660a09091018190526004979097556005959095556006939093556007919091556008556009805463ffffffff199081169094179055600f556010805490921642909116179055565b3360009081526020819052604090205460ff16611f39576040805162461bcd60e51b81526020600482018190526024820152600080516020612c30833981519152604482015290519081900360640190fd5b6001600160a01b038216611f4c57600080fd5b8015611f815760038054600160a01b60ff60a01b19909116176001600160a01b0319166001600160a01b038416179055610899565b6003805460ff60a01b19169055600280546001600160a01b0384166001600160a01b03199091161790555050565b60045460055460065460075460085460095463ffffffff1686565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061201962989680610687633b9aca0061201361200a611d10565b60045490612135565b906124c6565b600554909150811015610acc575060055490565b6000610ac9620186a06106876004600201547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561209857600080fd5b505afa1580156120ac573d6000803e3d6000fd5b505050506040513d60208110156120c257600080fd5b505190612135565b60105460009081906120e89063ffffffff4281169181169061266716565b600954600f5491925061210d9163ffffffff9182169161068791908086169061213516565b9150600f5482111561211f57600f5491505b5090565b60105463ffffffff1681565b600f5481565b60008261214457506000610b04565b8282028284828161215157fe5b041461218e5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c0f6021913960400191505060405180910390fd5b9392505050565b600061218e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506126a9565b600061218e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061274b565b612221612bb0565b600082116122605760405162461bcd60e51b8152600401808060200182810382526026815260200180612be96026913960400191505060405180910390fd5b8261227a5750604080516020810190915260008152610b04565b71ffffffffffffffffffffffffffffffffffff831161232157600082607085901b816122a257fe5b0490506001600160e01b03811115612301576040805162461bcd60e51b815260206004820152601e60248201527f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f770000604482015290519081900360640190fd5b6040518060200160405280826001600160e01b0316815250915050610b04565b600061233284600160701b856127a5565b90506001600160e01b03811115612301576040805162461bcd60e51b815260206004820152601e60248201527f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f770000604482015290519081900360640190fd5b516612725dd1d243ab6001600160e01b039091160490565b6123b3610ac06120ca565b600f556010805463ffffffff19164263ffffffff16179055565b60006123e962989680610687633b9aca0061201361200a611d10565b6005549091508110156123ff5750600554610acc565b60055415610acc57600060055590565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612469908590612845565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526124c1908490612845565b505050565b60008282018381101561218e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600d546000906125429063ffffffff600160201b82048116918116906124c616565b600b54909150158015906125565750804210155b1561262857600454600a5460ff161561259057600b54600454612578916124c6565b6004819055600c541161258b576000600b555b6125b2565b600b5460045461259f916121d7565b6004819055600c54106125b2576000600b555b600d805467ffffffff000000001916600160201b4263ffffffff1602179055600454600b54600a546040805185815260208101949094528381019290925260ff1615156060830152517fb923e581a0f83128e9e1d8297aa52b18d6744310476e0b54509c054cd7a93b2a916080908290030190a1505b50565b60006126616001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016848461246f565b50919050565b600061218e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506128f6565b600081836127355760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156126fa5781810151838201526020016126e2565b50505050905090810190601f1680156127275780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161274157fe5b0495945050505050565b6000818484111561279d5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156126fa5781810151838201526020016126e2565b505050900390565b60008060006127b48686612955565b91509150600084806127c257fe5b8688099050828111156127d6576001820391505b808303925084821061282f576040805162461bcd60e51b815260206004820152601a60248201527f46756c6c4d6174683a3a6d756c4469763a206f766572666c6f77000000000000604482015290519081900360640190fd5b61283a838387612982565b979650505050505050565b606061289a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129f29092919063ffffffff16565b8051909150156124c1578080602001905160208110156128b957600080fd5b50516124c15760405162461bcd60e51b815260040180806020018281038252602a815260200180612cbc602a913960400191505060405180910390fd5b60008363ffffffff168363ffffffff161115829061279d5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156126fa5781810151838201526020016126e2565b600080806000198486099050838502925082810391508281101561297a576001820391505b509250929050565b6000818103821680838161299257fe5b04925080858161299e57fe5b0494508081600003816129ad57fe5b60028581038087028203028087028203028087028203028087028203028087028203028087028203029586029003909402930460010193909302939093010292915050565b6060612a018484600085612a09565b949350505050565b6060612a1485612b76565b612a65576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612aa45780518252601f199092019160209182019101612a85565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612b06576040519150601f19603f3d011682016040523d82523d6000602084013e612b0b565b606091505b50915091508115612b1f579150612a019050565b805115612b2f5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156126fa5781810151838201526020016126e2565b3b151590565b60405180608001604052806000815260200160008152602001600063ffffffff168152602001600063ffffffff1681525090565b6040805160208101909152600081529056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734669786564506f696e743a3a6672616374696f6e3a206469766973696f6e206279207a65726f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572536c697070616765206c696d69743a206d6f7265207468616e206d617820707269636556657374696e67206d757374206265206c6f6e676572207468616e20333620686f7572734f776e61626c653a206e6577206f776e657220697320616c72656164792061206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220ab65f5a83177eebfba7f0051435e57a185f762739e56e346ce832d088f20c56564736f6c634300070500330000000000000000000000001622bf67e6e5747b81866fe0b85178a93c7f86e3000000000000000000000000e6d557d416ff5640235119369c7e26aa18a906d70000000000000000000000003cacdc222f8cd8d249e9a45ca4ad2aa381da2692000000000000000000000000ce502ee9bf3ef41508a8a4a38fcf02585fcbfdf0000000000000000000000000e8e6a534146efdcadb64c4ce78600e5c9e71fc9700000000000000000000000036c73f33916aa6edbb1b8a0fd63d054c7e0af57a000000000000000000000000e0d0e232c09de67a3d74da1284dc5e72fc79d808

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

0000000000000000000000001622bf67e6e5747b81866fe0b85178a93c7f86e3000000000000000000000000e6d557d416ff5640235119369c7e26aa18a906d70000000000000000000000003cacdc222f8cd8d249e9a45ca4ad2aa381da2692000000000000000000000000ce502ee9bf3ef41508a8a4a38fcf02585fcbfdf0000000000000000000000000e8e6a534146efdcadb64c4ce78600e5c9e71fc9700000000000000000000000036c73f33916aa6edbb1b8a0fd63d054c7e0af57a000000000000000000000000e0d0e232c09de67a3d74da1284dc5e72fc79d808

-----Decoded View---------------
Arg [0] : _UMAMI (address): 0x1622bf67e6e5747b81866fe0b85178a93c7f86e3
Arg [1] : _sUMAMI (address): 0xe6d557d416ff5640235119369c7e26aa18a906d7
Arg [2] : _wsUMAMI (address): 0x3cacdc222f8cd8d249e9a45ca4ad2aa381da2692
Arg [3] : _principle (address): 0xce502ee9bf3ef41508a8a4a38fcf02585fcbfdf0
Arg [4] : _treasury (address): 0xe8e6a534146efdcadb64c4ce78600e5c9e71fc97
Arg [5] : _DAO (address): 0x36c73f33916aa6edbb1b8a0fd63d054c7e0af57a
Arg [6] : _bondCalculator (address): 0xe0d0e232c09de67a3d74da1284dc5e72fc79d808

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000001622bf67e6e5747b81866fe0b85178a93c7f86e3
Arg [1] : 000000000000000000000000e6d557d416ff5640235119369c7e26aa18a906d7
Arg [2] : 0000000000000000000000003cacdc222f8cd8d249e9a45ca4ad2aa381da2692
Arg [3] : 000000000000000000000000ce502ee9bf3ef41508a8a4a38fcf02585fcbfdf0
Arg [4] : 000000000000000000000000e8e6a534146efdcadb64c4ce78600e5c9e71fc97
Arg [5] : 00000000000000000000000036c73f33916aa6edbb1b8a0fd63d054c7e0af57a
Arg [6] : 000000000000000000000000e0d0e232c09de67a3d74da1284dc5e72fc79d808


Deployed ByteCode Sourcemap

21850:17287:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22744:34;;;:::i;:::-;;;;-1:-1:-1;;;;;22744:34:0;;;;;;;;;;;;;;38280:400;;;;;;;;;;;;;;;;-1:-1:-1;38280:400:0;-1:-1:-1;;;;;38280:400:0;;:::i;:::-;;;;;;;;;;;;;;;;26905:929;;;;;;;;;;;;;;;;-1:-1:-1;26905:929:0;;;;;;;;;:::i;:::-;;22525:30;;;:::i;484:93::-;;;;;;;;;;;;;;;;-1:-1:-1;484:93:0;-1:-1:-1;;;;;484:93:0;;:::i;:::-;;;;;;;;;;;;;;;;;;23274:21;;;:::i;22670:32::-;;;:::i;23359:24::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23143:22;;;:::i;37669:439::-;;;;;;;;;;;;;;;;-1:-1:-1;37669:439:0;-1:-1:-1;;;;;37669:439:0;;:::i;1053:154::-;;;;;;;;;;;;;;;;-1:-1:-1;1053:154:0;-1:-1:-1;;;;;1053:154:0;;:::i;22814:33::-;;;:::i;37001:106::-;;;:::i;23196:28::-;;;:::i;34676:161::-;;;;;;;;;;;;;;;;-1:-1:-1;34676:161:0;;:::i;35780:331::-;;;:::i;29150:2752::-;;;;;;;;;;;;;;;;-1:-1:-1;29150:2752:0;;;;;;;;;;;-1:-1:-1;;;;;29150:2752:0;;:::i;36627:275::-;;;:::i;32025:631::-;;;;;;;;;;;;;;;;-1:-1:-1;32025:631:0;-1:-1:-1;;;;;32025:631:0;;:::i;22891:28::-;;;:::i;711:330::-;;;;;;;;;;;;;;;;-1:-1:-1;711:330:0;-1:-1:-1;;;;;711:330:0;;:::i;28030:441::-;;;;;;;;;;;;;;;;-1:-1:-1;28030:441:0;;;;;;;;;;;;;;;;;;;;;:::i;38864:270::-;;;;;;;;;;;;;;;;-1:-1:-1;38864:270:0;-1:-1:-1;;;;;38864:270:0;;:::i;23062:39::-;;;:::i;23425:42::-;;;;;;;;;;;;;;;;-1:-1:-1;23425:42:0;-1:-1:-1;;;;;23425:42:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22597:31;;;:::i;36235:271::-;;;:::i;25963:681::-;;;;;;;;;;;;;;;;-1:-1:-1;25963:681:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;28604:317::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28604:317:0;;;;;;;;;;:::i;23304:18::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22963:37;;;:::i;34942:261::-;;;:::i;34405:142::-;;;:::i;37209:297::-;;;:::i;23600:23::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23518:21;;;:::i;22744:34::-;;;:::o;38280:400::-;38352:19;38385:18;38406:30;38424:10;38406:16;:30::i;:::-;-1:-1:-1;;;;;38461:22:0;;38447:11;38461:22;;;:8;:22;;;;;:29;38385:51;;-1:-1:-1;38525:5:0;38508:22;;38503:170;;38565:6;38548:23;;38503:170;;;38621:40;38654:5;38621:27;:6;38633:13;38621:10;:27::i;:::-;:31;;:40::i;:::-;38604:57;;38503:170;38280:400;;;;;:::o;26905:929::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;27016:17:::1;27002:10;:31;;;;;;;;;26997:830;;;27075:6;27065;:16;;27056:67;;;;-1:-1:-1::0;;;27056:67:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27138:17:::0;:34;;-1:-1:-1;;27138:34:0::1;;::::0;::::1;;::::0;;26997:830:::1;;;27209:16;27195:10;:30;;;;;;;;;27190:637;;;27267:4;27257:6;:14;;27248:61;;;::::0;;-1:-1:-1;;;27248:61:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;27324:15:::0;:24;;;27190:637:::1;;;27385:13;27371:10;:27;;;;;;;;;27366:461;;;27440:5;27430:6;:15;;27421:58;;;::::0;;-1:-1:-1;;;27421:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;27494:9:::0;:18;;;27366:461:::1;;;27549:14;27535:10;:28;;;;;;;;;27530:297;;;27586:13:::0;:22;;;27530:297:::1;;;27645:18;27631:10;:32;;;;;;;;;27626:201;;;27686:18:::0;:27;;;27626:201:::1;;;27749:13;27735:10;:27;;;;;;;;;27730:97;;;27785:5;:30:::0;;;27730:97:::1;26905:929:::0;;:::o;22525:30::-;;;:::o;484:93::-;-1:-1:-1;;;;;558:11:0;;534:4;558:11;;;;;;;;;;;;;484:93;;;;:::o;23274:21::-;;;-1:-1:-1;;;23274:21:0;;;;;:::o;22670:32::-;;;:::o;23359:24::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;23359:24:0;;;;:::o;23143:22::-;;;-1:-1:-1;;;;;23143:22:0;;:::o;37669:439::-;37739:19;37772:16;;:::i;:::-;-1:-1:-1;;;;;;37791:22:0;;;;;;:8;:22;;;;;;;;37772:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37772:41:0;;;;;;;;;;;37791:22;37848:44;;37855:15;37848:27;;;;:44;:::i;:::-;37918:12;;;;37824:68;;-1:-1:-1;37903:27:0;;37948:11;;37943:158;;37994:44;38029:7;37994:29;:16;38016:5;37994:20;:29::i;:44::-;37977:61;;37943:158;;;38088:1;38071:18;;37943:158;37669:439;;;;;;:::o;1053:154::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;1133:18:0;::::1;1154:5;1133:18:::0;;;::::1;::::0;;;;;;;:26;;-1:-1:-1;;1133:26:0::1;::::0;;1175:24;::::1;::::0;1154:5;1175:24:::1;1053:154:::0;:::o;22814:33::-;;;:::o;37001:106::-;37046:4;37071:28;37086:11;:9;:11::i;:::-;37071:9;;;:13;:28::i;:::-;37064:35;;37001:106;;:::o;23196:28::-;;;-1:-1:-1;;;;;23196:28:0;;:::o;34676:161::-;34732:4;34757:72;34823:4;34757:60;:42;34778:6;34786:11;:9;:11::i;:::-;34757:19;:42::i;:::-;:58;:60::i;:72::-;34750:79;34676:161;-1:-1:-1;;34676:161:0:o;35780:331::-;35828:11;35857:15;35853:251;;;35899:85;35979:3;35899:74;35933:14;-1:-1:-1;;;;;35916:42:0;;35960:9;35916:55;;;;;;;;;;;;;-1:-1:-1;;;;;35916:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35916:55:0;35899:11;:9;:11::i;:::-;:15;;:74::i;:85::-;35890:94;;35853:251;;;36026:66;36087:3;36026:55;36057:9;-1:-1:-1;;;;;36049:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36049:30:0;36043:36;;:2;:36;36026:11;:9;:11::i;29150:2752::-;29272:4;-1:-1:-1;;;;;29299:24:0;;29290:54;;;;;-1:-1:-1;;;29290:54:0;;;;;;;;;;;;-1:-1:-1;;;29290:54:0;;;;;;;;;;;;;;;29357:11;:9;:11::i;:::-;29401:13;;29388:9;;:26;;29379:61;;;;;-1:-1:-1;;;29379:61:0;;;;;;;;;;;;-1:-1:-1;;;29379:61:0;;;;;;;;;;;;;;;29461:15;29479:16;:14;:16::i;:::-;29461:34;;29529:16;29548:12;:10;:12::i;:::-;29529:31;;29595:11;29582:9;:24;;29573:74;;;;-1:-1:-1;;;29573:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29683:10;29707:8;-1:-1:-1;;;;;29696:29:0;;29727:9;29738:7;29696:51;;;;;;;;;;;;;-1:-1:-1;;;;;29696:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29696:51:0;;-1:-1:-1;29758:11:0;29772:18;29696:51;29772:9;:18::i;:::-;29758:32;;29854:8;29844:6;:18;;29835:47;;;;;-1:-1:-1;;;29835:47:0;;;;;;;;;;;;-1:-1:-1;;;29835:47:0;;;;;;;;;;;;;;;29959:11;:9;:11::i;:::-;29949:6;:21;;29940:49;;;;;-1:-1:-1;;;29940:49:0;;;;;;;;;;;;-1:-1:-1;;;29940:49:0;;;;;;;;;;;;;;;30085:8;30096:36;30125:5;30096:23;30108:5;:9;;;30096:6;:10;;:23;;;;:::i;:36::-;30085:47;-1:-1:-1;30143:11:0;30157:30;30085:47;30157:19;:5;30168:6;30157:9;:19::i;:::-;:23;;:30::i;:::-;30143:44;-1:-1:-1;30368:74:0;-1:-1:-1;;;;;30376:9:0;30368:36;30406:10;30426:4;30433:7;30368:36;:74::i;:::-;30461:9;-1:-1:-1;;;;;30453:27:0;;30491:8;30503:7;30453:59;;;;;;;;;;;;;-1:-1:-1;;;;;30453:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30523:59:0;;;-1:-1:-1;;;30523:59:0;;;;;;;;-1:-1:-1;;;;;30563:9:0;30523:59;;;;;;;;;;;;;;30534:8;30523:29;;;;;;:59;;;;;30453;;30523;;;;;;;;-1:-1:-1;30523:29:0;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30638:9:0;;-1:-1:-1;;;30638:9:0;;;;30633:367;;;30691:13;;30666:48;;;-1:-1:-1;;;30666:48:0;;-1:-1:-1;;;;;30691:13:0;;;30666:48;;;;;;;;;;;;30674:5;30666:23;;;;;;:48;;;;;;;;;;;;;;;-1:-1:-1;30666:23:0;:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30745:13:0;;30729:62;;;-1:-1:-1;;;30729:62:0;;;;;;;;30784:4;30729:62;;;;;;-1:-1:-1;;;;;30745:13:0;;;;30729:37;;:62;;;;;30745:13;;30729:62;;;;;;;;30745:13;;30729:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30633:367;;;30849:7;;30824:42;;;-1:-1:-1;;;30824:42:0;;-1:-1:-1;;;;;30849:7:0;;;30824:42;;;;;;;;;;;;30832:5;30824:23;;;;;;:42;;;;;;;;;;;;;;;-1:-1:-1;30824:23:0;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30891:7:0;;30881:50;;;-1:-1:-1;;;30881:50:0;;;;;;;;30924:4;30881:50;;;;;;-1:-1:-1;;;;;30891:7:0;;;;30881:25;;:50;;;;;30824:42;;30881:50;;;;;;;;30891:7;;30881:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30956:7:0;;30946:42;;;-1:-1:-1;;;30946:42:0;;30981:4;30946:42;;;;;;-1:-1:-1;;;;;30956:7:0;;;;30946:25;;:42;;;;;30956:7;;30946:42;;;;;;;;30956:7;;30946:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30633:367;31010:12;31035:7;-1:-1:-1;;;;;31025:34:0;;31061:6;31025:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31025:44:0;;-1:-1:-1;31095:8:0;;31090:114;;31151:40;-1:-1:-1;;;;;31159:5:0;31151:28;31181:3;31186;31151:28;:40::i;:::-;31272:9;;:22;;31287:5;31272:13;:22::i;:::-;31260:9;:34;31386:210;;;;;;;;-1:-1:-1;;;;;31415:22:0;;-1:-1:-1;31415:22:0;;;:8;:22;;;;;;:29;31386:210;;31415:44;;31450:7;31415:33;:44::i;:::-;31386:210;;;;31574:10;31386:210;;;;31532:15;31386:210;;;;;;31483:5;:17;;;;;;;;;;;;31386:210;;;;;31361:8;:22;31371:10;-1:-1:-1;;;;;31361:22:0;-1:-1:-1;;;;;31361:22:0;;;;;;;;;;;;:235;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31725:10;31683:40;31704:5;:17;;;;;;;;;;;;31683:40;;:15;:19;;:40;;;;:::i;:::-;31653:84;;;;;;;;31675:6;;31653:84;;;;;;;;;;31803:11;:9;:11::i;:::-;31789:12;:10;:12::i;:::-;31771:16;:14;:16::i;:::-;31753:63;;;;;;;31829:8;:6;:8::i;:::-;-1:-1:-1;31887:6:0;;29150:2752;-1:-1:-1;;;;;;;;;29150:2752:0:o;36627:275::-;36684:4;36707:15;36702:193;;;36747:85;36827:3;36747:74;36781:14;-1:-1:-1;;;;;36764:42:0;;36808:9;36764:55;;;;;;;;;;;;;-1:-1:-1;;;;;36764:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36764:55:0;36747:11;:9;:11::i;36702:193::-;36872:11;:9;:11::i;32025:631::-;32082:4;32108:16;;:::i;:::-;-1:-1:-1;;;;;;32127:22:0;;;;;;:8;:22;;;;;;;;32108:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32108:41:0;;;;;;;;32251:30;32137:10;32251:16;:30::i;:::-;32230:51;;32316:5;32299:13;:22;32294:355;;-1:-1:-1;;;;;32365:22:0;;;;;;;:8;:22;;;;;;;;32358:29;;;;;;;;;;;;;-1:-1:-1;;32358:29:0;;;32472:11;;32436:49;;-1:-1:-1;;;32436:49:0;;32358:29;32436:49;;;;;;;;32365:22;;32446:7;32436:34;;;;:49;;;;;32365:22;;32436:49;;;;;;32365:22;32436:34;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32436:49:0;32505:37;;;;;;32539:1;32436:49;32505:37;;;;;32436:49;;-1:-1:-1;;;;;;32505:37:0;;;;;;;;;;;;;;32582:26;32588:10;32600:6;32582:4;:26::i;:::-;32575:33;;;;;;;22891:28;;;:::o;711:330::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;798:23:0;::::1;789:75;;;;-1:-1:-1::0;;;789:75:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;885:18:0;::::1;:7;:18:::0;;;::::1;::::0;;;;;;;::::1;;884:19;875:70;;;;-1:-1:-1::0;;;875:70:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;956:18:0;::::1;:7;:18:::0;;;::::1;::::0;;;;;;;:25;;-1:-1:-1;;956:25:0::1;977:4;956:25;::::0;;997:36;1010:10:::1;::::0;997:36:::1;::::0;::::1;711:330:::0;:::o;28030:441::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;28218:7:::1;28204:10;:21;;28195:55;;;::::0;;-1:-1:-1;;;28195:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;28195:55:0;;;;;;;;;;;;;::::1;;28276:187;::::0;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;;28435:15:::1;28276:187:::0;;::::1;::::0;;;;;;;28263:10:::1;:200:::0;;-1:-1:-1;;28263:200:0::1;::::0;;::::1;::::0;;;;;;;;;;;;-1:-1:-1;;28263:200:0::1;::::0;;::::1;-1:-1:-1::0;;28263:200:0::1;-1:-1:-1::0;;;28263:200:0;;::::1;::::0;;;::::1;::::0;;28030:441::o;38864:270::-;38927:4;38964:5;-1:-1:-1;;;;;38954:15:0;:6;-1:-1:-1;;;;;38954:15:0;;;38945:26;;;;;;39001:9;-1:-1:-1;;;;;38991:19:0;:6;-1:-1:-1;;;;;38991:19:0;;;38982:30;;;;;;39023:81;39054:3;39067:6;-1:-1:-1;;;;;39059:26:0;;39095:4;39059:43;;;;;;;;;;;;;-1:-1:-1;;;;;39059:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39059:43:0;-1:-1:-1;;;;;39023:29:0;;;:81;:29;:81::i;:::-;-1:-1:-1;39122:4:0;38864:270;;;:::o;23062:39::-;;;:::o;23425:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;23425:42:0;;;;:::o;22597:31::-;;;:::o;36235:271::-;36278:15;36309:11;36331:5;-1:-1:-1;;;;;36323:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36323:29:0;;-1:-1:-1;36376:122:0;36492:4;36376:110;:92;36411:24;36430:3;36411:13;:11;:13::i;:24::-;36451:6;36376:19;:92::i;:122::-;36363:135;;36235:271;;:::o;25963:681::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;26231:5:::1;:21:::0;:26;26222:73:::1;;;::::0;;-1:-1:-1;;;26222:73:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;26314:241;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;;;26306:5:::1;:249:::0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26306:249:0;;::::1;::::0;;::::1;::::0;;26566:9:::1;:24:::0;26601:9:::1;:35:::0;;;;::::1;26620:15;26601:35:::0;;::::1;;::::0;;25963:681::o;28604:317::-;634:10;626:7;:19;;;;;;;;;;;;;617:66;;;;;-1:-1:-1;;;617:66:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;617:66:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28699:22:0;::::1;28690:33;;;::::0;::::1;;28739:7;28734:180;;;28764:9;:16:::0;;-1:-1:-1;;;;;;;28764:16:0;;::::1;;-1:-1:-1::0;;;;;;28795:24:0::1;-1:-1:-1::0;;;;;28795:24:0;::::1;;::::0;;28734:180:::1;;;28852:9;:17:::0;;-1:-1:-1;;;;28852:17:0::1;::::0;;28884:7:::1;:18:::0;;-1:-1:-1;;;;;28884:18:0;::::1;-1:-1:-1::0;;;;;;28884:18:0;;::::1;;::::0;;28604:317;;:::o;23304:18::-;;;;;;;;;;;;;;;;:::o;22963:37::-;;;:::o;34942:261::-;34985:11;35027:69;35091:3;35027:58;35073:10;35027:40;35054:11;:9;:11::i;:::-;35027:5;:21;;:25;:40::i;:::-;:44;;:58::i;:69::-;35121:18;;35018:78;;-1:-1:-1;35112:27:0;;35107:89;;;-1:-1:-1;35166:18:0;;34942:261;:::o;34405:142::-;34448:4;34473:66;34531:6;34473:52;34508:5;:15;;;34481:5;-1:-1:-1;;;;;34473:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34473:29:0;;:33;:52::i;37209:297::-;37331:9;;37252:11;;;;37300:42;;37331:9;37307:15;37300:29;;;37331:9;;;37300:29;:42;:::i;:::-;37398:17;;37362:9;;37277:65;;-1:-1:-1;37362:55:0;;37398:17;;;;;37362:30;;:9;:30;;;;:13;:30;:::i;:55::-;37353:64;;37442:9;;37433:6;:18;37428:71;;;37478:9;;37469:18;;37428:71;37209:297;;:::o;23600:23::-;;;;;;:::o;23518:21::-;;;;:::o;2116:250::-;2174:7;2198:6;2194:47;;-1:-1:-1;2228:1:0;2221:8;;2194:47;2265:5;;;2269:1;2265;:5;:1;2289:5;;;;;:10;2281:56;;;;-1:-1:-1;;;2281:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2357:1;2116:250;-1:-1:-1;;;2116:250:0:o;2374:132::-;2432:7;2459:39;2463:1;2466;2459:39;;;;;;;;;;;;;;;;;:3;:39::i;1429:136::-;1487:7;1514:43;1518:1;1521;1514:43;;;;;;;;;;;;;;;;;:3;:43::i;20207:719::-;20288:16;;:::i;:::-;20339:1;20325:11;:15;20317:66;;;;-1:-1:-1;;;20317:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20398:14;20394:50;;-1:-1:-1;20421:23:0;;;;;;;;;-1:-1:-1;20421:23:0;;20414:30;;20394:50;20461:24;;;20457:462;;20502:14;20547:11;19633:3;20520:23;;;20547:11;20519:39;;;;;;-1:-1:-1;;;;;;20581:21:0;;;20573:64;;;;;-1:-1:-1;;;20573:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20659:26;;;;;;;;20677:6;-1:-1:-1;;;;;20659:26:0;;;;20652:33;;;;;20457:462;20718:14;20735:45;20751:9;-1:-1:-1;;;20768:11:0;20735:15;:45::i;:::-;20718:62;-1:-1:-1;;;;;;20803:21:0;;;20795:64;;;;;-1:-1:-1;;;20795:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;20062:137;20164:7;20175:16;-1:-1:-1;;;;;20159:13:0;;;:32;;20062:137::o;34125:135::-;34178:28;34193:11;:9;:11::i;34178:28::-;34166:9;:40;34217:9;:35;;-1:-1:-1;;34217:35:0;34236:15;34217:35;;;;;34125:135::o;35330:345::-;35371:11;35405:69;35469:3;35405:58;35451:10;35405:40;35432:11;:9;:11::i;35405:69::-;35499:18;;35396:78;;-1:-1:-1;35490:27:0;;35485:183;;;-1:-1:-1;35544:18:0;;35485:183;;;35593:18;;:23;35588:80;;35655:1;35634:18;:22;35330:345;:::o;16730:205::-;16858:68;;;-1:-1:-1;;;;;16858:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16858:68:0;-1:-1:-1;;;16858:68:0;;;16831:96;;16851:5;;16831:19;:96::i;:::-;16730:205;;;;:::o;16545:177::-;16655:58;;;-1:-1:-1;;;;;16655:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16655:58:0;-1:-1:-1;;;16655:58:0;;;16628:86;;16648:5;;16628:19;:86::i;:::-;16545:177;;;:::o;1240:181::-;1298:7;1330:5;;;1354:6;;;;1346:46;;;;;-1:-1:-1;;;1346:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;33137:927;33221:17;;33175:18;;33196:44;;33221:17;-1:-1:-1;;;33196:19:0;;;;;33221:17;;;33196:23;:44;:::i;:::-;33255:15;;33175:65;;-1:-1:-1;33255:20:0;;;;:56;;;33298:13;33279:15;:32;;33255:56;33251:806;;;33344:5;:21;33385:10;:14;;;33380:494;;;33472:15;;33445:5;:21;:44;;:25;:44::i;:::-;33421:5;:68;;;33538:17;;-1:-1:-1;33508:112:0;;33599:1;33581:15;:19;33508:112;33380:494;;;33711:15;;33684:5;:21;:44;;:25;:44::i;:::-;33660:5;:68;;;33777:17;;-1:-1:-1;33747:112:0;;33838:1;33820:15;:19;33747:112;33888:19;:45;;-1:-1:-1;;33888:45:0;-1:-1:-1;;;33917:15:0;33888:45;;;;;;:19;33989:21;34012:15;;33888:10;34029:14;33953:92;;;;;;;;;;;;;;;;;;;;34029:14;;33953:92;;;;;;;;;;;;;;;;;33251:806;;33137:927;:::o;32858:187::-;32927:4;32945:52;-1:-1:-1;;;;;32953:6:0;32945:29;32976:10;32988:7;32945:29;:52::i;:::-;-1:-1:-1;33030:7:0;32858:187;-1:-1:-1;32858:187:0:o;1773:137::-;1831:6;1857:45;1863:1;1866;1857:45;;;;;;;;;;;;;;;;;:5;:45::i;2514:189::-;2600:7;2635:12;2628:5;2620:28;;;;-1:-1:-1;;;2620:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2659:9;2675:1;2671;:5;;;;;;;2514:189;-1:-1:-1;;;;;2514:189:0:o;1573:192::-;1659:7;1695:12;1687:6;;;;1679:29;;;;-1:-1:-1;;;1679:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1731:5:0;;;1573:192::o;19107:347::-;19213:7;19234:9;19245;19258:13;19266:1;19269;19258:7;:13::i;:::-;19233:38;;;;19282:10;19308:1;19295:15;;;;;19305:1;19302;19295:15;19282:28;;19330:1;19325:2;:6;19321:18;;;19338:1;19333:6;;;;19321:18;19355:2;19350:7;;;;19380:1;19376;:5;19368:44;;;;;-1:-1:-1;;;19368:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19430:16;19438:1;19441;19444;19430:7;:16::i;:::-;19423:23;19107:347;-1:-1:-1;;;;;;;19107:347:0:o;17948:420::-;18031:23;18057:69;18085:4;18057:69;;;;;;;;;;;;;;;;;18065:5;-1:-1:-1;;;;;18057:27:0;;;:69;;;;;:::i;:::-;18141:17;;18031:95;;-1:-1:-1;18141:21:0;18137:224;;18283:10;18272:30;;;;;;;;;;;;;;;-1:-1:-1;18272:30:0;18264:85;;;;-1:-1:-1;;;18264:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1918:190;2004:6;2036:1;2031:6;;:1;:6;;;;2039:12;2023:29;;;;;-1:-1:-1;;;2023:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18399:210;18460:9;;;-1:-1:-1;;18516:1:0;18513;18506:25;18493:38;;18550:1;18546;:5;18542:9;;18571:1;18566:2;:6;18562:10;;18592:1;18587:2;:6;18583:18;;;18600:1;18595:6;;;;18583:18;18399:210;;;;;;:::o;18617:482::-;18723:7;18762:2;;;18758:6;;;18763:1;18758:6;18775:9;;;;;;;18800:4;18795:9;;;;;;;;;18835:4;18827;18826:5;;18825:14;;;;;18884:1;:9;;;18913:5;;;18909:9;;18904:14;18938:5;;;18934:9;;18929:14;18963:5;;;18959:9;;18954:14;18988:5;;;18984:9;;18979:14;19013:5;;;19009:9;;19004:14;19038:5;;;19034:9;;19029:14;19063:5;;;19059:9;;19054:14;;;18825;;18842:1;18825:18;18820:24;;;;18815:29;;;;19086:5;;18617:482;-1:-1:-1;;18617:482:0:o;4215:232::-;4354:12;4386:53;4409:6;4417:4;4423:1;4426:12;4386:22;:53::i;:::-;4379:60;4215:232;-1:-1:-1;;;;4215:232:0:o;5273:1025::-;5449:12;5482:18;5493:6;5482:10;:18::i;:::-;5474:60;;;;;-1:-1:-1;;;5474:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5608:12;5622:23;5649:6;-1:-1:-1;;;;;5649:11:0;5669:8;5680:4;5649:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5649:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5607:78;;;;5700:7;5696:595;;;5731:10;-1:-1:-1;5724:17:0;;-1:-1:-1;5724:17:0;5696:595;5845:17;;:21;5841:439;;6108:10;6102:17;6169:15;6156:10;6152:2;6148:19;6141:44;6056:148;6244:20;;-1:-1:-1;;;6244:20:0;;;;;;;;;;;;;;;;;6251:12;;6244:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3388:233;3566:20;3605:8;;;3388:233::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::o

Swarm Source

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