Contract 0xEc12B5d70a84895F819FE037dc4EABDbD24707f2 2

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xd66334c07a6313f487e2f7efaddd7a7db14d3e4222664a19d9319e4924651271Transfer Ownersh...190637992021-09-13 14:49:04287 days 7 hrs ago0xf2d862f226e0187fe551bf66d99be9306db368e0 IN  0xec12b5d70a84895f819fe037dc4eabdbd24707f20 MATIC0.0001203255
0x7bd63b2bc20123980597e665600d7c9ad15a324e1473181790e0426943bf5031Set Treasury183679482021-08-25 3:22:10306 days 18 hrs agoIron.Finance: Deployer IN  0xec12b5d70a84895f819fe037dc4eabdbd24707f20 MATIC0.0090483300
0x09f0987ade12e2a2068c8a30ca855e9d93c75004ed892a631886850368cfc1c6Transfer To183679262021-08-25 3:20:56306 days 18 hrs agoIron.Finance: Deployer IN  0xec12b5d70a84895f819fe037dc4eabdbd24707f20 MATIC0.0211791300
0x42bbc8b181cb5f3abc59ac618376793aca030c7c349c1e650d045c7b5d506df0Set Treasury183678822021-08-25 3:19:28306 days 18 hrs agoIron.Finance: Deployer IN  0xec12b5d70a84895f819fe037dc4eabdbd24707f20 MATIC0.0090483300
0x7912c232bc5d5bae41de5740e1ae8b493e3262d0f4c06d7fc49851afea347783Transfer Ownersh...151965502021-06-01 10:43:18391 days 11 hrs ago0x62ca555de2d65f8e9d45a9b3d5c1b92ac1a64ecc IN  0xec12b5d70a84895f819fe037dc4eabdbd24707f20 MATIC0.0000286981
0x919ee2bbd9dcd17077a170ef228bde2503438bd9d78feda02b31df26e4e93e7dSet Treasury150671862021-05-29 8:31:43394 days 13 hrs ago0x62ca555de2d65f8e9d45a9b3d5c1b92ac1a64ecc IN  0xec12b5d70a84895f819fe037dc4eabdbd24707f20 MATIC0.0000301611
0x5b3be3bf47d6c3e89bd316bf8c409306d5dfeef1f6b59ce9eb7b4da358a04818Transfer Ownersh...146366022021-05-18 8:31:42405 days 13 hrs agoIron.Finance: Deployer IN  0xec12b5d70a84895f819fe037dc4eabdbd24707f20 MATIC0.0000308981
0x8c89233bacaa8db4a80f6437a587811043c0a6e529a348ca1ce38f5211bc5a41Initialize145897882021-05-17 3:51:08406 days 18 hrs agoIron.Finance: Deployer IN  0xec12b5d70a84895f819fe037dc4eabdbd24707f20 MATIC0.0000535061
0x5b2ab8c65868671fff2857a6a2b117fc65be9588c817e5e35f572f2ad24c9d1e0x60806040145897832021-05-17 3:50:58406 days 18 hrs agoIron.Finance: Deployer IN  Create: CollateralReserve0 MATIC0.0006407611
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CollateralReserve

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-06-09
*/

// Sources flattened with hardhat v2.2.1 https://hardhat.org
// SPDX-License-Identifier: MIT
// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File @openzeppelin/contracts/access/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File @openzeppelin/contracts-upgradeable/proxy/utils/[email protected]

// solhint-disable-next-line compiler-version
pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

// File @openzeppelin/contracts/token/ERC20/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);
}

// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

