ETH Price: $3,013.43 (-7.06%)
 

Multichain Info

Transaction Hash
Method
Block
From
To
Transfer205364532024-08-15 20:36:23170 days ago1723754183IN
0x4CA6E3a1...298313ef1
0.009 ETH0.000111034.89467849
Withdraw Eth198568062024-05-12 22:05:23265 days ago1715551523IN
0x4CA6E3a1...298313ef1
0 ETH0.000102213.12000311
Withdraw Token198567982024-05-12 22:03:47265 days ago1715551427IN
0x4CA6E3a1...298313ef1
0 ETH0.000105393.30758171
Withdraw Token198567962024-05-12 22:03:23265 days ago1715551403IN
0x4CA6E3a1...298313ef1
0 ETH0.000106713.34877004
Withdraw Token198567912024-05-12 22:02:23265 days ago1715551343IN
0x4CA6E3a1...298313ef1
0 ETH0.000107033.35893758
Withdraw Token198567852024-05-12 22:01:11265 days ago1715551271IN
0x4CA6E3a1...298313ef1
0 ETH0.000213963.48355622
Withdraw Token198567772024-05-12 21:59:35265 days ago1715551175IN
0x4CA6E3a1...298313ef1
0 ETH0.000198933.1851619
Withdraw Token198567462024-05-12 21:53:23265 days ago1715550803IN
0x4CA6E3a1...298313ef1
0 ETH0.000184353.31047093
Transfer198409362024-05-10 16:49:59268 days ago1715359799IN
0x4CA6E3a1...298313ef1
0.188666 ETH0.000193768.54150377
Transfer198406972024-05-10 16:01:35268 days ago1715356895IN
0x4CA6E3a1...298313ef1
0.2 ETH0.000147446.49987556
Transfer198405522024-05-10 15:32:11268 days ago1715355131IN
0x4CA6E3a1...298313ef1
0.005 ETH0.000159057.0115214
Withdraw Token198403702024-05-10 14:55:47268 days ago1715352947IN
0x4CA6E3a1...298313ef1
0 ETH0.0008684413.90711677
Transfer198388002024-05-10 9:40:23268 days ago1715334023IN
0x4CA6E3a1...298313ef1
0.18811 ETH0.000082463.63511053
Transfer198377772024-05-10 6:14:35268 days ago1715321675IN
0x4CA6E3a1...298313ef1
0.17 ETH0.000092884.09438425
Transfer198326582024-05-09 13:02:35269 days ago1715259755IN
0x4CA6E3a1...298313ef1
0.17 ETH0.000126595.58042856
Withdraw Token198289162024-05-09 0:29:11269 days ago1715214551IN
0x4CA6E3a1...298313ef1
0 ETH0.000228753.66254364
Withdraw Token198289132024-05-09 0:28:35269 days ago1715214515IN
0x4CA6E3a1...298313ef1
0 ETH0.000215493.87043442
Transfer198274602024-05-08 19:35:47269 days ago1715196947IN
0x4CA6E3a1...298313ef1
0.26691 ETH0.000109314.81881991
Transfer198273712024-05-08 19:17:59269 days ago1715195879IN
0x4CA6E3a1...298313ef1
2.062926 ETH0.000100144.41479896
Transfer198265812024-05-08 16:38:47270 days ago1715186327IN
0x4CA6E3a1...298313ef1
1.331088 ETH0.000173127.6315846
Transfer198265392024-05-08 16:29:59270 days ago1715185799IN
0x4CA6E3a1...298313ef1
0.232658 ETH0.000132915.85937252
Transfer198260082024-05-08 14:42:59270 days ago1715179379IN
0x4CA6E3a1...298313ef1
0.033046 ETH0.0002586211.40050139
Transfer198259362024-05-08 14:28:11270 days ago1715178491IN
0x4CA6E3a1...298313ef1
0.01654 ETH0.000198048.73018421
Transfer198259212024-05-08 14:25:11270 days ago1715178311IN
0x4CA6E3a1...298313ef1
1.65451 ETH0.000188728.31953658
Transfer198259182024-05-08 14:24:35270 days ago1715178275IN
0x4CA6E3a1...298313ef1
0.182004 ETH0.000202468.92521641
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
198568062024-05-12 22:05:23265 days ago1715551523
0x4CA6E3a1...298313ef1
38 ETH
197966222024-05-04 12:03:59274 days ago1714824239
0x4CA6E3a1...298313ef1
222 ETH
195766742024-04-03 17:16:11304 days ago1712164571
0x4CA6E3a1...298313ef1
145 ETH
194071492024-03-10 20:41:59328 days ago1710103319
0x4CA6E3a1...298313ef1
37 ETH
194070882024-03-10 20:29:47328 days ago1710102587
0x4CA6E3a1...298313ef1
37 wei
194066902024-03-10 19:09:23328 days ago1710097763
0x4CA6E3a1...298313ef1
37 wei
193549332024-03-03 13:26:23336 days ago1709472383
0x4CA6E3a1...298313ef1
50 ETH
193054762024-02-25 15:24:47343 days ago1708874687
0x4CA6E3a1...298313ef1
62 ETH
192260952024-02-14 12:05:23354 days ago1707912323
0x4CA6E3a1...298313ef1
141 ETH
191303152024-02-01 1:26:11367 days ago1706750771
0x4CA6E3a1...298313ef1
27 ETH
191045622024-01-28 10:52:11371 days ago1706439131
0x4CA6E3a1...298313ef1
6 ETH
190920422024-01-26 16:43:11373 days ago1706287391
0x4CA6E3a1...298313ef1
37 ETH
190793422024-01-24 22:02:11374 days ago1706133731
0x4CA6E3a1...298313ef1
6 wei
190769772024-01-24 14:05:23375 days ago1706105123
0x4CA6E3a1...298313ef1
49 ETH
190467202024-01-20 7:56:11379 days ago1705737371
0x4CA6E3a1...298313ef1
60 ETH
190231522024-01-17 0:52:47382 days ago1705452767
0x4CA6E3a1...298313ef1
42 ETH
189906992024-01-12 12:04:47387 days ago1705061087
0x4CA6E3a1...298313ef1
61 ETH
189429682024-01-05 18:52:35393 days ago1704480755
0x4CA6E3a1...298313ef1
30 ETH
189267242024-01-03 12:07:23396 days ago1704283643
0x4CA6E3a1...298313ef1
17 ETH
189162632024-01-02 0:53:11397 days ago1704156791
0x4CA6E3a1...298313ef1
4 ETH
188984732023-12-30 12:57:23400 days ago1703941043
0x4CA6E3a1...298313ef1
80 ETH
188407822023-12-22 10:26:47408 days ago1703240807
0x4CA6E3a1...298313ef1
80 ETH
188079232023-12-17 19:49:11412 days ago1702842551
0x4CA6E3a1...298313ef1
16 ETH
187866762023-12-14 20:12:11415 days ago1702584731
0x4CA6E3a1...298313ef1
23 ETH
187511942023-12-09 20:58:23420 days ago1702155503
0x4CA6E3a1...298313ef1
50 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VowLpExchange

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : VowLpExchange.sol
// contracts/VowLpExchange.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

