ETH Price: $3,618.80 (-2.81%)

Contract

0x4fCB1435fD42CE7ce7Af3cB2e98289F79d2962b3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deposit149548112022-06-13 7:41:56903 days ago1655106116IN
0x4fCB1435...79d2962b3
0 ETH0.0140703397.75548243
Deposit149333722022-06-09 15:36:46907 days ago1654789006IN
0x4fCB1435...79d2962b3
0 ETH0.0088339661.37510368
Transfer149333472022-06-09 15:30:16907 days ago1654788616IN
0x4fCB1435...79d2962b3
0.1 ETH0.0010866551.61013303
Deposit131239832021-08-30 1:49:451190 days ago1630288185IN
0x4fCB1435...79d2962b3
0 ETH0.0139831479.48805646

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
149553592022-06-13 9:53:56903 days ago1655114036
0x4fCB1435...79d2962b3
16,529.85402667 ETH
149553592022-06-13 9:53:56903 days ago1655114036
0x4fCB1435...79d2962b3
16,529.85402667 ETH
149548112022-06-13 7:41:56903 days ago1655106116
0x4fCB1435...79d2962b3
140 ETH
149385852022-06-10 13:09:51906 days ago1654866591
0x4fCB1435...79d2962b3
140 ETH
149333722022-06-09 15:36:46907 days ago1654789006
0x4fCB1435...79d2962b3
0.1 ETH
148265682022-05-23 0:48:06924 days ago1653266886
0x4fCB1435...79d2962b3
10 ETH
148265682022-05-23 0:48:06924 days ago1653266886
0x4fCB1435...79d2962b3
10 ETH
140384122022-01-19 21:34:081048 days ago1642628048
0x4fCB1435...79d2962b3
2,500 ETH
140384122022-01-19 21:34:081048 days ago1642628048
0x4fCB1435...79d2962b3
2,500 ETH
139802802022-01-10 21:56:531057 days ago1641851813
0x4fCB1435...79d2962b3
9,127.98390285 ETH
139802802022-01-10 21:56:531057 days ago1641851813
0x4fCB1435...79d2962b3
9,127.98390285 ETH
139801342022-01-10 21:26:141057 days ago1641849974
0x4fCB1435...79d2962b3
9,127.98390285 ETH
139801342022-01-10 21:26:141057 days ago1641849974
0x4fCB1435...79d2962b3
9,127.98390285 ETH
139793802022-01-10 18:30:051057 days ago1641839405
0x4fCB1435...79d2962b3
5,000 ETH
139793802022-01-10 18:30:051057 days ago1641839405
0x4fCB1435...79d2962b3
5,000 ETH
139788452022-01-10 16:28:121057 days ago1641832092
0x4fCB1435...79d2962b3
5,000 ETH
139788452022-01-10 16:28:121057 days ago1641832092
0x4fCB1435...79d2962b3
5,000 ETH
139778412022-01-10 12:45:261057 days ago1641818726
0x4fCB1435...79d2962b3
126.48523072 ETH
139778412022-01-10 12:45:261057 days ago1641818726
0x4fCB1435...79d2962b3
126.48523072 ETH
139726222022-01-09 17:09:271058 days ago1641748167
0x4fCB1435...79d2962b3
5,000 ETH
139726222022-01-09 17:09:271058 days ago1641748167
0x4fCB1435...79d2962b3
5,000 ETH
139666222022-01-08 19:19:511059 days ago1641669591
0x4fCB1435...79d2962b3
1,539.89054639 ETH
139666222022-01-08 19:19:511059 days ago1641669591
0x4fCB1435...79d2962b3
1,539.89054639 ETH
139601492022-01-07 19:17:211060 days ago1641583041
0x4fCB1435...79d2962b3
4,207.9743078 ETH
139601492022-01-07 19:17:211060 days ago1641583041
0x4fCB1435...79d2962b3
4,207.9743078 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EthCompoundPCVDeposit

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
File 1 of 18 : EthCompoundPCVDeposit.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.0;

import "./CompoundPCVDepositBase.sol";

interface CEther {
    function mint() external payable;
}

/// @title ETH implementation for a Compound PCV Deposit
/// @author Fei Protocol
contract EthCompoundPCVDeposit is CompoundPCVDepositBase {

    /// @notice Compound ETH PCV Deposit constructor
    /// @param _core Fei Core for reference
    /// @param _cToken Compound cToken to deposit
    constructor(
        address _core,
        address _cToken
    ) CompoundPCVDepositBase(_core, _cToken) {
        // require(cToken.isCEther(), "EthCompoundPCVDeposit: Not a CEther");
    }

    receive() external payable {}

    /// @notice deposit ETH to Compound
    function deposit()
        external
        override
        whenNotPaused
    {
        uint256 amount = address(this).balance;

        // CEth deposits revert on failure
        CEther(address(cToken)).mint{value: amount}();
        emit Deposit(msg.sender, amount);
    }

    function _transferUnderlying(address to, uint256 amount) internal override {
        Address.sendValue(payable(to), amount);
    }
}

File 2 of 18 : CompoundPCVDepositBase.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.0;

import "../PCVDeposit.sol";
import "../../refs/CoreRef.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

interface CToken {
    function redeemUnderlying(uint redeemAmount) external returns (uint);
    function exchangeRateStored() external view returns (uint);
    function balanceOf(address account) external view returns (uint);
    function isCToken() external view returns(bool);
    function isCEther() external view returns(bool);
}

/// @title base class for a Compound PCV Deposit
/// @author Fei Protocol
abstract contract CompoundPCVDepositBase is PCVDeposit {

    CToken public cToken;

    uint256 private constant EXCHANGE_RATE_SCALE = 1e18;

    /// @notice Compound PCV Deposit constructor
    /// @param _core Fei Core for reference
    /// @param _cToken Compound cToken to deposit
    constructor(
        address _core,
        address _cToken
    ) CoreRef(_core) {
        cToken = CToken(_cToken);
        require(cToken.isCToken(), "CompoundPCVDeposit: Not a cToken");
    }

    /// @notice withdraw tokens from the PCV allocation
    /// @param amountUnderlying of tokens withdrawn
    /// @param to the address to send PCV to
    function withdraw(address to, uint256 amountUnderlying)
        external
        override
        onlyPCVController
        whenNotPaused
    {
        require(
            cToken.redeemUnderlying(amountUnderlying) == 0,
            "CompoundPCVDeposit: redeem error"
        );
        _transferUnderlying(to, amountUnderlying);
        emit Withdrawal(msg.sender, to, amountUnderlying);
    }

    /// @notice returns total balance of PCV in the Deposit excluding the FEI
    /// @dev returns stale values from Compound if the market hasn't been updated
    function balance() public view override returns (uint256) {
        uint256 exchangeRate = cToken.exchangeRateStored();
        return cToken.balanceOf(address(this)) * exchangeRate / EXCHANGE_RATE_SCALE;
    }

    function _transferUnderlying(address to, uint256 amount) internal virtual;
}

File 3 of 18 : PCVDeposit.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;

import "../refs/CoreRef.sol";
import "./IPCVDeposit.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

