Contract 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xdc282b6e300b353ba98709306192dee4cf934e44bd79c338bd1327d62017a9570x6080604031432492021-11-19 8:25:49381 days 15 hrs ago0x904b5993fc92979eeedc19ccc58bed6b7216667c IN  Create: ChainlinkAdaptor0 ETH0.044494681896 ETH
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x48c8d4220a78ee74d5a8bfc56c6a89e558b035f3e893323528f774f03d657fb0438480112022-12-05 15:54:488 hrs 7 mins ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0x48c8d4220a78ee74d5a8bfc56c6a89e558b035f3e893323528f774f03d657fb0438480112022-12-05 15:54:488 hrs 7 mins ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0x48c8d4220a78ee74d5a8bfc56c6a89e558b035f3e893323528f774f03d657fb0438480112022-12-05 15:54:488 hrs 7 mins ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0x48c8d4220a78ee74d5a8bfc56c6a89e558b035f3e893323528f774f03d657fb0438480112022-12-05 15:54:488 hrs 7 mins ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0x483a2f0e11c619a8b80fc4032dcc27da7e1b7bb752c1e3cc8b73caa6308d44ba435812442022-12-04 15:54:491 day 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0x483a2f0e11c619a8b80fc4032dcc27da7e1b7bb752c1e3cc8b73caa6308d44ba435812442022-12-04 15:54:491 day 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0x483a2f0e11c619a8b80fc4032dcc27da7e1b7bb752c1e3cc8b73caa6308d44ba435812442022-12-04 15:54:491 day 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0x483a2f0e11c619a8b80fc4032dcc27da7e1b7bb752c1e3cc8b73caa6308d44ba435812442022-12-04 15:54:491 day 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xa7eeab0ac142c0187db8acfbc8e5d277115c4819e40f672069aa154ccc117760433001102022-12-03 15:54:482 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xa7eeab0ac142c0187db8acfbc8e5d277115c4819e40f672069aa154ccc117760433001102022-12-03 15:54:482 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xa7eeab0ac142c0187db8acfbc8e5d277115c4819e40f672069aa154ccc117760433001102022-12-03 15:54:482 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xa7eeab0ac142c0187db8acfbc8e5d277115c4819e40f672069aa154ccc117760433001102022-12-03 15:54:482 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xde9c9d6dd66e0e7549481b8d4afac5bd24766ffccd68df0de42ca7b42a3cb3c8430237802022-12-02 15:54:483 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xde9c9d6dd66e0e7549481b8d4afac5bd24766ffccd68df0de42ca7b42a3cb3c8430237802022-12-02 15:54:483 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xde9c9d6dd66e0e7549481b8d4afac5bd24766ffccd68df0de42ca7b42a3cb3c8430237802022-12-02 15:54:483 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xde9c9d6dd66e0e7549481b8d4afac5bd24766ffccd68df0de42ca7b42a3cb3c8430237802022-12-02 15:54:483 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xc8057e59415a664969ad90df06222cbd791f53785ee6876d869bea0f00bd845b427461642022-12-01 15:54:484 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xc8057e59415a664969ad90df06222cbd791f53785ee6876d869bea0f00bd845b427461642022-12-01 15:54:484 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xc8057e59415a664969ad90df06222cbd791f53785ee6876d869bea0f00bd845b427461642022-12-01 15:54:484 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xc8057e59415a664969ad90df06222cbd791f53785ee6876d869bea0f00bd845b427461642022-12-01 15:54:484 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0x495fe3649cb39e52b065f68bd672d25add1a428b66b556aeb6b6eb5c50c9a589426012982022-12-01 3:30:344 days 20 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0x495fe3649cb39e52b065f68bd672d25add1a428b66b556aeb6b6eb5c50c9a589426012982022-12-01 3:30:344 days 20 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0x495fe3649cb39e52b065f68bd672d25add1a428b66b556aeb6b6eb5c50c9a589426012982022-12-01 3:30:344 days 20 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0x495fe3649cb39e52b065f68bd672d25add1a428b66b556aeb6b6eb5c50c9a589426012982022-12-01 3:30:344 days 20 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
0xac2970a37f9265fae7133125ac183fd6471867378c623e1de8d1ab86e8d75651424799422022-11-30 15:55:595 days 8 hrs ago 0xbe1e0fd7942e9a6a59ea8a039744145cb125ac1a 0x6cae81170bb2c62326e2c1f4c7ed454a6e0df7ec0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ChainlinkAdaptor

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : ChainlinkAdaptor.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.4;