contract VowLpExchange is AccessControl {
    using SafeERC20 for IERC20;

    bytes32 public constant GOVERNOR_ROLE = keccak256("GOVERNOR_ROLE");

    uint256 private _minimumLpAmount;
    uint256 private _bnbAmount;

    event Deposit(address indexed src, uint256 amount);
    event Withdraw(address indexed dest, uint256 amount);
    event DepositToken(address indexed token, address indexed src, uint256 amount);
    event WithdrawToken(address indexed token, address indexed dest, uint256 amount);
    event MinimumUpdated(uint256 amount, uint256 bnb);

    constructor() {
        _grantRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _grantRole(GOVERNOR_ROLE, _msgSender());
        _setMinimum(20 * 10 **18, 10 **16);
    }

    receive() external payable {
        require(msg.value > 0, "!zero");
        emit Deposit(_msgSender(), msg.value);
    }

    /**
     * @notice Function to deposit token
     * @param amount Amount of tokens
     * @param token Address of token to be rescued
     */
    function depositToken(
        uint256 amount, 
        address token
    ) external {
        require (amount >= 0, "!zero");
        require(address(0) != token, "!zero");
        require (IERC20(token).transferFrom(_msgSender(), address(this), amount), "!transfer");
        emit DepositToken(token, _msgSender(), amount);
    }

    /**
     * @notice Function to withdraw ETH
     * Caller is assumed to be governance
     * @param amount Amount of tokens
     */
    function withdrawEth(
        uint256 amount
    ) external onlyRole(GOVERNOR_ROLE) {
        require(amount > 0, "!zero");
        require(payable(_msgSender()).send(amount), "!sent");
        emit Withdraw(_msgSender(), amount);
    }

    /**
     * @notice Function to withdraw token
     * Caller is assumed to be governance
     * @param token Address of token to be rescued
     * @param amount Amount of tokens
     */
    function withdrawToken(
        IERC20 token,
        uint256 amount
    ) external onlyRole(GOVERNOR_ROLE) {
        require(amount > 0, "!zero");
        token.safeTransfer(_msgSender(), amount);
        emit WithdrawToken(address(token), _msgSender(), amount);
    }

    /**
     * @notice Function to setMinimum
     * Owner is assumed to be governance
     * @param token Amount of tokens
     * @param bnb Amount of bnb
     */
    function setMinimum(
        uint256 token,
        uint256 bnb
    ) external onlyRole(GOVERNOR_ROLE) {
        _setMinimum(token, bnb);
    }

    /**
     * @dev Returns the _minimumLpAmount.
     */
    function minimumLpAmount() public view virtual returns (uint256) {
        return _minimumLpAmount;
    }

    /**
     * @dev Returns the bnbAmount.
     */
    function bnbAmount() public view virtual returns (uint256) {
        return _bnbAmount;
    }

    /**
     * @notice Function to setMinimum
     * @param token Amount of tokens
     * @param bnb Amount of bnb
     */
    function _setMinimum(
        uint256 token,
        uint256 bnb
    ) internal {
        if (_minimumLpAmount != token) {
            _minimumLpAmount = token;
        }

        if (_bnbAmount != bnb) {
            _bnbAmount = bnb;
        }

        emit MinimumUpdated(token, bnb);
    }

}