/// @title abstract contract for withdrawing ERC-20 tokens using a PCV Controller
/// @author Fei Protocol
abstract contract PCVDeposit is IPCVDeposit, CoreRef {
    using SafeERC20 for IERC20;

    /// @notice withdraw ERC20 from the contract
    /// @param token address of the ERC20 to send
    /// @param to address destination of the ERC20
    /// @param amount quantity of ERC20 to send
    function withdrawERC20(
      address token, 
      address to, 
      uint256 amount
    ) public override onlyPCVController {
        _withdrawERC20(token, to, amount);
    }

    function _withdrawERC20(
      address token, 
      address to, 
      uint256 amount
    ) internal {
        IERC20(token).safeTransfer(to, amount);
        emit WithdrawERC20(msg.sender, token, to, amount);
    }

    /// @notice withdraw ETH from the contract
    /// @param to address to send ETH
    /// @param amountOut amount of ETH to send
    function withdrawETH(address payable to, uint256 amountOut) external virtual override onlyPCVController {
        Address.sendValue(to, amountOut);
        emit WithdrawETH(msg.sender, to, amountOut);
    }
}

File 4 of 18 : CoreRef.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;

import "./ICoreRef.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

/// @title A Reference to Core
/// @author Fei Protocol
/// @notice defines some modifiers and utilities around interacting with Core
abstract contract CoreRef is ICoreRef, Pausable {
    ICore private _core;

    /// @notice a role used with a subset of governor permissions for this contract only
    bytes32 public override CONTRACT_ADMIN_ROLE;

    /// @notice CoreRef constructor
    /// @param coreAddress Fei Core to reference
    constructor(address coreAddress) {
        _core = ICore(coreAddress);
        _setContractAdminRole(_core.GOVERN_ROLE());
    }

    modifier ifMinterSelf() {
        if (_core.isMinter(address(this))) {
            _;
        }
    }

    modifier onlyMinter() {
        require(_core.isMinter(msg.sender), "CoreRef: Caller is not a minter");
        _;
    }

    modifier onlyBurner() {
        require(_core.isBurner(msg.sender), "CoreRef: Caller is not a burner");
        _;
    }

    modifier onlyPCVController() {
        require(
            _core.isPCVController(msg.sender),
            "CoreRef: Caller is not a PCV controller"
        );
        _;
    }

    modifier onlyGovernorOrAdmin() {
        require(
            _core.isGovernor(msg.sender) ||
            isContractAdmin(msg.sender),
            "CoreRef: Caller is not a governor or contract admin"
        );
        _;
    }

    modifier onlyGovernor() {
        require(
            _core.isGovernor(msg.sender),
            "CoreRef: Caller is not a governor"
        );
        _;
    }

    modifier onlyGuardianOrGovernor() {
        require(
            _core.isGovernor(msg.sender) || 
            _core.isGuardian(msg.sender),
            "CoreRef: Caller is not a guardian or governor"
        );
        _;
    }

    modifier onlyFei() {
        require(msg.sender == address(fei()), "CoreRef: Caller is not FEI");
        _;
    }

    /// @notice set new Core reference address
    /// @param newCore the new core address
    function setCore(address newCore) external override onlyGovernor {
        require(newCore != address(0), "CoreRef: zero address");
        address oldCore = address(_core);
        _core = ICore(newCore);
        emit CoreUpdate(oldCore, newCore);
    }

    /// @notice sets a new admin role for this contract
    function setContractAdminRole(bytes32 newContractAdminRole) external override onlyGovernor {
        _setContractAdminRole(newContractAdminRole);
    }

    /// @notice returns whether a given address has the admin role for this contract
    function isContractAdmin(address _admin) public view override returns (bool) {
        return _core.hasRole(CONTRACT_ADMIN_ROLE, _admin);
    }

    /// @notice set pausable methods to paused
    function pause() public override onlyGuardianOrGovernor {
        _pause();
    }

    /// @notice set pausable methods to unpaused
    function unpause() public override onlyGuardianOrGovernor {
        _unpause();
    }

    /// @notice address of the Core contract referenced
    /// @return ICore implementation address
    function core() public view override returns (ICore) {
        return _core;
    }

    /// @notice address of the Fei contract referenced by Core
    /// @return IFei implementation address
    function fei() public view override returns (IFei) {
        return _core.fei();
    }

    /// @notice address of the Tribe contract referenced by Core
    /// @return IERC20 implementation address
    function tribe() public view override returns (IERC20) {
        return _core.tribe();
    }

    /// @notice fei balance of contract
    /// @return fei amount held
    function feiBalance() public view override returns (uint256) {
        return fei().balanceOf(address(this));
    }

    /// @notice tribe balance of contract
    /// @return tribe amount held
    function tribeBalance() public view override returns (uint256) {
        return tribe().balanceOf(address(this));
    }

    function _burnFeiHeld() internal {
        fei().burn(feiBalance());
    }

    function _mintFei(uint256 amount) internal {
        fei().mint(address(this), amount);
    }

    function _setContractAdminRole(bytes32 newContractAdminRole) internal {
        bytes32 oldContractAdminRole = CONTRACT_ADMIN_ROLE;
        CONTRACT_ADMIN_ROLE = newContractAdminRole;
        emit ContractAdminRoleUpdate(oldContractAdminRole, newContractAdminRole);
    }
}

File 5 of 18 : ICoreRef.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;

import "../core/ICore.sol";

/// @title CoreRef interface
/// @author Fei Protocol
interface ICoreRef {
    // ----------- Events -----------

    event CoreUpdate(address indexed oldCore, address indexed newCore);

    event ContractAdminRoleUpdate(bytes32 indexed oldContractAdminRole, bytes32 indexed newContractAdminRole);

    // ----------- Governor only state changing api -----------

    function setCore(address newCore) external;

    function setContractAdminRole(bytes32 newContractAdminRole) external;

    // ----------- Governor or Guardian only state changing api -----------

    function pause() external;

    function unpause() external;

    // ----------- Getters -----------

    function core() external view returns (ICore);

    function fei() external view returns (IFei);

    function tribe() external view returns (IERC20);

    function feiBalance() external view returns (uint256);

    function tribeBalance() external view returns (uint256);

    function CONTRACT_ADMIN_ROLE() external view returns (bytes32);

    function isContractAdmin(address admin) external view returns (bool);
}

File 6 of 18 : ICore.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;

import "./IPermissions.sol";
import "../token/IFei.sol";

/// @title Core Interface
/// @author Fei Protocol
interface ICore is IPermissions {
    // ----------- Events -----------

    event FeiUpdate(address indexed _fei);
    event TribeUpdate(address indexed _tribe);
    event GenesisGroupUpdate(address indexed _genesisGroup);
    event TribeAllocation(address indexed _to, uint256 _amount);
    event GenesisPeriodComplete(uint256 _timestamp);

    // ----------- Governor only state changing api -----------

    function init() external;

    // ----------- Governor only state changing api -----------

    function setFei(address token) external;

    function setTribe(address token) external;

    function allocateTribe(address to, uint256 amount) external;

    // ----------- Getters -----------

    function fei() external view returns (IFei);

    function tribe() external view returns (IERC20);
}

File 7 of 18 : IPermissions.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/AccessControl.sol";

/// @title Permissions interface
/// @author Fei Protocol
interface IPermissions is IAccessControl {
    // ----------- Governor only state changing api -----------

    function createRole(bytes32 role, bytes32 adminRole) external;

    function grantMinter(address minter) external;

    function grantBurner(address burner) external;

    function grantPCVController(address pcvController) external;

    function grantGovernor(address governor) external;

    function grantGuardian(address guardian) external;

    function revokeMinter(address minter) external;

    function revokeBurner(address burner) external;

    function revokePCVController(address pcvController) external;

    function revokeGovernor(address governor) external;

    function revokeGuardian(address guardian) external;

    // ----------- Revoker only state changing api -----------

