Contract 0xB224F2689BC0aFc5b6721a0807d07017D8CDddf8

 

Contract Overview

Balance:
0.477434683908046307 ETH

ETH Value:
$1,691.60 (@ $3,543.10/ETH)
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x31251622c7ea21821362f6f4bdacc8f668bb9f43e0b722069ca2f67d78dc3c93Withdraw36197272021-12-06 14:57:27844 days 8 mins ago0x2472f6c57ad97903d81741acdf462fa9d22c858f IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.001070083763 ETH0.982199498
0x2414157c8c6d63c65d599880d71a79dfe1cb91446e545aae9e688d274c86c92dWithdraw34760782021-12-01 2:31:22849 days 12 hrs ago0x5f4f120d8435ea38f0f4635a910fee03801be88d IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.001292567368 ETH1.184407294
0xe77dff47688ad04268f1fc4f7f2784507f1a6d8aa16701cc48ad0712c9d1962fWithdraw34402092021-11-29 18:25:45850 days 20 hrs ago0xd919296303d6166a25a8a0a4f328e43b07e0fb27 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000949874033 ETH1.068197165
0x00c2ea0af09ee1de854c73825a802ac9fa60fff365d69035b4037b7a8ff57ca9Withdraw34376792021-11-29 16:38:33850 days 22 hrs ago0x3012b45afe855614e7dc5721e06d46d7657ccc07 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000924772336 ETH1.03979556
0x90900dbcae459677b898b634690089a58fc833cfeb343b612617fab2eff9b688Withdraw34328702021-11-29 13:00:21851 days 2 hrs ago0x4d34ff7c9fed597d6d21fb184ede0fdb11093f13 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000690322335 ETH1.011895708
0x663b503f5630dd9d78457f86a9e4352e1deb927ad16a712e74210289f666d972Withdraw34327522021-11-29 12:54:05851 days 2 hrs ago0xfe667f5bb242473bfa5e1eaf305703f2322795cf IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000689061513 ETH1.011895708
0x438f382284a97f16d3a0723bc055f9498652d727391a7b3b0506b9790e972e73Withdraw34292202021-11-29 9:59:51851 days 5 hrs ago0xba1e0e68cf02c83c0122c688622b8d56b5853bc6 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000694219982 ETH1.021726115
0x6ab1930a9a3b7abd136333c3a138d2b5cb765728f96aaa57e6af1d9167f1b783Set Params34235892021-11-29 4:51:21851 days 10 hrs agoCAP Finance: Deployer IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000760454102 ETH1.053224061
0x633ac9d4626dd8cbe1c9cad4f65e7d7a4ef9adf4f68f66e781f4a709d3ce8cf7Withdraw34140332021-11-28 20:41:24851 days 18 hrs ago0xd919296303d6166a25a8a0a4f328e43b07e0fb27 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000640522924 ETH0.942735711
0xf136047c1d36814c930b299d70145fcd1c25b665e7fca0930024a2bbf9e08bc7Withdraw34139462021-11-28 20:38:06851 days 18 hrs ago0xd919296303d6166a25a8a0a4f328e43b07e0fb27 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000639221949 ETH0.942735711
0x67872710f436e648cec69334672cf3149544ff7760934d636c2033ccdbedd9aaWithdraw34135512021-11-28 20:17:56851 days 18 hrs ago0x50d1393a8c5ee410b4b1766a6e3365de7f7ff05d IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000837177594 ETH0.942735711
0xbaa0563cdde2ad5dc4c601c9393d64068fa91930c81ed7f909a3dc5ed0da1895Withdraw34091742021-11-28 16:44:51851 days 22 hrs ago0x69bc29d277e43f0a253ca7bb79a72da6da4bcba1 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000998752979 ETH0.919078099
0x2f0c50594a155651f24292c3f6d0a66d4c415485c08741a4900fd5fc400a98abWithdraw34085492021-11-28 16:15:06851 days 22 hrs ago0xa619e2d404545ca037b5f693fd1f72659648d3cc IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000613238844 ETH0.900571625
0x5292d52301082b7b4f66fb01c1432497212e818c5ddb35adf5c781eaa73c9278Withdraw34068242021-11-28 14:53:59852 days 11 mins ago0xcd8a4b92c51354fd901aab8263dab439bce29015 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000799189239 ETH0.898581319
0x2c6729dc3a12bc434b65161ff0a88cd4510ffcb3902a8032a3bb5b0dc54bab5eDeposit33944722021-11-28 3:59:40852 days 11 hrs ago0x2472f6c57ad97903d81741acdf462fa9d22c858f IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80.4 ETH0.001241290139 ETH0.976345968
0x788fd1dc7e9e717827668c352b71558b3f5bc4f62f5e04880a811133eed25c4aWithdraw33943362021-11-28 3:52:01852 days 11 hrs ago0xdb2cdf80d5a145790e3e1a0a0534f6fbbf1f7572 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.00066473246 ETH0.976345968
0x94a323453411b921e14935fa33ad7707edaadd2371fca192e93de0283602a4a2Withdraw33940762021-11-28 3:37:52852 days 11 hrs ago0x009610ae32d286d134ac048ca15ff1dd271dcacf IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000671099671 ETH0.985532985
0xedc44b7b89ae9a641fa2ca193334762ccb5fe5ce8ef2adc0fbc7248410183cabWithdraw33940492021-11-28 3:37:02852 days 11 hrs ago0x0e3fbeba7c45666f2ecacee7c60844a9c1844151 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000671105585 ETH0.985532985
0xd82a51dfb23a547552d3e8c1d3e5738bc5c24472c18845db7c9b9636bc516a3bWithdraw33910882021-11-28 0:55:11852 days 14 hrs ago0x7f0736d78bd9683d586e7af57e4f1d4672678f66 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.001289328934 ETH0.999866564
0xd2297f3a944b9a5ffe738b48acf632d5e24c53de80603a7fcdf32ce74de911a3Withdraw33888592021-11-27 22:45:49852 days 16 hrs ago0x0e8d670d40f8784c7ebb1f1a67902a6086f5f87c IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000687026334 ETH1.010975112
0x0eab801e877f9266a5d42276bb8ff2883a867d849e602749f2ed80a2de0774f0Withdraw33886072021-11-27 22:37:43852 days 16 hrs ago0x6e4de1a569646293c38ee682aa3b23f69a6ad491 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000893757846 ETH1.014493763
0x1c561610b564c723805e2ccd48705c8b0f843ed5cf1383f92543d5141d904b37Withdraw33879642021-11-27 21:55:50852 days 17 hrs ago0xa4fb8f10e99a0762cebebfcf3c69d20f67742c5b IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000900894809 ETH1.014493763
0x273c8ff6cb7423927d2d371ab56cff70e739c0455fe527f11de9d136def54605Withdraw33874912021-11-27 21:24:32852 days 17 hrs ago0x2d8cd904c2a0cb5ce0b85c6898a345d6ffbd2630 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000691550274 ETH1.00951381
0x8a07b4837b0eacb8c1c446767af565c3284cebf65041c50ed6b551535926861eWithdraw33859712021-11-27 19:57:45852 days 19 hrs ago0xef8d1810dbf02e3558891e9960098c0588cbdcfc IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000678884921 ETH0.998962494
0xbdf536df119d4cdca5249c44327d9c0c0dfbd41ea2421ffbd7a30cf6e66191a5Withdraw33854012021-11-27 19:18:48852 days 19 hrs ago0x60e9762d7d29f17c017ac45cc03ee0eb996ffdd8 IN  0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH0.000688887076 ETH1.015743024
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x31251622c7ea21821362f6f4bdacc8f668bb9f43e0b722069ca2f67d78dc3c9336197272021-12-06 14:57:27844 days 8 mins ago 0x9190338f23be9024a9f9628e44cd169926fe7795 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH
0x31251622c7ea21821362f6f4bdacc8f668bb9f43e0b722069ca2f67d78dc3c9336197272021-12-06 14:57:27844 days 8 mins ago 0x9190338f23be9024a9f9628e44cd169926fe7795 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH
0x31251622c7ea21821362f6f4bdacc8f668bb9f43e0b722069ca2f67d78dc3c9336197272021-12-06 14:57:27844 days 8 mins ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 0x9190338f23be9024a9f9628e44cd169926fe77950 ETH
0x31251622c7ea21821362f6f4bdacc8f668bb9f43e0b722069ca2f67d78dc3c9336197272021-12-06 14:57:27844 days 8 mins ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80x2472f6c57ad97903d81741acdf462fa9d22c858f0.062545994608331722 ETH
0x31251622c7ea21821362f6f4bdacc8f668bb9f43e0b722069ca2f67d78dc3c9336197272021-12-06 14:57:27844 days 8 mins ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 CAP Finance: Router0 ETH
0x31251622c7ea21821362f6f4bdacc8f668bb9f43e0b722069ca2f67d78dc3c9336197272021-12-06 14:57:27844 days 8 mins ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 CAP Finance: Router0 ETH
0x31251622c7ea21821362f6f4bdacc8f668bb9f43e0b722069ca2f67d78dc3c9336197272021-12-06 14:57:27844 days 8 mins ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 CAP Finance: Router0 ETH
0x31251622c7ea21821362f6f4bdacc8f668bb9f43e0b722069ca2f67d78dc3c9336197272021-12-06 14:57:27844 days 8 mins ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 0x9190338f23be9024a9f9628e44cd169926fe77950 ETH
0x263df22fd0bcc1c8f862d876fe14dea92de810523ce7e7527640c78945e657ff34910182021-12-01 15:31:01848 days 23 hrs ago 0x9190338f23be9024a9f9628e44cd169926fe7795 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH
0x263df22fd0bcc1c8f862d876fe14dea92de810523ce7e7527640c78945e657ff34910182021-12-01 15:31:01848 days 23 hrs ago 0x9190338f23be9024a9f9628e44cd169926fe7795 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH
0x2414157c8c6d63c65d599880d71a79dfe1cb91446e545aae9e688d274c86c92d34760782021-12-01 2:31:22849 days 12 hrs ago 0x9190338f23be9024a9f9628e44cd169926fe7795 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH
0x2414157c8c6d63c65d599880d71a79dfe1cb91446e545aae9e688d274c86c92d34760782021-12-01 2:31:22849 days 12 hrs ago 0x9190338f23be9024a9f9628e44cd169926fe7795 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH
0x2414157c8c6d63c65d599880d71a79dfe1cb91446e545aae9e688d274c86c92d34760782021-12-01 2:31:22849 days 12 hrs ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 0x9190338f23be9024a9f9628e44cd169926fe77950 ETH
0x2414157c8c6d63c65d599880d71a79dfe1cb91446e545aae9e688d274c86c92d34760782021-12-01 2:31:22849 days 12 hrs ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80x5f4f120d8435ea38f0f4635a910fee03801be88d0.023178766161751034 ETH
0x2414157c8c6d63c65d599880d71a79dfe1cb91446e545aae9e688d274c86c92d34760782021-12-01 2:31:22849 days 12 hrs ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 CAP Finance: Router0 ETH
0x2414157c8c6d63c65d599880d71a79dfe1cb91446e545aae9e688d274c86c92d34760782021-12-01 2:31:22849 days 12 hrs ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 CAP Finance: Router0 ETH
0x2414157c8c6d63c65d599880d71a79dfe1cb91446e545aae9e688d274c86c92d34760782021-12-01 2:31:22849 days 12 hrs ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 CAP Finance: Router0 ETH
0x2414157c8c6d63c65d599880d71a79dfe1cb91446e545aae9e688d274c86c92d34760782021-12-01 2:31:22849 days 12 hrs ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 0x9190338f23be9024a9f9628e44cd169926fe77950 ETH
0xb3859d7069da458620a23f4b47a61fafa696faefce61fd10b1e0eb9c1273f38034432432021-11-29 21:41:48850 days 17 hrs ago 0x9190338f23be9024a9f9628e44cd169926fe7795 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH
0xb3859d7069da458620a23f4b47a61fafa696faefce61fd10b1e0eb9c1273f38034432432021-11-29 21:41:48850 days 17 hrs ago 0x9190338f23be9024a9f9628e44cd169926fe7795 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH
0xe77dff47688ad04268f1fc4f7f2784507f1a6d8aa16701cc48ad0712c9d1962f34402092021-11-29 18:25:45850 days 20 hrs ago 0x9190338f23be9024a9f9628e44cd169926fe7795 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH
0xe77dff47688ad04268f1fc4f7f2784507f1a6d8aa16701cc48ad0712c9d1962f34402092021-11-29 18:25:45850 days 20 hrs ago 0x9190338f23be9024a9f9628e44cd169926fe7795 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80 ETH
0xe77dff47688ad04268f1fc4f7f2784507f1a6d8aa16701cc48ad0712c9d1962f34402092021-11-29 18:25:45850 days 20 hrs ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 0x9190338f23be9024a9f9628e44cd169926fe77950 ETH
0xe77dff47688ad04268f1fc4f7f2784507f1a6d8aa16701cc48ad0712c9d1962f34402092021-11-29 18:25:45850 days 20 hrs ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf80xd919296303d6166a25a8a0a4f328e43b07e0fb270.44 ETH
0xe77dff47688ad04268f1fc4f7f2784507f1a6d8aa16701cc48ad0712c9d1962f34402092021-11-29 18:25:45850 days 20 hrs ago 0xb224f2689bc0afc5b6721a0807d07017d8cdddf8 CAP Finance: Router0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Pool

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, BSD-3-Clause license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2021-11-19
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}
/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    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");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    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");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    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));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}
interface IRouter {
    function trading() external view returns (address);