/**
 * @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;
        // solhint-disable-next-line no-inline-assembly
        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");

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // 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 {
            // 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);
            }
        }
    }
}

// File @openzeppelin/contracts/token/ERC20/utils/[email protected]

pragma solidity ^0.8.0;

/**
 * @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'
        // solhint-disable-next-line max-line-length
        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
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File contracts/interfaces/ICollateralReserve.sol

pragma solidity 0.8.4;
pragma experimental ABIEncoderV2;

interface ICollateralReserve {
    function transferTo(
        address _token,
        address _receiver,
        uint256 _amount
    ) external;
}

// File contracts/CollateralReserve.sol

pragma solidity 0.8.4;

contract CollateralReserve is Ownable, ICollateralReserve, Initializable {
    using SafeERC20 for IERC20;

    // CONTRACTS
    address public treasury;

    /* ========== MODIFIER ========== */

    modifier onlyTreasury() {
        require(treasury == msg.sender, "Only treasury can trigger this function");
        _;
    }

    function initialize(address _treasury) external onlyOwner initializer {
        require(_treasury != address(0), "Invalid address");
        treasury = _treasury;
    }

    /* ========== VIEWS ================ */

    function fundBalance(address _token) public view returns (uint256) {
        return IERC20(_token).balanceOf(address(this));
    }

    /* ========== RESTRICTED FUNCTIONS ========== */

    function transferTo(
        address _token,
        address _receiver,
        uint256 _amount
    ) public override onlyTreasury {
        require(_receiver != address(0), "Invalid address");
        require(_amount > 0, "Cannot transfer zero amount");
        IERC20(_token).safeTransfer(_receiver, _amount);
    }

    function setTreasury(address _treasury) public onlyOwner {
        require(_treasury != address(0), "Invalid address");
        treasury = _treasury;
        emit TreasuryChanged(treasury);
    }

    event TreasuryChanged(address indexed newTreasury);
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryChanged","type":"event"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"fundBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610a34806100616000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a5f2a1521161005b578063a5f2a152146100f9578063c4d66de81461010c578063f0f442601461011f578063f2fde38b1461013257600080fd5b80630ad5a8651461008d57806361d027b3146100b3578063715018a6146100de5780638da5cb5b146100e8575b600080fd5b6100a061009b366004610894565b610145565b6040519081526020015b60405180910390f35b6001546100c6906001600160a01b031681565b6040516001600160a01b0390911681526020016100aa565b6100e66101c5565b005b6000546001600160a01b03166100c6565b6100e66101073660046108ae565b610242565b6100e661011a366004610894565b61033b565b6100e661012d366004610894565b61046d565b6100e6610140366004610894565b610507565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561018757600080fd5b505afa15801561019b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101bf9190610909565b92915050565b6000546001600160a01b031633146101f85760405162461bcd60e51b81526004016101ef90610999565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001546001600160a01b031633146102ac5760405162461bcd60e51b815260206004820152602760248201527f4f6e6c792074726561737572792063616e2074726967676572207468697320666044820152663ab731ba34b7b760c91b60648201526084016101ef565b6001600160a01b0382166102d25760405162461bcd60e51b81526004016101ef90610970565b600081116103225760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74207472616e73666572207a65726f20616d6f756e74000000000060448201526064016101ef565b6103366001600160a01b03841683836105f1565b505050565b6000546001600160a01b031633146103655760405162461bcd60e51b81526004016101ef90610999565b600054600160a81b900460ff16806103875750600054600160a01b900460ff16155b6103ea5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101ef565b600054600160a81b900460ff16158015610414576000805461ffff60a01b191661010160a01b1790555b6001600160a01b03821661043a5760405162461bcd60e51b81526004016101ef90610970565b600180546001600160a01b0319166001600160a01b0384161790558015610469576000805460ff60a81b191690555b5050565b6000546001600160a01b031633146104975760405162461bcd60e51b81526004016101ef90610999565b6001600160a01b0381166104bd5760405162461bcd60e51b81526004016101ef90610970565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fc714d22a2f08b695f81e7c707058db484aa5b4d6b4c9fd64beb10fe85832f60890600090a250565b6000546001600160a01b031633146105315760405162461bcd60e51b81526004016101ef90610999565b6001600160a01b0381166105965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101ef565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656490840152610336928692916000916106819185169084906106fe565b805190915015610336578080602001905181019061069f91906108e9565b6103365760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016101ef565b606061070d8484600085610717565b90505b9392505050565b6060824710156107785760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016101ef565b843b6107c65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101ef565b600080866001600160a01b031685876040516107e29190610921565b60006040518083038185875af1925050503d806000811461081f576040519150601f19603f3d011682016040523d82523d6000602084013e610824565b606091505b509150915061083482828661083f565b979650505050505050565b6060831561084e575081610710565b82511561085e5782518084602001fd5b8160405162461bcd60e51b81526004016101ef919061093d565b80356001600160a01b038116811461088f57600080fd5b919050565b6000602082840312156108a5578081fd5b61071082610878565b6000806000606084860312156108c2578182fd5b6108cb84610878565b92506108d960208501610878565b9150604084013590509250925092565b6000602082840312156108fa578081fd5b81518015158114610710578182fd5b60006020828403121561091a578081fd5b5051919050565b600082516109338184602087016109ce565b9190910192915050565b602081526000825180602084015261095c8160408501602087016109ce565b601f01601f19169190910160400192915050565b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60005b838110156109e95781810151838201526020016109d1565b838111156109f8576000848401525b5050505056fea2646970667358221220bc06418cbae2c3d34dd3b2f129ac00ee7f772d5ac2b24d89f0455845501171e964736f6c63430008040033