    function revokeOverride(bytes32 role, address account) external;

    // ----------- Getters -----------

    function isBurner(address _address) external view returns (bool);

    function isMinter(address _address) external view returns (bool);

    function isGovernor(address _address) external view returns (bool);

    function isGuardian(address _address) external view returns (bool);

    function isPCVController(address _address) external view returns (bool);

    function GUARDIAN_ROLE() external view returns (bytes32);

    function GOVERN_ROLE() external view returns (bytes32);

    function BURNER_ROLE() external view returns (bytes32);

    function MINTER_ROLE() external view returns (bytes32);

    function PCV_CONTROLLER_ROLE() external view returns (bytes32);

}

File 8 of 18 : IFei.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/// @title FEI stablecoin interface
/// @author Fei Protocol
interface IFei is IERC20 {
    // ----------- Events -----------

    event Minting(
        address indexed _to,
        address indexed _minter,
        uint256 _amount
    );

    event Burning(
        address indexed _to,
        address indexed _burner,
        uint256 _amount
    );

    event IncentiveContractUpdate(
        address indexed _incentivized,
        address indexed _incentiveContract
    );

    // ----------- State changing api -----------

    function burn(uint256 amount) external;

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

    // ----------- Burner only state changing api -----------

    function burnFrom(address account, uint256 amount) external;

    // ----------- Minter only state changing api -----------

    function mint(address account, uint256 amount) external;

    // ----------- Governor only state changing api -----------

    function setIncentiveContract(address account, address incentive) external;

    // ----------- Getters -----------

    function incentiveContract(address account) external view returns (address);
}

File 9 of 18 : IPCVDeposit.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;

/// @title a PCV Deposit interface
/// @author Fei Protocol
interface IPCVDeposit {
    // ----------- Events -----------
    event Deposit(address indexed _from, uint256 _amount);

    event Withdrawal(
        address indexed _caller,
        address indexed _to,
        uint256 _amount
    );

    event WithdrawERC20(
        address indexed _caller,
        address indexed _token,
        address indexed _to,
        uint256 _amount
    );

    event WithdrawETH(
        address indexed _caller,
        address indexed _to,
        uint256 _amount
    );

    // ----------- State changing api -----------

    function deposit() external;

    // ----------- PCV Controller only state changing api -----------

    function withdraw(address to, uint256 amount) external;

    function withdrawERC20(address token, address to, uint256 amount) external;

    function withdrawETH(address payable to, uint256 amount) external;
    
    // ----------- Getters -----------

    function balance() external view returns (uint256);
}

File 10 of 18 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

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

File 11 of 18 : IERC20.sol
// SPDX-License-Identifier: MIT

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 12 of 18 : Address.sol
// SPDX-License-Identifier: MIT

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

    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

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

File 13 of 18 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 14 of 18 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        return msg.data;
    }
}

