ETH Price: $3,338.54 (-2.06%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw199831862024-05-30 14:14:11216 days ago1717078451IN
0x21BEc978...d0c1C1624
0 ETH0.0004835815.88963941
Lock195577552024-04-01 1:33:47275 days ago1711935227IN
0x21BEc978...d0c1C1624
0.01 ETH0.0036819516.93871265
Lock195577182024-04-01 1:26:23275 days ago1711934783IN
0x21BEc978...d0c1C1624
0.01 ETH0.0040514518.63860496
Lock195105502024-03-25 9:16:23282 days ago1711358183IN
0x21BEc978...d0c1C1624
0.01 ETH0.0072291434.00844126
Lock195103622024-03-25 8:37:59282 days ago1711355879IN
0x21BEc978...d0c1C1624
0.01 ETH0.0039100418.39422259
Lock195103342024-03-25 8:32:11282 days ago1711355531IN
0x21BEc978...d0c1C1624
0.01 ETH0.0035234716.20966857
Lock195103282024-03-25 8:30:59282 days ago1711355459IN
0x21BEc978...d0c1C1624
0.01 ETH0.0032194114.81083532
Lock195103192024-03-25 8:29:11282 days ago1711355351IN
0x21BEc978...d0c1C1624
0.01 ETH0.0033209315.62287149
Lock195102452024-03-25 8:14:23282 days ago1711354463IN
0x21BEc978...d0c1C1624
0.01 ETH0.0038425118.07655539
Lock195101652024-03-25 7:58:23282 days ago1711353503IN
0x21BEc978...d0c1C1624
0.01 ETH0.0034621116.28699682
Lock195101162024-03-25 7:48:11282 days ago1711352891IN
0x21BEc978...d0c1C1624
0.01 ETH0.0038422617.67623682
Lock195101082024-03-25 7:46:35282 days ago1711352795IN
0x21BEc978...d0c1C1624
0.01 ETH0.0039530218.18575904
Lock195100982024-03-25 7:44:35282 days ago1711352675IN
0x21BEc978...d0c1C1624
0.01 ETH0.0044022320.25233901
Lock195098242024-03-25 6:48:35282 days ago1711349315IN
0x21BEc978...d0c1C1624
0.01 ETH0.0035488716.69514858
Lock195098182024-03-25 6:47:23282 days ago1711349243IN
0x21BEc978...d0c1C1624
0.01 ETH0.0036183516.64613037
Lock195097102024-03-25 6:25:47282 days ago1711347947IN
0x21BEc978...d0c1C1624
0.01 ETH0.0036599916.83768632
Lock195096972024-03-25 6:23:11282 days ago1711347791IN
0x21BEc978...d0c1C1624
0.01 ETH0.0038268217.60518
Lock195096912024-03-25 6:21:59282 days ago1711347719IN
0x21BEc978...d0c1C1624
0.01 ETH0.0035506916.70464866
Lock195096392024-03-25 6:11:23282 days ago1711347083IN
0x21BEc978...d0c1C1624
0.01 ETH0.0055140225.93994532
Lock195095762024-03-25 5:58:35282 days ago1711346315IN
0x21BEc978...d0c1C1624
0.01 ETH0.0038216617.58148029
Lock195091262024-03-25 4:26:47282 days ago1711340807IN
0x21BEc978...d0c1C1624
0.01 ETH0.0031283814.7170126
Lock194670322024-03-19 6:32:35288 days ago1710829955IN
0x21BEc978...d0c1C1624
0.01 ETH0.0045684321.4915372
Lock194670102024-03-19 6:28:11288 days ago1710829691IN
0x21BEc978...d0c1C1624
0.01 ETH0.0045236121.28067345
Lock194668402024-03-19 5:53:35288 days ago1710827615IN
0x21BEc978...d0c1C1624
0.01 ETH0.0054199924.93453354
Lock194626562024-03-18 15:46:35288 days ago1710776795IN
0x21BEc978...d0c1C1624
0.01 ETH0.0090748241.74845727
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
199831862024-05-30 14:14:11216 days ago1717078451
0x21BEc978...d0c1C1624
1.87 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ChinaChicBridge

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : ChinaChicBridge.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol';

// File: contracts/ChinaChicBridge.sol

/*
 ██████╗██╗  ██╗██╗███╗   ██╗ █████╗      ██████╗██╗  ██╗██╗ ██████╗
██╔════╝██║  ██║██║████╗  ██║██╔══██╗    ██╔════╝██║  ██║██║██╔════╝
██║     ███████║██║██╔██╗ ██║███████║    ██║     ███████║██║██║     
██║     ██╔══██║██║██║╚██╗██║██╔══██║    ██║     ██╔══██║██║██║     
╚██████╗██║  ██║██║██║ ╚████║██║  ██║    ╚██████╗██║  ██║██║╚██████╗
 ╚═════╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝     ╚═════╝╚═╝  ╚═╝╚═╝ ╚═════╝
*/

/**
 * @title ChinaChicBridge contract
 * @dev ChinaChic bridge contract to other chains
 */
contract ChinaChicBridge is Ownable, Pausable, ReentrancyGuard, ERC721Holder {
  IERC721 public nftCollection;
  uint256 public totalLocked;
  bool public isBridgeOn;
  address public operator;
  uint256 public fee = 0.01 ether;

  mapping(uint256 => Bridger) public vault;

  struct Bridger {
    address owner;
    string targetAddress;
    string chain;
    bool isLocked;
  }

  // Events
  // ------------------------------------------------------------------------
  event ItemsLocked(
    uint256 tokenId,
    address owner,
    string targetAddress,
    string chain
  );
  event ItemUnLocked(uint256 tokenId, address owner, string chain);

  constructor(IERC721 _nftCollection, address _operator) {
    nftCollection = _nftCollection;
    operator = _operator;
  }

  // Modifiers
  // ------------------------------------------------------------------------
  modifier onlyBridgeOn() {
    require(isBridgeOn, 'Bridge function is not turn on');
    _;
  }

  modifier onlyOperator() {
    require(msg.sender == operator, 'User is not operator');
    _;
  }

  // Lock functions
  // ------------------------------------------------------------------------
  function lock(
    uint256 _tokenId,
    string memory _targetAddress,
    string memory _chain
  ) external payable onlyBridgeOn whenNotPaused {
    require(vault[_tokenId].owner == address(0), 'Token already locked');
    require(
      nftCollection.ownerOf(_tokenId) == msg.sender,
      'User must be the owner of the token'
    );
    require(fee == msg.value, 'Fee value is not correct');

    nftCollection.safeTransferFrom(msg.sender, address(this), _tokenId);
    vault[_tokenId] = Bridger(msg.sender, _targetAddress, _chain, true);

    totalLocked++;
    emit ItemsLocked(_tokenId, msg.sender, _targetAddress, _chain);
  }

  function unlock(
    uint256 _tokenId,
    address _address
  ) external onlyBridgeOn onlyOperator {
    require(
      vault[_tokenId].owner != address(0) && vault[_tokenId].isLocked,
      'Token is not locked'
    );

    nftCollection.safeTransferFrom(address(this), _address, _tokenId);
    delete vault[_tokenId];

    totalLocked--;
    emit ItemUnLocked(_tokenId, _address, vault[_tokenId].chain);
  }

  function isLocked(uint256 _tokenId) external view returns (bool) {
    if (vault[_tokenId].owner == address(0)) {
      return true;
    } else {
      return false;
    }
  }

  // Sale switch functions
  // ------------------------------------------------------------------------
  function flipBridge() public onlyOwner {
    isBridgeOn = !isBridgeOn;
  }

  // Operator functions
  function emergencyRelease(
    uint256 _tokenId,
    address _address
  ) external onlyOwner {
    if (vault[_tokenId].owner != address(0)) {
      delete vault[_tokenId];
      totalLocked--;
    }

    nftCollection.safeTransferFrom(address(this), _address, _tokenId);
  }

  function pause() external onlyOperator {
    _pause();
  }

  function unpause() external onlyOperator {
    _unpause();
  }

  function withdraw() public onlyOwner {
    uint256 balance = address(this).balance;
    payable(msg.sender).transfer(balance);
  }
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 13 : ERC20Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Pausable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC20 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC20Pausable is ERC20, Pausable {
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(!paused(), "ERC20Pausable: token transfer while paused");
    }
}

File 4 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 6 of 13 : ERC721Holder.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/utils/ERC721Holder.sol)

