ETH Price: $3,019.03 (+2.02%)
Gas: 2 Gwei

Contract

0x3b198e26E473b8faB2085b37978e36c9DE5D7f68
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Value
Unlock202318442024-07-04 8:05:474 days ago1720080347IN
0x3b198e26...9DE5D7f68
0 ETH0.000762127.01208447
Unlock199536862024-05-26 11:14:2343 days ago1716722063IN
0x3b198e26...9DE5D7f68
0 ETH0.00054655.02803019
Unlock199200612024-05-21 18:26:4748 days ago1716316007IN
0x3b198e26...9DE5D7f68
0 ETH0.0022323720.53852988
Unlock198821832024-05-16 11:16:5953 days ago1715858219IN
0x3b198e26...9DE5D7f68
0 ETH0.000473065.16555881
Unlock198821472024-05-16 11:09:3553 days ago1715857775IN
0x3b198e26...9DE5D7f68
0 ETH0.000479365.23509949
Unlock198688312024-05-14 14:28:2355 days ago1715696903IN
0x3b198e26...9DE5D7f68
0 ETH0.0017697416.2821832
Unlock198198672024-05-07 18:06:1162 days ago1715105171IN
0x3b198e26...9DE5D7f68
0 ETH0.000709326.52599828
Unlock197751302024-05-01 11:58:3568 days ago1714564715IN
0x3b198e26...9DE5D7f68
0 ETH0.000966558.89360244
Unlock196246182024-04-10 10:24:5989 days ago1712744699IN
0x3b198e26...9DE5D7f68
0 ETH0.0020927619.25705234
Unlock195697622024-04-02 18:03:1197 days ago1712080991IN
0x3b198e26...9DE5D7f68
0 ETH0.0051833747.68869508
Unlock195676552024-04-02 10:54:5997 days ago1712055299IN
0x3b198e26...9DE5D7f68
0 ETH0.0029066526.74510488
Unlock195332272024-03-28 14:35:59102 days ago1711636559IN
0x3b198e26...9DE5D7f68
0 ETH0.0070744565.06981879
Unlock195201642024-03-26 17:44:35104 days ago1711475075IN
0x3b198e26...9DE5D7f68
0 ETH0.0049199545.27008987
Unlock194679322024-03-19 9:34:47111 days ago1710840887IN
0x3b198e26...9DE5D7f68
0 ETH0.0115559106.31785464
Unlock194541182024-03-17 10:57:35113 days ago1710673055IN
0x3b198e26...9DE5D7f68
0 ETH0.0022495724.55762126
Unlock194532402024-03-17 8:00:11113 days ago1710662411IN
0x3b198e26...9DE5D7f68
0 ETH0.0022460524.5268945
Unlock194528552024-03-17 6:42:59113 days ago1710657779IN
0x3b198e26...9DE5D7f68
0 ETH0.0029683527.31408222
Unlock194528372024-03-17 6:39:23113 days ago1710657563IN
0x3b198e26...9DE5D7f68
0 ETH0.0025293123.27050153
Unlock194527832024-03-17 6:28:11113 days ago1710656891IN
0x3b198e26...9DE5D7f68
0 ETH0.0029048626.72143972
Unlock194527712024-03-17 6:25:35113 days ago1710656735IN
0x3b198e26...9DE5D7f68
0 ETH0.0030329327.90522594
Unlock194259952024-03-13 11:56:47117 days ago1710331007IN
0x3b198e26...9DE5D7f68
0 ETH0.0067758962.33061747
Unlock194191432024-03-12 12:57:11118 days ago1710248231IN
0x3b198e26...9DE5D7f68
0 ETH0.0056742952.20524431
Unlock194180362024-03-12 9:14:47118 days ago1710234887IN
0x3b198e26...9DE5D7f68
0 ETH0.0052449748.24785033
Unlock194042752024-03-10 11:04:11120 days ago1710068651IN
0x3b198e26...9DE5D7f68
0 ETH0.0052127947.95929634
Unlock194036912024-03-10 9:05:59120 days ago1710061559IN
0x3b198e26...9DE5D7f68
0 ETH0.0059949155.16979545
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TimeLocker

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 9 : ETHTimeLocker.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/IERC20.sol";
import "./utils/token/SafeERC20.sol";
import "./utils/ECDSA.sol";
import "./Validators.sol";

contract TimeLocker is Validators {

    using ECDSA for bytes32;
    using SafeERC20 for IERC20;

    event Locked(address indexed _from, uint256 indexed _toChainId, uint256 indexed _lockId, uint256 _amount);
    event Unlocked(address indexed _from, uint256 indexed _fromChainId, uint256 indexed _burnId, uint256 _amount);

    IERC20 public erc20Time;
    bool private initialized;

    uint256 public lastLockId;
    mapping(uint256 =>  mapping(uint256 => bool)) public burnIdsUsed;

    function init(address _erc20Time) external onlyOwner {
        require(!initialized, "Initialized");
        erc20Time = IERC20(_erc20Time);
        initialized = true;
    }

    function onTokenTransfer(address _sender, uint256 _amount, bytes memory _data) external {
        require(address(erc20Time) == _msgSender(), "Sender address does not match expected");
        require(_amount > 0, "The amount of the lock must not be zero");
        (uint256 _toChainId) = abi.decode(_data, (uint256));
        (bool found,) = indexOfChainId(_toChainId);
        require(found, "ChainId not allowed");
        lastLockId ++;
        emit Locked(_sender, _toChainId, lastLockId, _amount);
    }

    function lock(uint256 _toChainId, uint256 _amount) external {
        require(_amount > 0, "The amount of the lock must not be zero");
        (bool found,) = indexOfChainId(_toChainId);
        require(found, "ChainId not allowed");
        require(erc20Time.allowance(_msgSender(), address(this)) >= _amount, "Not enough allowance");
        erc20Time.safeTransferFrom(_msgSender(), address(this), _amount);
        lastLockId ++;
        emit Locked(_msgSender(), _toChainId, lastLockId, _amount);
    }

    function unlock(uint256 _fromChainId, uint256 _burnId, uint256 _amount, bytes[] memory _signatures) external {
        require(!burnIdsUsed[_fromChainId][_burnId], "Burn id already used");
        bytes32 messageHash = keccak256(abi.encodePacked(_msgSender(), _fromChainId, block.chainid, _burnId, _amount));
        require(checkSignatures(messageHash, _signatures), "Incorrect signature(s)");
        burnIdsUsed[_fromChainId][_burnId] = true;
        erc20Time.safeTransfer(_msgSender(), _amount);
        emit Unlocked(_msgSender(), _fromChainId, _burnId, _amount);
    }
}