File 15 of 18 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * 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 AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) 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 Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

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

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @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 override 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 override onlyRole(getRoleAdmin(role)) {
        _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 override onlyRole(getRoleAdmin(role)) {
        _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 override {
        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, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

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

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 16 of 18 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 17 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 18 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "metadata": {
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_core","type":"address"},{"internalType":"address","name":"_cToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"oldContractAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newContractAdminRole","type":"bytes32"}],"name":"ContractAdminRoleUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldCore","type":"address"},{"indexed":true,"internalType":"address","name":"newCore","type":"address"}],"name":"CoreUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_caller","type":"address"},{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"WithdrawERC20","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_caller","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"WithdrawETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_caller","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"CONTRACT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cToken","outputs":[{"internalType":"contract CToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"core","outputs":[{"internalType":"contract ICore","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fei","outputs":[{"internalType":"contract IFei","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feiBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"isContractAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newContractAdminRole","type":"bytes32"}],"name":"setContractAdminRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newCore","type":"address"}],"name":"setCore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tribe","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tribeBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountUnderlying","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604051620019c0380380620019c0833981016040819052620000349162000223565b600080546001600160a81b0319166101006001600160a01b038581168202929092179283905560408051631c5bfa2360e11b81529051869486948694620000e194920416916338b7f44691600480820192602092909190829003018186803b158015620000a057600080fd5b505afa158015620000b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000db919062000283565b620001cd565b50600280546001600160a01b0319166001600160a01b03831690811790915560408051637f4e225760e11b8152905163fe9c44ae91600480820192602092909190829003018186803b1580156200013757600080fd5b505afa1580156200014c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017291906200025a565b620001c35760405162461bcd60e51b815260206004820181905260248201527f436f6d706f756e645043564465706f7369743a204e6f7420612063546f6b656e604482015260640160405180910390fd5b505050506200029c565b6001805490829055604051829082907f29ddd278ef9169e35aa84e424b39048b89af9c0b50f85497e40f97dff6946cf590600090a35050565b80516001600160a01b03811681146200021e57600080fd5b919050565b6000806040838503121562000236578182fd5b620002418362000206565b9150620002516020840162000206565b90509250929050565b6000602082840312156200026c578081fd5b815180151581146200027c578182fd5b9392505050565b60006020828403121562000295578081fd5b5051919050565b61171480620002ac6000396000f3fe60806040526004361061010d5760003560e01c80639a9ba4da11610095578063d0e30db011610064578063d0e30db014610293578063d3488442146102a8578063f2f4eb26146102c8578063f3fef3a3146102eb578063fc81a12a1461030b57600080fd5b80639a9ba4da1461023f578063b490589714610254578063b69ef8a814610269578063b86677fe1461027e57600080fd5b80635c975abb116100dc5780635c975abb1461019957806369e527da146101bd5780636b6dff0a146101f5578063800096301461020a5780638456cb591461022a57600080fd5b80631da03312146101195780633f4ba83a1461014257806344004cc1146101595780634782f7791461017957600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5061012f60015481565b6040519081526020015b60405180910390f35b34801561014e57600080fd5b5061015761032b565b005b34801561016557600080fd5b50610157610174366004611442565b61045e565b34801561018557600080fd5b50610157610194366004611417565b610509565b3480156101a557600080fd5b5060005460ff165b6040519015158152602001610139565b3480156101c957600080fd5b506002546101dd906001600160a01b031681565b6040516001600160a01b039091168152602001610139565b34801561020157600080fd5b5061012f6105f3565b34801561021657600080fd5b506101576102253660046113fb565b61067b565b34801561023657600080fd5b506101576107bd565b34801561024b57600080fd5b506101dd6108e5565b34801561026057600080fd5b5061012f61096c565b34801561027557600080fd5b5061012f610976565b34801561028a57600080fd5b506101dd610aa1565b34801561029f57600080fd5b50610157610af0565b3480156102b457600080fd5b506101576102c33660046114b4565b610bad565b3480156102d457600080fd5b5060005461010090046001600160a01b03166101dd565b3480156102f757600080fd5b50610157610306366004611482565b610c54565b34801561031757600080fd5b506101ad6103263660046113fb565b610e24565b600054604051631c86b03760e31b81523360048201526101009091046001600160a01b03169063e43581b89060240160206040518083038186803b15801561037257600080fd5b505afa158015610386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103aa9190611494565b8061042f5750600054604051630c68ba2160e01b81523360048201526101009091046001600160a01b031690630c68ba219060240160206040518083038186803b1580156103f757600080fd5b505afa15801561040b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042f9190611494565b6104545760405162461bcd60e51b815260040161044b9061154f565b60405180910390fd5b61045c610eb9565b565b6000546040516330c34a1f60e11b81523360048201526101009091046001600160a01b031690636186943e9060240160206040518083038186803b1580156104a557600080fd5b505afa1580156104b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dd9190611494565b6104f95760405162461bcd60e51b815260040161044b9061159c565b610504838383610f4c565b505050565b6000546040516330c34a1f60e11b81523360048201526101009091046001600160a01b031690636186943e9060240160206040518083038186803b15801561055057600080fd5b505afa158015610564573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105889190611494565b6105a45760405162461bcd60e51b815260040161044b9061159c565b6105ae8282610fbc565b6040518181526001600160a01b0383169033907f6b1f4ce962fec27598edceab6195c77516c3df32025eaf0c38d0d4009ac3bd48906020015b60405180910390a35050565b60006105fd610aa1565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b15801561063e57600080fd5b505afa158015610652573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067691906114e8565b905090565b600054604051631c86b03760e31b81523360048201526101009091046001600160a01b03169063e43581b89060240160206040518083038186803b1580156106c257600080fd5b505afa1580156106d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fa9190611494565b6107165760405162461bcd60e51b815260040161044b9061160d565b6001600160a01b0381166107645760405162461bcd60e51b8152602060048201526015602482015274436f72655265663a207a65726f206164647265737360581b604482015260640161044b565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f9209b7c8c06dcfd261686a663e7c55989337b18d59da5433c6f2835fb697092091a35050565b600054604051631c86b03760e31b81523360048201526101009091046001600160a01b03169063e43581b89060240160206040518083038186803b15801561080457600080fd5b505afa158015610818573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083c9190611494565b806108c15750600054604051630c68ba2160e01b81523360048201526101009091046001600160a01b031690630c68ba219060240160206040518083038186803b15801561088957600080fd5b505afa15801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c19190611494565b6108dd5760405162461bcd60e51b815260040161044b9061154f565b61045c6110d5565b60008060019054906101000a90046001600160a01b03166001600160a01b0316639a9ba4da6040518163ffffffff1660e01b815260040160206040518083038186803b15801561093457600080fd5b505afa158015610948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067691906114cc565b60006105fd6108e5565b600080600260009054906101000a90046001600160a01b03166001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b1580156109c757600080fd5b505afa1580156109db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ff91906114e8565b6002546040516370a0823160e01b8152306004820152919250670de0b6b3a76400009183916001600160a01b0316906370a082319060240160206040518083038186803b158015610a4f57600080fd5b505afa158015610a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8791906114e8565b610a91919061166e565b610a9b919061164e565b91505090565b60008060019054906101000a90046001600160a01b03166001600160a01b031663b86677fe6040518163ffffffff1660e01b815260040160206040518083038186803b15801561093457600080fd5b60005460ff1615610b135760405162461bcd60e51b815260040161044b906115e3565b60025460408051631249c58b60e01b8152905147926001600160a01b031691631249c58b91849160048082019260009290919082900301818588803b158015610b5b57600080fd5b505af1158015610b6f573d6000803e3d6000fd5b50506040518481523393507fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9250602001905060405180910390a250565b600054604051631c86b03760e31b81523360048201526101009091046001600160a01b03169063e43581b89060240160206040518083038186803b158015610bf457600080fd5b505afa158015610c08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2c9190611494565b610c485760405162461bcd60e51b815260040161044b9061160d565b610c518161112d565b50565b6000546040516330c34a1f60e11b81523360048201526101009091046001600160a01b031690636186943e9060240160206040518083038186803b158015610c9b57600080fd5b505afa158015610caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd39190611494565b610cef5760405162461bcd60e51b815260040161044b9061159c565b60005460ff1615610d125760405162461bcd60e51b815260040161044b906115e3565b60025460405163852a12e360e01b8152600481018390526001600160a01b039091169063852a12e390602401602060405180830381600087803b158015610d5857600080fd5b505af1158015610d6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9091906114e8565b15610ddd5760405162461bcd60e51b815260206004820181905260248201527f436f6d706f756e645043564465706f7369743a2072656465656d206572726f72604482015260640161044b565b610de78282611166565b6040518181526001600160a01b0383169033907f2717ead6b9200dd235aad468c9809ea400fe33ac69b5bfaa6d3e90fc922b6398906020016105e7565b60008054600154604051632474521560e21b815260048101919091526001600160a01b038481166024830152610100909204909116906391d148549060440160206040518083038186803b158015610e7b57600080fd5b505afa158015610e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb39190611494565b92915050565b60005460ff16610f025760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161044b565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610f606001600160a01b0384168383611174565b816001600160a01b0316836001600160a01b0316336001600160a01b03167f08c1fcaf583c2b413bb27833685230422583405ae651b6d53e2053bf75bd074084604051610faf91815260200190565b60405180910390a4505050565b8047101561100c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161044b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611059576040519150601f19603f3d011682016040523d82523d6000602084013e61105e565b606091505b50509050806105045760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161044b565b60005460ff16156110f85760405162461bcd60e51b815260040161044b906115e3565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610f2f3390565b6001805490829055604051829082907f29ddd278ef9169e35aa84e424b39048b89af9c0b50f85497e40f97dff6946cf590600090a35050565b6111708282610fbc565b5050565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65649084015261050492869291600091611204918516908490611281565b80519091501561050457808060200190518101906112229190611494565b6105045760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161044b565b6060611290848460008561129a565b90505b9392505050565b6060824710156112fb5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161044b565b843b6113495760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161044b565b600080866001600160a01b031685876040516113659190611500565b60006040518083038185875af1925050503d80600081146113a2576040519150601f19603f3d011682016040523d82523d6000602084013e6113a7565b606091505b50915091506113b78282866113c2565b979650505050505050565b606083156113d1575081611293565b8251156113e15782518084602001fd5b8160405162461bcd60e51b815260040161044b919061151c565b60006020828403121561140c578081fd5b8135611293816116c9565b60008060408385031215611429578081fd5b8235611434816116c9565b946020939093013593505050565b600080600060608486031215611456578081fd5b8335611461816116c9565b92506020840135611471816116c9565b929592945050506040919091013590565b60008060408385031215611429578182fd5b6000602082840312156114a5578081fd5b81518015158114611293578182fd5b6000602082840312156114c5578081fd5b5035919050565b6000602082840312156114dd578081fd5b8151611293816116c9565b6000602082840312156114f9578081fd5b5051919050565b60008251611512818460208701611699565b9190910192915050565b602081526000825180602084015261153b816040850160208701611699565b601f01601f19169190910160400192915050565b6020808252602d908201527f436f72655265663a2043616c6c6572206973206e6f742061206775617264696160408201526c371037b91033b7bb32b93737b960991b606082015260800190565b60208082526027908201527f436f72655265663a2043616c6c6572206973206e6f7420612050435620636f6e6040820152663a3937b63632b960c91b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526021908201527f436f72655265663a2043616c6c6572206973206e6f74206120676f7665726e6f6040820152603960f91b606082015260800190565b60008261166957634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561169457634e487b7160e01b81526011600452602481fd5b500290565b60005b838110156116b457818101518382015260200161169c565b838111156116c3576000848401525b50505050565b6001600160a01b0381168114610c5157600080fdfea2646970667358221220333a961272534559dbc56d0cbb6859e7d31e736207749a9e9b7a098cdc17568164736f6c634300080400330000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b90000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed5

Deployed Bytecode