Deployed ByteCode Sourcemap

20937:1362:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21509:132;;;;;;:::i;:::-;;:::i;:::-;;;6004:25:1;;;5992:2;5977:18;21509:132:0;;;;;;;;21070:23;;;;;-1:-1:-1;;;;;21070:23:0;;;;;;-1:-1:-1;;;;;1680:32:1;;;1662:51;;1650:2;1635:18;21070:23:0;1617:102:1;2815:148:0;;;:::i;:::-;;2164:87;2210:7;2237:6;-1:-1:-1;;;;;2237:6:0;2164:87;;21705:325;;;;;;:::i;:::-;;:::i;21283:171::-;;;;;;:::i;:::-;;:::i;22038:199::-;;;;;;:::i;:::-;;:::i;3118:244::-;;;;;;:::i;:::-;;:::i;21509:132::-;21594:39;;-1:-1:-1;;;21594:39:0;;21627:4;21594:39;;;1662:51:1;21567:7:0;;-1:-1:-1;;;;;21594:24:0;;;;;1635:18:1;;21594:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21587:46;21509:132;-1:-1:-1;;21509:132:0:o;2815:148::-;2210:7;2237:6;-1:-1:-1;;;;;2237:6:0;801:10;2384:23;2376:68;;;;-1:-1:-1;;;2376:68:0;;;;;;;:::i;:::-;;;;;;;;;2922:1:::1;2906:6:::0;;2885:40:::1;::::0;-1:-1:-1;;;;;2906:6:0;;::::1;::::0;2885:40:::1;::::0;2922:1;;2885:40:::1;2953:1;2936:19:::0;;-1:-1:-1;;;;;;2936:19:0::1;::::0;;2815:148::o;21705:325::-;21189:8;;-1:-1:-1;;;;;21189:8:0;21201:10;21189:22;21181:74;;;;-1:-1:-1;;;21181:74:0;;4883:2:1;21181:74:0;;;4865:21:1;4922:2;4902:18;;;4895:30;4961:34;4941:18;;;4934:62;-1:-1:-1;;;5012:18:1;;;5005:37;5059:19;;21181:74:0;4855:229:1;21181:74:0;-1:-1:-1;;;;;21859:23:0;::::1;21851:51;;;;-1:-1:-1::0;;;21851:51:0::1;;;;;;;:::i;:::-;21931:1;21921:7;:11;21913:51;;;::::0;-1:-1:-1;;;21913:51:0;;3344:2:1;21913:51:0::1;::::0;::::1;3326:21:1::0;3383:2;3363:18;;;3356:30;3422:29;3402:18;;;3395:57;3469:18;;21913:51:0::1;3316:177:1::0;21913:51:0::1;21975:47;-1:-1:-1::0;;;;;21975:27:0;::::1;22003:9:::0;22014:7;21975:27:::1;:47::i;:::-;21705:325:::0;;;:::o;21283:171::-;2210:7;2237:6;-1:-1:-1;;;;;2237:6:0;801:10;2384:23;2376:68;;;;-1:-1:-1;;;2376:68:0;;;;;;;:::i;:::-;4905:13:::1;::::0;-1:-1:-1;;;4905:13:0;::::1;;;::::0;:30:::1;;-1:-1:-1::0;4923:12:0::1;::::0;-1:-1:-1;;;4923:12:0;::::1;;;4922:13;4905:30;4897:89;;;::::0;-1:-1:-1;;;4897:89:0;;4107:2:1;4897:89:0::1;::::0;::::1;4089:21:1::0;4146:2;4126:18;;;4119:30;4185:34;4165:18;;;4158:62;-1:-1:-1;;;4236:18:1;;;4229:44;4290:19;;4897:89:0::1;4079:236:1::0;4897:89:0::1;4999:19;5022:13:::0;-1:-1:-1;;;5022:13:0;::::1;;;5021:14;5046:101:::0;::::1;;;5081:13;:20:::0;;-1:-1:-1;;;;5116:19:0;-1:-1:-1;;;5116:19:0;;;5046:101:::1;-1:-1:-1::0;;;;;21372:23:0;::::2;21364:51;;;;-1:-1:-1::0;;;21364:51:0::2;;;;;;;:::i;:::-;21426:8;:20:::0;;-1:-1:-1;;;;;;21426:20:0::2;-1:-1:-1::0;;;;;21426:20:0;::::2;;::::0;;5173:68;::::1;;;5224:5;5208:21:::0;;-1:-1:-1;;;;5208:21:0::1;::::0;;5173:68:::1;2455:1;21283:171:::0;:::o;22038:199::-;2210:7;2237:6;-1:-1:-1;;;;;2237:6:0;801:10;2384:23;2376:68;;;;-1:-1:-1;;;2376:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22114:23:0;::::1;22106:51;;;;-1:-1:-1::0;;;22106:51:0::1;;;;;;;:::i;:::-;22168:8;:20:::0;;-1:-1:-1;;;;;;22168:20:0::1;-1:-1:-1::0;;;;;22168:20:0;::::1;::::0;;::::1;::::0;;;22204:25:::1;::::0;::::1;::::0;-1:-1:-1;;22204:25:0::1;22038:199:::0;:::o;3118:244::-;2210:7;2237:6;-1:-1:-1;;;;;2237:6:0;801:10;2384:23;2376:68;;;;-1:-1:-1;;;2376:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3207:22:0;::::1;3199:73;;;::::0;-1:-1:-1;;;3199:73:0;;2937:2:1;3199:73:0::1;::::0;::::1;2919:21:1::0;2976:2;2956:18;;;2949:30;3015:34;2995:18;;;2988:62;-1:-1:-1;;;3066:18:1;;;3059:36;3112:19;;3199:73:0::1;2909:228:1::0;3199:73:0::1;3309:6;::::0;;3288:38:::1;::::0;-1:-1:-1;;;;;3288:38:0;;::::1;::::0;3309:6;::::1;::::0;3288:38:::1;::::0;::::1;3337:6;:17:::0;;-1:-1:-1;;;;;;3337:17:0::1;-1:-1:-1::0;;;;;3337:17:0;;;::::1;::::0;;;::::1;::::0;;3118:244::o;17050:211::-;17194:58;;;-1:-1:-1;;;;;1916:32:1;;;17194:58:0;;;1898:51:1;1965:18;;;;1958:34;;;17194:58:0;;;;;;;;;;1871:18:1;;;;17194:58:0;;;;;;;;-1:-1:-1;;;;;17194:58:0;-1:-1:-1;;;17194:58:0;;;20263:69;;;;;;;;;;;;;;;;17167:86;;17187:5;;17194:58;-1:-1:-1;;20263:69:0;;:27;;;17194:58;;20263:27;:69::i;:::-;20347:17;;20224:108;;-1:-1:-1;20347:21:0;20343:237;;20502:10;20491:30;;;;;;;;;;;;:::i;:::-;20483:85;;;;-1:-1:-1;;;20483:85:0;;5649:2:1;20483:85:0;;;5631:21:1;5688:2;5668:18;;;5661:30;5727:34;5707:18;;;5700:62;-1:-1:-1;;;5778:18:1;;;5771:40;5828:19;;20483:85:0;5621:232:1;11802:229:0;11939:12;11971:52;11993:6;12001:4;12007:1;12010:12;11971:21;:52::i;:::-;11964:59;;11802:229;;;;;;:::o;12935:571::-;13105:12;13163:5;13138:21;:30;;13130:81;;;;-1:-1:-1;;;13130:81:0;;3700:2:1;13130:81:0;;;3682:21:1;3739:2;3719:18;;;3712:30;3778:34;3758:18;;;3751:62;-1:-1:-1;;;3829:18:1;;;3822:36;3875:19;;13130:81:0;3672:228:1;13130:81:0;9242:20;;13222:60;;;;-1:-1:-1;;;13222:60:0;;5291:2:1;13222:60:0;;;5273:21:1;5330:2;5310:18;;;5303:30;5369:31;5349:18;;;5342:59;5418:18;;13222:60:0;5263:179:1;13222:60:0;13356:12;13370:23;13397:6;-1:-1:-1;;;;;13397:11:0;13416:5;13423:4;13397:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13355:73;;;;13446:52;13464:7;13473:10;13485:12;13446:17;:52::i;:::-;13439:59;12935:571;-1:-1:-1;;;;;;;12935:571:0:o;15639:777::-;15789:12;15818:7;15814:595;;;-1:-1:-1;15849:10:0;15842:17;;15814:595;15963:17;;:21;15959:439;;16226:10;16220:17;16287:15;16274:10;16270:2;16266:19;16259:44;16174:148;16369:12;16362:20;;-1:-1:-1;;;16362:20:0;;;;;;;;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:338::-;470:6;478;486;539:2;527:9;518:7;514:23;510:32;507:2;;;560:6;552;545:22;507:2;588:29;607:9;588:29;:::i;:::-;578:39;;636:38;670:2;659:9;655:18;636:38;:::i;:::-;626:48;;721:2;710:9;706:18;693:32;683:42;;497:234;;;;;:::o;736:297::-;803:6;856:2;844:9;835:7;831:23;827:32;824:2;;;877:6;869;862:22;824:2;914:9;908:16;967:5;960:13;953:21;946:5;943:32;933:2;;994:6;986;979:22;1038:194;1108:6;1161:2;1149:9;1140:7;1136:23;1132:32;1129:2;;;1182:6;1174;1167:22;1129:2;-1:-1:-1;1210:16:1;;1119:113;-1:-1:-1;1119:113:1:o;1237:274::-;1366:3;1404:6;1398:13;1420:53;1466:6;1461:3;1454:4;1446:6;1442:17;1420:53;:::i;:::-;1489:16;;;;;1374:137;-1:-1:-1;;1374:137:1:o;2003:383::-;2152:2;2141:9;2134:21;2115:4;2184:6;2178:13;2227:6;2222:2;2211:9;2207:18;2200:34;2243:66;2302:6;2297:2;2286:9;2282:18;2277:2;2269:6;2265:15;2243:66;:::i;:::-;2370:2;2349:15;-1:-1:-1;;2345:29:1;2330:45;;;;2377:2;2326:54;;2124:262;-1:-1:-1;;2124:262:1:o;2391:339::-;2593:2;2575:21;;;2632:2;2612:18;;;2605:30;-1:-1:-1;;;2666:2:1;2651:18;;2644:45;2721:2;2706:18;;2565:165::o;4320:356::-;4522:2;4504:21;;;4541:18;;;4534:30;4600:34;4595:2;4580:18;;4573:62;4667:2;4652:18;;4494:182::o;6040:258::-;6112:1;6122:113;6136:6;6133:1;6130:13;6122:113;;;6212:11;;;6206:18;6193:11;;;6186:39;6158:2;6151:10;6122:113;;;6253:6;6250:1;6247:13;6244:2;;;6288:1;6279:6;6274:3;6270:16;6263:27;6244:2;;6093:205;;;:::o

Swarm Source

ipfs://bc06418cbae2c3d34dd3b2f129ac00ee7f772d5ac2b24d89f0455845501171e9
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.