    function capPool() external view returns (address);

    function oracle() external view returns (address);

    function treasury() external view returns (address);

    function darkOracle() external view returns (address);

    function isSupportedCurrency(address currency) external view returns (bool);

    function currencies(uint256 index) external view returns (address);

    function currenciesLength() external view returns (uint256);

    function getDecimals(address currency) external view returns(uint8);

    function getPool(address currency) external view returns (address);

    function getPoolShare(address currency) external view returns(uint256);

    function getCapShare(address currency) external view returns(uint256);

    function getPoolRewards(address currency) external view returns (address);

    function getCapRewards(address currency) external view returns (address);
}
interface IRewards {
    function updateRewards(address account) external;

    function notifyRewardReceived(uint256 amount) external;
}
contract Pool {

	using SafeERC20 for IERC20; 
    using Address for address payable;

    // Contracts
	address public owner;
	address public router;
	address public trading;

	uint256 public withdrawFee = 30; // 0.3%

    address public currency;
    address public rewards; // contract

    uint256 public utilizationMultiplier = 100; // in bps

    uint256 public maxCap = 1000000 ether;

    mapping(address => uint256) private balances; // account => amount staked
    uint256 public totalSupply;

    mapping(address => uint256) lastDeposited;
    uint256 public minDepositTime = 1 hours;

    uint256 public openInterest;

    uint256 lastBalance;

	uint256 public constant UNIT = 10**18;

    // Events
    event Deposit(
    	address indexed user, 
    	address indexed currency,
    	uint256 amount, 
    	uint256 clpAmount
    );
    event Withdraw(
    	address indexed user, 
    	address indexed currency,
    	uint256 amount, 
    	uint256 clpAmount
    );

	constructor(address _currency) {
		owner = msg.sender;
		currency = _currency;
	}

	// Governance methods

	function setOwner(address newOwner) external onlyOwner {
		owner = newOwner;
	}

	function setRouter(address _router) external onlyOwner {
		router = _router;
		trading = IRouter(router).trading();
		rewards = IRouter(router).getPoolRewards(currency);
	}

	function setParams(
		uint256 _minDepositTime,
		uint256 _utilizationMultiplier,
		uint256 _maxCap,
		uint256 _withdrawFee
	) external onlyOwner {
		minDepositTime = _minDepositTime;
		utilizationMultiplier = _utilizationMultiplier;
		maxCap = _maxCap;
		withdrawFee = _withdrawFee;
	}

	// Open interest
	function updateOpenInterest(uint256 amount, bool isDecrease) external onlyTrading {
		if (isDecrease) {
			if (openInterest <= amount) {
				openInterest = 0;
			} else {
				openInterest -= amount;
			}
		} else {
			openInterest += amount;
		}
	}

	// Methods

	function deposit(uint256 amount) external payable {

		if (currency == address(0)) {
			amount = msg.value;
		} else {
			_transferIn(amount);
		}

		require(amount > 0, "!amount");
		require(amount + lastBalance <= maxCap, "!max-cap");

        uint256 clpAmountToMint = lastBalance == 0 || totalSupply == 0 ? amount : amount * totalSupply / lastBalance;

        lastDeposited[msg.sender] = block.timestamp;

        IRewards(rewards).updateRewards(msg.sender);

        totalSupply += clpAmountToMint;
        balances[msg.sender] += clpAmountToMint;

        lastBalance = _getCurrentBalance();

        emit Deposit(
        	msg.sender,
        	currency,
        	amount,
        	clpAmountToMint
        );

	}

	function withdraw(uint256 currencyAmount) external {

		require(currencyAmount > 0, "!amount");
		require(block.timestamp > lastDeposited[msg.sender] + minDepositTime, "!cooldown");

		IRewards(rewards).updateRewards(msg.sender);

		// Determine corresponding CLP amount

		uint256 currentBalance = _getCurrentBalance();
		require(currentBalance > 0 && totalSupply > 0, "!empty");

		uint256 utilization = getUtilization();
		require(utilization < 10**4, "!utilization");
		
		// CLP amount
		uint256 amount = currencyAmount * totalSupply / currentBalance;

		// Set to max if above max
		if (amount >= balances[msg.sender]) {
			amount = balances[msg.sender];
			currencyAmount = amount * currentBalance / totalSupply;
		}

		uint256 availableBalance = currentBalance * (10**4 - utilization) / 10**4;
		uint256 currencyAmountAfterFee = currencyAmount * (10**4 - withdrawFee) / 10**4;
		require(currencyAmountAfterFee <= availableBalance, "!available-balance");

		totalSupply -= amount;
		balances[msg.sender] -= amount;

		_transferOut(msg.sender, currencyAmountAfterFee);

		// Send fee to this pool's rewards contract
		uint256 feeAmount = currencyAmount - currencyAmountAfterFee;
		_transferOut(rewards, feeAmount);
		IRewards(rewards).notifyRewardReceived(feeAmount);

		emit Withdraw(
			msg.sender,
			currency,
			currencyAmountAfterFee,
			amount
		);
		
	}

	function creditUserProfit(address destination, uint256 amount) external onlyTrading {
		if (amount == 0) return;
		uint256 currentBalance = _getCurrentBalance();
		require(amount < currentBalance, "!balance");
		_transferOut(destination, amount);
	}

	// To receive ETH
	fallback() external payable {}
	receive() external payable {}

	// Utils

	function _transferIn(uint256 amount) internal {
		// adjust decimals
		uint256 decimals = IRouter(router).getDecimals(currency);
		amount = amount * (10**decimals) / UNIT;
		IERC20(currency).safeTransferFrom(msg.sender, address(this), amount);
	}

	function _transferOut(address to, uint256 amount) internal {
		if (amount == 0 || to == address(0)) return;
		// adjust decimals
		uint256 decimals = IRouter(router).getDecimals(currency);
		amount = amount * (10**decimals) / UNIT;
		if (currency == address(0)) {
			payable(to).sendValue(amount);
		} else {
			IERC20(currency).safeTransfer(to, amount);
		}
	}

	function _getCurrentBalance() internal view returns(uint256) {
		uint256 currentBalance;
		if (currency == address(0)) {
			currentBalance = address(this).balance;
		} else {
			currentBalance = IERC20(currency).balanceOf(address(this));
		}
		uint256 decimals = IRouter(router).getDecimals(currency);
		return currentBalance * UNIT / (10**decimals);
	}

	// Getters

	function getUtilization() public view returns(uint256) {
		uint256 currentBalance = _getCurrentBalance();
		if (currentBalance == 0) return 0;
		return openInterest * utilizationMultiplier / currentBalance; // in bps
	}

	function getCurrencyBalance(address account) external view returns(uint256) {
		if (totalSupply == 0) return 0;
		uint256 currentBalance = _getCurrentBalance();
		return balances[account] * currentBalance / totalSupply;
	}

	// In Clp
	function getBalance(address account) external view returns(uint256) {
		return balances[account];
	}

	// Modifier

	modifier onlyOwner() {
		require(msg.sender == owner, "!owner");
		_;
	}

	modifier onlyTrading() {
		require(msg.sender == trading, "!trading");
		_;
	}

}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_currency","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"clpAmount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"clpAmount","type":"uint256"}],"name":"Withdraw","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"UNIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"creditUserProfit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrencyBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUtilization","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minDepositTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minDepositTime","type":"uint256"},{"internalType":"uint256","name":"_utilizationMultiplier","type":"uint256"},{"internalType":"uint256","name":"_maxCap","type":"uint256"},{"internalType":"uint256","name":"_withdrawFee","type":"uint256"}],"name":"setParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trading","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"isDecrease","type":"bool"}],"name":"updateOpenInterest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"utilizationMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"currencyAmount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052601e600355606460065569d3c21bcecceda1000000600755610e10600b5534801561002e57600080fd5b506040516118c23803806118c283398101604081905261004d91610080565b60008054336001600160a01b031991821617909155600480549091166001600160a01b03929092169190911790556100b0565b60006020828403121561009257600080fd5b81516001600160a01b03811681146100a957600080fd5b9392505050565b611803806100bf6000396000f3fe60806040526004361061012d5760003560e01c80639ec5a894116100a5578063ec44acf21161006c578063ec44acf214610313578063ed68350414610333578063f887ea4014610353578063f8b2cb4f14610373578063fa5a2e62146103a9578063fbbc7d7f146103bf57005b80639ec5a8941461028a578063b6b55f25146102aa578063c0d78655146102bd578063e5a6b10f146102dd578063e941fa78146102fd57005b80635b382989116100f45780635b382989146101d55780637eb71131146101eb5780637ece45e8146102005780638da5cb5b14610220578063934472f5146102585780639d8e21771461026e57005b806313af40351461013657806318160ddd1461015657806323548b8b1461017f5780632e1a7d4d14610195578063532f6690146101b557005b3661013457005b005b34801561014257600080fd5b5061013461015136600461145f565b6103df565b34801561016257600080fd5b5061016c60095481565b6040519081526020015b60405180910390f35b34801561018b57600080fd5b5061016c60075481565b3480156101a157600080fd5b506101346101b03660046114e2565b610434565b3480156101c157600080fd5b506101346101d0366004611514565b6107d1565b3480156101e157600080fd5b5061016c60065481565b3480156101f757600080fd5b5061016c610867565b34801561020c57600080fd5b5061013461021b366004611544565b6108a2565b34801561022c57600080fd5b50600054610240906001600160a01b031681565b6040516001600160a01b039091168152602001610176565b34801561026457600080fd5b5061016c600b5481565b34801561027a57600080fd5b5061016c670de0b6b3a764000081565b34801561029657600080fd5b50600554610240906001600160a01b031681565b6101346102b83660046114e2565b6108e0565b3480156102c957600080fd5b506101346102d836600461145f565b610ac5565b3480156102e957600080fd5b50600454610240906001600160a01b031681565b34801561030957600080fd5b5061016c60035481565b34801561031f57600080fd5b50600254610240906001600160a01b031681565b34801561033f57600080fd5b5061016c61034e36600461145f565b610c34565b34801561035f57600080fd5b50600154610240906001600160a01b031681565b34801561037f57600080fd5b5061016c61038e36600461145f565b6001600160a01b031660009081526008602052604090205490565b3480156103b557600080fd5b5061016c600c5481565b3480156103cb57600080fd5b506101346103da366004611499565b610c8f565b6000546001600160a01b031633146104125760405162461bcd60e51b8152600401610409906115e8565b60405180910390fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000811161046e5760405162461bcd60e51b815260206004820152600760248201526608585b5bdd5b9d60ca1b6044820152606401610409565b600b54336000908152600a602052604090205461048b9190611608565b42116104c55760405162461bcd60e51b815260206004820152600960248201526810b1b7b7b63237bbb760b91b6044820152606401610409565b600554604051635fd6196560e01b81523360048201526001600160a01b0390911690635fd6196590602401600060405180830381600087803b15801561050a57600080fd5b505af115801561051e573d6000803e3d6000fd5b50505050600061052c610d32565b905060008111801561054057506000600954115b6105755760405162461bcd60e51b815260206004820152600660248201526521656d70747960d01b6044820152606401610409565b600061057f610867565b905061271081106105c15760405162461bcd60e51b815260206004820152600c60248201526b10baba34b634bd30ba34b7b760a11b6044820152606401610409565b600082600954856105d2919061172f565b6105dc9190611620565b336000908152600860205260409020549091508110610620575033600090815260086020526040902054600954610613848361172f565b61061d9190611620565b93505b600061271061062f848261174e565b610639908661172f565b6106439190611620565b9050600061271060035461271061065a919061174e565b610664908861172f565b61066e9190611620565b9050818111156106b55760405162461bcd60e51b815260206004820152601260248201527121617661696c61626c652d62616c616e636560701b6044820152606401610409565b82600960008282546106c7919061174e565b909155505033600090815260086020526040812080548592906106eb90849061174e565b909155506106fb90503382610e84565b6000610707828861174e565b600554909150610720906001600160a01b031682610e84565b60055460405163e38a195b60e01b8152600481018390526001600160a01b039091169063e38a195b90602401600060405180830381600087803b15801561076657600080fd5b505af115801561077a573d6000803e3d6000fd5b505060045460408051868152602081018990526001600160a01b0390921693503392507ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567910160405180910390a350505050505050565b6002546001600160a01b031633146108165760405162461bcd60e51b81526020600482015260086024820152672174726164696e6760c01b6044820152606401610409565b801561084b5781600c541161082e576000600c555050565b81600c6000828254610840919061174e565b909155506108639050565b81600c600082825461085d9190611608565b90915550505b5050565b600080610872610d32565b90508061088157600091505090565b80600654600c54610892919061172f565b61089c9190611620565b91505090565b6000546001600160a01b031633146108cc5760405162461bcd60e51b8152600401610409906115e8565b600b93909355600691909155600755600355565b6004546001600160a01b03166108f7575034610900565b61090081610f8f565b6000811161093a5760405162461bcd60e51b815260206004820152600760248201526608585b5bdd5b9d60ca1b6044820152606401610409565b600754600d5461094a9083611608565b11156109835760405162461bcd60e51b81526020600482015260086024820152670216d61782d6361760c41b6044820152606401610409565b6000600d54600014806109965750600954155b6109b957600d546009546109aa908461172f565b6109b49190611620565b6109bb565b815b336000818152600a6020526040908190204290556005549051635fd6196560e01b815260048101929092529192506001600160a01b0390911690635fd6196590602401600060405180830381600087803b158015610a1857600080fd5b505af1158015610a2c573d6000803e3d6000fd5b505050508060096000828254610a429190611608565b90915550503360009081526008602052604081208054839290610a66908490611608565b90915550610a749050610d32565b600d5560045460408051848152602081018490526001600160a01b039092169133917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a35050565b6000546001600160a01b03163314610aef5760405162461bcd60e51b8152600401610409906115e8565b600180546001600160a01b0319166001600160a01b03831690811790915560408051637622567960e11b8152905163ec44acf291600480820192602092909190829003018186803b158015610b4357600080fd5b505afa158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7b919061147c565b600280546001600160a01b0319166001600160a01b03928316179055600154600480546040516356e8b9cd60e11b81529084169181019190915291169063add1739a9060240160206040518083038186803b158015610bd957600080fd5b505afa158015610bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c11919061147c565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b600060095460001415610c4957506000919050565b6000610c53610d32565b6009546001600160a01b03851660009081526008602052604090205491925090610c7e90839061172f565b610c889190611620565b9392505050565b6002546001600160a01b03163314610cd45760405162461bcd60e51b81526020600482015260086024820152672174726164696e6760c01b6044820152606401610409565b80610cdd575050565b6000610ce7610d32565b9050808210610d235760405162461bcd60e51b81526020600482015260086024820152672162616c616e636560c01b6044820152606401610409565b610d2d8383610e84565b505050565b60045460009081906001600160a01b0316610d4e575047610dcd565b600480546040516370a0823160e01b815230928101929092526001600160a01b0316906370a082319060240160206040518083038186803b158015610d9257600080fd5b505afa158015610da6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca91906114fb565b90505b6001546004805460405163067aa55560e51b81526001600160a01b0391821692810192909252600092169063cf54aaa09060240160206040518083038186803b158015610e1957600080fd5b505afa158015610e2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e519190611576565b60ff169050610e6181600a611685565b610e73670de0b6b3a76400008461172f565b610e7d9190611620565b9250505090565b801580610e9857506001600160a01b038216155b15610ea1575050565b6001546004805460405163067aa55560e51b81526001600160a01b0391821692810192909252600092169063cf54aaa09060240160206040518083038186803b158015610eed57600080fd5b505afa158015610f01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f259190611576565b60ff169050670de0b6b3a7640000610f3e82600a611685565b610f48908461172f565b610f529190611620565b6004549092506001600160a01b0316610f7857610d2d6001600160a01b0384168361105b565b600454610d2d906001600160a01b03168484611174565b6001546004805460405163067aa55560e51b81526001600160a01b0391821692810192909252600092169063cf54aaa09060240160206040518083038186803b158015610fdb57600080fd5b505afa158015610fef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110139190611576565b60ff169050670de0b6b3a764000061102c82600a611685565b611036908461172f565b6110409190611620565b600454909250610863906001600160a01b03163330856111d7565b804710156110ab5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610409565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146110f8576040519150601f19603f3d011682016040523d82523d6000602084013e6110fd565b606091505b5050905080610d2d5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610409565b6040516001600160a01b038316602482015260448101829052610d2d90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611215565b6040516001600160a01b038085166024830152831660448201526064810182905261120f9085906323b872dd60e01b906084016111a0565b50505050565b600061126a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112e79092919063ffffffff16565b805190915015610d2d578080602001905181019061128891906114c5565b610d2d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610409565b60606112f684846000856112fe565b949350505050565b60608247101561135f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610409565b843b6113ad5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610409565b600080866001600160a01b031685876040516113c99190611599565b60006040518083038185875af1925050503d8060008114611406576040519150601f19603f3d011682016040523d82523d6000602084013e61140b565b606091505b509150915061141b828286611426565b979650505050505050565b60608315611435575081610c88565b8251156114455782518084602001fd5b8160405162461bcd60e51b815260040161040991906115b5565b60006020828403121561147157600080fd5b8135610c88816117a7565b60006020828403121561148e57600080fd5b8151610c88816117a7565b600080604083850312156114ac57600080fd5b82356114b7816117a7565b946020939093013593505050565b6000602082840312156114d757600080fd5b8151610c88816117bf565b6000602082840312156114f457600080fd5b5035919050565b60006020828403121561150d57600080fd5b5051919050565b6000806040838503121561152757600080fd5b823591506020830135611539816117bf565b809150509250929050565b6000806000806080858703121561155a57600080fd5b5050823594602084013594506040840135936060013592509050565b60006020828403121561158857600080fd5b815160ff81168114610c8857600080fd5b600082516115ab818460208701611765565b9190910192915050565b60208152600082518060208401526115d4816040850160208701611765565b601f01601f19169190910160400192915050565b60208082526006908201526510b7bbb732b960d11b604082015260600190565b6000821982111561161b5761161b611791565b500190565b60008261163d57634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561167d57816000190482111561166357611663611791565b8085161561167057918102915b93841c9390800290611647565b509250929050565b6000610c88838360008261169b57506001611729565b816116a857506000611729565b81600181146116be57600281146116c8576116e4565b6001915050611729565b60ff8411156116d9576116d9611791565b50506001821b611729565b5060208310610133831016604e8410600b8410161715611707575081810a611729565b6117118383611642565b806000190482111561172557611725611791565b0290505b92915050565b600081600019048311821515161561174957611749611791565b500290565b60008282101561176057611760611791565b500390565b60005b83811015611780578181015183820152602001611768565b8381111561120f5750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146117bc57600080fd5b50565b80151581146117bc57600080fdfea2646970667358221220b654151932d5da4f69031756ba2db17468a7eb44a56be470b4c8bab2718ae09f64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061012d5760003560e01c80639ec5a894116100a5578063ec44acf21161006c578063ec44acf214610313578063ed68350414610333578063f887ea4014610353578063f8b2cb4f14610373578063fa5a2e62146103a9578063fbbc7d7f146103bf57005b80639ec5a8941461028a578063b6b55f25146102aa578063c0d78655146102bd578063e5a6b10f146102dd578063e941fa78146102fd57005b80635b382989116100f45780635b382989146101d55780637eb71131146101eb5780637ece45e8146102005780638da5cb5b14610220578063934472f5146102585780639d8e21771461026e57005b806313af40351461013657806318160ddd1461015657806323548b8b1461017f5780632e1a7d4d14610195578063532f6690146101b557005b3661013457005b005b34801561014257600080fd5b5061013461015136600461145f565b6103df565b34801561016257600080fd5b5061016c60095481565b6040519081526020015b60405180910390f35b34801561018b57600080fd5b5061016c60075481565b3480156101a157600080fd5b506101346101b03660046114e2565b610434565b3480156101c157600080fd5b506101346101d0366004611514565b6107d1565b3480156101e157600080fd5b5061016c60065481565b3480156101f757600080fd5b5061016c610867565b34801561020c57600080fd5b5061013461021b366004611544565b6108a2565b34801561022c57600080fd5b50600054610240906001600160a01b031681565b6040516001600160a01b039091168152602001610176565b34801561026457600080fd5b5061016c600b5481565b34801561027a57600080fd5b5061016c670de0b6b3a764000081565b34801561029657600080fd5b50600554610240906001600160a01b031681565b6101346102b83660046114e2565b6108e0565b3480156102c957600080fd5b506101346102d836600461145f565b610ac5565b3480156102e957600080fd5b50600454610240906001600160a01b031681565b34801561030957600080fd5b5061016c60035481565b34801561031f57600080fd5b50600254610240906001600160a01b031681565b34801561033f57600080fd5b5061016c61034e36600461145f565b610c34565b34801561035f57600080fd5b50600154610240906001600160a01b031681565b34801561037f57600080fd5b5061016c61038e36600461145f565b6001600160a01b031660009081526008602052604090205490565b3480156103b557600080fd5b5061016c600c5481565b3480156103cb57600080fd5b506101346103da366004611499565b610c8f565b6000546001600160a01b031633146104125760405162461bcd60e51b8152600401610409906115e8565b60405180910390fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000811161046e5760405162461bcd60e51b815260206004820152600760248201526608585b5bdd5b9d60ca1b6044820152606401610409565b600b54336000908152600a602052604090205461048b9190611608565b42116104c55760405162461bcd60e51b815260206004820152600960248201526810b1b7b7b63237bbb760b91b6044820152606401610409565b600554604051635fd6196560e01b81523360048201526001600160a01b0390911690635fd6196590602401600060405180830381600087803b15801561050a57600080fd5b505af115801561051e573d6000803e3d6000fd5b50505050600061052c610d32565b905060008111801561054057506000600954115b6105755760405162461bcd60e51b815260206004820152600660248201526521656d70747960d01b6044820152606401610409565b600061057f610867565b905061271081106105c15760405162461bcd60e51b815260206004820152600c60248201526b10baba34b634bd30ba34b7b760a11b6044820152606401610409565b600082600954856105d2919061172f565b6105dc9190611620565b336000908152600860205260409020549091508110610620575033600090815260086020526040902054600954610613848361172f565b61061d9190611620565b93505b600061271061062f848261174e565b610639908661172f565b6106439190611620565b9050600061271060035461271061065a919061174e565b610664908861172f565b61066e9190611620565b9050818111156106b55760405162461bcd60e51b815260206004820152601260248201527121617661696c61626c652d62616c616e636560701b6044820152606401610409565b82600960008282546106c7919061174e565b909155505033600090815260086020526040812080548592906106eb90849061174e565b909155506106fb90503382610e84565b6000610707828861174e565b600554909150610720906001600160a01b031682610e84565b60055460405163e38a195b60e01b8152600481018390526001600160a01b039091169063e38a195b90602401600060405180830381600087803b15801561076657600080fd5b505af115801561077a573d6000803e3d6000fd5b505060045460408051868152602081018990526001600160a01b0390921693503392507ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567910160405180910390a350505050505050565b6002546001600160a01b031633146108165760405162461bcd60e51b81526020600482015260086024820152672174726164696e6760c01b6044820152606401610409565b801561084b5781600c541161082e576000600c555050565b81600c6000828254610840919061174e565b909155506108639050565b81600c600082825461085d9190611608565b90915550505b5050565b600080610872610d32565b90508061088157600091505090565b80600654600c54610892919061172f565b61089c9190611620565b91505090565b6000546001600160a01b031633146108cc5760405162461bcd60e51b8152600401610409906115e8565b600b93909355600691909155600755600355565b6004546001600160a01b03166108f7575034610900565b61090081610f8f565b6000811161093a5760405162461bcd60e51b815260206004820152600760248201526608585b5bdd5b9d60ca1b6044820152606401610409565b600754600d5461094a9083611608565b11156109835760405162461bcd60e51b81526020600482015260086024820152670216d61782d6361760c41b6044820152606401610409565b6000600d54600014806109965750600954155b6109b957600d546009546109aa908461172f565b6109b49190611620565b6109bb565b815b336000818152600a6020526040908190204290556005549051635fd6196560e01b815260048101929092529192506001600160a01b0390911690635fd6196590602401600060405180830381600087803b158015610a1857600080fd5b505af1158015610a2c573d6000803e3d6000fd5b505050508060096000828254610a429190611608565b90915550503360009081526008602052604081208054839290610a66908490611608565b90915550610a749050610d32565b600d5560045460408051848152602081018490526001600160a01b039092169133917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a35050565b6000546001600160a01b03163314610aef5760405162461bcd60e51b8152600401610409906115e8565b600180546001600160a01b0319166001600160a01b03831690811790915560408051637622567960e11b8152905163ec44acf291600480820192602092909190829003018186803b158015610b4357600080fd5b505afa158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7b919061147c565b600280546001600160a01b0319166001600160a01b03928316179055600154600480546040516356e8b9cd60e11b81529084169181019190915291169063add1739a9060240160206040518083038186803b158015610bd957600080fd5b505afa158015610bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c11919061147c565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b600060095460001415610c4957506000919050565b6000610c53610d32565b6009546001600160a01b03851660009081526008602052604090205491925090610c7e90839061172f565b610c889190611620565b9392505050565b6002546001600160a01b03163314610cd45760405162461bcd60e51b81526020600482015260086024820152672174726164696e6760c01b6044820152606401610409565b80610cdd575050565b6000610ce7610d32565b9050808210610d235760405162461bcd60e51b81526020600482015260086024820152672162616c616e636560c01b6044820152606401610409565b610d2d8383610e84565b505050565b60045460009081906001600160a01b0316610d4e575047610dcd565b600480546040516370a0823160e01b815230928101929092526001600160a01b0316906370a082319060240160206040518083038186803b158015610d9257600080fd5b505afa158015610da6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca91906114fb565b90505b6001546004805460405163067aa55560e51b81526001600160a01b0391821692810192909252600092169063cf54aaa09060240160206040518083038186803b158015610e1957600080fd5b505afa158015610e2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e519190611576565b60ff169050610e6181600a611685565b610e73670de0b6b3a76400008461172f565b610e7d9190611620565b9250505090565b801580610e9857506001600160a01b038216155b15610ea1575050565b6001546004805460405163067aa55560e51b81526001600160a01b0391821692810192909252600092169063cf54aaa09060240160206040518083038186803b158015610eed57600080fd5b505afa158015610f01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f259190611576565b60ff169050670de0b6b3a7640000610f3e82600a611685565b610f48908461172f565b610f529190611620565b6004549092506001600160a01b0316610f7857610d2d6001600160a01b0384168361105b565b600454610d2d906001600160a01b03168484611174565b6001546004805460405163067aa55560e51b81526001600160a01b0391821692810192909252600092169063cf54aaa09060240160206040518083038186803b158015610fdb57600080fd5b505afa158015610fef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110139190611576565b60ff169050670de0b6b3a764000061102c82600a611685565b611036908461172f565b6110409190611620565b600454909250610863906001600160a01b03163330856111d7565b804710156110ab5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610409565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146110f8576040519150601f19603f3d011682016040523d82523d6000602084013e6110fd565b606091505b5050905080610d2d5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610409565b6040516001600160a01b038316602482015260448101829052610d2d90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611215565b6040516001600160a01b038085166024830152831660448201526064810182905261120f9085906323b872dd60e01b906084016111a0565b50505050565b600061126a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112e79092919063ffffffff16565b805190915015610d2d578080602001905181019061128891906114c5565b610d2d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610409565b60606112f684846000856112fe565b949350505050565b60608247101561135f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610409565b843b6113ad5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610409565b600080866001600160a01b031685876040516113c99190611599565b60006040518083038185875af1925050503d8060008114611406576040519150601f19603f3d011682016040523d82523d6000602084013e61140b565b606091505b509150915061141b828286611426565b979650505050505050565b60608315611435575081610c88565b8251156114455782518084602001fd5b8160405162461bcd60e51b815260040161040991906115b5565b60006020828403121561147157600080fd5b8135610c88816117a7565b60006020828403121561148e57600080fd5b8151610c88816117a7565b600080604083850312156114ac57600080fd5b82356114b7816117a7565b946020939093013593505050565b6000602082840312156114d757600080fd5b8151610c88816117bf565b6000602082840312156114f457600080fd5b5035919050565b60006020828403121561150d57600080fd5b5051919050565b6000806040838503121561152757600080fd5b823591506020830135611539816117bf565b809150509250929050565b6000806000806080858703121561155a57600080fd5b5050823594602084013594506040840135936060013592509050565b60006020828403121561158857600080fd5b815160ff81168114610c8857600080fd5b600082516115ab818460208701611765565b9190910192915050565b60208152600082518060208401526115d4816040850160208701611765565b601f01601f19169190910160400192915050565b60208082526006908201526510b7bbb732b960d11b604082015260600190565b6000821982111561161b5761161b611791565b500190565b60008261163d57634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561167d57816000190482111561166357611663611791565b8085161561167057918102915b93841c9390800290611647565b509250929050565b6000610c88838360008261169b57506001611729565b816116a857506000611729565b81600181146116be57600281146116c8576116e4565b6001915050611729565b60ff8411156116d9576116d9611791565b50506001821b611729565b5060208310610133831016604e8410600b8410161715611707575081810a611729565b6117118383611642565b806000190482111561172557611725611791565b0290505b92915050565b600081600019048311821515161561174957611749611791565b500290565b60008282101561176057611760611791565b500390565b60005b83811015611780578181015183820152602001611768565b8381111561120f5750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146117bc57600080fd5b50565b80151581146117bc57600080fdfea2646970667358221220b654151932d5da4f69031756ba2db17468a7eb44a56be470b4c8bab2718ae09f64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _currency (address): 0x0000000000000000000000000000000000000000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