0x60806040526004361061010d5760003560e01c80639a9ba4da11610095578063d0e30db011610064578063d0e30db014610293578063d3488442146102a8578063f2f4eb26146102c8578063f3fef3a3146102eb578063fc81a12a1461030b57600080fd5b80639a9ba4da1461023f578063b490589714610254578063b69ef8a814610269578063b86677fe1461027e57600080fd5b80635c975abb116100dc5780635c975abb1461019957806369e527da146101bd5780636b6dff0a146101f5578063800096301461020a5780638456cb591461022a57600080fd5b80631da03312146101195780633f4ba83a1461014257806344004cc1146101595780634782f7791461017957600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5061012f60015481565b6040519081526020015b60405180910390f35b34801561014e57600080fd5b5061015761032b565b005b34801561016557600080fd5b50610157610174366004611442565b61045e565b34801561018557600080fd5b50610157610194366004611417565b610509565b3480156101a557600080fd5b5060005460ff165b6040519015158152602001610139565b3480156101c957600080fd5b506002546101dd906001600160a01b031681565b6040516001600160a01b039091168152602001610139565b34801561020157600080fd5b5061012f6105f3565b34801561021657600080fd5b506101576102253660046113fb565b61067b565b34801561023657600080fd5b506101576107bd565b34801561024b57600080fd5b506101dd6108e5565b34801561026057600080fd5b5061012f61096c565b34801561027557600080fd5b5061012f610976565b34801561028a57600080fd5b506101dd610aa1565b34801561029f57600080fd5b50610157610af0565b3480156102b457600080fd5b506101576102c33660046114b4565b610bad565b3480156102d457600080fd5b5060005461010090046001600160a01b03166101dd565b3480156102f757600080fd5b50610157610306366004611482565b610c54565b34801561031757600080fd5b506101ad6103263660046113fb565b610e24565b600054604051631c86b03760e31b81523360048201526101009091046001600160a01b03169063e43581b89060240160206040518083038186803b15801561037257600080fd5b505afa158015610386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103aa9190611494565b8061042f5750600054604051630c68ba2160e01b81523360048201526101009091046001600160a01b031690630c68ba219060240160206040518083038186803b1580156103f757600080fd5b505afa15801561040b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042f9190611494565b6104545760405162461bcd60e51b815260040161044b9061154f565b60405180910390fd5b61045c610eb9565b565b6000546040516330c34a1f60e11b81523360048201526101009091046001600160a01b031690636186943e9060240160206040518083038186803b1580156104a557600080fd5b505afa1580156104b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dd9190611494565b6104f95760405162461bcd60e51b815260040161044b9061159c565b610504838383610f4c565b505050565b6000546040516330c34a1f60e11b81523360048201526101009091046001600160a01b031690636186943e9060240160206040518083038186803b15801561055057600080fd5b505afa158015610564573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105889190611494565b6105a45760405162461bcd60e51b815260040161044b9061159c565b6105ae8282610fbc565b6040518181526001600160a01b0383169033907f6b1f4ce962fec27598edceab6195c77516c3df32025eaf0c38d0d4009ac3bd48906020015b60405180910390a35050565b60006105fd610aa1565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b15801561063e57600080fd5b505afa158015610652573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067691906114e8565b905090565b600054604051631c86b03760e31b81523360048201526101009091046001600160a01b03169063e43581b89060240160206040518083038186803b1580156106c257600080fd5b505afa1580156106d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fa9190611494565b6107165760405162461bcd60e51b815260040161044b9061160d565b6001600160a01b0381166107645760405162461bcd60e51b8152602060048201526015602482015274436f72655265663a207a65726f206164647265737360581b604482015260640161044b565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f9209b7c8c06dcfd261686a663e7c55989337b18d59da5433c6f2835fb697092091a35050565b600054604051631c86b03760e31b81523360048201526101009091046001600160a01b03169063e43581b89060240160206040518083038186803b15801561080457600080fd5b505afa158015610818573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083c9190611494565b806108c15750600054604051630c68ba2160e01b81523360048201526101009091046001600160a01b031690630c68ba219060240160206040518083038186803b15801561088957600080fd5b505afa15801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c19190611494565b6108dd5760405162461bcd60e51b815260040161044b9061154f565b61045c6110d5565b60008060019054906101000a90046001600160a01b03166001600160a01b0316639a9ba4da6040518163ffffffff1660e01b815260040160206040518083038186803b15801561093457600080fd5b505afa158015610948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067691906114cc565b60006105fd6108e5565b600080600260009054906101000a90046001600160a01b03166001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b1580156109c757600080fd5b505afa1580156109db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ff91906114e8565b6002546040516370a0823160e01b8152306004820152919250670de0b6b3a76400009183916001600160a01b0316906370a082319060240160206040518083038186803b158015610a4f57600080fd5b505afa158015610a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8791906114e8565b610a91919061166e565b610a9b919061164e565b91505090565b60008060019054906101000a90046001600160a01b03166001600160a01b031663b86677fe6040518163ffffffff1660e01b815260040160206040518083038186803b15801561093457600080fd5b60005460ff1615610b135760405162461bcd60e51b815260040161044b906115e3565b60025460408051631249c58b60e01b8152905147926001600160a01b031691631249c58b91849160048082019260009290919082900301818588803b158015610b5b57600080fd5b505af1158015610b6f573d6000803e3d6000fd5b50506040518481523393507fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9250602001905060405180910390a250565b600054604051631c86b03760e31b81523360048201526101009091046001600160a01b03169063e43581b89060240160206040518083038186803b158015610bf457600080fd5b505afa158015610c08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2c9190611494565b610c485760405162461bcd60e51b815260040161044b9061160d565b610c518161112d565b50565b6000546040516330c34a1f60e11b81523360048201526101009091046001600160a01b031690636186943e9060240160206040518083038186803b158015610c9b57600080fd5b505afa158015610caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd39190611494565b610cef5760405162461bcd60e51b815260040161044b9061159c565b60005460ff1615610d125760405162461bcd60e51b815260040161044b906115e3565b60025460405163852a12e360e01b8152600481018390526001600160a01b039091169063852a12e390602401602060405180830381600087803b158015610d5857600080fd5b505af1158015610d6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9091906114e8565b15610ddd5760405162461bcd60e51b815260206004820181905260248201527f436f6d706f756e645043564465706f7369743a2072656465656d206572726f72604482015260640161044b565b610de78282611166565b6040518181526001600160a01b0383169033907f2717ead6b9200dd235aad468c9809ea400fe33ac69b5bfaa6d3e90fc922b6398906020016105e7565b60008054600154604051632474521560e21b815260048101919091526001600160a01b038481166024830152610100909204909116906391d148549060440160206040518083038186803b158015610e7b57600080fd5b505afa158015610e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb39190611494565b92915050565b60005460ff16610f025760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161044b565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610f606001600160a01b0384168383611174565b816001600160a01b0316836001600160a01b0316336001600160a01b03167f08c1fcaf583c2b413bb27833685230422583405ae651b6d53e2053bf75bd074084604051610faf91815260200190565b60405180910390a4505050565b8047101561100c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161044b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611059576040519150601f19603f3d011682016040523d82523d6000602084013e61105e565b606091505b50509050806105045760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161044b565b60005460ff16156110f85760405162461bcd60e51b815260040161044b906115e3565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610f2f3390565b6001805490829055604051829082907f29ddd278ef9169e35aa84e424b39048b89af9c0b50f85497e40f97dff6946cf590600090a35050565b6111708282610fbc565b5050565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65649084015261050492869291600091611204918516908490611281565b80519091501561050457808060200190518101906112229190611494565b6105045760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161044b565b6060611290848460008561129a565b90505b9392505050565b6060824710156112fb5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161044b565b843b6113495760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161044b565b600080866001600160a01b031685876040516113659190611500565b60006040518083038185875af1925050503d80600081146113a2576040519150601f19603f3d011682016040523d82523d6000602084013e6113a7565b606091505b50915091506113b78282866113c2565b979650505050505050565b606083156113d1575081611293565b8251156113e15782518084602001fd5b8160405162461bcd60e51b815260040161044b919061151c565b60006020828403121561140c578081fd5b8135611293816116c9565b60008060408385031215611429578081fd5b8235611434816116c9565b946020939093013593505050565b600080600060608486031215611456578081fd5b8335611461816116c9565b92506020840135611471816116c9565b929592945050506040919091013590565b60008060408385031215611429578182fd5b6000602082840312156114a5578081fd5b81518015158114611293578182fd5b6000602082840312156114c5578081fd5b5035919050565b6000602082840312156114dd578081fd5b8151611293816116c9565b6000602082840312156114f9578081fd5b5051919050565b60008251611512818460208701611699565b9190910192915050565b602081526000825180602084015261153b816040850160208701611699565b601f01601f19169190910160400192915050565b6020808252602d908201527f436f72655265663a2043616c6c6572206973206e6f742061206775617264696160408201526c371037b91033b7bb32b93737b960991b606082015260800190565b60208082526027908201527f436f72655265663a2043616c6c6572206973206e6f7420612050435620636f6e6040820152663a3937b63632b960c91b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526021908201527f436f72655265663a2043616c6c6572206973206e6f74206120676f7665726e6f6040820152603960f91b606082015260800190565b60008261166957634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561169457634e487b7160e01b81526011600452602481fd5b500290565b60005b838110156116b457818101518382015260200161169c565b838111156116c3576000848401525b50505050565b6001600160a01b0381168114610c5157600080fdfea2646970667358221220333a961272534559dbc56d0cbb6859e7d31e736207749a9e9b7a098cdc17568164736f6c63430008040033

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