import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";

import "../../interface/IOracle.sol";

interface IChainlink {
    function latestRoundData()
        external
        view
        returns (
            uint80 roundID,
            int256 price,
            uint256 startedAt,
            uint256 timeStamp,
            uint80 answeredInRound
        );

    function decimals() external view returns (uint8);
}

/**
 * @dev A very simple adaptor of Chainlink
 *
 *      isTerminated and isMarketClosed are always false.
 */
contract ChainlinkAdaptor is Initializable, ContextUpgradeable, AccessControlUpgradeable, IOracle {
    address public chainlink;
    int256 internal _reserved1;
    uint256 internal _reserved2;
    bool internal _reserved3;
    uint8 internal _chainlinkDecimals;
    string public override collateral;
    string public override underlyingAsset;

    function initialize(
        address chainlink_,
        string memory collateral_,
        string memory underlyingAsset_
    ) external virtual initializer {
        __Context_init_unchained();
        __AccessControl_init_unchained();
        __ChainlinkAdaptor_init_unchained(chainlink_, collateral_, underlyingAsset_);
    }

    function __ChainlinkAdaptor_init_unchained(
        address chainlink_,
        string memory collateral_,
        string memory underlyingAsset_
    ) internal initializer {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        chainlink = chainlink_;
        collateral = collateral_;
        underlyingAsset = underlyingAsset_;
        _chainlinkDecimals = IChainlink(chainlink).decimals();
        require(_chainlinkDecimals <= 18, "decimals exceeds 18");
    }

    function isMarketClosed() public pure override returns (bool) {
        return false;
    }

    function isTerminated() public pure override returns (bool) {
        return false;
    }

    function priceTWAPLong() public view override returns (int256, uint256) {
        (, int256 p, , uint256 t, ) = IChainlink(chainlink).latestRoundData();
        int256 scalar = int256(10**(18 - _chainlinkDecimals));
        require(
            p > 0 &&
                p <= type(int256).max / scalar &&
                t > 0,
            "invalid chainlink"
        );
        p = p * scalar;
        return (p, t);
    }

    function priceTWAPShort() public view override returns (int256, uint256) {
        return priceTWAPLong();
    }
}

File 2 of 7 : Initializable.sol
// SPDX-License-Identifier: MIT

// solhint-disable-next-line compiler-version
pragma solidity >=0.4.24 <0.8.0;

import "../utils/AddressUpgradeable.sol";

/**
 * @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 {UpgradeableProxy-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 || _isConstructor() || !_initialized, "Initializable: contract is already initialized");

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

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        return !AddressUpgradeable.isContract(address(this));
    }
}

File 3 of 7 : AccessControlUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../utils/EnumerableSetUpgradeable.sol";
import "../utils/AddressUpgradeable.sol";
import "../utils/ContextUpgradeable.sol";
import "../proxy/Initializable.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable {
    function __AccessControl_init() internal initializer {
        __Context_init_unchained();
        __AccessControl_init_unchained();
    }

    function __AccessControl_init_unchained() internal initializer {
    }
    using EnumerableSetUpgradeable for EnumerableSetUpgradeable.AddressSet;
    using AddressUpgradeable for address;

    struct RoleData {
        EnumerableSetUpgradeable.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
    uint256[49] private __gap;
}

File 4 of 7 : IOracle.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity 0.7.4;

interface IOracle {
    /**
     * @dev The market is closed if the market is not in its regular trading period.
     */
    function isMarketClosed() external returns (bool);

    /**
     * @dev The oracle service was shutdown and never online again.
     */
    function isTerminated() external returns (bool);

    /**
     * @dev Get collateral symbol. Also known as quote.
     */
    function collateral() external view returns (string memory);

    /**
     * @dev Get underlying asset symbol. Also known as base.
     */
    function underlyingAsset() external view returns (string memory);

    /**
     * @dev Mark price. Used to evaluate the account margin balance and liquidation.
     *
     *      It does not need to be a TWAP. This name is only for backward compatibility.
     */
    function priceTWAPLong() external returns (int256 newPrice, uint256 newTimestamp);

    /**
     * @dev Index price. It is AMM reference price.
     *
     *      It does not need to be a TWAP. This name is only for backward compatibility.
     */
    function priceTWAPShort() external returns (int256 newPrice, uint256 newTimestamp);
}