File 2 of 9 : ChainIdValidators.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "./access/Ownable.sol";
import "./utils/ECDSA.sol";

contract ChainIdValidators is Ownable {
    using ECDSA for bytes32;

    uint256[] public chainIds;

    function addChainId(uint256 _chainId) external onlyOwner {
        (bool found,) = indexOfChainId(_chainId);
        require(!found, 'ChainId already added');
        chainIds.push(_chainId);
    }

    function removeChainId(uint256 _chainId) external onlyOwner {
        (bool found, uint256 index) = indexOfChainId(_chainId);
        require(found, 'ChainId not found');
        if (chainIds.length > 1) {
            chainIds[index] = chainIds[chainIds.length - 1];
        }
        chainIds.pop();
    }

    function getListChainIds() public view returns (uint256[] memory) {
        return chainIds;
    }

    function indexOfChainId(uint256 _chainId) public view returns (bool found, uint256 index) {
        for (uint256 i = 0; i < chainIds.length; i++) {
            if (chainIds[i] == _chainId) {
                return (true, i);
            }
        }
        return (false, 0);
    }
}

File 3 of 9 : Validators.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "./utils/ECDSA.sol";
import "./ChainIdValidators.sol";

contract Validators is ChainIdValidators {
    using ECDSA for bytes32;

    address[] public bridgeValidators;

    function addBridgeValidator(address _validator) external onlyOwner {
        (bool found,) = indexOfBridgeValidator(_validator);
        require(!found, 'Validator already added');
        bridgeValidators.push(_validator);
    }

    function removeBridgeValidator(address _validator) external onlyOwner {
        (bool found, uint index) = indexOfBridgeValidator(_validator);
        require(found, 'Validator not found');
        if (bridgeValidators.length > 1) {
            bridgeValidators[index] = bridgeValidators[bridgeValidators.length - 1];
        }
        bridgeValidators.pop();
    }

    function getListBridgeValidators() public view returns (address[] memory) {
        return bridgeValidators;
    }

    function indexOfBridgeValidator(address _validator) public view returns (bool found, uint index) {
        for (uint i = 0; i < bridgeValidators.length; i++) {
            if (bridgeValidators[i] == _validator) {
                return (true, i);
            }
        }
        return (false, 0);
    }

    function checkSignatures(bytes32 _messageHash, bytes[] memory _signatures) public view returns (bool) {
        require(bridgeValidators.length > 0, 'Validators not added');
        require(_signatures.length == bridgeValidators.length, 'The number of signatures does not match the number of validators');
        bool[] memory markedValidators = new bool[](bridgeValidators.length);
        for (uint i = 0; i < _signatures.length; i++) {
            address extractedAddress = _messageHash.toEthSignedMessageHash().recover(_signatures[i]);
            (bool found, uint index) = indexOfBridgeValidator(extractedAddress);
            if (found && !markedValidators[index]) {
                markedValidators[index] = true;
            } else {
                return false;
            }
        }
        return true;
    }
}

File 4 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

    /**
    * @dev Returns the address of the pending owner.
    */
    function pendingOwner() public view returns (address) {
        return _pendingOwner;
    }

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

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

    function transferOwnership(address newOwner) external onlyOwner {
        _pendingOwner = newOwner;
    }

    function claimOwnership() external onlyPendingOwner {
        _owner = _pendingOwner;
        _pendingOwner = address(0);
        emit OwnershipTransferred(_owner, _pendingOwner);
    }
}

File 5 of 9 : 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 6 of 9 : 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;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 9 : 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 8 of 9 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.0;

import "../../interfaces/IERC20.sol";
import "../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'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

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

bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) {// Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}

Settings
{
  "evmVersion": "istanbul",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"uint256","name":"_toChainId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_lockId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Locked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"uint256","name":"_fromChainId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_burnId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Unlocked","type":"event"},{"inputs":[{"internalType":"address","name":"_validator","type":"address"}],"name":"addBridgeValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_chainId","type":"uint256"}],"name":"addChainId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bridgeValidators","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"burnIdsUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chainIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_messageHash","type":"bytes32"},{"internalType":"bytes[]","name":"_signatures","type":"bytes[]"}],"name":"checkSignatures","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"erc20Time","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getListBridgeValidators","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getListChainIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_validator","type":"address"}],"name":"indexOfBridgeValidator","outputs":[{"internalType":"bool","name":"found","type":"bool"},{"internalType":"uint256","name":"index","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_chainId","type":"uint256"}],"name":"indexOfChainId","outputs":[{"internalType":"bool","name":"found","type":"bool"},{"internalType":"uint256","name":"index","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_erc20Time","type":"address"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastLockId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_toChainId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onTokenTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_validator","type":"address"}],"name":"removeBridgeValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_chainId","type":"uint256"}],"name":"removeChainId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromChainId","type":"uint256"},{"internalType":"uint256","name":"_burnId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes[]","name":"_signatures","type":"bytes[]"}],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50600062000024620000c860201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620000d0565b600033905090565b61350680620000e06000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80639a4526ed116100b8578063aebc31451161007c578063aebc314514610361578063c5eeb8af14610391578063d0cb39c6146103ad578063e30c3978146103cb578063e8cf9501146103e9578063f2fde38b1461040757610142565b80639a4526ed146102ac5780639a53b070146102dd578063a4c0ed36146102f9578063a6c3bb4e14610315578063ace09eab1461034557610142565b80634e71e0c81161010a5780634e71e0c8146101e957806357e60b3e146101f3578063582f1da2146102245780635a0f8830146102405780638da5cb5b1461027057806396fd59e81461028e57610142565b80631338736f14610147578063172b49e11461016357806319ab453c1461018157806321d930901461019d57806346afd14a146101cd575b600080fd5b610161600480360381019061015c9190612263565b610423565b005b61016b610676565b6040516101789190612e2a565b60405180910390f35b61019b60048036038101906101969190612104565b61069c565b005b6101b760048036038101906101b29190612211565b6107c7565b6040516101c49190613127565b60405180910390f35b6101e760048036038101906101e2919061229f565b6107eb565b005b6101f16109cf565b005b61020d60048036038101906102089190612104565b610b8d565b60405161021b929190612dbc565b60405180910390f35b61023e60048036038101906102399190612211565b610c66565b005b61025a600480360381019061025591906121bd565b610d5e565b6040516102679190612da1565b60405180910390f35b610278610fb5565b6040516102859190612cb9565b60405180910390f35b610296610fde565b6040516102a39190612d7f565b60405180910390f35b6102c660048036038101906102c19190612211565b611036565b6040516102d4929190612dbc565b60405180910390f35b6102f760048036038101906102f29190612104565b6110c3565b005b610313600480360381019061030e919061212d565b611308565b005b61032f600480360381019061032a9190612263565b6114b9565b60405161033c9190612da1565b60405180910390f35b61035f600480360381019061035a9190612104565b6114e8565b005b61037b60048036038101906103769190612211565b61161a565b6040516103889190612cb9565b60405180910390f35b6103ab60048036038101906103a69190612211565b611659565b005b6103b5611825565b6040516103c29190613127565b60405180910390f35b6103d361182b565b6040516103e09190612cb9565b60405180910390f35b6103f1611855565b6040516103fe9190612d5d565b60405180910390f35b610421600480360381019061041c9190612104565b6118e3565b005b60008111610466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045d90613067565b60405180910390fd5b600061047183611036565b509050806104b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ab90612fe7565b60405180910390fd5b81600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e6104fb6119a3565b306040518363ffffffff1660e01b8152600401610519929190612cd4565b60206040518083038186803b15801561053157600080fd5b505afa158015610545573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610569919061223a565b10156105aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a190612fc7565b60405180910390fd5b6106006105b56119a3565b3084600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166119ab909392919063ffffffff16565b6005600081548092919061061390613377565b9190505550600554836106246119a3565b73ffffffffffffffffffffffffffffffffffffffff167f44cebfefa4561bee5b61d675ccfd8dc9969fff9cc15e7a4eccccd62af94f9c11856040516106699190613127565b60405180910390a4505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106a46119a3565b73ffffffffffffffffffffffffffffffffffffffff166106c2610fb5565b73ffffffffffffffffffffffffffffffffffffffff1614610718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070f90612f67565b60405180910390fd5b600460149054906101000a900460ff1615610768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075f90613047565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600460146101000a81548160ff02191690831515021790555050565b600281815481106107d757600080fd5b906000526020600020016000915090505481565b60066000858152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff161561085d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085490612fa7565b60405180910390fd5b60006108676119a3565b8546868660405160200161087f959493929190612c1d565b6040516020818303038152906040528051906020012090506108a18183610d5e565b6108e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d790612f47565b60405180910390fd5b600160066000878152602001908152602001600020600086815260200190815260200160002060006101000a81548160ff0219169083151502179055506109716109286119a3565b84600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611a349092919063ffffffff16565b838561097b6119a3565b73ffffffffffffffffffffffffffffffffffffffff167f5245d528087a96a64f4589a764f00061e4671eab90cb1e019b1a5b24b2e4c2a8866040516109c09190613127565b60405180910390a45050505050565b6109d76119a3565b73ffffffffffffffffffffffffffffffffffffffff166109f561182b565b73ffffffffffffffffffffffffffffffffffffffff1614610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a42906130a7565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3565b60008060005b600380549050811015610c58578373ffffffffffffffffffffffffffffffffffffffff1660038281548110610bf1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610c45576001819250925050610c61565b8080610c5090613377565b915050610b93565b50600080915091505b915091565b610c6e6119a3565b73ffffffffffffffffffffffffffffffffffffffff16610c8c610fb5565b73ffffffffffffffffffffffffffffffffffffffff1614610ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd990612f67565b60405180910390fd5b6000610ced82611036565b5090508015610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2890612f87565b60405180910390fd5b60028290806001815401808255809150506001900390600052602060002001600090919091909150555050565b60008060038054905011610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e90613087565b60405180910390fd5b600380549050825114610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de690613007565b60405180910390fd5b600060038054905067ffffffffffffffff811115610e36577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e645781602001602082028036833780820191505090505b50905060005b8351811015610fa8576000610ed0858381518110610eb1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610ec288611aba565b611aea90919063ffffffff16565b9050600080610ede83610b8d565b91509150818015610f2d5750848181518110610f23577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151155b15610f84576001858281518110610f6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019015159081151581525050610f92565b600095505050505050610faf565b5050508080610fa090613377565b915050610e6a565b5060019150505b92915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280548060200260200160405190810160405280929190818152602001828054801561102c57602002820191906000526020600020905b815481526020019060010190808311611018575b5050505050905090565b60008060005b6002805490508110156110b5578360028281548110611084577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015414156110a25760018192509250506110be565b80806110ad90613377565b91505061103c565b50600080915091505b915091565b6110cb6119a3565b73ffffffffffffffffffffffffffffffffffffffff166110e9610fb5565b73ffffffffffffffffffffffffffffffffffffffff161461113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690612f67565b60405180910390fd5b60008061114b83610b8d565b915091508161118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690613107565b60405180910390fd5b6001600380549050111561129657600360016003805490506111b1919061327e565b815481106111e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166003828154811061124d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b60038054806112ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055505050565b6113106119a3565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461139f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139690612f07565b60405180910390fd5b600082116113e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d990613067565b60405180910390fd5b6000818060200190518101906113f8919061223a565b9050600061140582611036565b50905080611448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143f90612fe7565b60405180910390fd5b6005600081548092919061145b90613377565b9190505550600554828673ffffffffffffffffffffffffffffffffffffffff167f44cebfefa4561bee5b61d675ccfd8dc9969fff9cc15e7a4eccccd62af94f9c11876040516114aa9190613127565b60405180910390a45050505050565b60066020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6114f06119a3565b73ffffffffffffffffffffffffffffffffffffffff1661150e610fb5565b73ffffffffffffffffffffffffffffffffffffffff1614611564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155b90612f67565b60405180910390fd5b600061156f82610b8d565b50905080156115b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115aa906130e7565b60405180910390fd5b6003829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6003818154811061162a57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6116616119a3565b73ffffffffffffffffffffffffffffffffffffffff1661167f610fb5565b73ffffffffffffffffffffffffffffffffffffffff16146116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc90612f67565b60405180910390fd5b6000806116e183611036565b9150915081611725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171c90612ea7565b60405180910390fd5b600160028054905011156117d25760026001600280549050611747919061327e565b8154811061177e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154600282815481106117c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055505b600280548061180a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60019003818190600052602060002001600090559055505050565b60055481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054806020026020016040519081016040528092919081815260200182805480156118d957602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161188f575b5050505050905090565b6118eb6119a3565b73ffffffffffffffffffffffffffffffffffffffff16611909610fb5565b73ffffffffffffffffffffffffffffffffffffffff161461195f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195690612f67565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b611a2e846323b872dd60e01b8585856040516024016119cc93929190612cfd565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611bb4565b50505050565b611ab58363a9059cbb60e01b8484604051602401611a53929190612d34565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611bb4565b505050565b600081604051602001611acd9190612c93565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415611b17576020850151925060408501519150606085015160001a9050611b9d565b604085511415611b61576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050611b9c565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9390612e87565b60405180910390fd5b5b611ba986828585611c7b565b935050505092915050565b6000611c16826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611e069092919063ffffffff16565b9050600081511115611c765780806020019051810190611c369190612194565b611c75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6c906130c7565b60405180910390fd5b5b505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115611ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cda90612ec7565b60405180910390fd5b601b8460ff161480611cf85750601c8460ff16145b611d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2e90612f27565b60405180910390fd5b600060018686868660405160008152602001604052604051611d5c9493929190612de5565b6020604051602081039080840390855afa158015611d7e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df190612e67565b60405180910390fd5b80915050949350505050565b6060611e158484600085611e1e565b90509392505050565b606082471015611e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5a90612ee7565b60405180910390fd5b611e6c85611f32565b611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea290613027565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611ed49190612c7c565b60006040518083038185875af1925050503d8060008114611f11576040519150601f19603f3d011682016040523d82523d6000602084013e611f16565b606091505b5091509150611f26828286611f45565b92505050949350505050565b600080823b905060008111915050919050565b60608315611f5557829050611fa5565b600083511115611f685782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9c9190612e45565b60405180910390fd5b9392505050565b6000611fbf611fba84613173565b613142565b9050808382526020820190508260005b85811015611fff5781358501611fe588826120b0565b845260208401935060208301925050600181019050611fcf565b5050509392505050565b600061201c6120178461319f565b613142565b90508281526020810184848401111561203457600080fd5b61203f848285613335565b509392505050565b60008135905061205681613474565b92915050565b600082601f83011261206d57600080fd5b813561207d848260208601611fac565b91505092915050565b6000815190506120958161348b565b92915050565b6000813590506120aa816134a2565b92915050565b600082601f8301126120c157600080fd5b81356120d1848260208601612009565b91505092915050565b6000813590506120e9816134b9565b92915050565b6000815190506120fe816134b9565b92915050565b60006020828403121561211657600080fd5b600061212484828501612047565b91505092915050565b60008060006060848603121561214257600080fd5b600061215086828701612047565b9350506020612161868287016120da565b925050604084013567ffffffffffffffff81111561217e57600080fd5b61218a868287016120b0565b9150509250925092565b6000602082840312156121a657600080fd5b60006121b484828501612086565b91505092915050565b600080604083850312156121d057600080fd5b60006121de8582860161209b565b925050602083013567ffffffffffffffff8111156121fb57600080fd5b6122078582860161205c565b9150509250929050565b60006020828403121561222357600080fd5b6000612231848285016120da565b91505092915050565b60006020828403121561224c57600080fd5b600061225a848285016120ef565b91505092915050565b6000806040838503121561227657600080fd5b6000612284858286016120da565b9250506020612295858286016120da565b9150509250929050565b600080600080608085870312156122b557600080fd5b60006122c3878288016120da565b94505060206122d4878288016120da565b93505060406122e5878288016120da565b925050606085013567ffffffffffffffff81111561230257600080fd5b61230e8782880161205c565b91505092959194509250565b6000612326838361234a565b60208301905092915050565b600061233e8383612bd9565b60208301905092915050565b612353816132b2565b82525050565b612362816132b2565b82525050565b612379612374826132b2565b6133c0565b82525050565b600061238a826131ef565b6123948185613235565b935061239f836131cf565b8060005b838110156123d05781516123b7888261231a565b97506123c28361321b565b9250506001810190506123a3565b5085935050505092915050565b60006123e8826131fa565b6123f28185613246565b93506123fd836131df565b8060005b8381101561242e5781516124158882612332565b975061242083613228565b925050600181019050612401565b5085935050505092915050565b612444816132c4565b82525050565b612453816132d0565b82525050565b61246a612465826132d0565b6133d2565b82525050565b600061247b82613205565b6124858185613257565b9350612495818560208601613344565b80840191505092915050565b6124aa81613311565b82525050565b60006124bb82613210565b6124c58185613262565b93506124d5818560208601613344565b6124de81613456565b840191505092915050565b60006124f6601883613262565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000612536601f83613262565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b6000612576601c83613273565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006125b6601183613262565b91507f436861696e4964206e6f7420666f756e640000000000000000000000000000006000830152602082019050919050565b60006125f6602283613262565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061265c602683613262565b91507f416464726573733a20696e73756666696369656e742062616c616e636520666f60008301527f722063616c6c00000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006126c2602683613262565b91507f53656e646572206164647265737320646f6573206e6f74206d6174636820657860008301527f70656374656400000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612728602283613262565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061278e601683613262565b91507f496e636f7272656374207369676e6174757265287329000000000000000000006000830152602082019050919050565b60006127ce602083613262565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061280e601583613262565b91507f436861696e496420616c726561647920616464656400000000000000000000006000830152602082019050919050565b600061284e601483613262565b91507f4275726e20696420616c726561647920757365640000000000000000000000006000830152602082019050919050565b600061288e601483613262565b91507f4e6f7420656e6f75676820616c6c6f77616e63650000000000000000000000006000830152602082019050919050565b60006128ce601383613262565b91507f436861696e4964206e6f7420616c6c6f776564000000000000000000000000006000830152602082019050919050565b600061290e604083613262565b91507f546865206e756d626572206f66207369676e61747572657320646f6573206e6f60008301527f74206d6174636820746865206e756d626572206f662076616c696461746f72736020830152604082019050919050565b6000612974601d83613262565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b60006129b4600b83613262565b91507f496e697469616c697a65640000000000000000000000000000000000000000006000830152602082019050919050565b60006129f4602783613262565b91507f54686520616d6f756e74206f6620746865206c6f636b206d757374206e6f742060008301527f6265207a65726f000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612a5a601483613262565b91507f56616c696461746f7273206e6f742061646465640000000000000000000000006000830152602082019050919050565b6000612a9a602883613262565b91507f4f776e61626c653a2063616c6c6572206973206e6f74207468652070656e646960008301527f6e67206f776e65720000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612b00602a83613262565b91507f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b6000612b66601783613262565b91507f56616c696461746f7220616c72656164792061646465640000000000000000006000830152602082019050919050565b6000612ba6601383613262565b91507f56616c696461746f72206e6f7420666f756e64000000000000000000000000006000830152602082019050919050565b612be2816132fa565b82525050565b612bf1816132fa565b82525050565b612c08612c03826132fa565b6133ee565b82525050565b612c1781613304565b82525050565b6000612c298288612368565b601482019150612c398287612bf7565b602082019150612c498286612bf7565b602082019150612c598285612bf7565b602082019150612c698284612bf7565b6020820191508190509695505050505050565b6000612c888284612470565b915081905092915050565b6000612c9e82612569565b9150612caa8284612459565b60208201915081905092915050565b6000602082019050612cce6000830184612359565b92915050565b6000604082019050612ce96000830185612359565b612cf66020830184612359565b9392505050565b6000606082019050612d126000830186612359565b612d1f6020830185612359565b612d2c6040830184612be8565b949350505050565b6000604082019050612d496000830185612359565b612d566020830184612be8565b9392505050565b60006020820190508181036000830152612d77818461237f565b905092915050565b60006020820190508181036000830152612d9981846123dd565b905092915050565b6000602082019050612db6600083018461243b565b92915050565b6000604082019050612dd1600083018561243b565b612dde6020830184612be8565b9392505050565b6000608082019050612dfa600083018761244a565b612e076020830186612c0e565b612e14604083018561244a565b612e21606083018461244a565b95945050505050565b6000602082019050612e3f60008301846124a1565b92915050565b60006020820190508181036000830152612e5f81846124b0565b905092915050565b60006020820190508181036000830152612e80816124e9565b9050919050565b60006020820190508181036000830152612ea081612529565b9050919050565b60006020820190508181036000830152612ec0816125a9565b9050919050565b60006020820190508181036000830152612ee0816125e9565b9050919050565b60006020820190508181036000830152612f008161264f565b9050919050565b60006020820190508181036000830152612f20816126b5565b9050919050565b60006020820190508181036000830152612f408161271b565b9050919050565b60006020820190508181036000830152612f6081612781565b9050919050565b60006020820190508181036000830152612f80816127c1565b9050919050565b60006020820190508181036000830152612fa081612801565b9050919050565b60006020820190508181036000830152612fc081612841565b9050919050565b60006020820190508181036000830152612fe081612881565b9050919050565b60006020820190508181036000830152613000816128c1565b9050919050565b6000602082019050818103600083015261302081612901565b9050919050565b6000602082019050818103600083015261304081612967565b9050919050565b60006020820190508181036000830152613060816129a7565b9050919050565b60006020820190508181036000830152613080816129e7565b9050919050565b600060208201905081810360008301526130a081612a4d565b9050919050565b600060208201905081810360008301526130c081612a8d565b9050919050565b600060208201905081810360008301526130e081612af3565b9050919050565b6000602082019050818103600083015261310081612b59565b9050919050565b6000602082019050818103600083015261312081612b99565b9050919050565b600060208201905061313c6000830184612be8565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561316957613168613427565b5b8060405250919050565b600067ffffffffffffffff82111561318e5761318d613427565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156131ba576131b9613427565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613289826132fa565b9150613294836132fa565b9250828210156132a7576132a66133f8565b5b828203905092915050565b60006132bd826132da565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061331c82613323565b9050919050565b600061332e826132da565b9050919050565b82818337600083830152505050565b60005b83811015613362578082015181840152602081019050613347565b83811115613371576000848401525b50505050565b6000613382826132fa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133b5576133b46133f8565b5b600182019050919050565b60006133cb826133dc565b9050919050565b6000819050919050565b60006133e782613467565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b61347d816132b2565b811461348857600080fd5b50565b613494816132c4565b811461349f57600080fd5b50565b6134ab816132d0565b81146134b657600080fd5b50565b6134c2816132fa565b81146134cd57600080fd5b5056fea2646970667358221220e5e0eb10d3ab1b0cdcd97eb07973053479818401e6c735bb703ae929f6e12fcd64736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c80639a4526ed116100b8578063aebc31451161007c578063aebc314514610361578063c5eeb8af14610391578063d0cb39c6146103ad578063e30c3978146103cb578063e8cf9501146103e9578063f2fde38b1461040757610142565b80639a4526ed146102ac5780639a53b070146102dd578063a4c0ed36146102f9578063a6c3bb4e14610315578063ace09eab1461034557610142565b80634e71e0c81161010a5780634e71e0c8146101e957806357e60b3e146101f3578063582f1da2146102245780635a0f8830146102405780638da5cb5b1461027057806396fd59e81461028e57610142565b80631338736f14610147578063172b49e11461016357806319ab453c1461018157806321d930901461019d57806346afd14a146101cd575b600080fd5b610161600480360381019061015c9190612263565b610423565b005b61016b610676565b6040516101789190612e2a565b60405180910390f35b61019b60048036038101906101969190612104565b61069c565b005b6101b760048036038101906101b29190612211565b6107c7565b6040516101c49190613127565b60405180910390f35b6101e760048036038101906101e2919061229f565b6107eb565b005b6101f16109cf565b005b61020d60048036038101906102089190612104565b610b8d565b60405161021b929190612dbc565b60405180910390f35b61023e60048036038101906102399190612211565b610c66565b005b61025a600480360381019061025591906121bd565b610d5e565b6040516102679190612da1565b60405180910390f35b610278610fb5565b6040516102859190612cb9565b60405180910390f35b610296610fde565b6040516102a39190612d7f565b60405180910390f35b6102c660048036038101906102c19190612211565b611036565b6040516102d4929190612dbc565b60405180910390f35b6102f760048036038101906102f29190612104565b6110c3565b005b610313600480360381019061030e919061212d565b611308565b005b61032f600480360381019061032a9190612263565b6114b9565b60405161033c9190612da1565b60405180910390f35b61035f600480360381019061035a9190612104565b6114e8565b005b61037b60048036038101906103769190612211565b61161a565b6040516103889190612cb9565b60405180910390f35b6103ab60048036038101906103a69190612211565b611659565b005b6103b5611825565b6040516103c29190613127565b60405180910390f35b6103d361182b565b6040516103e09190612cb9565b60405180910390f35b6103f1611855565b6040516103fe9190612d5d565b60405180910390f35b610421600480360381019061041c9190612104565b6118e3565b005b60008111610466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045d90613067565b60405180910390fd5b600061047183611036565b509050806104b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ab90612fe7565b60405180910390fd5b81600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e6104fb6119a3565b306040518363ffffffff1660e01b8152600401610519929190612cd4565b60206040518083038186803b15801561053157600080fd5b505afa158015610545573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610569919061223a565b10156105aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a190612fc7565b60405180910390fd5b6106006105b56119a3565b3084600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166119ab909392919063ffffffff16565b6005600081548092919061061390613377565b9190505550600554836106246119a3565b73ffffffffffffffffffffffffffffffffffffffff167f44cebfefa4561bee5b61d675ccfd8dc9969fff9cc15e7a4eccccd62af94f9c11856040516106699190613127565b60405180910390a4505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106a46119a3565b73ffffffffffffffffffffffffffffffffffffffff166106c2610fb5565b73ffffffffffffffffffffffffffffffffffffffff1614610718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070f90612f67565b60405180910390fd5b600460149054906101000a900460ff1615610768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075f90613047565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600460146101000a81548160ff02191690831515021790555050565b600281815481106107d757600080fd5b906000526020600020016000915090505481565b60066000858152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff161561085d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085490612fa7565b60405180910390fd5b60006108676119a3565b8546868660405160200161087f959493929190612c1d565b6040516020818303038152906040528051906020012090506108a18183610d5e565b6108e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d790612f47565b60405180910390fd5b600160066000878152602001908152602001600020600086815260200190815260200160002060006101000a81548160ff0219169083151502179055506109716109286119a3565b84600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611a349092919063ffffffff16565b838561097b6119a3565b73ffffffffffffffffffffffffffffffffffffffff167f5245d528087a96a64f4589a764f00061e4671eab90cb1e019b1a5b24b2e4c2a8866040516109c09190613127565b60405180910390a45050505050565b6109d76119a3565b73ffffffffffffffffffffffffffffffffffffffff166109f561182b565b73ffffffffffffffffffffffffffffffffffffffff1614610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a42906130a7565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3565b60008060005b600380549050811015610c58578373ffffffffffffffffffffffffffffffffffffffff1660038281548110610bf1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610c45576001819250925050610c61565b8080610c5090613377565b915050610b93565b50600080915091505b915091565b610c6e6119a3565b73ffffffffffffffffffffffffffffffffffffffff16610c8c610fb5565b73ffffffffffffffffffffffffffffffffffffffff1614610ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd990612f67565b60405180910390fd5b6000610ced82611036565b5090508015610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2890612f87565b60405180910390fd5b60028290806001815401808255809150506001900390600052602060002001600090919091909150555050565b60008060038054905011610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e90613087565b60405180910390fd5b600380549050825114610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de690613007565b60405180910390fd5b600060038054905067ffffffffffffffff811115610e36577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e645781602001602082028036833780820191505090505b50905060005b8351811015610fa8576000610ed0858381518110610eb1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610ec288611aba565b611aea90919063ffffffff16565b9050600080610ede83610b8d565b91509150818015610f2d5750848181518110610f23577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151155b15610f84576001858281518110610f6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019015159081151581525050610f92565b600095505050505050610faf565b5050508080610fa090613377565b915050610e6a565b5060019150505b92915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280548060200260200160405190810160405280929190818152602001828054801561102c57602002820191906000526020600020905b815481526020019060010190808311611018575b5050505050905090565b60008060005b6002805490508110156110b5578360028281548110611084577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015414156110a25760018192509250506110be565b80806110ad90613377565b91505061103c565b50600080915091505b915091565b6110cb6119a3565b73ffffffffffffffffffffffffffffffffffffffff166110e9610fb5565b73ffffffffffffffffffffffffffffffffffffffff161461113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690612f67565b60405180910390fd5b60008061114b83610b8d565b915091508161118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690613107565b60405180910390fd5b6001600380549050111561129657600360016003805490506111b1919061327e565b815481106111e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166003828154811061124d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b60038054806112ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055505050565b6113106119a3565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461139f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139690612f07565b60405180910390fd5b600082116113e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d990613067565b60405180910390fd5b6000818060200190518101906113f8919061223a565b9050600061140582611036565b50905080611448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143f90612fe7565b60405180910390fd5b6005600081548092919061145b90613377565b9190505550600554828673ffffffffffffffffffffffffffffffffffffffff167f44cebfefa4561bee5b61d675ccfd8dc9969fff9cc15e7a4eccccd62af94f9c11876040516114aa9190613127565b60405180910390a45050505050565b60066020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6114f06119a3565b73ffffffffffffffffffffffffffffffffffffffff1661150e610fb5565b73ffffffffffffffffffffffffffffffffffffffff1614611564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155b90612f67565b60405180910390fd5b600061156f82610b8d565b50905080156115b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115aa906130e7565b60405180910390fd5b6003829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6003818154811061162a57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6116616119a3565b73ffffffffffffffffffffffffffffffffffffffff1661167f610fb5565b73ffffffffffffffffffffffffffffffffffffffff16146116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc90612f67565b60405180910390fd5b6000806116e183611036565b9150915081611725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171c90612ea7565b60405180910390fd5b600160028054905011156117d25760026001600280549050611747919061327e565b8154811061177e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154600282815481106117c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055505b600280548061180a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60019003818190600052602060002001600090559055505050565b60055481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054806020026020016040519081016040528092919081815260200182805480156118d957602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161188f575b5050505050905090565b6118eb6119a3565b73ffffffffffffffffffffffffffffffffffffffff16611909610fb5565b73ffffffffffffffffffffffffffffffffffffffff161461195f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195690612f67565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b611a2e846323b872dd60e01b8585856040516024016119cc93929190612cfd565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611bb4565b50505050565b611ab58363a9059cbb60e01b8484604051602401611a53929190612d34565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611bb4565b505050565b600081604051602001611acd9190612c93565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415611b17576020850151925060408501519150606085015160001a9050611b9d565b604085511415611b61576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050611b9c565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9390612e87565b60405180910390fd5b5b611ba986828585611c7b565b935050505092915050565b6000611c16826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611e069092919063ffffffff16565b9050600081511115611c765780806020019051810190611c369190612194565b611c75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6c906130c7565b60405180910390fd5b5b505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115611ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cda90612ec7565b60405180910390fd5b601b8460ff161480611cf85750601c8460ff16145b611d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2e90612f27565b60405180910390fd5b600060018686868660405160008152602001604052604051611d5c9493929190612de5565b6020604051602081039080840390855afa158015611d7e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df190612e67565b60405180910390fd5b80915050949350505050565b6060611e158484600085611e1e565b90509392505050565b606082471015611e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5a90612ee7565b60405180910390fd5b611e6c85611f32565b611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea290613027565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611ed49190612c7c565b60006040518083038185875af1925050503d8060008114611f11576040519150601f19603f3d011682016040523d82523d6000602084013e611f16565b606091505b5091509150611f26828286611f45565b92505050949350505050565b600080823b905060008111915050919050565b60608315611f5557829050611fa5565b600083511115611f685782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9c9190612e45565b60405180910390fd5b9392505050565b6000611fbf611fba84613173565b613142565b9050808382526020820190508260005b85811015611fff5781358501611fe588826120b0565b845260208401935060208301925050600181019050611fcf565b5050509392505050565b600061201c6120178461319f565b613142565b90508281526020810184848401111561203457600080fd5b61203f848285613335565b509392505050565b60008135905061205681613474565b92915050565b600082601f83011261206d57600080fd5b813561207d848260208601611fac565b91505092915050565b6000815190506120958161348b565b92915050565b6000813590506120aa816134a2565b92915050565b600082601f8301126120c157600080fd5b81356120d1848260208601612009565b91505092915050565b6000813590506120e9816134b9565b92915050565b6000815190506120fe816134b9565b92915050565b60006020828403121561211657600080fd5b600061212484828501612047565b91505092915050565b60008060006060848603121561214257600080fd5b600061215086828701612047565b9350506020612161868287016120da565b925050604084013567ffffffffffffffff81111561217e57600080fd5b61218a868287016120b0565b9150509250925092565b6000602082840312156121a657600080fd5b60006121b484828501612086565b91505092915050565b600080604083850312156121d057600080fd5b60006121de8582860161209b565b925050602083013567ffffffffffffffff8111156121fb57600080fd5b6122078582860161205c565b9150509250929050565b60006020828403121561222357600080fd5b6000612231848285016120da565b91505092915050565b60006020828403121561224c57600080fd5b600061225a848285016120ef565b91505092915050565b6000806040838503121561227657600080fd5b6000612284858286016120da565b9250506020612295858286016120da565b9150509250929050565b600080600080608085870312156122b557600080fd5b60006122c3878288016120da565b94505060206122d4878288016120da565b93505060406122e5878288016120da565b925050606085013567ffffffffffffffff81111561230257600080fd5b61230e8782880161205c565b91505092959194509250565b6000612326838361234a565b60208301905092915050565b600061233e8383612bd9565b60208301905092915050565b612353816132b2565b82525050565b612362816132b2565b82525050565b612379612374826132b2565b6133c0565b82525050565b600061238a826131ef565b6123948185613235565b935061239f836131cf565b8060005b838110156123d05781516123b7888261231a565b97506123c28361321b565b9250506001810190506123a3565b5085935050505092915050565b60006123e8826131fa565b6123f28185613246565b93506123fd836131df565b8060005b8381101561242e5781516124158882612332565b975061242083613228565b925050600181019050612401565b5085935050505092915050565b612444816132c4565b82525050565b612453816132d0565b82525050565b61246a612465826132d0565b6133d2565b82525050565b600061247b82613205565b6124858185613257565b9350612495818560208601613344565b80840191505092915050565b6124aa81613311565b82525050565b60006124bb82613210565b6124c58185613262565b93506124d5818560208601613344565b6124de81613456565b840191505092915050565b60006124f6601883613262565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000612536601f83613262565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b6000612576601c83613273565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006125b6601183613262565b91507f436861696e4964206e6f7420666f756e640000000000000000000000000000006000830152602082019050919050565b60006125f6602283613262565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061265c602683613262565b91507f416464726573733a20696e73756666696369656e742062616c616e636520666f60008301527f722063616c6c00000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006126c2602683613262565b91507f53656e646572206164647265737320646f6573206e6f74206d6174636820657860008301527f70656374656400000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612728602283613262565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061278e601683613262565b91507f496e636f7272656374207369676e6174757265287329000000000000000000006000830152602082019050919050565b60006127ce602083613262565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061280e601583613262565b91507f436861696e496420616c726561647920616464656400000000000000000000006000830152602082019050919050565b600061284e601483613262565b91507f4275726e20696420616c726561647920757365640000000000000000000000006000830152602082019050919050565b600061288e601483613262565b91507f4e6f7420656e6f75676820616c6c6f77616e63650000000000000000000000006000830152602082019050919050565b60006128ce601383613262565b91507f436861696e4964206e6f7420616c6c6f776564000000000000000000000000006000830152602082019050919050565b600061290e604083613262565b91507f546865206e756d626572206f66207369676e61747572657320646f6573206e6f60008301527f74206d6174636820746865206e756d626572206f662076616c696461746f72736020830152604082019050919050565b6000612974601d83613262565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b60006129b4600b83613262565b91507f496e697469616c697a65640000000000000000000000000000000000000000006000830152602082019050919050565b60006129f4602783613262565b91507f54686520616d6f756e74206f6620746865206c6f636b206d757374206e6f742060008301527f6265207a65726f000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612a5a601483613262565b91507f56616c696461746f7273206e6f742061646465640000000000000000000000006000830152602082019050919050565b6000612a9a602883613262565b91507f4f776e61626c653a2063616c6c6572206973206e6f74207468652070656e646960008301527f6e67206f776e65720000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612b00602a83613262565b91507f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b6000612b66601783613262565b91507f56616c696461746f7220616c72656164792061646465640000000000000000006000830152602082019050919050565b6000612ba6601383613262565b91507f56616c696461746f72206e6f7420666f756e64000000000000000000000000006000830152602082019050919050565b612be2816132fa565b82525050565b612bf1816132fa565b82525050565b612c08612c03826132fa565b6133ee565b82525050565b612c1781613304565b82525050565b6000612c298288612368565b601482019150612c398287612bf7565b602082019150612c498286612bf7565b602082019150612c598285612bf7565b602082019150612c698284612bf7565b6020820191508190509695505050505050565b6000612c888284612470565b915081905092915050565b6000612c9e82612569565b9150612caa8284612459565b60208201915081905092915050565b6000602082019050612cce6000830184612359565b92915050565b6000604082019050612ce96000830185612359565b612cf66020830184612359565b9392505050565b6000606082019050612d126000830186612359565b612d1f6020830185612359565b612d2c6040830184612be8565b949350505050565b6000604082019050612d496000830185612359565b612d566020830184612be8565b9392505050565b60006020820190508181036000830152612d77818461237f565b905092915050565b60006020820190508181036000830152612d9981846123dd565b905092915050565b6000602082019050612db6600083018461243b565b92915050565b6000604082019050612dd1600083018561243b565b612dde6020830184612be8565b9392505050565b6000608082019050612dfa600083018761244a565b612e076020830186612c0e565b612e14604083018561244a565b612e21606083018461244a565b95945050505050565b6000602082019050612e3f60008301846124a1565b92915050565b60006020820190508181036000830152612e5f81846124b0565b905092915050565b60006020820190508181036000830152612e80816124e9565b9050919050565b60006020820190508181036000830152612ea081612529565b9050919050565b60006020820190508181036000830152612ec0816125a9565b9050919050565b60006020820190508181036000830152612ee0816125e9565b9050919050565b60006020820190508181036000830152612f008161264f565b9050919050565b60006020820190508181036000830152612f20816126b5565b9050919050565b60006020820190508181036000830152612f408161271b565b9050919050565b60006020820190508181036000830152612f6081612781565b9050919050565b60006020820190508181036000830152612f80816127c1565b9050919050565b60006020820190508181036000830152612fa081612801565b9050919050565b60006020820190508181036000830152612fc081612841565b9050919050565b60006020820190508181036000830152612fe081612881565b9050919050565b60006020820190508181036000830152613000816128c1565b9050919050565b6000602082019050818103600083015261302081612901565b9050919050565b6000602082019050818103600083015261304081612967565b9050919050565b60006020820190508181036000830152613060816129a7565b9050919050565b60006020820190508181036000830152613080816129e7565b9050919050565b600060208201905081810360008301526130a081612a4d565b9050919050565b600060208201905081810360008301526130c081612a8d565b9050919050565b600060208201905081810360008301526130e081612af3565b9050919050565b6000602082019050818103600083015261310081612b59565b9050919050565b6000602082019050818103600083015261312081612b99565b9050919050565b600060208201905061313c6000830184612be8565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561316957613168613427565b5b8060405250919050565b600067ffffffffffffffff82111561318e5761318d613427565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156131ba576131b9613427565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613289826132fa565b9150613294836132fa565b9250828210156132a7576132a66133f8565b5b828203905092915050565b60006132bd826132da565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061331c82613323565b9050919050565b600061332e826132da565b9050919050565b82818337600083830152505050565b60005b83811015613362578082015181840152602081019050613347565b83811115613371576000848401525b50505050565b6000613382826132fa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133b5576133b46133f8565b5b600182019050919050565b60006133cb826133dc565b9050919050565b6000819050919050565b60006133e782613467565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b61347d816132b2565b811461348857600080fd5b50565b613494816132c4565b811461349f57600080fd5b50565b6134ab816132d0565b81146134b657600080fd5b50565b6134c2816132fa565b81146134cd57600080fd5b5056fea2646970667358221220e5e0eb10d3ab1b0cdcd97eb07973053479818401e6c735bb703ae929f6e12fcd64736f6c63430008000033

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  ]

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.