15911:6301:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17046:81;;;;;;;;;;-1:-1:-1;17046:81:0;;;;;:::i;:::-;;:::i;16406:26::-;;;;;;;;;;;;;;;;;;;9335:25:1;;;9323:2;9308:18;16406:26:0;;;;;;;;16281:37;;;;;;;;;;;;;;;;18662:1412;;;;;;;;;;-1:-1:-1;18662:1412:0;;;;;:::i;:::-;;:::i;17632:258::-;;;;;;;;;;-1:-1:-1;17632:258:0;;;;;:::i;:::-;;:::i;16220:42::-;;;;;;;;;;;;;;;;21452:223;;;;;;;;;;;;;:::i;17313:295::-;;;;;;;;;;-1:-1:-1;17313:295:0;;;;;:::i;:::-;;:::i;16022:20::-;;;;;;;;;;-1:-1:-1;16022:20:0;;;;-1:-1:-1;;;;;16022:20:0;;;;;;-1:-1:-1;;;;;3101:32:1;;;3083:51;;3071:2;3056:18;16022:20:0;2937:203:1;16489:39:0;;;;;;;;;;;;;;;;16598:37;;;;;;;;;;;;16629:6;16598:37;;16177:22;;;;;;;;;;-1:-1:-1;16177:22:0;;;;-1:-1:-1;;;;;16177:22:0;;;17910:747;;;;;;:::i;:::-;;:::i;17132:176::-;;;;;;;;;;-1:-1:-1;17132:176:0;;;;;:::i;:::-;;:::i;16147:23::-;;;;;;;;;;-1:-1:-1;16147:23:0;;;;-1:-1:-1;;;;;16147:23:0;;;16099:31;;;;;;;;;;;;;;;;16071:22;;;;;;;;;;-1:-1:-1;16071:22:0;;;;-1:-1:-1;;;;;16071:22:0;;;21680:226;;;;;;;;;;-1:-1:-1;21680:226:0;;;;;:::i;:::-;;:::i;16046:21::-;;;;;;;;;;-1:-1:-1;16046:21:0;;;;-1:-1:-1;;;;;16046:21:0;;;21923:102;;;;;;;;;;-1:-1:-1;21923:102:0;;;;;:::i;:::-;-1:-1:-1;;;;;22003:17:0;21982:7;22003:17;;;:8;:17;;;;;;;21923:102;16537:27;;;;;;;;;;;;;;;;20079:254;;;;;;;;;;-1:-1:-1;20079:254:0;;;;;:::i;:::-;;:::i;17046:81::-;22094:5;;-1:-1:-1;;;;;22094:5:0;22080:10;:19;22072:38;;;;-1:-1:-1;;;22072:38:0;;;;;;;:::i;:::-;;;;;;;;;17106:5:::1;:16:::0;;-1:-1:-1;;;;;;17106:16:0::1;-1:-1:-1::0;;;;;17106:16:0;;;::::1;::::0;;;::::1;::::0;;17046:81::o;18662:1412::-;18745:1;18728:14;:18;18720:38;;;;-1:-1:-1;;;18720:38:0;;8311:2:1;18720:38:0;;;8293:21:1;8350:1;8330:18;;;8323:29;-1:-1:-1;;;8368:18:1;;;8361:37;8415:18;;18720:38:0;8109:330:1;18720:38:0;18817:14;;18803:10;18789:25;;;;:13;:25;;;;;;:42;;18817:14;18789:42;:::i;:::-;18771:15;:60;18763:82;;;;-1:-1:-1;;;18763:82:0;;4730:2:1;18763:82:0;;;4712:21:1;4769:1;4749:18;;;4742:29;-1:-1:-1;;;4787:18:1;;;4780:39;4836:18;;18763:82:0;4528:332:1;18763:82:0;18861:7;;18852:43;;-1:-1:-1;;;18852:43:0;;18884:10;18852:43;;;3083:51:1;-1:-1:-1;;;;;18861:7:0;;;;18852:31;;3056:18:1;;18852:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18945:22;18970:20;:18;:20::i;:::-;18945:45;;19020:1;19003:14;:18;:37;;;;;19039:1;19025:11;;:15;19003:37;18995:56;;;;-1:-1:-1;;;18995:56:0;;5739:2:1;18995:56:0;;;5721:21:1;5778:1;5758:18;;;5751:29;-1:-1:-1;;;5796:18:1;;;5789:36;5842:18;;18995:56:0;5537:329:1;18995:56:0;19058:19;19080:16;:14;:16::i;:::-;19058:38;;19123:5;19109:11;:19;19101:44;;;;-1:-1:-1;;;19101:44:0;;7265:2:1;19101:44:0;;;7247:21:1;7304:2;7284:18;;;7277:30;-1:-1:-1;;;7323:18:1;;;7316:42;7375:18;;19101:44:0;7063:336:1;19101:44:0;19171:14;19219;19205:11;;19188:14;:28;;;;:::i;:::-;:45;;;;:::i;:::-;19293:10;19284:20;;;;:8;:20;;;;;;19171:62;;-1:-1:-1;19274:30:0;;19270:137;;-1:-1:-1;19330:10:0;19321:20;;;;:8;:20;;;;;;19390:11;;19364:23;19373:14;19321:20;19364:23;:::i;:::-;:37;;;;:::i;:::-;19347:54;;19270:137;19413:24;19481:5;19458:19;19466:11;19481:5;19458:19;:::i;:::-;19440:38;;:14;:38;:::i;:::-;:46;;;;:::i;:::-;19413:73;;19491:30;19565:5;19550:11;;19542:5;:19;;;;:::i;:::-;19524:38;;:14;:38;:::i;:::-;:46;;;;:::i;:::-;19491:79;;19609:16;19583:22;:42;;19575:73;;;;-1:-1:-1;;;19575:73:0;;7606:2:1;19575:73:0;;;7588:21:1;7645:2;7625:18;;;7618:30;-1:-1:-1;;;7664:18:1;;;7657:48;7722:18;;19575:73:0;7404:342:1;19575:73:0;19670:6;19655:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;19690:10:0;19681:20;;;;:8;:20;;;;;:30;;19705:6;;19681:20;:30;;19705:6;;19681:30;:::i;:::-;;;;-1:-1:-1;19718:48:0;;-1:-1:-1;19731:10:0;19743:22;19718:12;:48::i;:::-;19820:17;19840:39;19857:22;19840:14;:39;:::i;:::-;19897:7;;19820:59;;-1:-1:-1;19884:32:0;;-1:-1:-1;;;;;19897:7:0;19820:59;19884:12;:32::i;:::-;19930:7;;19921:49;;-1:-1:-1;;;19921:49:0;;;;;9335:25:1;;;-1:-1:-1;;;;;19930:7:0;;;;19921:38;;9308:18:1;;19921:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;20012:8:0;;19982:83;;;9545:25:1;;;9601:2;9586:18;;9579:34;;;-1:-1:-1;;;;;20012:8:0;;;;-1:-1:-1;19996:10:0;;-1:-1:-1;19982:83:0;;9518:18:1;19982:83:0;;;;;;;18713:1361;;;;;;18662:1412;:::o;17632:258::-;22176:7;;-1:-1:-1;;;;;22176:7:0;22162:10;:21;22154:42;;;;-1:-1:-1;;;22154:42:0;;4394:2:1;22154:42:0;;;4376:21:1;4433:1;4413:18;;;4406:29;-1:-1:-1;;;4451:18:1;;;4444:38;4499:18;;22154:42:0;4192:331:1;22154:42:0;17723:10:::1;17719:167;;;17761:6;17745:12;;:22;17741:100;;17791:1;17776:12;:16:::0;17632:258;;:::o;17741:100::-:1;17828:6;17812:12;;:22;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;17719:167:0::1;::::0;-1:-1:-1;17719:167:0::1;;17874:6;17858:12;;:22;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;17719:167:0::1;17632:258:::0;;:::o;21452:223::-;21498:7;21512:22;21537:20;:18;:20::i;:::-;21512:45;-1:-1:-1;21566:19:0;21562:33;;21594:1;21587:8;;;21452:223;:::o;21562:33::-;21646:14;21622:21;;21607:12;;:36;;;;:::i;:::-;:53;;;;:::i;:::-;21600:60;;;21452:223;:::o;17313:295::-;22094:5;;-1:-1:-1;;;;;22094:5:0;22080:10;:19;22072:38;;;;-1:-1:-1;;;22072:38:0;;;;;;;:::i;:::-;17468:14:::1;:32:::0;;;;17505:21:::1;:46:::0;;;;17556:6:::1;:16:::0;17577:11:::1;:26:::0;17313:295::o;17910:747::-;17971:8;;-1:-1:-1;;;;;17971:8:0;17967:95;;-1:-1:-1;18010:9:0;17967:95;;;18037:19;18049:6;18037:11;:19::i;:::-;18085:1;18076:6;:10;18068:30;;;;-1:-1:-1;;;18068:30:0;;8311:2:1;18068:30:0;;;8293:21:1;8350:1;8330:18;;;8323:29;-1:-1:-1;;;8368:18:1;;;8361:37;8415:18;;18068:30:0;8109:330:1;18068:30:0;18135:6;;18120:11;;18111:20;;:6;:20;:::i;:::-;:30;;18103:51;;;;-1:-1:-1;;;18103:51:0;;5067:2:1;18103:51:0;;;5049:21:1;5106:1;5086:18;;;5079:29;-1:-1:-1;;;5124:18:1;;;5117:38;5172:18;;18103:51:0;4865:331:1;18103:51:0;18167:23;18193:11;;18208:1;18193:16;:36;;;-1:-1:-1;18213:11:0;;:16;18193:36;:82;;18264:11;;18250;;18241:20;;:6;:20;:::i;:::-;:34;;;;:::i;:::-;18193:82;;;18232:6;18193:82;18302:10;18288:25;;;;:13;:25;;;;;;;18316:15;18288:43;;18353:7;;18344:43;;-1:-1:-1;;;18344:43:0;;;;;3083:51:1;;;;18167:108:0;;-1:-1:-1;;;;;;18353:7:0;;;;18344:31;;3056:18:1;;18344:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18415:15;18400:11;;:30;;;;;;;:::i;:::-;;;;-1:-1:-1;;18450:10:0;18441:20;;;;:8;:20;;;;;:39;;18465:15;;18441:20;:39;;18465:15;;18441:39;:::i;:::-;;;;-1:-1:-1;18507:20:0;;-1:-1:-1;18507:18:0;:20::i;:::-;18493:11;:34;18586:8;;18545:105;;;9545:25:1;;;9601:2;9586:18;;9579:34;;;-1:-1:-1;;;;;18586:8:0;;;;18564:10;;18545:105;;9518:18:1;18545:105:0;;;;;;;17960:697;17910:747;:::o;17132:176::-;22094:5;;-1:-1:-1;;;;;22094:5:0;22080:10;:19;22072:38;;;;-1:-1:-1;;;22072:38:0;;;;;;;:::i;:::-;17192:6:::1;:16:::0;;-1:-1:-1;;;;;;17192:16:0::1;-1:-1:-1::0;;;;;17192:16:0;::::1;::::0;;::::1;::::0;;;17223:25:::1;::::0;;-1:-1:-1;;;17223:25:0;;;;:23:::1;::::0;:25:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;17192:16;17223:25;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17213:7;:35:::0;;-1:-1:-1;;;;;;17213:35:0::1;-1:-1:-1::0;;;;;17213:35:0;;::::1;;::::0;;-1:-1:-1;17271:6:0;17294:8:::1;::::0;;17263:40:::1;::::0;-1:-1:-1;;;17263:40:0;;17294:8;;::::1;17263:40:::0;;::::1;3083:51:1::0;;;;17271:6:0;::::1;::::0;17263:30:::1;::::0;3056:18:1;;17263:40:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17253:7;:50:::0;;-1:-1:-1;;;;;;17253:50:0::1;-1:-1:-1::0;;;;;17253:50:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;17132:176:0:o;21680:226::-;21747:7;21765:11;;21780:1;21765:16;21761:30;;;-1:-1:-1;21790:1:0;;21680:226;-1:-1:-1;21680:226:0:o;21761:30::-;21796:22;21821:20;:18;:20::i;:::-;21890:11;;-1:-1:-1;;;;;21853:17:0;;;;;;:8;:17;;;;;;21796:45;;-1:-1:-1;21890:11:0;21853:34;;21796:45;;21853:34;:::i;:::-;:48;;;;:::i;:::-;21846:55;21680:226;-1:-1:-1;;;21680:226:0:o;20079:254::-;22176:7;;-1:-1:-1;;;;;22176:7:0;22162:10;:21;22154:42;;;;-1:-1:-1;;;22154:42:0;;4394:2:1;22154:42:0;;;4376:21:1;4433:1;4413:18;;;4406:29;-1:-1:-1;;;4451:18:1;;;4444:38;4499:18;;22154:42:0;4192:331:1;22154:42:0;20172:11;20168:24:::1;;17632:258:::0;;:::o;20168:24::-:1;20196:22;20221:20;:18;:20::i;:::-;20196:45;;20263:14;20254:6;:23;20246:44;;;::::0;-1:-1:-1;;;20246:44:0;;5403:2:1;20246:44:0::1;::::0;::::1;5385:21:1::0;5442:1;5422:18;;;5415:29;-1:-1:-1;;;5460:18:1;;;5453:38;5508:18;;20246:44:0::1;5201:331:1::0;20246:44:0::1;20295:33;20308:11;20321:6;20295:12;:33::i;:::-;20163:170;20079:254:::0;;:::o;21070:362::-;21167:8;;21122:7;;;;-1:-1:-1;;;;;21167:8:0;21163:154;;-1:-1:-1;21214:21:0;21163:154;;;21277:8;;;21270:41;;-1:-1:-1;;;21270:41:0;;21305:4;21270:41;;;3083:51:1;;;;-1:-1:-1;;;;;21277:8:0;;21270:26;;3056:18:1;;21270:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21253:58;;21163:154;21348:6;;21368:8;;;21340:37;;-1:-1:-1;;;21340:37:0;;-1:-1:-1;;;;;21368:8:0;;;21340:37;;;3083:51:1;;;;21321:16:0;;21348:6;;21340:27;;3056:18:1;;21340:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21321:56;;;-1:-1:-1;21414:12:0;21321:56;21414:2;:12;:::i;:::-;21389:21;16629:6;21389:14;:21;:::i;:::-;:38;;;;:::i;:::-;21382:45;;;;21070:362;:::o;20694:371::-;20762:11;;;:31;;-1:-1:-1;;;;;;20777:16:0;;;20762:31;20758:44;;;20694:371;;:::o;20758:44::-;20855:6;;20875:8;;;20847:37;;-1:-1:-1;;;20847:37:0;;-1:-1:-1;;;;;20875:8:0;;;20847:37;;;3083:51:1;;;;20828:16:0;;20855:6;;20847:27;;3056:18:1;;20847:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;20828:56;;;-1:-1:-1;16629:6:0;20908:12;20828:56;20908:2;:12;:::i;:::-;20898:23;;:6;:23;:::i;:::-;:30;;;;:::i;:::-;20937:8;;20889:39;;-1:-1:-1;;;;;;20937:8:0;20933:128;;20967:29;-1:-1:-1;;;;;20967:21:0;;20989:6;20967:21;:29::i;20933:128::-;21021:8;;21014:41;;-1:-1:-1;;;;;21021:8:0;21044:2;21048:6;21014:29;:41::i;20438:251::-;20538:6;;20558:8;;;20530:37;;-1:-1:-1;;;20530:37:0;;-1:-1:-1;;;;;20558:8:0;;;20530:37;;;3083:51:1;;;;20511:16:0;;20538:6;;20530:27;;3056:18:1;;20530:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;20511:56;;;-1:-1:-1;16629:6:0;20591:12;20511:56;20591:2;:12;:::i;:::-;20581:23;;:6;:23;:::i;:::-;:30;;;;:::i;:::-;20623:8;;20572:39;;-1:-1:-1;20616:68:0;;-1:-1:-1;;;;;20623:8:0;20650:10;20670:4;20572:39;20616:33;:68::i;4923:317::-;5038:6;5013:21;:31;;5005:73;;;;-1:-1:-1;;;5005:73:0;;6500:2:1;5005:73:0;;;6482:21:1;6539:2;6519:18;;;6512:30;6578:31;6558:18;;;6551:59;6627:18;;5005:73:0;6298:353:1;5005:73:0;5092:12;5110:9;-1:-1:-1;;;;;5110:14:0;5132:6;5110:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5091:52;;;5162:7;5154:78;;;;-1:-1:-1;;;5154:78:0;;6073:2:1;5154:78:0;;;6055:21:1;6112:2;6092:18;;;6085:30;6151:34;6131:18;;;6124:62;6222:28;6202:18;;;6195:56;6268:19;;5154:78:0;5871:422:1;11456:211:0;11600:58;;-1:-1:-1;;;;;3717:32:1;;11600:58:0;;;3699:51:1;3766:18;;;3759:34;;;11573:86:0;;11593:5;;-1:-1:-1;;;11623:23:0;3672:18:1;;11600:58:0;;;;-1:-1:-1;;11600:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;11600:58:0;-1:-1:-1;;;;;;11600:58:0;;;;;;;;;;11573:19;:86::i;11675:248::-;11846:68;;-1:-1:-1;;;;;3403:15:1;;;11846:68:0;;;3385:34:1;3455:15;;3435:18;;;3428:43;3487:18;;;3480:34;;;11819:96:0;;11839:5;;-1:-1:-1;;;11869:27:0;3320:18:1;;11846:68:0;3145:375:1;11819:96:0;11675:248;;;;:::o;14029:716::-;14453:23;14479:69;14507:4;14479:69;;;;;;;;;;;;;;;;;14487:5;-1:-1:-1;;;;;14479:27:0;;;:69;;;;;:::i;:::-;14563:17;;14453:95;;-1:-1:-1;14563:21:0;14559:179;;14660:10;14649:30;;;;;;;;;;;;:::i;:::-;14641:85;;;;-1:-1:-1;;;14641:85:0;;8646:2:1;14641:85:0;;;8628:21:1;8685:2;8665:18;;;8658:30;8724:34;8704:18;;;8697:62;-1:-1:-1;;;8775:18:1;;;8768:40;8825:19;;14641:85:0;8444:406:1;6407:229:0;6544:12;6576:52;6598:6;6606:4;6612:1;6615:12;6576:21;:52::i;:::-;6569:59;6407:229;-1:-1:-1;;;;6407:229:0:o;7527:510::-;7697:12;7755:5;7730:21;:30;;7722:81;;;;-1:-1:-1;;;7722:81:0;;6858:2:1;7722:81:0;;;6840:21:1;6897:2;6877:18;;;6870:30;6936:34;6916:18;;;6909:62;-1:-1:-1;;;6987:18:1;;;6980:36;7033:19;;7722:81:0;6656:402:1;7722:81:0;3924:20;;7814:60;;;;-1:-1:-1;;;7814:60:0;;7953:2:1;7814:60:0;;;7935:21:1;7992:2;7972:18;;;7965:30;8031:31;8011:18;;;8004:59;8080:18;;7814:60:0;7751:353:1;7814:60:0;7888:12;7902:23;7929:6;-1:-1:-1;;;;;7929:11:0;7948:5;7955:4;7929:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7887:73;;;;7978:51;7995:7;8004:10;8016:12;7978:16;:51::i;:::-;7971:58;7527:510;-1:-1:-1;;;;;;;7527:510:0:o;10213:712::-;10363:12;10392:7;10388:530;;;-1:-1:-1;10423:10:0;10416:17;;10388:530;10537:17;;:21;10533:374;;10735:10;10729:17;10796:15;10783:10;10779:2;10775:19;10768:44;10533:374;10878:12;10871:20;;-1:-1:-1;;;10871:20:0;;;;;;;;:::i;14:247:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;200:31;225:5;200:31;:::i;266:251::-;336:6;389:2;377:9;368:7;364:23;360:32;357:52;;;405:1;402;395:12;357:52;437:9;431:16;456:31;481:5;456:31;:::i;522:315::-;590:6;598;651:2;639:9;630:7;626:23;622:32;619:52;;;667:1;664;657:12;619:52;706:9;693:23;725:31;750:5;725:31;:::i;:::-;775:5;827:2;812:18;;;;799:32;;-1:-1:-1;;;522:315:1:o;842:245::-;909:6;962:2;950:9;941:7;937:23;933:32;930:52;;;978:1;975;968:12;930:52;1010:9;1004:16;1029:28;1051:5;1029:28;:::i;1092:180::-;1151:6;1204:2;1192:9;1183:7;1179:23;1175:32;1172:52;;;1220:1;1217;1210:12;1172:52;-1:-1:-1;1243:23:1;;1092:180;-1:-1:-1;1092:180:1:o;1277:184::-;1347:6;1400:2;1388:9;1379:7;1375:23;1371:32;1368:52;;;1416:1;1413;1406:12;1368:52;-1:-1:-1;1439:16:1;;1277:184;-1:-1:-1;1277:184:1:o;1466:309::-;1531:6;1539;1592:2;1580:9;1571:7;1567:23;1563:32;1560:52;;;1608:1;1605;1598:12;1560:52;1644:9;1631:23;1621:33;;1704:2;1693:9;1689:18;1676:32;1717:28;1739:5;1717:28;:::i;:::-;1764:5;1754:15;;;1466:309;;;;;:::o;1780:385::-;1866:6;1874;1882;1890;1943:3;1931:9;1922:7;1918:23;1914:33;1911:53;;;1960:1;1957;1950:12;1911:53;-1:-1:-1;;1983:23:1;;;2053:2;2038:18;;2025:32;;-1:-1:-1;2104:2:1;2089:18;;2076:32;;2155:2;2140:18;2127:32;;-1:-1:-1;1780:385:1;-1:-1:-1;1780:385:1:o;2170:273::-;2238:6;2291:2;2279:9;2270:7;2266:23;2262:32;2259:52;;;2307:1;2304;2297:12;2259:52;2339:9;2333:16;2389:4;2382:5;2378:16;2371:5;2368:27;2358:55;;2409:1;2406;2399:12;2448:274;2577:3;2615:6;2609:13;2631:53;2677:6;2672:3;2665:4;2657:6;2653:17;2631:53;:::i;:::-;2700:16;;;;;2448:274;-1:-1:-1;;2448:274:1:o;3804:383::-;3953:2;3942:9;3935:21;3916:4;3985:6;3979:13;4028:6;4023:2;4012:9;4008:18;4001:34;4044:66;4103:6;4098:2;4087:9;4083:18;4078:2;4070:6;4066:15;4044:66;:::i;:::-;4171:2;4150:15;-1:-1:-1;;4146:29:1;4131:45;;;;4178:2;4127:54;;3804:383;-1:-1:-1;;3804:383:1:o;8855:329::-;9057:2;9039:21;;;9096:1;9076:18;;;9069:29;-1:-1:-1;;;9129:2:1;9114:18;;9107:36;9175:2;9160:18;;8855:329::o;9624:128::-;9664:3;9695:1;9691:6;9688:1;9685:13;9682:39;;;9701:18;;:::i;:::-;-1:-1:-1;9737:9:1;;9624:128::o;9757:217::-;9797:1;9823;9813:132;;9867:10;9862:3;9858:20;9855:1;9848:31;9902:4;9899:1;9892:15;9930:4;9927:1;9920:15;9813:132;-1:-1:-1;9959:9:1;;9757:217::o;9979:422::-;10068:1;10111:5;10068:1;10125:270;10146:7;10136:8;10133:21;10125:270;;;10205:4;10201:1;10197:6;10193:17;10187:4;10184:27;10181:53;;;10214:18;;:::i;:::-;10264:7;10254:8;10250:22;10247:55;;;10284:16;;;;10247:55;10363:22;;;;10323:15;;;;10125:270;;;10129:3;9979:422;;;;;:::o;10406:131::-;10466:5;10495:36;10522:8;10516:4;10591:5;10621:8;10611:80;;-1:-1:-1;10662:1:1;10676:5;;10611:80;10710:4;10700:76;;-1:-1:-1;10747:1:1;10761:5;;10700:76;10792:4;10810:1;10805:59;;;;10878:1;10873:130;;;;10785:218;;10805:59;10835:1;10826:10;;10849:5;;;10873:130;10910:3;10900:8;10897:17;10894:43;;;10917:18;;:::i;:::-;-1:-1:-1;;10973:1:1;10959:16;;10988:5;;10785:218;;11087:2;11077:8;11074:16;11068:3;11062:4;11059:13;11055:36;11049:2;11039:8;11036:16;11031:2;11025:4;11022:12;11018:35;11015:77;11012:159;;;-1:-1:-1;11124:19:1;;;11156:5;;11012:159;11203:34;11228:8;11222:4;11203:34;:::i;:::-;11273:6;11269:1;11265:6;11261:19;11252:7;11249:32;11246:58;;;11284:18;;:::i;:::-;11322:20;;-1:-1:-1;10542:806:1;;;;;:::o;11353:168::-;11393:7;11459:1;11455;11451:6;11447:14;11444:1;11441:21;11436:1;11429:9;11422:17;11418:45;11415:71;;;11466:18;;:::i;:::-;-1:-1:-1;11506:9:1;;11353:168::o;11526:125::-;11566:4;11594:1;11591;11588:8;11585:34;;;11599:18;;:::i;:::-;-1:-1:-1;11636:9:1;;11526:125::o;11656:258::-;11728:1;11738:113;11752:6;11749:1;11746:13;11738:113;;;11828:11;;;11822:18;11809:11;;;11802:39;11774:2;11767:10;11738:113;;;11869:6;11866:1;11863:13;11860:48;;;-1:-1:-1;;11904:1:1;11886:16;;11879:27;11656:258::o;11919:127::-;11980:10;11975:3;11971:20;11968:1;11961:31;12011:4;12008:1;12001:15;12035:4;12032:1;12025:15;12051:131;-1:-1:-1;;;;;12126:31:1;;12116:42;;12106:70;;12172:1;12169;12162:12;12106:70;12051:131;:::o;12187:118::-;12273:5;12266:13;12259:21;12252:5;12249:32;12239:60;;12295:1;12292;12285:12

Metadata Hash

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