File 5 of 7 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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);
    }

    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 6 of 7 : EnumerableSetUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSetUpgradeable {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 7 of 7 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;
import "../proxy/Initializable.sol";

/*
 * @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 GSN 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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainlink","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collateral","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"chainlink_","type":"address"},{"internalType":"string","name":"collateral_","type":"string"},{"internalType":"string","name":"underlyingAsset_","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isMarketClosed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"isTerminated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"priceTWAPLong","outputs":[{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceTWAPShort","outputs":[{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"underlyingAsset","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50611011806100206000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80639c3feeb711610097578063ccbdbee211610066578063ccbdbee21461041d578063d1cc9976146103f8578063d547741f14610425578063d8dfeb451461045157610100565b80639c3feeb7146103e8578063a217fddf146103f0578063b7e86c1f146103f8578063ca15c8731461040057610100565b80637158da7c116100d35780637158da7c146101af5780639010d07c1461022c578063906571471461026b57806391d14854146103a857610100565b80630e222f9b14610105578063248a9ca3146101265780632f2ff15d1461015557806336568abe14610183575b600080fd5b61010d610459565b6040805192835260208301919091528051918290030190f35b6101436004803603602081101561013c57600080fd5b503561059e565b60408051918252519081900360200190f35b6101816004803603604081101561016b57600080fd5b50803590602001356001600160a01b03166105b3565b005b6101816004803603604081101561019957600080fd5b50803590602001356001600160a01b031661061f565b6101b7610680565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f15781810151838201526020016101d9565b50505050905090810190601f16801561021e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61024f6004803603604081101561024257600080fd5b508035906020013561070e565b604080516001600160a01b039092168252519081900360200190f35b6101816004803603606081101561028157600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156102ac57600080fd5b8201836020820111156102be57600080fd5b803590602001918460018302840111640100000000831117156102e057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561033357600080fd5b82018360208201111561034557600080fd5b8035906020019184600183028401116401000000008311171561036757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061072f945050505050565b6103d4600480360360408110156103be57600080fd5b50803590602001356001600160a01b03166107ef565b604080519115158252519081900360200190f35b61024f610807565b610143610816565b6103d461081b565b6101436004803603602081101561041657600080fd5b5035610820565b61010d610837565b6101816004803603604081101561043b57600080fd5b50803590602001356001600160a01b031661084a565b6101b76108a3565b600080600080606560009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b1580156104ad57600080fd5b505afa1580156104c1573d6000803e3d6000fd5b505050506040513d60a08110156104d757600080fd5b506020810151606090910151606854919350915060ff610100909104811660120316600a0a6000831380156105355750807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8161053057fe5b058313155b80156105415750600082115b610592576040805162461bcd60e51b815260206004820152601160248201527f696e76616c696420636861696e6c696e6b000000000000000000000000000000604482015290519081900360640190fd5b91909102925090509091565b60009081526033602052604090206002015490565b6000828152603360205260409020600201546105d6906105d16108fe565b6107ef565b6106115760405162461bcd60e51b815260040180806020018281038252602f815260200180610f20602f913960400191505060405180910390fd5b61061b8282610902565b5050565b6106276108fe565b6001600160a01b0316816001600160a01b0316146106765760405162461bcd60e51b815260040180806020018281038252602f815260200180610fad602f913960400191505060405180910390fd5b61061b828261096b565b606a805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107065780601f106106db57610100808354040283529160200191610706565b820191906000526020600020905b8154815290600101906020018083116106e957829003601f168201915b505050505081565b600082815260336020526040812061072690836109d4565b90505b92915050565b600054610100900460ff168061074857506107486109e0565b80610756575060005460ff16155b6107915760405162461bcd60e51b815260040180806020018281038252602e815260200180610f7f602e913960400191505060405180910390fd5b600054610100900460ff161580156107bc576000805460ff1961ff0019909116610100171660011790555b6107c46109f1565b6107cc6109f1565b6107d7848484610a93565b80156107e9576000805461ff00191690555b50505050565b60008281526033602052604081206107269083610c7c565b6065546001600160a01b031681565b600081565b600090565b600081815260336020526040812061072990610c91565b600080610842610459565b915091509091565b600082815260336020526040902060020154610868906105d16108fe565b6106765760405162461bcd60e51b8152600401808060200182810382526030815260200180610f4f6030913960400191505060405180910390fd5b6069805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107065780601f106106db57610100808354040283529160200191610706565b3390565b600082815260336020526040902061091a9082610c9c565b1561061b576109276108fe565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526033602052604090206109839082610cb1565b1561061b576109906108fe565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60006107268383610cc6565b60006109eb30610d2a565b15905090565b600054610100900460ff1680610a0a5750610a0a6109e0565b80610a18575060005460ff16155b610a535760405162461bcd60e51b815260040180806020018281038252602e815260200180610f7f602e913960400191505060405180910390fd5b600054610100900460ff16158015610a7e576000805460ff1961ff0019909116610100171660011790555b8015610a90576000805461ff00191690555b50565b600054610100900460ff1680610aac5750610aac6109e0565b80610aba575060005460ff16155b610af55760405162461bcd60e51b815260040180806020018281038252602e815260200180610f7f602e913960400191505060405180910390fd5b600054610100900460ff16158015610b20576000805460ff1961ff0019909116610100171660011790555b610b326000610b2d6108fe565b610611565b606580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386161790558251610b78906069906020860190610e5c565b508151610b8c90606a906020850190610e5c565b50606560009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610bdb57600080fd5b505afa158015610bef573d6000803e3d6000fd5b505050506040513d6020811015610c0557600080fd5b50516068805461ff00191661010060ff938416810291909117918290556012910490911611156107d7576040805162461bcd60e51b815260206004820152601360248201527f646563696d616c73206578636565647320313800000000000000000000000000604482015290519081900360640190fd5b6000610726836001600160a01b038416610d30565b600061072982610d48565b6000610726836001600160a01b038416610d4c565b6000610726836001600160a01b038416610d96565b81546000908210610d085760405162461bcd60e51b8152600401808060200182810382526022815260200180610efe6022913960400191505060405180910390fd5b826000018281548110610d1757fe5b9060005260206000200154905092915050565b3b151590565b60009081526001919091016020526040902054151590565b5490565b6000610d588383610d30565b610d8e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610729565b506000610729565b60008181526001830160205260408120548015610e525783546000198083019190810190600090879083908110610dc957fe5b9060005260206000200154905080876000018481548110610de657fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080610e1657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610729565b6000915050610729565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282610e925760008555610ed8565b82601f10610eab57805160ff1916838001178555610ed8565b82800160010185558215610ed8579182015b82811115610ed8578251825591602001919060010190610ebd565b50610ee4929150610ee8565b5090565b5b80821115610ee45760008155600101610ee956fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212204db372a8b5fc4a58d5f3460c1ab4dc8d993ffbf43f9578b28d79589ba91dfdb064736f6c63430007040033

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.