pragma solidity ^0.8.0;

import "../IERC721Receiver.sol";

/**
 * @dev Implementation of the {IERC721Receiver} interface.
 *
 * Accepts all token transfers.
 * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
 */
contract ERC721Holder is IERC721Receiver {
    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address,
        address,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

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

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 8 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 9 of 13 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 10 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 12 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 13 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC721","name":"_nftCollection","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"string","name":"chain","type":"string"}],"name":"ItemUnLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"string","name":"targetAddress","type":"string"},{"indexed":false,"internalType":"string","name":"chain","type":"string"}],"name":"ItemsLocked","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"emergencyRelease","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isBridgeOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_targetAddress","type":"string"},{"internalType":"string","name":"_chain","type":"string"}],"name":"lock","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"nftCollection","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalLocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"vault","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"targetAddress","type":"string"},{"internalType":"string","name":"chain","type":"string"},{"internalType":"bool","name":"isLocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052662386f26fc100006005553480156200001c57600080fd5b50604051620027f3380380620027f3833981810160405281019062000042919062000207565b62000062620000566200010d60201b60201c565b6200011560201b60201c565b60008060146101000a81548160ff0219169083151502179055506001808190555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620002cf565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620001ea816200029b565b92915050565b6000815190506200020181620002b5565b92915050565b6000806040838503121562000221576200022062000296565b5b60006200023185828601620001f0565b92505060206200024485828601620001d9565b9150509250929050565b60006200025b8262000276565b9050919050565b60006200026f826200024e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b620002a6816200024e565b8114620002b257600080fd5b50565b620002c08162000262565b8114620002cc57600080fd5b50565b61251480620002df6000396000f3fe6080604052600436106101145760003560e01c806381a36fb6116100a0578063ddca3f4311610064578063ddca3f4314610339578063f1d2ec1d14610364578063f2fde38b1461038d578063f6aacfb1146103b6578063f84b0a17146103f357610114565b806381a36fb61461026357806383c334f7146102a35780638456cb59146102ce5780638da5cb5b146102e5578063958e94171461031057610114565b806356891412116100e757806356891412146101a0578063570ca735146101cb5780635c975abb146101f65780636588103b14610221578063715018a61461024c57610114565b8063150b7a02146101195780633a6aa80e146101565780633ccfd60b146101725780633f4ba83a14610189575b600080fd5b34801561012557600080fd5b50610140600480360381019061013b91906118df565b61040a565b60405161014d9190611d7c565b60405180910390f35b610170600480360381019061016b91906119cf565b61041e565b005b34801561017e57600080fd5b50610187610892565b005b34801561019557600080fd5b5061019e61095d565b005b3480156101ac57600080fd5b506101b56109f7565b6040516101c29190611ef2565b60405180910390f35b3480156101d757600080fd5b506101e06109fd565b6040516101ed9190611cbc565b60405180910390f35b34801561020257600080fd5b5061020b610a23565b6040516102189190611d61565b60405180910390f35b34801561022d57600080fd5b50610236610a39565b6040516102439190611d97565b60405180910390f35b34801561025857600080fd5b50610261610a5f565b005b34801561026f57600080fd5b5061028a60048036038101906102859190611962565b610ae7565b60405161029a9493929190611d0e565b60405180910390f35b3480156102af57600080fd5b506102b8610c54565b6040516102c59190611d61565b60405180910390f35b3480156102da57600080fd5b506102e3610c67565b005b3480156102f157600080fd5b506102fa610d01565b6040516103079190611cbc565b60405180910390f35b34801561031c57600080fd5b506103376004803603810190610332919061198f565b610d2a565b005b34801561034557600080fd5b5061034e610f2f565b60405161035b9190611ef2565b60405180910390f35b34801561037057600080fd5b5061038b6004803603810190610386919061198f565b610f35565b005b34801561039957600080fd5b506103b460048036038101906103af9190611885565b611254565b005b3480156103c257600080fd5b506103dd60048036038101906103d89190611962565b61134c565b6040516103ea9190611d61565b60405180910390f35b3480156103ff57600080fd5b506104086113cb565b005b600063150b7a0260e01b9050949350505050565b600460009054906101000a900460ff1661046d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046490611e12565b60405180910390fd5b610475610a23565b156104b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ac90611e52565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166006600085815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461055a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055190611ed2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004016105cc9190611ef2565b60206040518083038186803b1580156105e457600080fd5b505afa1580156105f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061c91906118b2565b73ffffffffffffffffffffffffffffffffffffffff1614610672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066990611e72565b60405180910390fd5b34600554146106b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad90611db2565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3330866040518463ffffffff1660e01b815260040161071593929190611cd7565b600060405180830381600087803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b5050505060405180608001604052803373ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001600115158152506006600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010190805190602001906107f7929190611683565b506040820151816002019080519060200190610814929190611683565b5060608201518160030160006101000a81548160ff0219169083151502179055509050506003600081548092919061084b906121cf565b91905055507faae7b8baca680db36b7b5c3adc0581e12ba69ab93ba9a80c179d1b89bb7160af833384846040516108859493929190611f0d565b60405180910390a1505050565b61089a611473565b73ffffffffffffffffffffffffffffffffffffffff166108b8610d01565b73ffffffffffffffffffffffffffffffffffffffff161461090e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090590611eb2565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610959573d6000803e3d6000fd5b5050565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e490611e32565b60405180910390fd5b6109f561147b565b565b60035481565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060149054906101000a900460ff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a67611473565b73ffffffffffffffffffffffffffffffffffffffff16610a85610d01565b73ffffffffffffffffffffffffffffffffffffffff1614610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad290611eb2565b60405180910390fd5b610ae5600061151c565b565b60066020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001018054610b309061216c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5c9061216c565b8015610ba95780601f10610b7e57610100808354040283529160200191610ba9565b820191906000526020600020905b815481529060010190602001808311610b8c57829003601f168201915b505050505090806002018054610bbe9061216c565b80601f0160208091040260200160405190810160405280929190818152602001828054610bea9061216c565b8015610c375780601f10610c0c57610100808354040283529160200191610c37565b820191906000526020600020905b815481529060010190602001808311610c1a57829003601f168201915b5050505050908060030160009054906101000a900460ff16905084565b600460009054906101000a900460ff1681565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cee90611e32565b60405180910390fd5b610cff6115e0565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d32611473565b73ffffffffffffffffffffffffffffffffffffffff16610d50610d01565b73ffffffffffffffffffffffffffffffffffffffff1614610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d90611eb2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166006600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e9a5760066000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000610e5b9190611709565b600282016000610e6b9190611709565b6003820160006101000a81549060ff0219169055505060036000815480929190610e9490612142565b91905055505b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3083856040518463ffffffff1660e01b8152600401610ef993929190611cd7565b600060405180830381600087803b158015610f1357600080fd5b505af1158015610f27573d6000803e3d6000fd5b505050505050565b60055481565b600460009054906101000a900460ff16610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b90611e12565b60405180910390fd5b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b90611e32565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166006600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580156110a757506006600083815260200190815260200160002060030160009054906101000a900460ff165b6110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd90611e92565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3083856040518463ffffffff1660e01b815260040161114593929190611cd7565b600060405180830381600087803b15801561115f57600080fd5b505af1158015611173573d6000803e3d6000fd5b5050505060066000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006111c29190611709565b6002820160006111d29190611709565b6003820160006101000a81549060ff02191690555050600360008154809291906111fb90612142565b91905055507fced2d7dbd90c6d6ef05faeec9ff65b91f4859792ad704f2aa7a034eca8a40d3b82826006600086815260200190815260200160002060020160405161124893929190611f60565b60405180910390a15050565b61125c611473565b73ffffffffffffffffffffffffffffffffffffffff1661127a610d01565b73ffffffffffffffffffffffffffffffffffffffff16146112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c790611eb2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133790611df2565b60405180910390fd5b6113498161151c565b50565b60008073ffffffffffffffffffffffffffffffffffffffff166006600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156113c157600190506113c6565b600090505b919050565b6113d3611473565b73ffffffffffffffffffffffffffffffffffffffff166113f1610d01565b73ffffffffffffffffffffffffffffffffffffffff1614611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143e90611eb2565b60405180910390fd5b600460009054906101000a900460ff1615600460006101000a81548160ff021916908315150217905550565b600033905090565b611483610a23565b6114c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b990611dd2565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611505611473565b6040516115129190611cbc565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6115e8610a23565b15611628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161f90611e52565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861166c611473565b6040516116799190611cbc565b60405180910390a1565b82805461168f9061216c565b90600052602060002090601f0160209004810192826116b157600085556116f8565b82601f106116ca57805160ff19168380011785556116f8565b828001600101855582156116f8579182015b828111156116f75782518255916020019190600101906116dc565b5b5090506117059190611749565b5090565b5080546117159061216c565b6000825580601f106117275750611746565b601f0160209004906000526020600020908101906117459190611749565b5b50565b5b8082111561176257600081600090555060010161174a565b5090565b600061177961177484611fc3565b611f9e565b905082815260208101848484011115611795576117946122aa565b5b6117a0848285612100565b509392505050565b60006117bb6117b684611ff4565b611f9e565b9050828152602081018484840111156117d7576117d66122aa565b5b6117e2848285612100565b509392505050565b6000813590506117f9816124b0565b92915050565b60008151905061180e816124b0565b92915050565b600082601f830112611829576118286122a5565b5b8135611839848260208601611766565b91505092915050565b600082601f830112611857576118566122a5565b5b81356118678482602086016117a8565b91505092915050565b60008135905061187f816124c7565b92915050565b60006020828403121561189b5761189a6122b4565b5b60006118a9848285016117ea565b91505092915050565b6000602082840312156118c8576118c76122b4565b5b60006118d6848285016117ff565b91505092915050565b600080600080608085870312156118f9576118f86122b4565b5b6000611907878288016117ea565b9450506020611918878288016117ea565b935050604061192987828801611870565b925050606085013567ffffffffffffffff81111561194a576119496122af565b5b61195687828801611814565b91505092959194509250565b600060208284031215611978576119776122b4565b5b600061198684828501611870565b91505092915050565b600080604083850312156119a6576119a56122b4565b5b60006119b485828601611870565b92505060206119c5858286016117ea565b9150509250929050565b6000806000606084860312156119e8576119e76122b4565b5b60006119f686828701611870565b935050602084013567ffffffffffffffff811115611a1757611a166122af565b5b611a2386828701611842565b925050604084013567ffffffffffffffff811115611a4457611a436122af565b5b611a5086828701611842565b9150509250925092565b611a6381612056565b82525050565b611a7281612068565b82525050565b611a8181612074565b82525050565b611a90816120ca565b82525050565b6000611aa18261203a565b611aab8185612045565b9350611abb81856020860161210f565b611ac4816122b9565b840191505092915050565b60008154611adc8161216c565b611ae68186612045565b94506001821660008114611b015760018114611b1357611b46565b60ff1983168652602086019350611b46565b611b1c85612025565b60005b83811015611b3e57815481890152600182019150602081019050611b1f565b808801955050505b50505092915050565b6000611b5c601883612045565b9150611b67826122ca565b602082019050919050565b6000611b7f601483612045565b9150611b8a826122f3565b602082019050919050565b6000611ba2602683612045565b9150611bad8261231c565b604082019050919050565b6000611bc5601e83612045565b9150611bd08261236b565b602082019050919050565b6000611be8601483612045565b9150611bf382612394565b602082019050919050565b6000611c0b601083612045565b9150611c16826123bd565b602082019050919050565b6000611c2e602383612045565b9150611c39826123e6565b604082019050919050565b6000611c51601383612045565b9150611c5c82612435565b602082019050919050565b6000611c74602083612045565b9150611c7f8261245e565b602082019050919050565b6000611c97601483612045565b9150611ca282612487565b602082019050919050565b611cb6816120c0565b82525050565b6000602082019050611cd16000830184611a5a565b92915050565b6000606082019050611cec6000830186611a5a565b611cf96020830185611a5a565b611d066040830184611cad565b949350505050565b6000608082019050611d236000830187611a5a565b8181036020830152611d358186611a96565b90508181036040830152611d498185611a96565b9050611d586060830184611a69565b95945050505050565b6000602082019050611d766000830184611a69565b92915050565b6000602082019050611d916000830184611a78565b92915050565b6000602082019050611dac6000830184611a87565b92915050565b60006020820190508181036000830152611dcb81611b4f565b9050919050565b60006020820190508181036000830152611deb81611b72565b9050919050565b60006020820190508181036000830152611e0b81611b95565b9050919050565b60006020820190508181036000830152611e2b81611bb8565b9050919050565b60006020820190508181036000830152611e4b81611bdb565b9050919050565b60006020820190508181036000830152611e6b81611bfe565b9050919050565b60006020820190508181036000830152611e8b81611c21565b9050919050565b60006020820190508181036000830152611eab81611c44565b9050919050565b60006020820190508181036000830152611ecb81611c67565b9050919050565b60006020820190508181036000830152611eeb81611c8a565b9050919050565b6000602082019050611f076000830184611cad565b92915050565b6000608082019050611f226000830187611cad565b611f2f6020830186611a5a565b8181036040830152611f418185611a96565b90508181036060830152611f558184611a96565b905095945050505050565b6000606082019050611f756000830186611cad565b611f826020830185611a5a565b8181036040830152611f948184611acf565b9050949350505050565b6000611fa8611fb9565b9050611fb4828261219e565b919050565b6000604051905090565b600067ffffffffffffffff821115611fde57611fdd612276565b5b611fe7826122b9565b9050602081019050919050565b600067ffffffffffffffff82111561200f5761200e612276565b5b612018826122b9565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600082825260208201905092915050565b6000612061826120a0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006120d5826120dc565b9050919050565b60006120e7826120ee565b9050919050565b60006120f9826120a0565b9050919050565b82818337600083830152505050565b60005b8381101561212d578082015181840152602081019050612112565b8381111561213c576000848401525b50505050565b600061214d826120c0565b9150600082141561216157612160612218565b5b600182039050919050565b6000600282049050600182168061218457607f821691505b6020821081141561219857612197612247565b5b50919050565b6121a7826122b9565b810181811067ffffffffffffffff821117156121c6576121c5612276565b5b80604052505050565b60006121da826120c0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561220d5761220c612218565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4665652076616c7565206973206e6f7420636f72726563740000000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4272696467652066756e6374696f6e206973206e6f74207475726e206f6e0000600082015250565b7f55736572206973206e6f74206f70657261746f72000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f55736572206d75737420626520746865206f776e6572206f662074686520746f60008201527f6b656e0000000000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206973206e6f74206c6f636b656400000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e20616c7265616479206c6f636b6564000000000000000000000000600082015250565b6124b981612056565b81146124c457600080fd5b50565b6124d0816120c0565b81146124db57600080fd5b5056fea26469706673582212206bb7cc6ffd2b84be7a76e07c25fcffe002031be8c77f6645115f2156a3a5335764736f6c634300080700330000000000000000000000007bc5d353663c4c94fd022d3df0642b56c174b45c000000000000000000000000c507c267b61ffc06ec4c8823623d587d84deed62

