Contract 0xdb298285fe4c5410b05390ca80e8fbe9de1f259b 15
My Name Tag:
Not Available
TokenTracker:
[ Download CSV Export ]
Latest 25 internal transaction
[ Download CSV Export ]
Contract Name:
ForexArb
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "./Forex.sol"; import "./interfaces/IArbToken.sol"; /* *\ * ,.-"""-., * * / === \ * * / ======= \ * * __| (o) (0) |__ * * / _| .---. |_ \ * * | /.----/ O O \----.\ | * * \/ | | \/ * * | | * * | | * * | | * * _\ -.,_____,.- /_ * * ,.-" "-.,_________,.-" "-., * * / | | ╭-╮ \ * * | l. .l ┃ ┃ | * * | | | ┃ ╰━━╮ | * * l. | | ┃ ╭╮ ┃ .l * * | l. .l ┃ ┃┃ ┃ | \, * * l. | | ╰-╯╰-╯ .l \, * * | | | | \, * * l. | | .l | * * | | | | | * * | |---| | | * * | | | | | * * /"-.,__,.-"\ /"-.,__,.-"\"-.,_,.-"\ * * | \ / | | * * | | | | * * \__|__|__|__/ \__|__|__|__/ \_|__|__/ * \* */ contract ForexArb is Forex, IArbToken { address public immutable override l1Address; address public l2Gateway; modifier onlyAdmin() { require(hasRole(ADMIN_ROLE, msg.sender), "FOREX: caller not an admin"); _; } constructor( string memory name_, string memory symbol_, address l1Address_, address l2Gateway_ ) Forex(name_, symbol_) { assert(l1Address_ != address(0)); assert(l2Gateway_ != address(0)); _setupRole(ADMIN_ROLE, msg.sender); _setRoleAdmin(OPERATOR_ROLE, ADMIN_ROLE); _setRoleAdmin(ADMIN_ROLE, ADMIN_ROLE); l1Address = l1Address_; l2Gateway = l2Gateway_; grantRole(OPERATOR_ROLE, l2Gateway_); } function bridgeMint(address account, uint256 amount) external override onlyOperator { _mint(account, amount); } function bridgeBurn(address account, uint256 amount) external override onlyOperator { _burn(account, amount); } function setL2Gateway(address _l2Gateway) external onlyAdmin { assert(_l2Gateway != address(0)); revokeRole(OPERATOR_ROLE, l2Gateway); l2Gateway = _l2Gateway; grantRole(OPERATOR_ROLE, l2Gateway); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./interfaces/IForex.sol"; /* *\ * ,.-"""-., * * / === \ * * / ======= \ * * __| (o) (0) |__ * * / _| .---. |_ \ * * | /.----/ O O \----.\ | * * \/ | | \/ * * | | * * | | * * | | * * _\ -.,_____,.- /_ * * ,.-" "-.,_________,.-" "-., * * / | | ╭-╮ \ * * | l. .l ┃ ┃ | * * | | | ┃ ╰━━╮ | * * l. | | ┃ ╭╮ ┃ .l * * | l. .l ┃ ┃┃ ┃ | \, * * l. | | ╰-╯╰-╯ .l \, * * | | | | \, * * l. | | .l | * * | | | | | * * | |---| | | * * | | | | | * * /"-.,__,.-"\ /"-.,__,.-"\"-.,_,.-"\ * * | \ / | | * * | | | | * * \__|__|__|__/ \__|__|__|__/ \_|__|__/ * \* */ contract Forex is IForex, AccessControl, ERC20 { bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR_ROLE"); bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE"); constructor(string memory name_, string memory symbol_) ERC20(name_, symbol_) { _setupRole(ADMIN_ROLE, msg.sender); _setRoleAdmin(OPERATOR_ROLE, ADMIN_ROLE); _setRoleAdmin(ADMIN_ROLE, ADMIN_ROLE); } modifier onlyOperator() { require( hasRole(OPERATOR_ROLE, msg.sender) || hasRole(ADMIN_ROLE, msg.sender), "FOREX: caller not an operator" ); _; } function mint(address account, uint256 amount) external override onlyOperator { _mint(account, amount); } function burn(address account, uint256 amount) external override onlyOperator { _burn(account, amount); } }
// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2020, Offchain Labs, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @title Minimum expected interface for L2 token that interacts with the L2 token bridge (this is the interface necessary * for a custom token that interacts with the bridge, see TestArbCustomToken.sol for an example implementation). */ pragma solidity 0.8.0; interface IArbToken { /** * @notice should increase token supply by amount, and should (probably) only be callable by the L1 bridge. */ function bridgeMint(address account, uint256 amount) external; /** * @notice should decrease token supply by amount, and should (probably) only be callable by the L1 bridge. */ function bridgeBurn(address account, uint256 amount) external; /** * @return address of layer 1 token */ function l1Address() external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT 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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, 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 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 {} }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IForex is IERC20 { function mint(address account, uint256 amount) external; function burn(address account, uint256 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// 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); }
// SPDX-License-Identifier: MIT 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"l1Address_","type":"address"},{"internalType":"address","name":"l2Gateway_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bridgeBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bridgeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Gateway","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_l2Gateway","type":"address"}],"name":"setL2Gateway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b5060405162003c3c38038062003c3c833981810160405281019062000037919062000aab565b8383818181600490805190602001906200005392919062000972565b5080600590805190602001906200006c92919062000972565b505050620000a17fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336200035b60201b60201c565b620000f37f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9297fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756200037160201b60201c565b620001257fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775806200037160201b60201c565b5050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200018c577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620001f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b620002237fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336200035b60201b60201c565b620002757f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9297fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756200037160201b60201c565b620002a77fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775806200037160201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003517f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92982620003d460201b60201c565b5050505062000fec565b6200036d82826200041d60201b60201c565b5050565b600062000384836200050e60201b60201c565b905081600080858152602001908152602001600020600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b620003e5826200050e60201b60201c565b6200040681620003fa6200052d60201b60201c565b6200053560201b60201c565b6200041883836200041d60201b60201c565b505050565b6200042f8282620005f960201b60201c565b6200050a57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620004af6200052d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000806000838152602001908152602001600020600101549050919050565b600033905090565b620005478282620005f960201b60201c565b620005f5576200057a8173ffffffffffffffffffffffffffffffffffffffff1660146200066360201b620011081760201c565b620005958360001c60206200066360201b620011081760201c565b604051602001620005a892919062000c87565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005ec919062000cc9565b60405180910390fd5b5050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606000600283600262000678919062000dfa565b62000684919062000d9d565b67ffffffffffffffff811115620006c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015620006f75781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811062000756577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110620007e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600262000823919062000dfa565b6200082f919062000d9d565b90505b600181111562000921577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811062000899577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110620008d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080620009199062000ecf565b905062000832565b506000841462000968576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200095f9062000ced565b60405180910390fd5b8091505092915050565b828054620009809062000efe565b90600052602060002090601f016020900481019282620009a45760008555620009f0565b82601f10620009bf57805160ff1916838001178555620009f0565b82800160010185558215620009f0579182015b82811115620009ef578251825591602001919060010190620009d2565b5b509050620009ff919062000a03565b5090565b5b8082111562000a1e57600081600090555060010162000a04565b5090565b600062000a3962000a338462000d43565b62000d0f565b90508281526020810184848401111562000a5257600080fd5b62000a5f84828562000e99565b509392505050565b60008151905062000a788162000fd2565b92915050565b600082601f83011262000a9057600080fd5b815162000aa284826020860162000a22565b91505092915050565b6000806000806080858703121562000ac257600080fd5b600085015167ffffffffffffffff81111562000add57600080fd5b62000aeb8782880162000a7e565b945050602085015167ffffffffffffffff81111562000b0957600080fd5b62000b178782880162000a7e565b935050604062000b2a8782880162000a67565b925050606062000b3d8782880162000a67565b91505092959194509250565b600062000b568262000d76565b62000b62818562000d81565b935062000b7481856020860162000e99565b62000b7f8162000fc1565b840191505092915050565b600062000b978262000d76565b62000ba3818562000d92565b935062000bb581856020860162000e99565b80840191505092915050565b600062000bd060208362000d81565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b600062000c1260178362000d92565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b600062000c5460118362000d92565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b600062000c948262000c03565b915062000ca2828562000b8a565b915062000caf8262000c45565b915062000cbd828462000b8a565b91508190509392505050565b6000602082019050818103600083015262000ce5818462000b49565b905092915050565b6000602082019050818103600083015262000d088162000bc1565b9050919050565b6000604051905081810181811067ffffffffffffffff8211171562000d395762000d3862000f92565b5b8060405250919050565b600067ffffffffffffffff82111562000d615762000d6062000f92565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600062000daa8262000e8f565b915062000db78362000e8f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000def5762000dee62000f34565b5b828201905092915050565b600062000e078262000e8f565b915062000e148362000e8f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000e505762000e4f62000f34565b5b828202905092915050565b600062000e688262000e6f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000eb957808201518184015260208101905062000e9c565b8381111562000ec9576000848401525b50505050565b600062000edc8262000e8f565b9150600082141562000ef35762000ef262000f34565b5b600182039050919050565b6000600282049050600182168062000f1757607f821691505b6020821081141562000f2e5762000f2d62000f63565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b62000fdd8162000e5b565b811462000fe957600080fd5b50565b60805160601c612c316200100b6000396000610e690152612c316000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806375b238fc116100f9578063a457c2d711610097578063c80a0f8411610071578063c80a0f84146104f6578063d547741f14610512578063dd62ed3e1461052e578063f5b541a61461055e576101a9565b8063a457c2d714610478578063a9059cbb146104a8578063c2eeeebd146104d8576101a9565b806391d14854116100d357806391d14854146103f057806395d89b41146104205780639dc29fac1461043e578063a217fddf1461045a576101a9565b806375b238fc146103985780638c2a993e146103b65780638fa74a0e146103d2576101a9565b80632f2ff15d116101665780633950935111610140578063395093511461030057806340c10f191461033057806370a082311461034c57806374f4f5471461037c576101a9565b80632f2ff15d146102aa578063313ce567146102c657806336568abe146102e4576101a9565b806301ffc9a7146101ae57806306fdde03146101de578063095ea7b3146101fc57806318160ddd1461022c57806323b872dd1461024a578063248a9ca31461027a575b600080fd5b6101c860048036038101906101c3919061200e565b61057c565b6040516101d591906126bd565b60405180910390f35b6101e66105f6565b6040516101f391906126f3565b60405180910390f35b61021660048036038101906102119190611f6d565b610688565b60405161022391906126bd565b60405180910390f35b6102346106a6565b60405161024191906128d5565b60405180910390f35b610264600480360381019061025f9190611f1e565b6106b0565b60405161027191906126bd565b60405180910390f35b610294600480360381019061028f9190611fa9565b6107a8565b6040516102a191906126d8565b60405180910390f35b6102c460048036038101906102bf9190611fd2565b6107c7565b005b6102ce6107f0565b6040516102db91906128f0565b60405180910390f35b6102fe60048036038101906102f99190611fd2565b6107f9565b005b61031a60048036038101906103159190611f6d565b61087c565b60405161032791906126bd565b60405180910390f35b61034a60048036038101906103459190611f6d565b610928565b005b61036660048036038101906103619190611eb9565b6109d0565b60405161037391906128d5565b60405180910390f35b61039660048036038101906103919190611f6d565b610a19565b005b6103a0610ac1565b6040516103ad91906126d8565b60405180910390f35b6103d060048036038101906103cb9190611f6d565b610ae5565b005b6103da610b8d565b6040516103e791906126a2565b60405180910390f35b61040a60048036038101906104059190611fd2565b610bb3565b60405161041791906126bd565b60405180910390f35b610428610c1d565b60405161043591906126f3565b60405180910390f35b61045860048036038101906104539190611f6d565b610caf565b005b610462610d57565b60405161046f91906126d8565b60405180910390f35b610492600480360381019061048d9190611f6d565b610d5e565b60405161049f91906126bd565b60405180910390f35b6104c260048036038101906104bd9190611f6d565b610e49565b6040516104cf91906126bd565b60405180910390f35b6104e0610e67565b6040516104ed91906126a2565b60405180910390f35b610510600480360381019061050b9190611eb9565b610e8b565b005b61052c60048036038101906105279190611fd2565b611034565b005b61054860048036038101906105439190611ee2565b61105d565b60405161055591906128d5565b60405180910390f35b6105666110e4565b60405161057391906126d8565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ef57506105ee82611402565b5b9050919050565b60606004805461060590612afe565b80601f016020809104026020016040519081016040528092919081815260200182805461063190612afe565b801561067e5780601f106106535761010080835404028352916020019161067e565b820191906000526020600020905b81548152906001019060200180831161066157829003601f168201915b5050505050905090565b600061069c61069561146c565b8484611474565b6001905092915050565b6000600354905090565b60006106bd84848461163f565b6000600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061070861146c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077f906127d5565b60405180910390fd5b61079c8561079461146c565b858403611474565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b6107d0826107a8565b6107e1816107dc61146c565b6118c3565b6107eb8383611960565b505050565b60006012905090565b61080161146c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461086e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086590612895565b60405180910390fd5b6108788282611a40565b5050565b600061091e61088961146c565b84846002600061089761146c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109199190612932565b611474565b6001905092915050565b6109527f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610bb3565b8061098357506109827fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533610bb3565b5b6109c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b9906127f5565b60405180910390fd5b6109cc8282611b21565b5050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a437f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610bb3565b80610a745750610a737fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533610bb3565b5b610ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaa906127f5565b60405180910390fd5b610abd8282611c82565b5050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b610b0f7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610bb3565b80610b405750610b3f7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533610bb3565b5b610b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b76906127f5565b60405180910390fd5b610b898282611b21565b5050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060058054610c2c90612afe565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5890612afe565b8015610ca55780601f10610c7a57610100808354040283529160200191610ca5565b820191906000526020600020905b815481529060010190602001808311610c8857829003601f168201915b5050505050905090565b610cd97f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610bb3565b80610d0a5750610d097fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533610bb3565b5b610d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d40906127f5565b60405180910390fd5b610d538282611c82565b5050565b6000801b81565b60008060026000610d6d61146c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190612875565b60405180910390fd5b610e3e610e3561146c565b85858403611474565b600191505092915050565b6000610e5d610e5661146c565b848461163f565b6001905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610eb57fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533610bb3565b610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb906127b5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f58577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b610fa47f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611034565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506110317f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166107c7565b50565b61103d826107a8565b61104e8161104961146c565b6118c3565b6110588383611a40565b505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92981565b60606000600283600261111b9190612988565b6111259190612932565b67ffffffffffffffff811115611164577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111965781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106111f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061127e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026112be9190612988565b6112c89190612932565b90505b60018111156113b4577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611330577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061136d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806113ad90612ad4565b90506112cb565b50600084146113f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ef90612715565b60405180910390fd5b8091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db90612855565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90612775565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161163291906128d5565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a690612835565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561171f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171690612735565b60405180910390fd5b61172a838383611e5b565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a890612795565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118469190612932565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118aa91906128d5565b60405180910390a36118bd848484611e60565b50505050565b6118cd8282610bb3565b61195c576118f28173ffffffffffffffffffffffffffffffffffffffff166014611108565b6119008360001c6020611108565b604051602001611911929190612668565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195391906126f3565b60405180910390fd5b5050565b61196a8282610bb3565b611a3c57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119e161146c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611a4a8282610bb3565b15611b1d57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ac261146c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b88906128b5565b60405180910390fd5b611b9d60008383611e5b565b8060036000828254611baf9190612932565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c059190612932565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611c6a91906128d5565b60405180910390a3611c7e60008383611e60565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce990612815565b60405180910390fd5b611cfe82600083611e5b565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7c90612755565b60405180910390fd5b818103600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160036000828254611ddd91906129e2565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e4291906128d5565b60405180910390a3611e5683600084611e60565b505050565b505050565b505050565b600081359050611e7481612b9f565b92915050565b600081359050611e8981612bb6565b92915050565b600081359050611e9e81612bcd565b92915050565b600081359050611eb381612be4565b92915050565b600060208284031215611ecb57600080fd5b6000611ed984828501611e65565b91505092915050565b60008060408385031215611ef557600080fd5b6000611f0385828601611e65565b9250506020611f1485828601611e65565b9150509250929050565b600080600060608486031215611f3357600080fd5b6000611f4186828701611e65565b9350506020611f5286828701611e65565b9250506040611f6386828701611ea4565b9150509250925092565b60008060408385031215611f8057600080fd5b6000611f8e85828601611e65565b9250506020611f9f85828601611ea4565b9150509250929050565b600060208284031215611fbb57600080fd5b6000611fc984828501611e7a565b91505092915050565b60008060408385031215611fe557600080fd5b6000611ff385828601611e7a565b925050602061200485828601611e65565b9150509250929050565b60006020828403121561202057600080fd5b600061202e84828501611e8f565b91505092915050565b61204081612a16565b82525050565b61204f81612a28565b82525050565b61205e81612a34565b82525050565b600061206f8261290b565b6120798185612916565b9350612089818560208601612aa1565b61209281612b8e565b840191505092915050565b60006120a88261290b565b6120b28185612927565b93506120c2818560208601612aa1565b80840191505092915050565b60006120db602083612916565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b600061211b602383612916565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612181602283612916565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006121e7602283612916565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061224d602683612916565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006122b3601a83612916565b91507f464f5245583a2063616c6c6572206e6f7420616e2061646d696e0000000000006000830152602082019050919050565b60006122f3602883612916565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612359601d83612916565b91507f464f5245583a2063616c6c6572206e6f7420616e206f70657261746f720000006000830152602082019050919050565b6000612399602183612916565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006123ff602583612916565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612465602483612916565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006124cb601783612927565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b600061250b602583612916565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612571601183612927565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b60006125b1602f83612916565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b6000612617601f83612916565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61265381612a8a565b82525050565b61266281612a94565b82525050565b6000612673826124be565b915061267f828561209d565b915061268a82612564565b9150612696828461209d565b91508190509392505050565b60006020820190506126b76000830184612037565b92915050565b60006020820190506126d26000830184612046565b92915050565b60006020820190506126ed6000830184612055565b92915050565b6000602082019050818103600083015261270d8184612064565b905092915050565b6000602082019050818103600083015261272e816120ce565b9050919050565b6000602082019050818103600083015261274e8161210e565b9050919050565b6000602082019050818103600083015261276e81612174565b9050919050565b6000602082019050818103600083015261278e816121da565b9050919050565b600060208201905081810360008301526127ae81612240565b9050919050565b600060208201905081810360008301526127ce816122a6565b9050919050565b600060208201905081810360008301526127ee816122e6565b9050919050565b6000602082019050818103600083015261280e8161234c565b9050919050565b6000602082019050818103600083015261282e8161238c565b9050919050565b6000602082019050818103600083015261284e816123f2565b9050919050565b6000602082019050818103600083015261286e81612458565b9050919050565b6000602082019050818103600083015261288e816124fe565b9050919050565b600060208201905081810360008301526128ae816125a4565b9050919050565b600060208201905081810360008301526128ce8161260a565b9050919050565b60006020820190506128ea600083018461264a565b92915050565b60006020820190506129056000830184612659565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061293d82612a8a565b915061294883612a8a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561297d5761297c612b30565b5b828201905092915050565b600061299382612a8a565b915061299e83612a8a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156129d7576129d6612b30565b5b828202905092915050565b60006129ed82612a8a565b91506129f883612a8a565b925082821015612a0b57612a0a612b30565b5b828203905092915050565b6000612a2182612a6a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015612abf578082015181840152602081019050612aa4565b83811115612ace576000848401525b50505050565b6000612adf82612a8a565b91506000821415612af357612af2612b30565b5b600182039050919050565b60006002820490506001821680612b1657607f821691505b60208210811415612b2a57612b29612b5f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b612ba881612a16565b8114612bb357600080fd5b50565b612bbf81612a34565b8114612bca57600080fd5b50565b612bd681612a3e565b8114612be157600080fd5b50565b612bed81612a8a565b8114612bf857600080fd5b5056fea2646970667358221220a1664ab3ed9a28dc6045d429a7db68d5f371d54478f4d809da9db59bf2cfd9ef64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000db298285fe4c5410b05390ca80e8fbe9de1f259b000000000000000000000000096760f208390250649e3e8763348e783aef5562000000000000000000000000000000000000000000000000000000000000000b68616e646c65464f5245580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005464f524558000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806375b238fc116100f9578063a457c2d711610097578063c80a0f8411610071578063c80a0f84146104f6578063d547741f14610512578063dd62ed3e1461052e578063f5b541a61461055e576101a9565b8063a457c2d714610478578063a9059cbb146104a8578063c2eeeebd146104d8576101a9565b806391d14854116100d357806391d14854146103f057806395d89b41146104205780639dc29fac1461043e578063a217fddf1461045a576101a9565b806375b238fc146103985780638c2a993e146103b65780638fa74a0e146103d2576101a9565b80632f2ff15d116101665780633950935111610140578063395093511461030057806340c10f191461033057806370a082311461034c57806374f4f5471461037c576101a9565b80632f2ff15d146102aa578063313ce567146102c657806336568abe146102e4576101a9565b806301ffc9a7146101ae57806306fdde03146101de578063095ea7b3146101fc57806318160ddd1461022c57806323b872dd1461024a578063248a9ca31461027a575b600080fd5b6101c860048036038101906101c3919061200e565b61057c565b6040516101d591906126bd565b60405180910390f35b6101e66105f6565b6040516101f391906126f3565b60405180910390f35b61021660048036038101906102119190611f6d565b610688565b60405161022391906126bd565b60405180910390f35b6102346106a6565b60405161024191906128d5565b60405180910390f35b610264600480360381019061025f9190611f1e565b6106b0565b60405161027191906126bd565b60405180910390f35b610294600480360381019061028f9190611fa9565b6107a8565b6040516102a191906126d8565b60405180910390f35b6102c460048036038101906102bf9190611fd2565b6107c7565b005b6102ce6107f0565b6040516102db91906128f0565b60405180910390f35b6102fe60048036038101906102f99190611fd2565b6107f9565b005b61031a60048036038101906103159190611f6d565b61087c565b60405161032791906126bd565b60405180910390f35b61034a60048036038101906103459190611f6d565b610928565b005b61036660048036038101906103619190611eb9565b6109d0565b60405161037391906128d5565b60405180910390f35b61039660048036038101906103919190611f6d565b610a19565b005b6103a0610ac1565b6040516103ad91906126d8565b60405180910390f35b6103d060048036038101906103cb9190611f6d565b610ae5565b005b6103da610b8d565b6040516103e791906126a2565b60405180910390f35b61040a60048036038101906104059190611fd2565b610bb3565b60405161041791906126bd565b60405180910390f35b610428610c1d565b60405161043591906126f3565b60405180910390f35b61045860048036038101906104539190611f6d565b610caf565b005b610462610d57565b60405161046f91906126d8565b60405180910390f35b610492600480360381019061048d9190611f6d565b610d5e565b60405161049f91906126bd565b60405180910390f35b6104c260048036038101906104bd9190611f6d565b610e49565b6040516104cf91906126bd565b60405180910390f35b6104e0610e67565b6040516104ed91906126a2565b60405180910390f35b610510600480360381019061050b9190611eb9565b610e8b565b005b61052c60048036038101906105279190611fd2565b611034565b005b61054860048036038101906105439190611ee2565b61105d565b60405161055591906128d5565b60405180910390f35b6105666110e4565b60405161057391906126d8565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ef57506105ee82611402565b5b9050919050565b60606004805461060590612afe565b80601f016020809104026020016040519081016040528092919081815260200182805461063190612afe565b801561067e5780601f106106535761010080835404028352916020019161067e565b820191906000526020600020905b81548152906001019060200180831161066157829003601f168201915b5050505050905090565b600061069c61069561146c565b8484611474565b6001905092915050565b6000600354905090565b60006106bd84848461163f565b6000600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061070861146c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077f906127d5565b60405180910390fd5b61079c8561079461146c565b858403611474565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b6107d0826107a8565b6107e1816107dc61146c565b6118c3565b6107eb8383611960565b505050565b60006012905090565b61080161146c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461086e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086590612895565b60405180910390fd5b6108788282611a40565b5050565b600061091e61088961146c565b84846002600061089761146c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109199190612932565b611474565b6001905092915050565b6109527f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610bb3565b8061098357506109827fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533610bb3565b5b6109c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b9906127f5565b60405180910390fd5b6109cc8282611b21565b5050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a437f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610bb3565b80610a745750610a737fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533610bb3565b5b610ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaa906127f5565b60405180910390fd5b610abd8282611c82565b5050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b610b0f7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610bb3565b80610b405750610b3f7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533610bb3565b5b610b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b76906127f5565b60405180910390fd5b610b898282611b21565b5050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060058054610c2c90612afe565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5890612afe565b8015610ca55780601f10610c7a57610100808354040283529160200191610ca5565b820191906000526020600020905b815481529060010190602001808311610c8857829003601f168201915b5050505050905090565b610cd97f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610bb3565b80610d0a5750610d097fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533610bb3565b5b610d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d40906127f5565b60405180910390fd5b610d538282611c82565b5050565b6000801b81565b60008060026000610d6d61146c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190612875565b60405180910390fd5b610e3e610e3561146c565b85858403611474565b600191505092915050565b6000610e5d610e5661146c565b848461163f565b6001905092915050565b7f000000000000000000000000db298285fe4c5410b05390ca80e8fbe9de1f259b81565b610eb57fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533610bb3565b610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb906127b5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f58577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b610fa47f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611034565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506110317f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166107c7565b50565b61103d826107a8565b61104e8161104961146c565b6118c3565b6110588383611a40565b505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92981565b60606000600283600261111b9190612988565b6111259190612932565b67ffffffffffffffff811115611164577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111965781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106111f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061127e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026112be9190612988565b6112c89190612932565b90505b60018111156113b4577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611330577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061136d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806113ad90612ad4565b90506112cb565b50600084146113f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ef90612715565b60405180910390fd5b8091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db90612855565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90612775565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161163291906128d5565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a690612835565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561171f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171690612735565b60405180910390fd5b61172a838383611e5b565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a890612795565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118469190612932565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118aa91906128d5565b60405180910390a36118bd848484611e60565b50505050565b6118cd8282610bb3565b61195c576118f28173ffffffffffffffffffffffffffffffffffffffff166014611108565b6119008360001c6020611108565b604051602001611911929190612668565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195391906126f3565b60405180910390fd5b5050565b61196a8282610bb3565b611a3c57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119e161146c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611a4a8282610bb3565b15611b1d57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ac261146c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b88906128b5565b60405180910390fd5b611b9d60008383611e5b565b8060036000828254611baf9190612932565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c059190612932565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611c6a91906128d5565b60405180910390a3611c7e60008383611e60565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce990612815565b60405180910390fd5b611cfe82600083611e5b565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7c90612755565b60405180910390fd5b818103600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160036000828254611ddd91906129e2565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e4291906128d5565b60405180910390a3611e5683600084611e60565b505050565b505050565b505050565b600081359050611e7481612b9f565b92915050565b600081359050611e8981612bb6565b92915050565b600081359050611e9e81612bcd565b92915050565b600081359050611eb381612be4565b92915050565b600060208284031215611ecb57600080fd5b6000611ed984828501611e65565b91505092915050565b60008060408385031215611ef557600080fd5b6000611f0385828601611e65565b9250506020611f1485828601611e65565b9150509250929050565b600080600060608486031215611f3357600080fd5b6000611f4186828701611e65565b9350506020611f5286828701611e65565b9250506040611f6386828701611ea4565b9150509250925092565b60008060408385031215611f8057600080fd5b6000611f8e85828601611e65565b9250506020611f9f85828601611ea4565b9150509250929050565b600060208284031215611fbb57600080fd5b6000611fc984828501611e7a565b91505092915050565b60008060408385031215611fe557600080fd5b6000611ff385828601611e7a565b925050602061200485828601611e65565b9150509250929050565b60006020828403121561202057600080fd5b600061202e84828501611e8f565b91505092915050565b61204081612a16565b82525050565b61204f81612a28565b82525050565b61205e81612a34565b82525050565b600061206f8261290b565b6120798185612916565b9350612089818560208601612aa1565b61209281612b8e565b840191505092915050565b60006120a88261290b565b6120b28185612927565b93506120c2818560208601612aa1565b80840191505092915050565b60006120db602083612916565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b600061211b602383612916565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612181602283612916565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006121e7602283612916565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061224d602683612916565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006122b3601a83612916565b91507f464f5245583a2063616c6c6572206e6f7420616e2061646d696e0000000000006000830152602082019050919050565b60006122f3602883612916565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612359601d83612916565b91507f464f5245583a2063616c6c6572206e6f7420616e206f70657261746f720000006000830152602082019050919050565b6000612399602183612916565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006123ff602583612916565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612465602483612916565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006124cb601783612927565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b600061250b602583612916565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612571601183612927565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b60006125b1602f83612916565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b6000612617601f83612916565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61265381612a8a565b82525050565b61266281612a94565b82525050565b6000612673826124be565b915061267f828561209d565b915061268a82612564565b9150612696828461209d565b91508190509392505050565b60006020820190506126b76000830184612037565b92915050565b60006020820190506126d26000830184612046565b92915050565b60006020820190506126ed6000830184612055565b92915050565b6000602082019050818103600083015261270d8184612064565b905092915050565b6000602082019050818103600083015261272e816120ce565b9050919050565b6000602082019050818103600083015261274e8161210e565b9050919050565b6000602082019050818103600083015261276e81612174565b9050919050565b6000602082019050818103600083015261278e816121da565b9050919050565b600060208201905081810360008301526127ae81612240565b9050919050565b600060208201905081810360008301526127ce816122a6565b9050919050565b600060208201905081810360008301526127ee816122e6565b9050919050565b6000602082019050818103600083015261280e8161234c565b9050919050565b6000602082019050818103600083015261282e8161238c565b9050919050565b6000602082019050818103600083015261284e816123f2565b9050919050565b6000602082019050818103600083015261286e81612458565b9050919050565b6000602082019050818103600083015261288e816124fe565b9050919050565b600060208201905081810360008301526128ae816125a4565b9050919050565b600060208201905081810360008301526128ce8161260a565b9050919050565b60006020820190506128ea600083018461264a565b92915050565b60006020820190506129056000830184612659565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061293d82612a8a565b915061294883612a8a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561297d5761297c612b30565b5b828201905092915050565b600061299382612a8a565b915061299e83612a8a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156129d7576129d6612b30565b5b828202905092915050565b60006129ed82612a8a565b91506129f883612a8a565b925082821015612a0b57612a0a612b30565b5b828203905092915050565b6000612a2182612a6a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015612abf578082015181840152602081019050612aa4565b83811115612ace576000848401525b50505050565b6000612adf82612a8a565b91506000821415612af357612af2612b30565b5b600182039050919050565b60006002820490506001821680612b1657607f821691505b60208210811415612b2a57612b29612b5f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b612ba881612a16565b8114612bb357600080fd5b50565b612bbf81612a34565b8114612bca57600080fd5b50565b612bd681612a3e565b8114612be157600080fd5b50565b612bed81612a8a565b8114612bf857600080fd5b5056fea2646970667358221220a1664ab3ed9a28dc6045d429a7db68d5f371d54478f4d809da9db59bf2cfd9ef64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000db298285fe4c5410b05390ca80e8fbe9de1f259b000000000000000000000000096760f208390250649e3e8763348e783aef5562000000000000000000000000000000000000000000000000000000000000000b68616e646c65464f5245580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005464f524558000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): handleFOREX
Arg [1] : symbol_ (string): FOREX
Arg [2] : l1Address_ (address): 0xDb298285FE4C5410B05390cA80e8Fbe9DE1F259B
Arg [3] : l2Gateway_ (address): 0x096760F208390250649E3e8763348E783AEF5562
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000db298285fe4c5410b05390ca80e8fbe9de1f259b
Arg [3] : 000000000000000000000000096760f208390250649e3e8763348e783aef5562
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 68616e646c65464f524558000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 464f524558000000000000000000000000000000000000000000000000000000
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.