Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 18974975 | 312 days ago | IN | 0 ETH | 0.054499 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
L2ScanEthereumBridge
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; import {L2ScanEthereumConst} from "./Const.sol"; import {FeeCollector} from "./FeeCollector.sol"; import {IZkSyncEraNativeBridge} from "./interfaces/IZkSyncEraNativeBridge.sol"; import {IScrollNativeBridge} from "./interfaces/IScrollNativeBridge.sol"; contract L2ScanEthereumBridge is L2ScanEthereumConst, FeeCollector { event ScrollDepositETHEvent(address from, address to, uint256 amount); event ScrollDepositERC20Event(address from, address to, address token, uint256 amount); event ZkSyncEraDepositETHEvent(address from, address to, uint256 amount); event ZkSyncEraDepositERC20Event(address from, address to, address token, uint256 amount); // deposit ERC20 to zkSync Era from L1 function depositERC20ToZkSyncEra( address _l2Receiver, address _l1Token, uint256 _amount, uint256 _l2TxGasLimit, uint256 _l2TxGasPerPubdataByte, address _refundRecipient ) public payable whenNotPaused() returns (bytes32 l2TxHash) { if (_refundRecipient == address(0)) { _refundRecipient = _msgSender(); } uint256 amount = sweepFeeAndApprove(_amount, _l1Token, _msgSender(), zkSyncERC20Bridge); emit ZkSyncEraDepositERC20Event(_msgSender(), _l2Receiver, _l1Token, _amount); return IZkSyncEraNativeBridge(zkSyncERC20Bridge).deposit{value: msg.value}(_l2Receiver, _l1Token, amount, _l2TxGasLimit, _l2TxGasPerPubdataByte, _refundRecipient); } // deposit ETH to zkSync Era from L1 function depositETHToZkSyncEra( address _contractL2, uint256 _l2Value, bytes calldata _calldata, uint256 _l2GasLimit, uint256 _l2GasPerPubdataByteLimit, bytes[] calldata _factoryDeps, address _refundRecipient ) public payable whenNotPaused() returns (bytes32 canonicalTxHash) { // msg.value: baseCost + fee + _l2value uint256 l2Value = amountAfterFee(_l2Value); uint256 callValue = msg.value + l2Value - _l2Value; require(msg.value >= _l2Value && msg.value >= callValue, "negative fee"); if (_refundRecipient == address(0)) { _refundRecipient = _msgSender(); } emit ZkSyncEraDepositETHEvent(_msgSender(), _contractL2, _l2Value); return IZkSyncEraNativeBridge(zkSyncETHBridge).requestL2Transaction{value: callValue}(_contractL2, l2Value, _calldata, _l2GasLimit, _l2GasPerPubdataByteLimit, _factoryDeps, _refundRecipient); } // deposit ETH to scroll from L1 function depositETHToScroll(address to, uint256 _amount, uint256 _gasLimit) public payable whenNotPaused() { uint256 amount = amountAfterFee(_amount); uint256 callValue = msg.value + amount - _amount; require(msg.value >= _amount && msg.value >= callValue, "negative fee"); IScrollNativeBridge(scrollBridge).depositETH{value: callValue}(to, amount, _gasLimit); emit ScrollDepositETHEvent(_msgSender(), to, _amount); } // deposit ERC20 to scroll from L1 function depositERC20ToScroll( address _token, address _to, uint256 _amount, uint256 _gasLimit ) public payable whenNotPaused() { uint256 amount = sweepFeeAndApprove(_amount, _token, _msgSender(), address(scrollBridge)); IScrollNativeBridge(scrollBridge).depositERC20{value: msg.value}(_token, _to, amount, _gasLimit); emit ScrollDepositERC20Event(_msgSender(), _to, _token, _amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import {Initializable} from "../proxy/utils/Initializable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ```solidity * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized != type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import {Initializable} from "../proxy/utils/Initializable.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal onlyInitializing { __Pausable_init_unchained(); } function __Pausable_init_unchained() internal onlyInitializing { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol) pragma solidity ^0.8.0; import {Initializable} from "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; contract L2ScanEthereumConst { // Native zkSync Era L1 bridge addresses address constant zkSyncETHBridge = 0x32400084C286CF3E17e7B677ea9583e60a000324; address constant zkSyncERC20Bridge = 0x57891966931Eb4Bb6FB81430E6cE0A03AAbDe063; // Native scroll L1 bridge address address constant scrollBridge = 0xF8B1378579659D8F7EE5f3C929c2f3E332E41Fd6; } contract L2ScanZkSyncEraConst { // Native zkSync Era L2 bridge addresses address constant zkSyncETHBridge = 0x000000000000000000000000000000000000800A; address constant zkSyncERC20Bridge = 0x11f943b2c77b743AB90f4A0Ae7d5A4e7FCA3E102; } contract L2ScanScrollConst { // Native scroll L2 bridge address address constant scrollBridge = 0x4C0926FF5252A435FD19e10ED15e5a249Ba19d79; }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import {PausableUpgradeable} from "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; import {Address} from "@openzeppelin/contracts/utils/Address.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; abstract contract FeeCollector is Initializable, OwnableUpgradeable, PausableUpgradeable { using Address for address payable; using SafeERC20 for IERC20; uint256 public feeRate; event UpdateFeeRate(uint256 feeRate); // amountAfterFee returns token amount after sweep fee function amountAfterFee(uint256 amount) public view returns (uint256) { return amount * feeRate / 10000; } function initializeFeeCollector(address initialOwner, uint256 _feeRate) initializer public { if (owner() == address(0)) { require(initialOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(initialOwner); } require(_feeRate <= 10000, "feeRate is bigger than denominator"); feeRate = _feeRate; } // sweepFeeAndApprove transfers the ERC20 token from the sender to this contract and returns the amount after sweep fee // this function also approve the net amount to next contract function sweepFeeAndApprove(uint256 _amount, address asset, address from, address to) internal returns (uint256 amount){ IERC20(asset).safeTransferFrom(from, address(this), _amount); amount = amountAfterFee(_amount); IERC20(asset).forceApprove(to, amount); } // sweepFee transfers the ERC20 token from sender to this contract and returns the amount after sweep fee function sweepFee(uint256 _amount, address asset, address from) internal returns (uint256 amount){ IERC20(asset).safeTransferFrom(from, address(this), _amount); amount = amountAfterFee(_amount); } // withdrawFees allow the owner to withdraw specified tokens from the contract // NOTE: this will withdraw all the balance of tokens, call withdrawFee instead when to withdraw a specified amount function withdrawFees(address payable recipient, address[] calldata assets) public { for (uint256 i; i < assets.length; i++) { withdrawFee(recipient, assets[i], 0); } } // withdrawFee allow the owner to withdraw the specified token // NOTE: amount 0 means withdraw all the balance of the token function withdrawFee(address payable recipient, address asset, uint256 amount) public virtual onlyOwner() { if (asset == address(0)) { if (amount == 0) { amount = address(this).balance; } recipient.sendValue(amount); } else { if (amount == 0) { amount = IERC20(asset).balanceOf(address(this)); } IERC20(asset).safeTransfer(recipient, amount); } } // update feeRate, owner is required function setFeeRate(uint256 _feeRate) public onlyOwner() { require(_feeRate <= 10000, "feeRate is bigger than denominator"); feeRate = _feeRate; emit UpdateFeeRate(_feeRate); } // pause the contract, owner is required function pause() public onlyOwner() { _pause(); } // unpause the contract, owner is required function unpause() public onlyOwner() { _unpause(); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; interface IScrollNativeBridge { function depositETH( address _to, uint256 _amount, uint256 _gasLimit ) external payable; function depositERC20( address _token, address _to, uint256 _amount, uint256 _gasLimit ) external payable; function withdrawETH( address _to, uint256 _amount, uint256 _gasLimit ) external payable; function withdrawERC20( address _token, address _to, uint256 _amount, uint256 _gasLimit ) external payable; function getERC20Gateway(address _token) external view returns (address); }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; interface IZkSyncEraNativeBridge { function requestL2Transaction( address _contractL2, uint256 _l2Value, bytes calldata _calldata, uint256 _l2GasLimit, uint256 _l2GasPerPubdataByteLimit, bytes[] calldata _factoryDeps, address _refundRecipient ) external payable returns (bytes32 canonicalTxHash); function deposit( address _l2Receiver, address _l1Token, uint256 _amount, uint256 _l2TxGasLimit, uint256 _l2TxGasPerPubdataByte, address _refundRecipient ) external payable returns (bytes32 l2TxHash); function withdraw(address _l1Receiver) external payable; function withdraw(address _l1Receiver, address _l2Token, uint256 _amount) external; }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ScrollDepositERC20Event","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ScrollDepositETHEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"feeRate","type":"uint256"}],"name":"UpdateFeeRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ZkSyncEraDepositERC20Event","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ZkSyncEraDepositETHEvent","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"amountAfterFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_gasLimit","type":"uint256"}],"name":"depositERC20ToScroll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l2Receiver","type":"address"},{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_l2TxGasLimit","type":"uint256"},{"internalType":"uint256","name":"_l2TxGasPerPubdataByte","type":"uint256"},{"internalType":"address","name":"_refundRecipient","type":"address"}],"name":"depositERC20ToZkSyncEra","outputs":[{"internalType":"bytes32","name":"l2TxHash","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_gasLimit","type":"uint256"}],"name":"depositETHToScroll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractL2","type":"address"},{"internalType":"uint256","name":"_l2Value","type":"uint256"},{"internalType":"bytes","name":"_calldata","type":"bytes"},{"internalType":"uint256","name":"_l2GasLimit","type":"uint256"},{"internalType":"uint256","name":"_l2GasPerPubdataByteLimit","type":"uint256"},{"internalType":"bytes[]","name":"_factoryDeps","type":"bytes[]"},{"internalType":"address","name":"_refundRecipient","type":"address"}],"name":"depositETHToZkSyncEra","outputs":[{"internalType":"bytes32","name":"canonicalTxHash","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"feeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"uint256","name":"_feeRate","type":"uint256"}],"name":"initializeFeeCollector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeRate","type":"uint256"}],"name":"setFeeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"address","name":"asset","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"address[]","name":"assets","type":"address[]"}],"name":"withdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50612c94806100206000396000f3fe6080604052600436106100f35760003560e01c8063715018a61161008a5780639b04ce29116100595780639b04ce29146102b5578063aa6cd24b146102de578063ad54cde61461031b578063f2fde38b14610337576100f3565b8063715018a6146102315780638456cb59146102485780638da5cb5b1461025f578063978bbdb91461028a576100f3565b806345596e2e116100c657806345596e2e14610191578063537fb27e146101ba5780635c975abb146101d657806369f6ab3c14610201576100f3565b80631095b6d7146100f857806324643380146101215780633f4ba83a1461014a5780634280930b14610161575b600080fd5b34801561010457600080fd5b5061011f600480360381019061011a91906118b1565b610360565b005b34801561012d57600080fd5b5061014860048036038101906101439190611904565b61048c565b005b34801561015657600080fd5b5061015f6106c4565b005b61017b600480360381019061017691906119ff565b6106d6565b6040516101889190611afa565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190611b15565b61088a565b005b6101d460048036038101906101cf9190611b42565b610918565b005b3480156101e257600080fd5b506101eb610a1c565b6040516101f89190611bc4565b60405180910390f35b61021b60048036038101906102169190611bdf565b610a33565b6040516102289190611afa565b60405180910390f35b34801561023d57600080fd5b50610246610b93565b005b34801561025457600080fd5b5061025d610ba7565b005b34801561026b57600080fd5b50610274610bb9565b6040516102819190611c7b565b60405180910390f35b34801561029657600080fd5b5061029f610be3565b6040516102ac9190611ca5565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d79190611d16565b610be9565b005b3480156102ea57600080fd5b5061030560048036038101906103009190611b15565b610c43565b6040516103129190611ca5565b60405180910390f35b61033560048036038101906103309190611d76565b610c67565b005b34801561034357600080fd5b5061035e60048036038101906103599190611dc9565b610db3565b005b610368610e36565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036103d657600081036103a8574790505b6103d1818473ffffffffffffffffffffffffffffffffffffffff16610eb490919063ffffffff16565b610487565b6000810361045b578173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104179190611c7b565b602060405180830381865afa158015610434573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104589190611e0b565b90505b61048683828473ffffffffffffffffffffffffffffffffffffffff16610fa89092919063ffffffff16565b5b505050565b60008060019054906101000a900460ff161590508080156104bd5750600160008054906101000a900460ff1660ff16105b806104ea57506104cc3061102e565b1580156104e95750600160008054906101000a900460ff1660ff16145b5b610529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052090611ebb565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015610566576001600060016101000a81548160ff0219169083151502179055505b600073ffffffffffffffffffffffffffffffffffffffff16610586610bb9565b73ffffffffffffffffffffffffffffffffffffffff160361061a57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060790611f4d565b60405180910390fd5b61061983611051565b5b61271082111561065f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065690611fdf565b60405180910390fd5b8160978190555080156106bf5760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516106b69190612051565b60405180910390a15b505050565b6106cc610e36565b6106d4611117565b565b60006106e061117a565b60006106eb8a610c43565b905060008a82346106fc919061209b565b61070691906120cf565b90508a34101580156107185750803410155b610757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074e9061214f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610796576107936111c4565b93505b7f4b0060115e50fde0f9ce4f4544d2db632e3da35db168ff0a2ea7d30dee6721346107bf6111c4565b8d8d6040516107d09392919061216f565b60405180910390a17332400084c286cf3e17e7b677ea9583e60a00032473ffffffffffffffffffffffffffffffffffffffff1663eb672419828e858e8e8e8e8e8e8e6040518b63ffffffff1660e01b815260040161083699989796959493929190612368565b60206040518083038185885af1158015610854573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108799190612415565b925050509998505050505050505050565b610892610e36565b6127108111156108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90611fdf565b60405180910390fd5b806097819055507f52b2ee810c3333817a10bb0ea59d08592795f3b8d8a0903baab7c55c363a77378160405161090d9190611ca5565b60405180910390a150565b61092061117a565b6000610949838661092f6111c4565b73f8b1378579659d8f7ee5f3c929c2f3e332e41fd66111cc565b905073f8b1378579659d8f7ee5f3c929c2f3e332e41fd673ffffffffffffffffffffffffffffffffffffffff1663f219fa6634878785876040518663ffffffff1660e01b815260040161099f9493929190612442565b6000604051808303818588803b1580156109b857600080fd5b505af11580156109cc573d6000803e3d6000fd5b50505050507f10b38d92e4d03db10f47203bde62c9a44ca818a0492c09abc85838592a5d69e76109fa6111c4565b858786604051610a0d9493929190612487565b60405180910390a15050505050565b6000606560009054906101000a900460ff16905090565b6000610a3d61117a565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a7c57610a796111c4565b91505b6000610aa58688610a8b6111c4565b7357891966931eb4bb6fb81430e6ce0a03aabde0636111cc565b90507f58d69c24382570996b6c246ce8f34aef8faf30ef55f7efaaf3f3bae047f4d0a7610ad06111c4565b898989604051610ae39493929190612487565b60405180910390a17357891966931eb4bb6fb81430e6ce0a03aabde06373ffffffffffffffffffffffffffffffffffffffff1663e8b99b1b348a8a858a8a8a6040518863ffffffff1660e01b8152600401610b43969594939291906124cc565b60206040518083038185885af1158015610b61573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b869190612415565b9150509695505050505050565b610b9b610e36565b610ba56000611051565b565b610baf610e36565b610bb7611239565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60975481565b60005b82829050811015610c3d57610c2a84848484818110610c0e57610c0d61252d565b5b9050602002016020810190610c239190611dc9565b6000610360565b8080610c359061255c565b915050610bec565b50505050565b600061271060975483610c5691906125a4565b610c609190612615565b9050919050565b610c6f61117a565b6000610c7a83610c43565b90506000838234610c8b919061209b565b610c9591906120cf565b9050833410158015610ca75750803410155b610ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdd9061214f565b60405180910390fd5b73f8b1378579659d8f7ee5f3c929c2f3e332e41fd673ffffffffffffffffffffffffffffffffffffffff1663ce0b63ce828785876040518563ffffffff1660e01b8152600401610d3893929190612646565b6000604051808303818588803b158015610d5157600080fd5b505af1158015610d65573d6000803e3d6000fd5b50505050507fa5144c708730bdf1c511a799569036285761611328f3c28654a693a42db862b4610d936111c4565b8686604051610da49392919061216f565b60405180910390a15050505050565b610dbb610e36565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190611f4d565b60405180910390fd5b610e3381611051565b50565b610e3e6111c4565b73ffffffffffffffffffffffffffffffffffffffff16610e5c610bb9565b73ffffffffffffffffffffffffffffffffffffffff1614610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea9906126c9565b60405180910390fd5b565b80471015610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90612735565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610f1d90612786565b60006040518083038185875af1925050503d8060008114610f5a576040519150601f19603f3d011682016040523d82523d6000602084013e610f5f565b606091505b5050905080610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a9061280d565b60405180910390fd5b505050565b6110298363a9059cbb60e01b8484604051602401610fc792919061282d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061129c565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61111f611364565b6000606560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6111636111c4565b6040516111709190611c7b565b60405180910390a1565b611182610a1c565b156111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b9906128a2565b60405180910390fd5b565b600033905090565b60006111fb8330878773ffffffffffffffffffffffffffffffffffffffff166113ad909392919063ffffffff16565b61120485610c43565b905061123182828673ffffffffffffffffffffffffffffffffffffffff166114369092919063ffffffff16565b949350505050565b61124161117a565b6001606560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112856111c4565b6040516112929190611c7b565b60405180910390a1565b60006112fe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166115539092919063ffffffff16565b905060008151148061132057508080602001905181019061131f91906128ee565b5b61135f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113569061298d565b60405180910390fd5b505050565b61136c610a1c565b6113ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a2906129f9565b60405180910390fd5b565b611430846323b872dd60e01b8585856040516024016113ce9392919061216f565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061129c565b50505050565b600063095ea7b360e01b838360405160240161145392919061282d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090506114bc848261156b565b61154d576115428463095ea7b360e01b8560006040516024016114e0929190612a54565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061129c565b61154c848261129c565b5b50505050565b60606115628484600085611620565b90509392505050565b60008060008473ffffffffffffffffffffffffffffffffffffffff16846040516115959190612ae3565b6000604051808303816000865af19150503d80600081146115d2576040519150601f19603f3d011682016040523d82523d6000602084013e6115d7565b606091505b5091509150818015611605575060008151148061160457508080602001905181019061160391906128ee565b5b5b80156116165750611615856116ed565b5b9250505092915050565b606082471015611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c90612b6c565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161168e9190612ae3565b60006040518083038185875af1925050503d80600081146116cb576040519150601f19603f3d011682016040523d82523d6000602084013e6116d0565b606091505b50915091506116e187838387611710565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561177257600083510361176a5761172a856116ed565b611769576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176090612bd8565b60405180910390fd5b5b82905061177d565b61177c8383611785565b5b949350505050565b6000825111156117985781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cc9190612c3c565b60405180910390fd5b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061180a826117df565b9050919050565b61181a816117ff565b811461182557600080fd5b50565b60008135905061183781611811565b92915050565b6000611848826117df565b9050919050565b6118588161183d565b811461186357600080fd5b50565b6000813590506118758161184f565b92915050565b6000819050919050565b61188e8161187b565b811461189957600080fd5b50565b6000813590506118ab81611885565b92915050565b6000806000606084860312156118ca576118c96117d5565b5b60006118d886828701611828565b93505060206118e986828701611866565b92505060406118fa8682870161189c565b9150509250925092565b6000806040838503121561191b5761191a6117d5565b5b600061192985828601611866565b925050602061193a8582860161189c565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f84011261196957611968611944565b5b8235905067ffffffffffffffff81111561198657611985611949565b5b6020830191508360018202830111156119a2576119a161194e565b5b9250929050565b60008083601f8401126119bf576119be611944565b5b8235905067ffffffffffffffff8111156119dc576119db611949565b5b6020830191508360208202830111156119f8576119f761194e565b5b9250929050565b600080600080600080600080600060e08a8c031215611a2157611a206117d5565b5b6000611a2f8c828d01611866565b9950506020611a408c828d0161189c565b98505060408a013567ffffffffffffffff811115611a6157611a606117da565b5b611a6d8c828d01611953565b97509750506060611a808c828d0161189c565b9550506080611a918c828d0161189c565b94505060a08a013567ffffffffffffffff811115611ab257611ab16117da565b5b611abe8c828d016119a9565b935093505060c0611ad18c828d01611866565b9150509295985092959850929598565b6000819050919050565b611af481611ae1565b82525050565b6000602082019050611b0f6000830184611aeb565b92915050565b600060208284031215611b2b57611b2a6117d5565b5b6000611b398482850161189c565b91505092915050565b60008060008060808587031215611b5c57611b5b6117d5565b5b6000611b6a87828801611866565b9450506020611b7b87828801611866565b9350506040611b8c8782880161189c565b9250506060611b9d8782880161189c565b91505092959194509250565b60008115159050919050565b611bbe81611ba9565b82525050565b6000602082019050611bd96000830184611bb5565b92915050565b60008060008060008060c08789031215611bfc57611bfb6117d5565b5b6000611c0a89828a01611866565b9650506020611c1b89828a01611866565b9550506040611c2c89828a0161189c565b9450506060611c3d89828a0161189c565b9350506080611c4e89828a0161189c565b92505060a0611c5f89828a01611866565b9150509295509295509295565b611c758161183d565b82525050565b6000602082019050611c906000830184611c6c565b92915050565b611c9f8161187b565b82525050565b6000602082019050611cba6000830184611c96565b92915050565b60008083601f840112611cd657611cd5611944565b5b8235905067ffffffffffffffff811115611cf357611cf2611949565b5b602083019150836020820283011115611d0f57611d0e61194e565b5b9250929050565b600080600060408486031215611d2f57611d2e6117d5565b5b6000611d3d86828701611828565b935050602084013567ffffffffffffffff811115611d5e57611d5d6117da565b5b611d6a86828701611cc0565b92509250509250925092565b600080600060608486031215611d8f57611d8e6117d5565b5b6000611d9d86828701611866565b9350506020611dae8682870161189c565b9250506040611dbf8682870161189c565b9150509250925092565b600060208284031215611ddf57611dde6117d5565b5b6000611ded84828501611866565b91505092915050565b600081519050611e0581611885565b92915050565b600060208284031215611e2157611e206117d5565b5b6000611e2f84828501611df6565b91505092915050565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000611ea5602e83611e38565b9150611eb082611e49565b604082019050919050565b60006020820190508181036000830152611ed481611e98565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611f37602683611e38565b9150611f4282611edb565b604082019050919050565b60006020820190508181036000830152611f6681611f2a565b9050919050565b7f6665655261746520697320626967676572207468616e2064656e6f6d696e617460008201527f6f72000000000000000000000000000000000000000000000000000000000000602082015250565b6000611fc9602283611e38565b9150611fd482611f6d565b604082019050919050565b60006020820190508181036000830152611ff881611fbc565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b600061203b61203661203184611fff565b612016565b612009565b9050919050565b61204b81612020565b82525050565b60006020820190506120666000830184612042565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006120a68261187b565b91506120b18361187b565b92508282019050808211156120c9576120c861206c565b5b92915050565b60006120da8261187b565b91506120e58361187b565b92508282039050818111156120fd576120fc61206c565b5b92915050565b7f6e65676174697665206665650000000000000000000000000000000000000000600082015250565b6000612139600c83611e38565b915061214482612103565b602082019050919050565b600060208201905081810360008301526121688161212c565b9050919050565b60006060820190506121846000830186611c6c565b6121916020830185611c6c565b61219e6040830184611c96565b949350505050565b600082825260208201905092915050565b82818337600083830152505050565b6000601f19601f8301169050919050565b60006121e383856121a6565b93506121f08385846121b7565b6121f9836121c6565b840190509392505050565b600082825260208201905092915050565b6000819050919050565b600082825260208201905092915050565b600061223c838561221f565b93506122498385846121b7565b612252836121c6565b840190509392505050565b600061226a848484612230565b90509392505050565b600080fd5b600080fd5b600080fd5b6000808335600160200384360303811261229f5761229e61227d565b5b83810192508235915060208301925067ffffffffffffffff8211156122c7576122c6612273565b5b6001820236038313156122dd576122dc612278565b5b509250929050565b6000602082019050919050565b60006122fe8385612204565b93508360208402850161231084612215565b8060005b8781101561235657848403895261232b8284612282565b61233686828461225d565b9550612341846122e5565b935060208b019a505050600181019050612314565b50829750879450505050509392505050565b600060e08201905061237d600083018c611c6c565b61238a602083018b611c96565b818103604083015261239d81898b6121d7565b90506123ac6060830188611c96565b6123b96080830187611c96565b81810360a08301526123cc8185876122f2565b90506123db60c0830184611c6c565b9a9950505050505050505050565b6123f281611ae1565b81146123fd57600080fd5b50565b60008151905061240f816123e9565b92915050565b60006020828403121561242b5761242a6117d5565b5b600061243984828501612400565b91505092915050565b60006080820190506124576000830187611c6c565b6124646020830186611c6c565b6124716040830185611c96565b61247e6060830184611c96565b95945050505050565b600060808201905061249c6000830187611c6c565b6124a96020830186611c6c565b6124b66040830185611c6c565b6124c36060830184611c96565b95945050505050565b600060c0820190506124e16000830189611c6c565b6124ee6020830188611c6c565b6124fb6040830187611c96565b6125086060830186611c96565b6125156080830185611c96565b61252260a0830184611c6c565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006125678261187b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036125995761259861206c565b5b600182019050919050565b60006125af8261187b565b91506125ba8361187b565b92508282026125c88161187b565b915082820484148315176125df576125de61206c565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006126208261187b565b915061262b8361187b565b92508261263b5761263a6125e6565b5b828204905092915050565b600060608201905061265b6000830186611c6c565b6126686020830185611c96565b6126756040830184611c96565b949350505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006126b3602083611e38565b91506126be8261267d565b602082019050919050565b600060208201905081810360008301526126e2816126a6565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061271f601d83611e38565b915061272a826126e9565b602082019050919050565b6000602082019050818103600083015261274e81612712565b9050919050565b600081905092915050565b50565b6000612770600083612755565b915061277b82612760565b600082019050919050565b600061279182612763565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006127f7603a83611e38565b91506128028261279b565b604082019050919050565b60006020820190508181036000830152612826816127ea565b9050919050565b60006040820190506128426000830185611c6c565b61284f6020830184611c96565b9392505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061288c601083611e38565b915061289782612856565b602082019050919050565b600060208201905081810360008301526128bb8161287f565b9050919050565b6128cb81611ba9565b81146128d657600080fd5b50565b6000815190506128e8816128c2565b92915050565b600060208284031215612904576129036117d5565b5b6000612912848285016128d9565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612977602a83611e38565b91506129828261291b565b604082019050919050565b600060208201905081810360008301526129a68161296a565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006129e3601483611e38565b91506129ee826129ad565b602082019050919050565b60006020820190508181036000830152612a12816129d6565b9050919050565b6000819050919050565b6000612a3e612a39612a3484612a19565b612016565b612009565b9050919050565b612a4e81612a23565b82525050565b6000604082019050612a696000830185611c6c565b612a766020830184612a45565b9392505050565b600081519050919050565b60005b83811015612aa6578082015181840152602081019050612a8b565b60008484015250505050565b6000612abd82612a7d565b612ac78185612755565b9350612ad7818560208601612a88565b80840191505092915050565b6000612aef8284612ab2565b915081905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612b56602683611e38565b9150612b6182612afa565b604082019050919050565b60006020820190508181036000830152612b8581612b49565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612bc2601d83611e38565b9150612bcd82612b8c565b602082019050919050565b60006020820190508181036000830152612bf181612bb5565b9050919050565b600081519050919050565b6000612c0e82612bf8565b612c188185611e38565b9350612c28818560208601612a88565b612c31816121c6565b840191505092915050565b60006020820190508181036000830152612c568184612c03565b90509291505056fea26469706673582212202cad95b0f0fc91684db35f2416d42490e2281495a942eb661fc94fa60dadc0ad64736f6c63430008140033
Deployed Bytecode
0x6080604052600436106100f35760003560e01c8063715018a61161008a5780639b04ce29116100595780639b04ce29146102b5578063aa6cd24b146102de578063ad54cde61461031b578063f2fde38b14610337576100f3565b8063715018a6146102315780638456cb59146102485780638da5cb5b1461025f578063978bbdb91461028a576100f3565b806345596e2e116100c657806345596e2e14610191578063537fb27e146101ba5780635c975abb146101d657806369f6ab3c14610201576100f3565b80631095b6d7146100f857806324643380146101215780633f4ba83a1461014a5780634280930b14610161575b600080fd5b34801561010457600080fd5b5061011f600480360381019061011a91906118b1565b610360565b005b34801561012d57600080fd5b5061014860048036038101906101439190611904565b61048c565b005b34801561015657600080fd5b5061015f6106c4565b005b61017b600480360381019061017691906119ff565b6106d6565b6040516101889190611afa565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190611b15565b61088a565b005b6101d460048036038101906101cf9190611b42565b610918565b005b3480156101e257600080fd5b506101eb610a1c565b6040516101f89190611bc4565b60405180910390f35b61021b60048036038101906102169190611bdf565b610a33565b6040516102289190611afa565b60405180910390f35b34801561023d57600080fd5b50610246610b93565b005b34801561025457600080fd5b5061025d610ba7565b005b34801561026b57600080fd5b50610274610bb9565b6040516102819190611c7b565b60405180910390f35b34801561029657600080fd5b5061029f610be3565b6040516102ac9190611ca5565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d79190611d16565b610be9565b005b3480156102ea57600080fd5b5061030560048036038101906103009190611b15565b610c43565b6040516103129190611ca5565b60405180910390f35b61033560048036038101906103309190611d76565b610c67565b005b34801561034357600080fd5b5061035e60048036038101906103599190611dc9565b610db3565b005b610368610e36565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036103d657600081036103a8574790505b6103d1818473ffffffffffffffffffffffffffffffffffffffff16610eb490919063ffffffff16565b610487565b6000810361045b578173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104179190611c7b565b602060405180830381865afa158015610434573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104589190611e0b565b90505b61048683828473ffffffffffffffffffffffffffffffffffffffff16610fa89092919063ffffffff16565b5b505050565b60008060019054906101000a900460ff161590508080156104bd5750600160008054906101000a900460ff1660ff16105b806104ea57506104cc3061102e565b1580156104e95750600160008054906101000a900460ff1660ff16145b5b610529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052090611ebb565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015610566576001600060016101000a81548160ff0219169083151502179055505b600073ffffffffffffffffffffffffffffffffffffffff16610586610bb9565b73ffffffffffffffffffffffffffffffffffffffff160361061a57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060790611f4d565b60405180910390fd5b61061983611051565b5b61271082111561065f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065690611fdf565b60405180910390fd5b8160978190555080156106bf5760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516106b69190612051565b60405180910390a15b505050565b6106cc610e36565b6106d4611117565b565b60006106e061117a565b60006106eb8a610c43565b905060008a82346106fc919061209b565b61070691906120cf565b90508a34101580156107185750803410155b610757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074e9061214f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610796576107936111c4565b93505b7f4b0060115e50fde0f9ce4f4544d2db632e3da35db168ff0a2ea7d30dee6721346107bf6111c4565b8d8d6040516107d09392919061216f565b60405180910390a17332400084c286cf3e17e7b677ea9583e60a00032473ffffffffffffffffffffffffffffffffffffffff1663eb672419828e858e8e8e8e8e8e8e6040518b63ffffffff1660e01b815260040161083699989796959493929190612368565b60206040518083038185885af1158015610854573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108799190612415565b925050509998505050505050505050565b610892610e36565b6127108111156108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90611fdf565b60405180910390fd5b806097819055507f52b2ee810c3333817a10bb0ea59d08592795f3b8d8a0903baab7c55c363a77378160405161090d9190611ca5565b60405180910390a150565b61092061117a565b6000610949838661092f6111c4565b73f8b1378579659d8f7ee5f3c929c2f3e332e41fd66111cc565b905073f8b1378579659d8f7ee5f3c929c2f3e332e41fd673ffffffffffffffffffffffffffffffffffffffff1663f219fa6634878785876040518663ffffffff1660e01b815260040161099f9493929190612442565b6000604051808303818588803b1580156109b857600080fd5b505af11580156109cc573d6000803e3d6000fd5b50505050507f10b38d92e4d03db10f47203bde62c9a44ca818a0492c09abc85838592a5d69e76109fa6111c4565b858786604051610a0d9493929190612487565b60405180910390a15050505050565b6000606560009054906101000a900460ff16905090565b6000610a3d61117a565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a7c57610a796111c4565b91505b6000610aa58688610a8b6111c4565b7357891966931eb4bb6fb81430e6ce0a03aabde0636111cc565b90507f58d69c24382570996b6c246ce8f34aef8faf30ef55f7efaaf3f3bae047f4d0a7610ad06111c4565b898989604051610ae39493929190612487565b60405180910390a17357891966931eb4bb6fb81430e6ce0a03aabde06373ffffffffffffffffffffffffffffffffffffffff1663e8b99b1b348a8a858a8a8a6040518863ffffffff1660e01b8152600401610b43969594939291906124cc565b60206040518083038185885af1158015610b61573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b869190612415565b9150509695505050505050565b610b9b610e36565b610ba56000611051565b565b610baf610e36565b610bb7611239565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60975481565b60005b82829050811015610c3d57610c2a84848484818110610c0e57610c0d61252d565b5b9050602002016020810190610c239190611dc9565b6000610360565b8080610c359061255c565b915050610bec565b50505050565b600061271060975483610c5691906125a4565b610c609190612615565b9050919050565b610c6f61117a565b6000610c7a83610c43565b90506000838234610c8b919061209b565b610c9591906120cf565b9050833410158015610ca75750803410155b610ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdd9061214f565b60405180910390fd5b73f8b1378579659d8f7ee5f3c929c2f3e332e41fd673ffffffffffffffffffffffffffffffffffffffff1663ce0b63ce828785876040518563ffffffff1660e01b8152600401610d3893929190612646565b6000604051808303818588803b158015610d5157600080fd5b505af1158015610d65573d6000803e3d6000fd5b50505050507fa5144c708730bdf1c511a799569036285761611328f3c28654a693a42db862b4610d936111c4565b8686604051610da49392919061216f565b60405180910390a15050505050565b610dbb610e36565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190611f4d565b60405180910390fd5b610e3381611051565b50565b610e3e6111c4565b73ffffffffffffffffffffffffffffffffffffffff16610e5c610bb9565b73ffffffffffffffffffffffffffffffffffffffff1614610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea9906126c9565b60405180910390fd5b565b80471015610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90612735565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610f1d90612786565b60006040518083038185875af1925050503d8060008114610f5a576040519150601f19603f3d011682016040523d82523d6000602084013e610f5f565b606091505b5050905080610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a9061280d565b60405180910390fd5b505050565b6110298363a9059cbb60e01b8484604051602401610fc792919061282d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061129c565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61111f611364565b6000606560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6111636111c4565b6040516111709190611c7b565b60405180910390a1565b611182610a1c565b156111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b9906128a2565b60405180910390fd5b565b600033905090565b60006111fb8330878773ffffffffffffffffffffffffffffffffffffffff166113ad909392919063ffffffff16565b61120485610c43565b905061123182828673ffffffffffffffffffffffffffffffffffffffff166114369092919063ffffffff16565b949350505050565b61124161117a565b6001606560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112856111c4565b6040516112929190611c7b565b60405180910390a1565b60006112fe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166115539092919063ffffffff16565b905060008151148061132057508080602001905181019061131f91906128ee565b5b61135f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113569061298d565b60405180910390fd5b505050565b61136c610a1c565b6113ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a2906129f9565b60405180910390fd5b565b611430846323b872dd60e01b8585856040516024016113ce9392919061216f565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061129c565b50505050565b600063095ea7b360e01b838360405160240161145392919061282d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090506114bc848261156b565b61154d576115428463095ea7b360e01b8560006040516024016114e0929190612a54565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061129c565b61154c848261129c565b5b50505050565b60606115628484600085611620565b90509392505050565b60008060008473ffffffffffffffffffffffffffffffffffffffff16846040516115959190612ae3565b6000604051808303816000865af19150503d80600081146115d2576040519150601f19603f3d011682016040523d82523d6000602084013e6115d7565b606091505b5091509150818015611605575060008151148061160457508080602001905181019061160391906128ee565b5b5b80156116165750611615856116ed565b5b9250505092915050565b606082471015611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c90612b6c565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161168e9190612ae3565b60006040518083038185875af1925050503d80600081146116cb576040519150601f19603f3d011682016040523d82523d6000602084013e6116d0565b606091505b50915091506116e187838387611710565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561177257600083510361176a5761172a856116ed565b611769576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176090612bd8565b60405180910390fd5b5b82905061177d565b61177c8383611785565b5b949350505050565b6000825111156117985781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cc9190612c3c565b60405180910390fd5b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061180a826117df565b9050919050565b61181a816117ff565b811461182557600080fd5b50565b60008135905061183781611811565b92915050565b6000611848826117df565b9050919050565b6118588161183d565b811461186357600080fd5b50565b6000813590506118758161184f565b92915050565b6000819050919050565b61188e8161187b565b811461189957600080fd5b50565b6000813590506118ab81611885565b92915050565b6000806000606084860312156118ca576118c96117d5565b5b60006118d886828701611828565b93505060206118e986828701611866565b92505060406118fa8682870161189c565b9150509250925092565b6000806040838503121561191b5761191a6117d5565b5b600061192985828601611866565b925050602061193a8582860161189c565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f84011261196957611968611944565b5b8235905067ffffffffffffffff81111561198657611985611949565b5b6020830191508360018202830111156119a2576119a161194e565b5b9250929050565b60008083601f8401126119bf576119be611944565b5b8235905067ffffffffffffffff8111156119dc576119db611949565b5b6020830191508360208202830111156119f8576119f761194e565b5b9250929050565b600080600080600080600080600060e08a8c031215611a2157611a206117d5565b5b6000611a2f8c828d01611866565b9950506020611a408c828d0161189c565b98505060408a013567ffffffffffffffff811115611a6157611a606117da565b5b611a6d8c828d01611953565b97509750506060611a808c828d0161189c565b9550506080611a918c828d0161189c565b94505060a08a013567ffffffffffffffff811115611ab257611ab16117da565b5b611abe8c828d016119a9565b935093505060c0611ad18c828d01611866565b9150509295985092959850929598565b6000819050919050565b611af481611ae1565b82525050565b6000602082019050611b0f6000830184611aeb565b92915050565b600060208284031215611b2b57611b2a6117d5565b5b6000611b398482850161189c565b91505092915050565b60008060008060808587031215611b5c57611b5b6117d5565b5b6000611b6a87828801611866565b9450506020611b7b87828801611866565b9350506040611b8c8782880161189c565b9250506060611b9d8782880161189c565b91505092959194509250565b60008115159050919050565b611bbe81611ba9565b82525050565b6000602082019050611bd96000830184611bb5565b92915050565b60008060008060008060c08789031215611bfc57611bfb6117d5565b5b6000611c0a89828a01611866565b9650506020611c1b89828a01611866565b9550506040611c2c89828a0161189c565b9450506060611c3d89828a0161189c565b9350506080611c4e89828a0161189c565b92505060a0611c5f89828a01611866565b9150509295509295509295565b611c758161183d565b82525050565b6000602082019050611c906000830184611c6c565b92915050565b611c9f8161187b565b82525050565b6000602082019050611cba6000830184611c96565b92915050565b60008083601f840112611cd657611cd5611944565b5b8235905067ffffffffffffffff811115611cf357611cf2611949565b5b602083019150836020820283011115611d0f57611d0e61194e565b5b9250929050565b600080600060408486031215611d2f57611d2e6117d5565b5b6000611d3d86828701611828565b935050602084013567ffffffffffffffff811115611d5e57611d5d6117da565b5b611d6a86828701611cc0565b92509250509250925092565b600080600060608486031215611d8f57611d8e6117d5565b5b6000611d9d86828701611866565b9350506020611dae8682870161189c565b9250506040611dbf8682870161189c565b9150509250925092565b600060208284031215611ddf57611dde6117d5565b5b6000611ded84828501611866565b91505092915050565b600081519050611e0581611885565b92915050565b600060208284031215611e2157611e206117d5565b5b6000611e2f84828501611df6565b91505092915050565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000611ea5602e83611e38565b9150611eb082611e49565b604082019050919050565b60006020820190508181036000830152611ed481611e98565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611f37602683611e38565b9150611f4282611edb565b604082019050919050565b60006020820190508181036000830152611f6681611f2a565b9050919050565b7f6665655261746520697320626967676572207468616e2064656e6f6d696e617460008201527f6f72000000000000000000000000000000000000000000000000000000000000602082015250565b6000611fc9602283611e38565b9150611fd482611f6d565b604082019050919050565b60006020820190508181036000830152611ff881611fbc565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b600061203b61203661203184611fff565b612016565b612009565b9050919050565b61204b81612020565b82525050565b60006020820190506120666000830184612042565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006120a68261187b565b91506120b18361187b565b92508282019050808211156120c9576120c861206c565b5b92915050565b60006120da8261187b565b91506120e58361187b565b92508282039050818111156120fd576120fc61206c565b5b92915050565b7f6e65676174697665206665650000000000000000000000000000000000000000600082015250565b6000612139600c83611e38565b915061214482612103565b602082019050919050565b600060208201905081810360008301526121688161212c565b9050919050565b60006060820190506121846000830186611c6c565b6121916020830185611c6c565b61219e6040830184611c96565b949350505050565b600082825260208201905092915050565b82818337600083830152505050565b6000601f19601f8301169050919050565b60006121e383856121a6565b93506121f08385846121b7565b6121f9836121c6565b840190509392505050565b600082825260208201905092915050565b6000819050919050565b600082825260208201905092915050565b600061223c838561221f565b93506122498385846121b7565b612252836121c6565b840190509392505050565b600061226a848484612230565b90509392505050565b600080fd5b600080fd5b600080fd5b6000808335600160200384360303811261229f5761229e61227d565b5b83810192508235915060208301925067ffffffffffffffff8211156122c7576122c6612273565b5b6001820236038313156122dd576122dc612278565b5b509250929050565b6000602082019050919050565b60006122fe8385612204565b93508360208402850161231084612215565b8060005b8781101561235657848403895261232b8284612282565b61233686828461225d565b9550612341846122e5565b935060208b019a505050600181019050612314565b50829750879450505050509392505050565b600060e08201905061237d600083018c611c6c565b61238a602083018b611c96565b818103604083015261239d81898b6121d7565b90506123ac6060830188611c96565b6123b96080830187611c96565b81810360a08301526123cc8185876122f2565b90506123db60c0830184611c6c565b9a9950505050505050505050565b6123f281611ae1565b81146123fd57600080fd5b50565b60008151905061240f816123e9565b92915050565b60006020828403121561242b5761242a6117d5565b5b600061243984828501612400565b91505092915050565b60006080820190506124576000830187611c6c565b6124646020830186611c6c565b6124716040830185611c96565b61247e6060830184611c96565b95945050505050565b600060808201905061249c6000830187611c6c565b6124a96020830186611c6c565b6124b66040830185611c6c565b6124c36060830184611c96565b95945050505050565b600060c0820190506124e16000830189611c6c565b6124ee6020830188611c6c565b6124fb6040830187611c96565b6125086060830186611c96565b6125156080830185611c96565b61252260a0830184611c6c565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006125678261187b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036125995761259861206c565b5b600182019050919050565b60006125af8261187b565b91506125ba8361187b565b92508282026125c88161187b565b915082820484148315176125df576125de61206c565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006126208261187b565b915061262b8361187b565b92508261263b5761263a6125e6565b5b828204905092915050565b600060608201905061265b6000830186611c6c565b6126686020830185611c96565b6126756040830184611c96565b949350505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006126b3602083611e38565b91506126be8261267d565b602082019050919050565b600060208201905081810360008301526126e2816126a6565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061271f601d83611e38565b915061272a826126e9565b602082019050919050565b6000602082019050818103600083015261274e81612712565b9050919050565b600081905092915050565b50565b6000612770600083612755565b915061277b82612760565b600082019050919050565b600061279182612763565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006127f7603a83611e38565b91506128028261279b565b604082019050919050565b60006020820190508181036000830152612826816127ea565b9050919050565b60006040820190506128426000830185611c6c565b61284f6020830184611c96565b9392505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061288c601083611e38565b915061289782612856565b602082019050919050565b600060208201905081810360008301526128bb8161287f565b9050919050565b6128cb81611ba9565b81146128d657600080fd5b50565b6000815190506128e8816128c2565b92915050565b600060208284031215612904576129036117d5565b5b6000612912848285016128d9565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612977602a83611e38565b91506129828261291b565b604082019050919050565b600060208201905081810360008301526129a68161296a565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006129e3601483611e38565b91506129ee826129ad565b602082019050919050565b60006020820190508181036000830152612a12816129d6565b9050919050565b6000819050919050565b6000612a3e612a39612a3484612a19565b612016565b612009565b9050919050565b612a4e81612a23565b82525050565b6000604082019050612a696000830185611c6c565b612a766020830184612a45565b9392505050565b600081519050919050565b60005b83811015612aa6578082015181840152602081019050612a8b565b60008484015250505050565b6000612abd82612a7d565b612ac78185612755565b9350612ad7818560208601612a88565b80840191505092915050565b6000612aef8284612ab2565b915081905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612b56602683611e38565b9150612b6182612afa565b604082019050919050565b60006020820190508181036000830152612b8581612b49565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612bc2601d83611e38565b9150612bcd82612b8c565b602082019050919050565b60006020820190508181036000830152612bf181612bb5565b9050919050565b600081519050919050565b6000612c0e82612bf8565b612c188185611e38565b9350612c28818560208601612a88565b612c31816121c6565b840191505092915050565b60006020820190508181036000830152612c568184612c03565b90509291505056fea26469706673582212202cad95b0f0fc91684db35f2416d42490e2281495a942eb661fc94fa60dadc0ad64736f6c63430008140033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.