Deployed Bytecode

0x6080604052600436106101145760003560e01c806381a36fb6116100a0578063ddca3f4311610064578063ddca3f4314610339578063f1d2ec1d14610364578063f2fde38b1461038d578063f6aacfb1146103b6578063f84b0a17146103f357610114565b806381a36fb61461026357806383c334f7146102a35780638456cb59146102ce5780638da5cb5b146102e5578063958e94171461031057610114565b806356891412116100e757806356891412146101a0578063570ca735146101cb5780635c975abb146101f65780636588103b14610221578063715018a61461024c57610114565b8063150b7a02146101195780633a6aa80e146101565780633ccfd60b146101725780633f4ba83a14610189575b600080fd5b34801561012557600080fd5b50610140600480360381019061013b91906118df565b61040a565b60405161014d9190611d7c565b60405180910390f35b610170600480360381019061016b91906119cf565b61041e565b005b34801561017e57600080fd5b50610187610892565b005b34801561019557600080fd5b5061019e61095d565b005b3480156101ac57600080fd5b506101b56109f7565b6040516101c29190611ef2565b60405180910390f35b3480156101d757600080fd5b506101e06109fd565b6040516101ed9190611cbc565b60405180910390f35b34801561020257600080fd5b5061020b610a23565b6040516102189190611d61565b60405180910390f35b34801561022d57600080fd5b50610236610a39565b6040516102439190611d97565b60405180910390f35b34801561025857600080fd5b50610261610a5f565b005b34801561026f57600080fd5b5061028a60048036038101906102859190611962565b610ae7565b60405161029a9493929190611d0e565b60405180910390f35b3480156102af57600080fd5b506102b8610c54565b6040516102c59190611d61565b60405180910390f35b3480156102da57600080fd5b506102e3610c67565b005b3480156102f157600080fd5b506102fa610d01565b6040516103079190611cbc565b60405180910390f35b34801561031c57600080fd5b506103376004803603810190610332919061198f565b610d2a565b005b34801561034557600080fd5b5061034e610f2f565b60405161035b9190611ef2565b60405180910390f35b34801561037057600080fd5b5061038b6004803603810190610386919061198f565b610f35565b005b34801561039957600080fd5b506103b460048036038101906103af9190611885565b611254565b005b3480156103c257600080fd5b506103dd60048036038101906103d89190611962565b61134c565b6040516103ea9190611d61565b60405180910390f35b3480156103ff57600080fd5b506104086113cb565b005b600063150b7a0260e01b9050949350505050565b600460009054906101000a900460ff1661046d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046490611e12565b60405180910390fd5b610475610a23565b156104b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ac90611e52565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166006600085815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461055a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055190611ed2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004016105cc9190611ef2565b60206040518083038186803b1580156105e457600080fd5b505afa1580156105f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061c91906118b2565b73ffffffffffffffffffffffffffffffffffffffff1614610672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066990611e72565b60405180910390fd5b34600554146106b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad90611db2565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3330866040518463ffffffff1660e01b815260040161071593929190611cd7565b600060405180830381600087803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b5050505060405180608001604052803373ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001600115158152506006600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010190805190602001906107f7929190611683565b506040820151816002019080519060200190610814929190611683565b5060608201518160030160006101000a81548160ff0219169083151502179055509050506003600081548092919061084b906121cf565b91905055507faae7b8baca680db36b7b5c3adc0581e12ba69ab93ba9a80c179d1b89bb7160af833384846040516108859493929190611f0d565b60405180910390a1505050565b61089a611473565b73ffffffffffffffffffffffffffffffffffffffff166108b8610d01565b73ffffffffffffffffffffffffffffffffffffffff161461090e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090590611eb2565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610959573d6000803e3d6000fd5b5050565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e490611e32565b60405180910390fd5b6109f561147b565b565b60035481565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060149054906101000a900460ff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a67611473565b73ffffffffffffffffffffffffffffffffffffffff16610a85610d01565b73ffffffffffffffffffffffffffffffffffffffff1614610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad290611eb2565b60405180910390fd5b610ae5600061151c565b565b60066020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001018054610b309061216c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5c9061216c565b8015610ba95780601f10610b7e57610100808354040283529160200191610ba9565b820191906000526020600020905b815481529060010190602001808311610b8c57829003601f168201915b505050505090806002018054610bbe9061216c565b80601f0160208091040260200160405190810160405280929190818152602001828054610bea9061216c565b8015610c375780601f10610c0c57610100808354040283529160200191610c37565b820191906000526020600020905b815481529060010190602001808311610c1a57829003601f168201915b5050505050908060030160009054906101000a900460ff16905084565b600460009054906101000a900460ff1681565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cee90611e32565b60405180910390fd5b610cff6115e0565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d32611473565b73ffffffffffffffffffffffffffffffffffffffff16610d50610d01565b73ffffffffffffffffffffffffffffffffffffffff1614610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d90611eb2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166006600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e9a5760066000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000610e5b9190611709565b600282016000610e6b9190611709565b6003820160006101000a81549060ff0219169055505060036000815480929190610e9490612142565b91905055505b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3083856040518463ffffffff1660e01b8152600401610ef993929190611cd7565b600060405180830381600087803b158015610f1357600080fd5b505af1158015610f27573d6000803e3d6000fd5b505050505050565b60055481565b600460009054906101000a900460ff16610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b90611e12565b60405180910390fd5b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b90611e32565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166006600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580156110a757506006600083815260200190815260200160002060030160009054906101000a900460ff165b6110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd90611e92565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3083856040518463ffffffff1660e01b815260040161114593929190611cd7565b600060405180830381600087803b15801561115f57600080fd5b505af1158015611173573d6000803e3d6000fd5b5050505060066000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006111c29190611709565b6002820160006111d29190611709565b6003820160006101000a81549060ff02191690555050600360008154809291906111fb90612142565b91905055507fced2d7dbd90c6d6ef05faeec9ff65b91f4859792ad704f2aa7a034eca8a40d3b82826006600086815260200190815260200160002060020160405161124893929190611f60565b60405180910390a15050565b61125c611473565b73ffffffffffffffffffffffffffffffffffffffff1661127a610d01565b73ffffffffffffffffffffffffffffffffffffffff16146112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c790611eb2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133790611df2565b60405180910390fd5b6113498161151c565b50565b60008073ffffffffffffffffffffffffffffffffffffffff166006600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156113c157600190506113c6565b600090505b919050565b6113d3611473565b73ffffffffffffffffffffffffffffffffffffffff166113f1610d01565b73ffffffffffffffffffffffffffffffffffffffff1614611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143e90611eb2565b60405180910390fd5b600460009054906101000a900460ff1615600460006101000a81548160ff021916908315150217905550565b600033905090565b611483610a23565b6114c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b990611dd2565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611505611473565b6040516115129190611cbc565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6115e8610a23565b15611628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161f90611e52565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861166c611473565b6040516116799190611cbc565b60405180910390a1565b82805461168f9061216c565b90600052602060002090601f0160209004810192826116b157600085556116f8565b82601f106116ca57805160ff19168380011785556116f8565b828001600101855582156116f8579182015b828111156116f75782518255916020019190600101906116dc565b5b5090506117059190611749565b5090565b5080546117159061216c565b6000825580601f106117275750611746565b601f0160209004906000526020600020908101906117459190611749565b5b50565b5b8082111561176257600081600090555060010161174a565b5090565b600061177961177484611fc3565b611f9e565b905082815260208101848484011115611795576117946122aa565b5b6117a0848285612100565b509392505050565b60006117bb6117b684611ff4565b611f9e565b9050828152602081018484840111156117d7576117d66122aa565b5b6117e2848285612100565b509392505050565b6000813590506117f9816124b0565b92915050565b60008151905061180e816124b0565b92915050565b600082601f830112611829576118286122a5565b5b8135611839848260208601611766565b91505092915050565b600082601f830112611857576118566122a5565b5b81356118678482602086016117a8565b91505092915050565b60008135905061187f816124c7565b92915050565b60006020828403121561189b5761189a6122b4565b5b60006118a9848285016117ea565b91505092915050565b6000602082840312156118c8576118c76122b4565b5b60006118d6848285016117ff565b91505092915050565b600080600080608085870312156118f9576118f86122b4565b5b6000611907878288016117ea565b9450506020611918878288016117ea565b935050604061192987828801611870565b925050606085013567ffffffffffffffff81111561194a576119496122af565b5b61195687828801611814565b91505092959194509250565b600060208284031215611978576119776122b4565b5b600061198684828501611870565b91505092915050565b600080604083850312156119a6576119a56122b4565b5b60006119b485828601611870565b92505060206119c5858286016117ea565b9150509250929050565b6000806000606084860312156119e8576119e76122b4565b5b60006119f686828701611870565b935050602084013567ffffffffffffffff811115611a1757611a166122af565b5b611a2386828701611842565b925050604084013567ffffffffffffffff811115611a4457611a436122af565b5b611a5086828701611842565b9150509250925092565b611a6381612056565b82525050565b611a7281612068565b82525050565b611a8181612074565b82525050565b611a90816120ca565b82525050565b6000611aa18261203a565b611aab8185612045565b9350611abb81856020860161210f565b611ac4816122b9565b840191505092915050565b60008154611adc8161216c565b611ae68186612045565b94506001821660008114611b015760018114611b1357611b46565b60ff1983168652602086019350611b46565b611b1c85612025565b60005b83811015611b3e57815481890152600182019150602081019050611b1f565b808801955050505b50505092915050565b6000611b5c601883612045565b9150611b67826122ca565b602082019050919050565b6000611b7f601483612045565b9150611b8a826122f3565b602082019050919050565b6000611ba2602683612045565b9150611bad8261231c565b604082019050919050565b6000611bc5601e83612045565b9150611bd08261236b565b602082019050919050565b6000611be8601483612045565b9150611bf382612394565b602082019050919050565b6000611c0b601083612045565b9150611c16826123bd565b602082019050919050565b6000611c2e602383612045565b9150611c39826123e6565b604082019050919050565b6000611c51601383612045565b9150611c5c82612435565b602082019050919050565b6000611c74602083612045565b9150611c7f8261245e565b602082019050919050565b6000611c97601483612045565b9150611ca282612487565b602082019050919050565b611cb6816120c0565b82525050565b6000602082019050611cd16000830184611a5a565b92915050565b6000606082019050611cec6000830186611a5a565b611cf96020830185611a5a565b611d066040830184611cad565b949350505050565b6000608082019050611d236000830187611a5a565b8181036020830152611d358186611a96565b90508181036040830152611d498185611a96565b9050611d586060830184611a69565b95945050505050565b6000602082019050611d766000830184611a69565b92915050565b6000602082019050611d916000830184611a78565b92915050565b6000602082019050611dac6000830184611a87565b92915050565b60006020820190508181036000830152611dcb81611b4f565b9050919050565b60006020820190508181036000830152611deb81611b72565b9050919050565b60006020820190508181036000830152611e0b81611b95565b9050919050565b60006020820190508181036000830152611e2b81611bb8565b9050919050565b60006020820190508181036000830152611e4b81611bdb565b9050919050565b60006020820190508181036000830152611e6b81611bfe565b9050919050565b60006020820190508181036000830152611e8b81611c21565b9050919050565b60006020820190508181036000830152611eab81611c44565b9050919050565b60006020820190508181036000830152611ecb81611c67565b9050919050565b60006020820190508181036000830152611eeb81611c8a565b9050919050565b6000602082019050611f076000830184611cad565b92915050565b6000608082019050611f226000830187611cad565b611f2f6020830186611a5a565b8181036040830152611f418185611a96565b90508181036060830152611f558184611a96565b905095945050505050565b6000606082019050611f756000830186611cad565b611f826020830185611a5a565b8181036040830152611f948184611acf565b9050949350505050565b6000611fa8611fb9565b9050611fb4828261219e565b919050565b6000604051905090565b600067ffffffffffffffff821115611fde57611fdd612276565b5b611fe7826122b9565b9050602081019050919050565b600067ffffffffffffffff82111561200f5761200e612276565b5b612018826122b9565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600082825260208201905092915050565b6000612061826120a0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006120d5826120dc565b9050919050565b60006120e7826120ee565b9050919050565b60006120f9826120a0565b9050919050565b82818337600083830152505050565b60005b8381101561212d578082015181840152602081019050612112565b8381111561213c576000848401525b50505050565b600061214d826120c0565b9150600082141561216157612160612218565b5b600182039050919050565b6000600282049050600182168061218457607f821691505b6020821081141561219857612197612247565b5b50919050565b6121a7826122b9565b810181811067ffffffffffffffff821117156121c6576121c5612276565b5b80604052505050565b60006121da826120c0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561220d5761220c612218565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4665652076616c7565206973206e6f7420636f72726563740000000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4272696467652066756e6374696f6e206973206e6f74207475726e206f6e0000600082015250565b7f55736572206973206e6f74206f70657261746f72000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f55736572206d75737420626520746865206f776e6572206f662074686520746f60008201527f6b656e0000000000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206973206e6f74206c6f636b656400000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e20616c7265616479206c6f636b6564000000000000000000000000600082015250565b6124b981612056565b81146124c457600080fd5b50565b6124d0816120c0565b81146124db57600080fd5b5056fea26469706673582212206bb7cc6ffd2b84be7a76e07c25fcffe002031be8c77f6645115f2156a3a5335764736f6c63430008070033

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

0000000000000000000000007bc5d353663c4c94fd022d3df0642b56c174b45c000000000000000000000000c507c267b61ffc06ec4c8823623d587d84deed62

-----Decoded View---------------
Arg [0] : _nftCollection (address): 0x7BC5d353663C4c94fd022d3df0642B56C174B45c
Arg [1] : _operator (address): 0xc507c267b61FFc06Ec4C8823623d587d84DeeD62

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007bc5d353663c4c94fd022d3df0642b56c174b45c
Arg [1] : 000000000000000000000000c507c267b61ffc06ec4c8823623d587d84deed62


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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