File 2 of 11 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.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));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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 3 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 4 of 11 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

/**
 * @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 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]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @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 virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @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]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        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 virtual 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.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    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 revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    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.
     *
     * May emit a {RoleGranted} event.
     *
     * [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}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    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 {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 11 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 6 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 11 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @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 {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

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

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

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

File 8 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 9 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 10 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 11 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DepositToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnb","type":"uint256"}],"name":"MinimumUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dest","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"dest","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawToken","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GOVERNOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bnbAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"token","type":"address"}],"name":"depositToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumLpAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"token","type":"uint256"},{"internalType":"uint256","name":"bnb","type":"uint256"}],"name":"setMinimum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50620000366000801b6200002a6200009f60201b60201c565b620000a760201b60201c565b620000777f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f556200006b6200009f60201b60201c565b620000a760201b60201c565b620000996801158e460913d00000662386f26fc100006200019860201b60201c565b620002ad565b600033905090565b620000b98282620001fb60201b60201c565b6200019457600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001396200009f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b8160015414620001aa57816001819055505b8060025414620001bc57806002819055505b7fca7fd5793cd54b50ff87bf03a6c7d835eded7a816a96a55e7233571b98020f858282604051620001ef92919062000276565b60405180910390a15050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6200027081620002a3565b82525050565b60006040820190506200028d600083018562000265565b6200029c602083018462000265565b9392505050565b6000819050919050565b611f1080620002bd6000396000f3fe6080604052600436106100e15760003560e01c806391d148541161007f578063c310b88411610059578063c310b88414610361578063c311d0491461038a578063ccc57490146103b3578063d547741f146103de57610180565b806391d14854146102d05780639e281a981461030d578063a217fddf1461033657610180565b806326923636116100bb578063269236361461022a5780632f2ff15d1461025357806336568abe1461027c57806368149fa3146102a557610180565b806301ffc9a7146101855780631228356f146101c2578063248a9ca3146101ed57610180565b366101805760003411610129576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610120906118c3565b60405180910390fd5b610131610407565b73ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c346040516101769190611983565b60405180910390a2005b600080fd5b34801561019157600080fd5b506101ac60048036038101906101a7919061142b565b61040f565b6040516101b9919061182b565b60405180910390f35b3480156101ce57600080fd5b506101d7610489565b6040516101e49190611983565b60405180910390f35b3480156101f957600080fd5b50610214600480360381019061020f91906113be565b610493565b6040516102219190611846565b60405180910390f35b34801561023657600080fd5b50610251600480360381019061024c9190611505565b6104b2565b005b34801561025f57600080fd5b5061027a600480360381019061027591906113eb565b6104eb565b005b34801561028857600080fd5b506102a3600480360381019061029e91906113eb565b61050c565b005b3480156102b157600080fd5b506102ba61058f565b6040516102c79190611983565b60405180910390f35b3480156102dc57600080fd5b506102f760048036038101906102f291906113eb565b610599565b604051610304919061182b565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190611458565b610603565b005b34801561034257600080fd5b5061034b610713565b6040516103589190611846565b60405180910390f35b34801561036d57600080fd5b50610388600480360381019061038391906114c5565b61071a565b005b34801561039657600080fd5b506103b160048036038101906103ac9190611498565b610913565b005b3480156103bf57600080fd5b506103c8610a54565b6040516103d59190611846565b60405180910390f35b3480156103ea57600080fd5b50610405600480360381019061040091906113eb565b610a78565b005b600033905090565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610482575061048182610a99565b5b9050919050565b6000600154905090565b6000806000838152602001908152602001600020600101549050919050565b7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f556104dc81610b03565b6104e68383610b17565b505050565b6104f482610493565b6104fd81610b03565b6105078383610b76565b505050565b610514610407565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610581576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057890611963565b60405180910390fd5b61058b8282610c56565b5050565b6000600254905090565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5561062d81610b03565b60008211610670576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610667906118c3565b60405180910390fd5b6106a261067b610407565b838573ffffffffffffffffffffffffffffffffffffffff16610d379092919063ffffffff16565b6106aa610407565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f037238854fe57fbf51f09946f854fc3916fe83938d6521f09bd05463839f1304846040516107069190611983565b60405180910390a3505050565b6000801b81565b600082101561075e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610755906118c3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1614156107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c5906118c3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166323b872dd6107f2610407565b30856040518463ffffffff1660e01b8152600401610812939291906117cb565b602060405180830381600087803b15801561082c57600080fd5b505af1158015610840573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108649190611391565b6108a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089a90611903565b60405180910390fd5b6108ab610407565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f4b3f81827ede20c81afbf1bb77b954afcdcae24d391d99042310cb1d9210dd57846040516109079190611983565b60405180910390a35050565b7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5561093d81610b03565b60008211610980576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610977906118c3565b60405180910390fd5b610988610407565b73ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050506109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f2906118e3565b60405180910390fd5b610a03610407565b73ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436483604051610a489190611983565b60405180910390a25050565b7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5581565b610a8182610493565b610a8a81610b03565b610a948383610c56565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610b1481610b0f610407565b610dbd565b50565b8160015414610b2857816001819055505b8060025414610b3957806002819055505b7fca7fd5793cd54b50ff87bf03a6c7d835eded7a816a96a55e7233571b98020f858282604051610b6a92919061199e565b60405180910390a15050565b610b808282610599565b610c5257600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610bf7610407565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b610c608282610599565b15610d3357600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610cd8610407565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b610db88363a9059cbb60e01b8484604051602401610d56929190611802565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610e5a565b505050565b610dc78282610599565b610e5657610dec8173ffffffffffffffffffffffffffffffffffffffff166014610f21565b610dfa8360001c6020610f21565b604051602001610e0b929190611791565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d9190611861565b60405180910390fd5b5050565b6000610ebc826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661115d9092919063ffffffff16565b9050600081511115610f1c5780806020019051810190610edc9190611391565b610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1290611943565b60405180910390fd5b5b505050565b606060006002836002610f349190611a5a565b610f3e9190611a04565b67ffffffffffffffff811115610f5757610f56611bff565b5b6040519080825280601f01601f191660200182016040528015610f895781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110610fc157610fc0611bd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061102557611024611bd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026110659190611a5a565b61106f9190611a04565b90505b600181111561110f577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106110b1576110b0611bd0565b5b1a60f81b8282815181106110c8576110c7611bd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061110890611b77565b9050611072565b5060008414611153576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114a90611883565b60405180910390fd5b8091505092915050565b606061116c8484600085611175565b90509392505050565b6060824710156111ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b1906118a3565b60405180910390fd5b6111c385611289565b611202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f990611923565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161122b919061177a565b60006040518083038185875af1925050503d8060008114611268576040519150601f19603f3d011682016040523d82523d6000602084013e61126d565b606091505b509150915061127d8282866112ac565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606083156112bc5782905061130c565b6000835111156112cf5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113039190611861565b60405180910390fd5b9392505050565b60008135905061132281611e50565b92915050565b60008151905061133781611e67565b92915050565b60008135905061134c81611e7e565b92915050565b60008135905061136181611e95565b92915050565b60008135905061137681611eac565b92915050565b60008135905061138b81611ec3565b92915050565b6000602082840312156113a7576113a6611c2e565b5b60006113b584828501611328565b91505092915050565b6000602082840312156113d4576113d3611c2e565b5b60006113e28482850161133d565b91505092915050565b6000806040838503121561140257611401611c2e565b5b60006114108582860161133d565b925050602061142185828601611313565b9150509250929050565b60006020828403121561144157611440611c2e565b5b600061144f84828501611352565b91505092915050565b6000806040838503121561146f5761146e611c2e565b5b600061147d85828601611367565b925050602061148e8582860161137c565b9150509250929050565b6000602082840312156114ae576114ad611c2e565b5b60006114bc8482850161137c565b91505092915050565b600080604083850312156114dc576114db611c2e565b5b60006114ea8582860161137c565b92505060206114fb85828601611313565b9150509250929050565b6000806040838503121561151c5761151b611c2e565b5b600061152a8582860161137c565b925050602061153b8582860161137c565b9150509250929050565b61154e81611ab4565b82525050565b61155d81611ac6565b82525050565b61156c81611ad2565b82525050565b600061157d826119c7565b61158781856119dd565b9350611597818560208601611b44565b80840191505092915050565b60006115ae826119d2565b6115b881856119e8565b93506115c8818560208601611b44565b6115d181611c33565b840191505092915050565b60006115e7826119d2565b6115f181856119f9565b9350611601818560208601611b44565b80840191505092915050565b600061161a6020836119e8565b915061162582611c44565b602082019050919050565b600061163d6026836119e8565b915061164882611c6d565b604082019050919050565b60006116606005836119e8565b915061166b82611cbc565b602082019050919050565b60006116836005836119e8565b915061168e82611ce5565b602082019050919050565b60006116a66009836119e8565b91506116b182611d0e565b602082019050919050565b60006116c9601d836119e8565b91506116d482611d37565b602082019050919050565b60006116ec6017836119f9565b91506116f782611d60565b601782019050919050565b600061170f602a836119e8565b915061171a82611d89565b604082019050919050565b60006117326011836119f9565b915061173d82611dd8565b601182019050919050565b6000611755602f836119e8565b915061176082611e01565b604082019050919050565b61177481611b3a565b82525050565b60006117868284611572565b915081905092915050565b600061179c826116df565b91506117a882856115dc565b91506117b382611725565b91506117bf82846115dc565b91508190509392505050565b60006060820190506117e06000830186611545565b6117ed6020830185611545565b6117fa604083018461176b565b949350505050565b60006040820190506118176000830185611545565b611824602083018461176b565b9392505050565b60006020820190506118406000830184611554565b92915050565b600060208201905061185b6000830184611563565b92915050565b6000602082019050818103600083015261187b81846115a3565b905092915050565b6000602082019050818103600083015261189c8161160d565b9050919050565b600060208201905081810360008301526118bc81611630565b9050919050565b600060208201905081810360008301526118dc81611653565b9050919050565b600060208201905081810360008301526118fc81611676565b9050919050565b6000602082019050818103600083015261191c81611699565b9050919050565b6000602082019050818103600083015261193c816116bc565b9050919050565b6000602082019050818103600083015261195c81611702565b9050919050565b6000602082019050818103600083015261197c81611748565b9050919050565b6000602082019050611998600083018461176b565b92915050565b60006040820190506119b3600083018561176b565b6119c0602083018461176b565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000611a0f82611b3a565b9150611a1a83611b3a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611a4f57611a4e611ba1565b5b828201905092915050565b6000611a6582611b3a565b9150611a7083611b3a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611aa957611aa8611ba1565b5b828202905092915050565b6000611abf82611b1a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000611b1382611ab4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015611b62578082015181840152602081019050611b47565b83811115611b71576000848401525b50505050565b6000611b8282611b3a565b91506000821415611b9657611b95611ba1565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f217a65726f000000000000000000000000000000000000000000000000000000600082015250565b7f2173656e74000000000000000000000000000000000000000000000000000000600082015250565b7f217472616e736665720000000000000000000000000000000000000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b611e5981611ab4565b8114611e6457600080fd5b50565b611e7081611ac6565b8114611e7b57600080fd5b50565b611e8781611ad2565b8114611e9257600080fd5b50565b611e9e81611adc565b8114611ea957600080fd5b50565b611eb581611b08565b8114611ec057600080fd5b50565b611ecc81611b3a565b8114611ed757600080fd5b5056fea2646970667358221220dd5cd520c321474f6c075019b2e7d49fcd87f8f8c911e3825978994cb918f18c64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106100e15760003560e01c806391d148541161007f578063c310b88411610059578063c310b88414610361578063c311d0491461038a578063ccc57490146103b3578063d547741f146103de57610180565b806391d14854146102d05780639e281a981461030d578063a217fddf1461033657610180565b806326923636116100bb578063269236361461022a5780632f2ff15d1461025357806336568abe1461027c57806368149fa3146102a557610180565b806301ffc9a7146101855780631228356f146101c2578063248a9ca3146101ed57610180565b366101805760003411610129576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610120906118c3565b60405180910390fd5b610131610407565b73ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c346040516101769190611983565b60405180910390a2005b600080fd5b34801561019157600080fd5b506101ac60048036038101906101a7919061142b565b61040f565b6040516101b9919061182b565b60405180910390f35b3480156101ce57600080fd5b506101d7610489565b6040516101e49190611983565b60405180910390f35b3480156101f957600080fd5b50610214600480360381019061020f91906113be565b610493565b6040516102219190611846565b60405180910390f35b34801561023657600080fd5b50610251600480360381019061024c9190611505565b6104b2565b005b34801561025f57600080fd5b5061027a600480360381019061027591906113eb565b6104eb565b005b34801561028857600080fd5b506102a3600480360381019061029e91906113eb565b61050c565b005b3480156102b157600080fd5b506102ba61058f565b6040516102c79190611983565b60405180910390f35b3480156102dc57600080fd5b506102f760048036038101906102f291906113eb565b610599565b604051610304919061182b565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190611458565b610603565b005b34801561034257600080fd5b5061034b610713565b6040516103589190611846565b60405180910390f35b34801561036d57600080fd5b50610388600480360381019061038391906114c5565b61071a565b005b34801561039657600080fd5b506103b160048036038101906103ac9190611498565b610913565b005b3480156103bf57600080fd5b506103c8610a54565b6040516103d59190611846565b60405180910390f35b3480156103ea57600080fd5b50610405600480360381019061040091906113eb565b610a78565b005b600033905090565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610482575061048182610a99565b5b9050919050565b6000600154905090565b6000806000838152602001908152602001600020600101549050919050565b7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f556104dc81610b03565b6104e68383610b17565b505050565b6104f482610493565b6104fd81610b03565b6105078383610b76565b505050565b610514610407565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610581576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057890611963565b60405180910390fd5b61058b8282610c56565b5050565b6000600254905090565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5561062d81610b03565b60008211610670576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610667906118c3565b60405180910390fd5b6106a261067b610407565b838573ffffffffffffffffffffffffffffffffffffffff16610d379092919063ffffffff16565b6106aa610407565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f037238854fe57fbf51f09946f854fc3916fe83938d6521f09bd05463839f1304846040516107069190611983565b60405180910390a3505050565b6000801b81565b600082101561075e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610755906118c3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1614156107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c5906118c3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166323b872dd6107f2610407565b30856040518463ffffffff1660e01b8152600401610812939291906117cb565b602060405180830381600087803b15801561082c57600080fd5b505af1158015610840573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108649190611391565b6108a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089a90611903565b60405180910390fd5b6108ab610407565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f4b3f81827ede20c81afbf1bb77b954afcdcae24d391d99042310cb1d9210dd57846040516109079190611983565b60405180910390a35050565b7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5561093d81610b03565b60008211610980576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610977906118c3565b60405180910390fd5b610988610407565b73ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050506109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f2906118e3565b60405180910390fd5b610a03610407565b73ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436483604051610a489190611983565b60405180910390a25050565b7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5581565b610a8182610493565b610a8a81610b03565b610a948383610c56565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610b1481610b0f610407565b610dbd565b50565b8160015414610b2857816001819055505b8060025414610b3957806002819055505b7fca7fd5793cd54b50ff87bf03a6c7d835eded7a816a96a55e7233571b98020f858282604051610b6a92919061199e565b60405180910390a15050565b610b808282610599565b610c5257600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610bf7610407565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b610c608282610599565b15610d3357600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610cd8610407565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b610db88363a9059cbb60e01b8484604051602401610d56929190611802565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610e5a565b505050565b610dc78282610599565b610e5657610dec8173ffffffffffffffffffffffffffffffffffffffff166014610f21565b610dfa8360001c6020610f21565b604051602001610e0b929190611791565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d9190611861565b60405180910390fd5b5050565b6000610ebc826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661115d9092919063ffffffff16565b9050600081511115610f1c5780806020019051810190610edc9190611391565b610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1290611943565b60405180910390fd5b5b505050565b606060006002836002610f349190611a5a565b610f3e9190611a04565b67ffffffffffffffff811115610f5757610f56611bff565b5b6040519080825280601f01601f191660200182016040528015610f895781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110610fc157610fc0611bd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061102557611024611bd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026110659190611a5a565b61106f9190611a04565b90505b600181111561110f577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106110b1576110b0611bd0565b5b1a60f81b8282815181106110c8576110c7611bd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061110890611b77565b9050611072565b5060008414611153576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114a90611883565b60405180910390fd5b8091505092915050565b606061116c8484600085611175565b90509392505050565b6060824710156111ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b1906118a3565b60405180910390fd5b6111c385611289565b611202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f990611923565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161122b919061177a565b60006040518083038185875af1925050503d8060008114611268576040519150601f19603f3d011682016040523d82523d6000602084013e61126d565b606091505b509150915061127d8282866112ac565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606083156112bc5782905061130c565b6000835111156112cf5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113039190611861565b60405180910390fd5b9392505050565b60008135905061132281611e50565b92915050565b60008151905061133781611e67565b92915050565b60008135905061134c81611e7e565b92915050565b60008135905061136181611e95565b92915050565b60008135905061137681611eac565b92915050565b60008135905061138b81611ec3565b92915050565b6000602082840312156113a7576113a6611c2e565b5b60006113b584828501611328565b91505092915050565b6000602082840312156113d4576113d3611c2e565b5b60006113e28482850161133d565b91505092915050565b6000806040838503121561140257611401611c2e565b5b60006114108582860161133d565b925050602061142185828601611313565b9150509250929050565b60006020828403121561144157611440611c2e565b5b600061144f84828501611352565b91505092915050565b6000806040838503121561146f5761146e611c2e565b5b600061147d85828601611367565b925050602061148e8582860161137c565b9150509250929050565b6000602082840312156114ae576114ad611c2e565b5b60006114bc8482850161137c565b91505092915050565b600080604083850312156114dc576114db611c2e565b5b60006114ea8582860161137c565b92505060206114fb85828601611313565b9150509250929050565b6000806040838503121561151c5761151b611c2e565b5b600061152a8582860161137c565b925050602061153b8582860161137c565b9150509250929050565b61154e81611ab4565b82525050565b61155d81611ac6565b82525050565b61156c81611ad2565b82525050565b600061157d826119c7565b61158781856119dd565b9350611597818560208601611b44565b80840191505092915050565b60006115ae826119d2565b6115b881856119e8565b93506115c8818560208601611b44565b6115d181611c33565b840191505092915050565b60006115e7826119d2565b6115f181856119f9565b9350611601818560208601611b44565b80840191505092915050565b600061161a6020836119e8565b915061162582611c44565b602082019050919050565b600061163d6026836119e8565b915061164882611c6d565b604082019050919050565b60006116606005836119e8565b915061166b82611cbc565b602082019050919050565b60006116836005836119e8565b915061168e82611ce5565b602082019050919050565b60006116a66009836119e8565b91506116b182611d0e565b602082019050919050565b60006116c9601d836119e8565b91506116d482611d37565b602082019050919050565b60006116ec6017836119f9565b91506116f782611d60565b601782019050919050565b600061170f602a836119e8565b915061171a82611d89565b604082019050919050565b60006117326011836119f9565b915061173d82611dd8565b601182019050919050565b6000611755602f836119e8565b915061176082611e01565b604082019050919050565b61177481611b3a565b82525050565b60006117868284611572565b915081905092915050565b600061179c826116df565b91506117a882856115dc565b91506117b382611725565b91506117bf82846115dc565b91508190509392505050565b60006060820190506117e06000830186611545565b6117ed6020830185611545565b6117fa604083018461176b565b949350505050565b60006040820190506118176000830185611545565b611824602083018461176b565b9392505050565b60006020820190506118406000830184611554565b92915050565b600060208201905061185b6000830184611563565b92915050565b6000602082019050818103600083015261187b81846115a3565b905092915050565b6000602082019050818103600083015261189c8161160d565b9050919050565b600060208201905081810360008301526118bc81611630565b9050919050565b600060208201905081810360008301526118dc81611653565b9050919050565b600060208201905081810360008301526118fc81611676565b9050919050565b6000602082019050818103600083015261191c81611699565b9050919050565b6000602082019050818103600083015261193c816116bc565b9050919050565b6000602082019050818103600083015261195c81611702565b9050919050565b6000602082019050818103600083015261197c81611748565b9050919050565b6000602082019050611998600083018461176b565b92915050565b60006040820190506119b3600083018561176b565b6119c0602083018461176b565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000611a0f82611b3a565b9150611a1a83611b3a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611a4f57611a4e611ba1565b5b828201905092915050565b6000611a6582611b3a565b9150611a7083611b3a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611aa957611aa8611ba1565b5b828202905092915050565b6000611abf82611b1a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000611b1382611ab4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015611b62578082015181840152602081019050611b47565b83811115611b71576000848401525b50505050565b6000611b8282611b3a565b91506000821415611b9657611b95611ba1565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f217a65726f000000000000000000000000000000000000000000000000000000600082015250565b7f2173656e74000000000000000000000000000000000000000000000000000000600082015250565b7f217472616e736665720000000000000000000000000000000000000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b611e5981611ab4565b8114611e6457600080fd5b50565b611e7081611ac6565b8114611e7b57600080fd5b50565b611e8781611ad2565b8114611e9257600080fd5b50565b611e9e81611adc565b8114611ea957600080fd5b50565b611eb581611b08565b8114611ec057600080fd5b50565b611ecc81611b3a565b8114611ed757600080fd5b5056fea2646970667358221220dd5cd520c321474f6c075019b2e7d49fcd87f8f8c911e3825978994cb918f18c64736f6c63430008070033

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.