0000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b90000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed5

-----Decoded View---------------
Arg [0] : _core (address): 0x8d5ED43dCa8C2F7dFB20CF7b53CC7E593635d7b9
Arg [1] : _cToken (address): 0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b9
Arg [1] : 0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed5


Deployed Bytecode Sourcemap

252:895:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;455:43:6;;;;;;;;;;;;;;;;;;;3985:25:18;;;3973:2;3958:18;455:43:6;;;;;;;;2999:85;;;;;;;;;;;;;:::i;:::-;;592:176:3;;;;;;;;;;-1:-1:-1;592:176:3;;;;;:::i;:::-;;:::i;1128:206::-;;;;;;;;;;-1:-1:-1;1128:206:3;;;;;:::i;:::-;;:::i;1041:84:10:-;;;;;;;;;;-1:-1:-1;1088:4:10;1111:7;;;1041:84;;;3812:14:18;;3805:22;3787:41;;3775:2;3760:18;1041:84:10;3742:92:18;670:20:4;;;;;;;;;;-1:-1:-1;670:20:4;;;;-1:-1:-1;;;;;670:20:4;;;;;;-1:-1:-1;;;;;3324:32:18;;;3306:51;;3294:2;3279:18;670:20:4;3261:102:18;3956:119:6;;;;;;;;;;;;;:::i;2109:254::-;;;;;;;;;;-1:-1:-1;2109:254:6;;;;;:::i;:::-;;:::i;2863:81::-;;;;;;;;;;;;;:::i;3386:86::-;;;;;;;;;;;;;:::i;3759:115::-;;;;;;;;;;;;;:::i;1811:210:4:-;;;;;;;;;;;;;:::i;3589:92:6:-;;;;;;;;;;;;;:::i;734:275:5:-;;;;;;;;;;;;;:::i;2425:151:6:-;;;;;;;;;;-1:-1:-1;2425:151:6;;;;;:::i;:::-;;:::i;3191:82::-;;;;;;;;;;-1:-1:-1;3237:5:6;3261;;;;-1:-1:-1;;;;;3261:5:6;3191:82;;1251:394:4;;;;;;;;;;-1:-1:-1;1251:394:4;;;;;:::i;:::-;;:::i;2667:143:6:-;;;;;;;;;;-1:-1:-1;2667:143:6;;;;;:::i;:::-;;:::i;2999:85::-;1730:5;;:28;;-1:-1:-1;;;1730:28:6;;1747:10;1730:28;;;3306:51:18;1730:5:6;;;;-1:-1:-1;;;;;1730:5:6;;:16;;3279:18:18;;1730:28:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:73;;;-1:-1:-1;1775:5:6;;:28;;-1:-1:-1;;;1775:28:6;;1792:10;1775:28;;;3306:51:18;1775:5:6;;;;-1:-1:-1;;;;;1775:5:6;;:16;;3279:18:18;;1775:28:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1709:165;;;;-1:-1:-1;;;1709:165:6;;;;;;;:::i;:::-;;;;;;;;;3067:10:::1;:8;:10::i;:::-;2999:85::o:0;592:176:3:-;1143:5:6;;:33;;-1:-1:-1;;;1143:33:6;;1165:10;1143:33;;;3306:51:18;1143:5:6;;;;-1:-1:-1;;;;;1143:5:6;;:21;;3279:18:18;;1143:33:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1122:119;;;;-1:-1:-1;;;1122:119:6;;;;;;;:::i;:::-;728:33:3::1;743:5;750:2;754:6;728:14;:33::i;:::-;592:176:::0;;;:::o;1128:206::-;1143:5:6;;:33;;-1:-1:-1;;;1143:33:6;;1165:10;1143:33;;;3306:51:18;1143:5:6;;;;-1:-1:-1;;;;;1143:5:6;;:21;;3279:18:18;;1143:33:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1122:119;;;;-1:-1:-1;;;1122:119:6;;;;;;;:::i;:::-;1242:32:3::1;1260:2;1264:9;1242:17;:32::i;:::-;1289:38;::::0;3985:25:18;;;-1:-1:-1;;;;;1289:38:3;::::1;::::0;1301:10:::1;::::0;1289:38:::1;::::0;3973:2:18;3958:18;1289:38:3::1;;;;;;;;1128:206:::0;;:::o;3956:119:6:-;4010:7;4036;:5;:7::i;:::-;:32;;-1:-1:-1;;;4036:32:6;;4062:4;4036:32;;;3306:51:18;-1:-1:-1;;;;;4036:17:6;;;;;;;3279:18:18;;4036:32:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4029:39;;3956:119;:::o;2109:254::-;1554:5;;:28;;-1:-1:-1;;;1554:28:6;;1571:10;1554:28;;;3306:51:18;1554:5:6;;;;-1:-1:-1;;;;;1554:5:6;;:16;;3279:18:18;;1554:28:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1533:108;;;;-1:-1:-1;;;1533:108:6;;;;;;;:::i;:::-;-1:-1:-1;;;;;2192:21:6;::::1;2184:55;;;::::0;-1:-1:-1;;;2184:55:6;;8484:2:18;2184:55:6::1;::::0;::::1;8466:21:18::0;8523:2;8503:18;;;8496:30;-1:-1:-1;;;8542:18:18;;;8535:51;8603:18;;2184:55:6::1;8456:171:18::0;2184:55:6::1;2249:15;2275:5:::0;;-1:-1:-1;;;;;2291:22:6;;::::1;2275:5;2291:22:::0;;::::1;-1:-1:-1::0;;;;;;2291:22:6;::::1;;::::0;;2328:28:::1;::::0;2275:5;::::1;::::0;;;::::1;::::0;2291:22;;2275:5;;2328:28:::1;::::0;::::1;1651:1;2109:254:::0;:::o;2863:81::-;1730:5;;:28;;-1:-1:-1;;;1730:28:6;;1747:10;1730:28;;;3306:51:18;1730:5:6;;;;-1:-1:-1;;;;;1730:5:6;;:16;;3279:18:18;;1730:28:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:73;;;-1:-1:-1;1775:5:6;;:28;;-1:-1:-1;;;1775:28:6;;1792:10;1775:28;;;3306:51:18;1775:5:6;;;;-1:-1:-1;;;;;1775:5:6;;:16;;3279:18:18;;1775:28:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1709:165;;;;-1:-1:-1;;;1709:165:6;;;;;;;:::i;:::-;2929:8:::1;:6;:8::i;3386:86::-:0;3431:4;3454:5;;;;;;;;;-1:-1:-1;;;;;3454:5:6;-1:-1:-1;;;;;3454:9:6;;:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;3759:115::-;3811:7;3837:5;:3;:5::i;1811:210:4:-;1860:7;1879:20;1902:6;;;;;;;;;-1:-1:-1;;;;;1902:6:4;-1:-1:-1;;;;;1902:25:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1946:6;;:31;;-1:-1:-1;;;1946:31:4;;1971:4;1946:31;;;3306:51:18;1879:50:4;;-1:-1:-1;744:4:4;;1879:50;;-1:-1:-1;;;;;1946:6:4;;:16;;3279:18:18;;1946:31:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;;;:::i;:::-;:68;;;;:::i;:::-;1939:75;;;1811:210;:::o;3589:92:6:-;3636:6;3661:5;;;;;;;;;-1:-1:-1;;;;;3661:5:6;-1:-1:-1;;;;;3661:11:6;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;734:275:5;1088:4:10;1111:7;;;1354:9;1346:38;;;;-1:-1:-1;;;1346:38:10;;;;;;;:::i;:::-;930:6:5::1;::::0;915:45:::1;::::0;;-1:-1:-1;;;915:45:5;;;;840:21:::1;::::0;-1:-1:-1;;;;;930:6:5::1;::::0;915:28:::1;::::0;840:21;;915:45:::1;::::0;;::::1;::::0;823:14:::1;::::0;915:45;;;;;;;;840:21;930:6;915:45;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;975:27:5::1;::::0;3985:25:18;;;983:10:5::1;::::0;-1:-1:-1;975:27:5::1;::::0;-1:-1:-1;3973:2:18;3958:18;;-1:-1:-1;975:27:5::1;;;;;;;1394:1:10;734:275:5:o:0;2425:151:6:-;1554:5;;:28;;-1:-1:-1;;;1554:28:6;;1571:10;1554:28;;;3306:51:18;1554:5:6;;;;-1:-1:-1;;;;;1554:5:6;;:16;;3279:18:18;;1554:28:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1533:108;;;;-1:-1:-1;;;1533:108:6;;;;;;;:::i;:::-;2526:43:::1;2548:20;2526:21;:43::i;:::-;2425:151:::0;:::o;1251:394:4:-;1143:5:6;;:33;;-1:-1:-1;;;1143:33:6;;1165:10;1143:33;;;3306:51:18;1143:5:6;;;;-1:-1:-1;;;;;1143:5:6;;:21;;3279:18:18;;1143:33:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1122:119;;;;-1:-1:-1;;;1122:119:6;;;;;;;:::i;:::-;1088:4:10;1111:7;;;1354:9:::1;1346:38;;;;-1:-1:-1::0;;;1346:38:10::1;;;;;;;:::i;:::-;1424:6:4::2;::::0;:41:::2;::::0;-1:-1:-1;;;1424:41:4;;::::2;::::0;::::2;3985:25:18::0;;;-1:-1:-1;;;;;1424:6:4;;::::2;::::0;:23:::2;::::0;3958:18:18;;1424:41:4::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46:::0;1403:125:::2;;;::::0;-1:-1:-1;;;1403:125:4;;8834:2:18;1403:125:4::2;::::0;::::2;8816:21:18::0;;;8853:18;;;8846:30;8912:34;8892:18;;;8885:62;8964:18;;1403:125:4::2;8806:182:18::0;1403:125:4::2;1538:41;1558:2;1562:16;1538:19;:41::i;:::-;1594:44;::::0;3985:25:18;;;-1:-1:-1;;;;;1594:44:4;::::2;::::0;1605:10:::2;::::0;1594:44:::2;::::0;3973:2:18;3958:18;1594:44:4::2;3940:76:18::0;2667:143:6;2738:4;2761:5;;;2775:19;2761:42;;-1:-1:-1;;;2761:42:6;;;;;4195:25:18;;;;-1:-1:-1;;;;;4256:32:18;;;4236:18;;;4229:60;2761:5:6;;;;;;;;:13;;4168:18:18;;2761:42:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2754:49;2667:143;-1:-1:-1;;2667:143:6:o;2053:117:10:-;1088:4;1111:7;;;1612:41;;;;-1:-1:-1;;;1612:41:10;;5776:2:18;1612:41:10;;;5758:21:18;5815:2;5795:18;;;5788:30;-1:-1:-1;;;5834:18:18;;;5827:50;5894:18;;1612:41:10;5748:170:18;1612:41:10;2121:5:::1;2111:15:::0;;-1:-1:-1;;2111:15:10::1;::::0;;2141:22:::1;665:10:14::0;2150:12:10::1;2141:22;::::0;-1:-1:-1;;;;;3324:32:18;;;3306:51;;3294:2;3279:18;2141:22:10::1;;;;;;;2053:117::o:0;774:216:3:-;886:38;-1:-1:-1;;;;;886:26:3;;913:2;917:6;886:26;:38::i;:::-;972:2;-1:-1:-1;;;;;939:44:3;965:5;-1:-1:-1;;;;;939:44:3;953:10;-1:-1:-1;;;;;939:44:3;;976:6;939:44;;;;3985:25:18;;3973:2;3958:18;;3940:76;939:44:3;;;;;;;;774:216;;;:::o;2012:312:13:-;2126:6;2101:21;:31;;2093:73;;;;-1:-1:-1;;;2093:73:13;;7374:2:18;2093:73:13;;;7356:21:18;7413:2;7393:18;;;7386:30;7452:31;7432:18;;;7425:59;7501:18;;2093:73:13;7346:179:18;2093:73:13;2178:12;2196:9;-1:-1:-1;;;;;2196:14:13;2218:6;2196:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2177:52;;;2247:7;2239:78;;;;-1:-1:-1;;;2239:78:13;;6947:2:18;2239:78:13;;;6929:21:18;6986:2;6966:18;;;6959:30;7025:34;7005:18;;;6998:62;7096:28;7076:18;;;7069:56;7142:19;;2239:78:13;6919:248:18;1806:115:10;1088:4;1111:7;;;1354:9;1346:38;;;;-1:-1:-1;;;1346:38:10;;;;;;;:::i;:::-;1865:7:::1;:14:::0;;-1:-1:-1;;1865:14:10::1;1875:4;1865:14;::::0;;1894:20:::1;1901:12;665:10:14::0;;586:96;4260:271:6;4371:19;;;4400:42;;;;4457:67;;4422:20;;4371:19;;4457:67;;4340:28;;4457:67;4260:271;;:::o;1015:130:5:-;1100:38;1126:2;1131:6;1100:17;:38::i;:::-;1015:130;;:::o;634:205:12:-;773:58;;;-1:-1:-1;;;;;3560:32:18;;;773:58:12;;;3542:51:18;3609:18;;;;3602:34;;;773:58:12;;;;;;;;;;3515:18:18;;;;773:58:12;;;;;;;;-1:-1:-1;;;;;773:58:12;-1:-1:-1;;;773:58:12;;;3585:69;;;;;;;;;;;;;;;;746:86;;766:5;;773:58;-1:-1:-1;;3585:69:12;;:27;;;773:58;;3585:27;:69::i;:::-;3668:17;;3559:95;;-1:-1:-1;3668:21:12;3664:176;;3763:10;3752:30;;;;;;;;;;;;:::i;:::-;3744:85;;;;-1:-1:-1;;;3744:85:12;;9955:2:18;3744:85:12;;;9937:21:18;9994:2;9974:18;;;9967:30;10033:34;10013:18;;;10006:62;-1:-1:-1;;;10084:18:18;;;10077:40;10134:19;;3744:85:12;9927:232:18;3461:223:13;3594:12;3625:52;3647:6;3655:4;3661:1;3664:12;3625:21;:52::i;:::-;3618:59;;3461:223;;;;;;:::o;4548:500::-;4713:12;4770:5;4745:21;:30;;4737:81;;;;-1:-1:-1;;;4737:81:13;;7732:2:18;4737:81:13;;;7714:21:18;7771:2;7751:18;;;7744:30;7810:34;7790:18;;;7783:62;-1:-1:-1;;;7861:18:18;;;7854:36;7907:19;;4737:81:13;7704:228:18;4737:81:13;1034:20;;4828:60;;;;-1:-1:-1;;;4828:60:13;;9195:2:18;4828:60:13;;;9177:21:18;9234:2;9214:18;;;9207:30;9273:31;9253:18;;;9246:59;9322:18;;4828:60:13;9167:179:18;4828:60:13;4900:12;4914:23;4941:6;-1:-1:-1;;;;;4941:11:13;4960:5;4967:4;4941:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4899:73;;;;4989:52;5007:7;5016:10;5028:12;4989:17;:52::i;:::-;4982:59;4548:500;-1:-1:-1;;;;;;;4548:500:13:o;6950:692::-;7096:12;7124:7;7120:516;;;-1:-1:-1;7154:10:13;7147:17;;7120:516;7265:17;;:21;7261:365;;7459:10;7453:17;7519:15;7506:10;7502:2;7498:19;7491:44;7408:145;7598:12;7591:20;;-1:-1:-1;;;7591:20:13;;;;;;;;:::i;14:257:18:-;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:31;235:5;210:31;:::i;276:333::-;352:6;360;413:2;401:9;392:7;388:23;384:32;381:2;;;434:6;426;419:22;381:2;478:9;465:23;497:31;522:5;497:31;:::i;:::-;547:5;599:2;584:18;;;;571:32;;-1:-1:-1;;;371:238:18:o;614:466::-;691:6;699;707;760:2;748:9;739:7;735:23;731:32;728:2;;;781:6;773;766:22;728:2;825:9;812:23;844:31;869:5;844:31;:::i;:::-;894:5;-1:-1:-1;951:2:18;936:18;;923:32;964:33;923:32;964:33;:::i;:::-;718:362;;1016:7;;-1:-1:-1;;;1070:2:18;1055:18;;;;1042:32;;718:362::o;1085:325::-;1153:6;1161;1214:2;1202:9;1193:7;1189:23;1185:32;1182:2;;;1235:6;1227;1220:22;1415:297;1482:6;1535:2;1523:9;1514:7;1510:23;1506:32;1503:2;;;1556:6;1548;1541:22;1503:2;1593:9;1587:16;1646:5;1639:13;1632:21;1625:5;1622:32;1612:2;;1673:6;1665;1658:22;1717:190;1776:6;1829:2;1817:9;1808:7;1804:23;1800:32;1797:2;;;1850:6;1842;1835:22;1797:2;-1:-1:-1;1878:23:18;;1787:120;-1:-1:-1;1787:120:18:o;1912:276::-;1997:6;2050:2;2038:9;2029:7;2025:23;2021:32;2018:2;;;2071:6;2063;2056:22;2018:2;2108:9;2102:16;2127:31;2152:5;2127:31;:::i;2472:194::-;2542:6;2595:2;2583:9;2574:7;2570:23;2566:32;2563:2;;;2616:6;2608;2601:22;2563:2;-1:-1:-1;2644:16:18;;2553:113;-1:-1:-1;2553:113:18:o;2671:274::-;2800:3;2838:6;2832:13;2854:53;2900:6;2895:3;2888:4;2880:6;2876:17;2854:53;:::i;:::-;2923:16;;;;;2808:137;-1:-1:-1;;2808:137:18:o;5186:383::-;5335:2;5324:9;5317:21;5298:4;5367:6;5361:13;5410:6;5405:2;5394:9;5390:18;5383:34;5426:66;5485:6;5480:2;5469:9;5465:18;5460:2;5452:6;5448:15;5426:66;:::i;:::-;5553:2;5532:15;-1:-1:-1;;5528:29:18;5513:45;;;;5560:2;5509:54;;5307:262;-1:-1:-1;;5307:262:18:o;5923:409::-;6125:2;6107:21;;;6164:2;6144:18;;;6137:30;6203:34;6198:2;6183:18;;6176:62;-1:-1:-1;;;6269:2:18;6254:18;;6247:43;6322:3;6307:19;;6097:235::o;6337:403::-;6539:2;6521:21;;;6578:2;6558:18;;;6551:30;6617:34;6612:2;6597:18;;6590:62;-1:-1:-1;;;6683:2:18;6668:18;;6661:37;6730:3;6715:19;;6511:229::o;7937:340::-;8139:2;8121:21;;;8178:2;8158:18;;;8151:30;-1:-1:-1;;;8212:2:18;8197:18;;8190:46;8268:2;8253:18;;8111:166::o;9351:397::-;9553:2;9535:21;;;9592:2;9572:18;;;9565:30;9631:34;9626:2;9611:18;;9604:62;-1:-1:-1;;;9697:2:18;9682:18;;9675:31;9738:3;9723:19;;9525:223::o;10346:217::-;10386:1;10412;10402:2;;-1:-1:-1;;;10437:31:18;;10491:4;10488:1;10481:15;10519:4;10444:1;10509:15;10402:2;-1:-1:-1;10548:9:18;;10392:171::o;10568:277::-;10608:7;10674:1;10670;10666:6;10662:14;10659:1;10656:21;10651:1;10644:9;10637:17;10633:45;10630:2;;;-1:-1:-1;;;10701:37:18;;10761:4;10758:1;10751:15;10795:4;10708:7;10779:21;10630:2;-1:-1:-1;10830:9:18;;10620:225::o;10850:258::-;10922:1;10932:113;10946:6;10943:1;10940:13;10932:113;;;11022:11;;;11016:18;11003:11;;;10996:39;10968:2;10961:10;10932:113;;;11063:6;11060:1;11057:13;11054:2;;;11098:1;11089:6;11084:3;11080:16;11073:27;11054:2;;10903:205;;;:::o;11113:131::-;-1:-1:-1;;;;;11188:31:18;;11178:42;;11168:2;;11234:1;11231;11224:12

Swarm Source

ipfs://333a961272534559dbc56d0cbb6859e7d31e736207749a9e9b7a098cdc175681

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.