Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 14 from a total of 14 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 16882832 | 476 days ago | IN | 0 ETH | 0.00103398 | ||||
Withdraw | 16854865 | 479 days ago | IN | 0 ETH | 0.0013032 | ||||
Withdraw | 16833716 | 482 days ago | IN | 0 ETH | 0.00246494 | ||||
Deposit | 16742306 | 495 days ago | IN | 0 ETH | 0.00323601 | ||||
Withdraw | 16742253 | 495 days ago | IN | 0 ETH | 0.00351228 | ||||
Deposit | 16706722 | 500 days ago | IN | 0 ETH | 0.00176825 | ||||
Withdraw | 16706714 | 500 days ago | IN | 0 ETH | 0.001439 | ||||
Deposit | 16706355 | 500 days ago | IN | 0 ETH | 0.00180983 | ||||
Deposit | 16706349 | 500 days ago | IN | 0 ETH | 0.00263491 | ||||
Change Fee To | 16706277 | 500 days ago | IN | 0 ETH | 0.00093751 | ||||
Change Fee | 16706266 | 500 days ago | IN | 0 ETH | 0.00069814 | ||||
Edit Tx Limits | 16706253 | 500 days ago | IN | 0 ETH | 0.00073509 | ||||
Add Token | 16706250 | 500 days ago | IN | 0 ETH | 0.00253777 | ||||
0x60806040 | 16706242 | 500 days ago | IN | Create: WizPortal | 0 ETH | 0.02351213 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
WizPortal
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-25 */ // SPDX-License-Identifier: MIT // Sources flattened with hardhat v2.12.1 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File contracts/WizErc20Mint.sol pragma solidity ^0.8.0; // Import ERC20 contract WizErc20Mint is ERC20, ERC20Burnable, Ownable { event Mint(address receiver, uint256 amount); event Burn(address account, uint256 _account); address public bridge; function decimals() public view virtual override returns (uint8) { return 6; } constructor(address _bridge) ERC20("Wizard USDC", "WizUSDC") { bridge = _bridge; } modifier onlyBridge() { require( bridge == msg.sender, "WizUSDC: only the bridge can trigger this method!" ); _; } // called from the bridge when tokens are locked on Origin chain function mint(address _recipient, uint256 _amount) public onlyBridge { _mint(_recipient, _amount); emit Mint(_recipient, _amount); } // called from the bridge when tokens are received on Destination chain function burnFrom(address _account, uint256 _amount) public override(ERC20Burnable) onlyBridge { super.burnFrom(_account, _amount); emit Burn(_account, _amount); } function updateBridgeAddress(address _bridge) public onlyOwner { bridge = _bridge; } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return 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); } } } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File @openzeppelin/contracts/token/ERC20/utils/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File @openzeppelin/contracts/utils/math/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File contracts/WizPortal.sol pragma solidity ^0.8.0; // Import ERC20 contract WizPortal is Ownable { using SafeMath for uint256; event Deposit(address sender, address token, uint256 amount, uint256 fee); event Withdraw(address sender, address token, uint256 amount); address public relayer; address public feeTo; uint256 public fee = 50; bool public halt = false; // records token addresses mapping(address => bool) public tokens; mapping(address => bool) public isOriginChain; mapping(address => uint256) public minTx; mapping(address => uint256) public maxTx; // create relayer only modifier modifier onlyRelayer() { require( msg.sender == relayer, "WizPortal: only relayer can trigger this method!" ); _; } modifier isvalidTxAmount(address _token, uint256 _amount) { require( _amount >= minTx[_token] && _amount <= maxTx[_token], "OriginVault: Bridge amount is invalid!" ); _; } constructor(address _relayer) { relayer = _relayer; } function toggleHalt() public onlyOwner { halt = !halt; } // update relayer (relayer only) function changeRelayer(address _relayer) public onlyOwner { require(_relayer != address(0), "BridgeVault: invalid relayer!!"); relayer = _relayer; } // update feeTo (owner only) function changeFeeTo(address _feeTo) public onlyOwner { require(_feeTo != address(0), "BridgeVault: invalid feeTo!!"); feeTo = _feeTo; } // update fee (owner only) function changeFee(uint256 _fee) public onlyOwner { require(_fee != 0, "BridgeVault: invalid fee!!"); fee = _fee; } // add/remove token by address (owner only) function addToken(address _token, bool _isOriginChain) public onlyOwner { tokens[_token] = true; isOriginChain[_token] = _isOriginChain; minTx[_token] = 1 gwei; maxTx[_token] = 1000 gwei; } function editTxLimits( address _token, uint256 _minTx, uint256 _maxTx ) public onlyOwner { minTx[_token] = _minTx; maxTx[_token] = _maxTx; } function enableToken(address _token, bool _include) public onlyOwner { tokens[_token] = _include; } // allow depositor burn WizErc20Mint {emits Deposit} function deposit(uint256 _amount, address _token) public isvalidTxAmount(_token, _amount) { require(!halt, "BridgeVault: bridge is on temporary hold!!"); require(_amount > 0, "BridgeVault: invalid amount!!"); require(tokens[_token], "BridgeVault: token not supported!!"); address depositor = msg.sender; uint256 feeAmount = computeFee(_amount); uint256 amount = _amount; if (feeTo != address(0) && feeAmount > 0) { SafeERC20.safeTransferFrom(IERC20(_token), depositor, feeTo, feeAmount); amount = amount.sub(feeAmount); } if (isOriginChain[_token]) { SafeERC20.safeTransferFrom(IERC20(_token), depositor, address(this), amount); } else { WizErc20Mint(_token).burnFrom(depositor, amount); } emit Deposit(depositor, _token, amount, feeAmount); } // update depositor balance (relayer only) function withdraw( address _depositor, uint256 _amount, address _token ) public onlyRelayer { require(!halt, "BridgeVault: bridge is on temporary hold!!"); require(_depositor != address(0), "BridgeVault: invalid depositor!!"); require( _amount <= maxTx[_token], "BridgeVault: amount exceeds max transfer!!" ); require(_amount > 0, "BridgeVault: invalid amount!!"); require(tokens[_token], "BridgeVault: token not supported!!"); if (isOriginChain[_token]) { SafeERC20.safeTransfer(IERC20(_token), _depositor, _amount); } else { WizErc20Mint(_token).mint(_depositor, _amount); } emit Withdraw(_depositor, _token, _amount); } function computeFee(uint256 _amount) public view returns (uint256) { if (feeTo == address(0) || fee == 0) return 0; return _amount.mul(fee).div(10**4); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_relayer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Deposit","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":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_isOriginChain","type":"bool"}],"name":"addToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"changeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeTo","type":"address"}],"name":"changeFeeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_relayer","type":"address"}],"name":"changeRelayer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"computeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_token","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_minTx","type":"uint256"},{"internalType":"uint256","name":"_maxTx","type":"uint256"}],"name":"editTxLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_include","type":"bool"}],"name":"enableToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeTo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"halt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isOriginChain","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"relayer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleHalt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_depositor","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_token","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260326003556004805460ff1916905534801561001f57600080fd5b5060405161135d38038061135d83398101604081905261003e916100bc565b6100473361006c565b600180546001600160a01b0319166001600160a01b03929092169190911790556100ec565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100ce57600080fd5b81516001600160a01b03811681146100e557600080fd5b9392505050565b611262806100fb6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80637dc787fd116100b8578063ddca3f431161007c578063ddca3f4314610292578063e1bf9c081461029b578063e4860339146102ae578063eeea06e2146102d1578063f2fde38b146102f4578063f6252c711461030757600080fd5b80637dc787fd146102335780638406c079146102465780638da5cb5b146102595780639f06ddf81461026a578063db665d2c1461027257600080fd5b80635ed7ca5b116100ff5780635ed7ca5b146101d557806369328dec146101f25780636a1db1bf146102055780636e553f6514610218578063715018a61461022b57600080fd5b8063017e7e581461013c57806323b1cde41461016c57806325d21080146101815780633e72a3c01461019457806348d23829146101c2575b600080fd5b60025461014f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61017f61017a366004610f9a565b61031a565b005b61017f61018f366004610fb5565b61039f565b6101b46101a2366004610f9a565b60076020526000908152604090205481565b604051908152602001610163565b61017f6101d0366004610f9a565b6103cf565b6004546101e29060ff1681565b6040519015158152602001610163565b61017f610200366004610fe8565b61044f565b61017f610213366004611024565b610722565b61017f61022636600461103d565b61077f565b61017f610a10565b61017f610241366004611077565b610a24565b60015461014f906001600160a01b031681565b6000546001600160a01b031661014f565b61017f610a57565b6101b4610280366004610f9a565b60086020526000908152604090205481565b6101b460035481565b6101b46102a9366004611024565b610a73565b6101e26102bc366004610f9a565b60056020526000908152604090205460ff1681565b6101e26102df366004610f9a565b60066020526000908152604090205460ff1681565b61017f610302366004610f9a565b610ac2565b61017f610315366004611077565b610b3b565b610322610ba1565b6001600160a01b03811661037d5760405162461bcd60e51b815260206004820152601c60248201527f4272696467655661756c743a20696e76616c696420666565546f21210000000060448201526064015b60405180910390fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6103a7610ba1565b6001600160a01b03909216600090815260076020908152604080832093909355600890522055565b6103d7610ba1565b6001600160a01b03811661042d5760405162461bcd60e51b815260206004820152601e60248201527f4272696467655661756c743a20696e76616c69642072656c61796572212100006044820152606401610374565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146104c25760405162461bcd60e51b815260206004820152603060248201527f57697a506f7274616c3a206f6e6c792072656c617965722063616e207472696760448201526f6765722074686973206d6574686f642160801b6064820152608401610374565b60045460ff16156104e55760405162461bcd60e51b8152600401610374906110ae565b6001600160a01b03831661053b5760405162461bcd60e51b815260206004820181905260248201527f4272696467655661756c743a20696e76616c6964206465706f7369746f7221216044820152606401610374565b6001600160a01b0381166000908152600860205260409020548211156105b65760405162461bcd60e51b815260206004820152602a60248201527f4272696467655661756c743a20616d6f756e742065786365656473206d6178206044820152697472616e73666572212160b01b6064820152608401610374565b600082116106065760405162461bcd60e51b815260206004820152601d60248201527f4272696467655661756c743a20696e76616c696420616d6f756e7421210000006044820152606401610374565b6001600160a01b03811660009081526005602052604090205460ff1661063e5760405162461bcd60e51b8152600401610374906110f8565b6001600160a01b03811660009081526006602052604090205460ff161561066f5761066a818484610bfb565b6106d2565b6040516340c10f1960e01b81526001600160a01b038481166004830152602482018490528216906340c10f1990604401600060405180830381600087803b1580156106b957600080fd5b505af11580156106cd573d6000803e3d6000fd5b505050505b604080516001600160a01b038086168252831660208201529081018390527f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb9060600160405180910390a1505050565b61072a610ba1565b8060000361077a5760405162461bcd60e51b815260206004820152601a60248201527f4272696467655661756c743a20696e76616c69642066656521210000000000006044820152606401610374565b600355565b6001600160a01b0381166000908152600760205260409020548190839081108015906107c357506001600160a01b0382166000908152600860205260409020548111155b61081e5760405162461bcd60e51b815260206004820152602660248201527f4f726967696e5661756c743a2042726964676520616d6f756e7420697320696e60448201526576616c69642160d01b6064820152608401610374565b60045460ff16156108415760405162461bcd60e51b8152600401610374906110ae565b600084116108915760405162461bcd60e51b815260206004820152601d60248201527f4272696467655661756c743a20696e76616c696420616d6f756e7421210000006044820152606401610374565b6001600160a01b03831660009081526005602052604090205460ff166108c95760405162461bcd60e51b8152600401610374906110f8565b3360006108d586610a73565b60025490915086906001600160a01b0316158015906108f45750600082115b156109205760025461091390879085906001600160a01b031685610c63565b61091d8183610ca1565b90505b6001600160a01b03861660009081526006602052604090205460ff16156109525761094d86843084610c63565b6109b5565b60405163079cc67960e41b81526001600160a01b038481166004830152602482018390528716906379cc679090604401600060405180830381600087803b15801561099c57600080fd5b505af11580156109b0573d6000803e3d6000fd5b505050505b604080516001600160a01b03808616825288166020820152908101829052606081018390527fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d79060800160405180910390a150505050505050565b610a18610ba1565b610a226000610cb4565b565b610a2c610ba1565b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b610a5f610ba1565b6004805460ff19811660ff90911615179055565b6002546000906001600160a01b03161580610a8e5750600354155b15610a9b57506000919050565b610abc612710610ab660035485610d0490919063ffffffff16565b90610d10565b92915050565b610aca610ba1565b6001600160a01b038116610b2f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610374565b610b3881610cb4565b50565b610b43610ba1565b6001600160a01b039091166000908152600560209081526040808320805460ff19908116600117909155600683528184208054951515959091169490941790935560078152828220633b9aca009055600890522064e8d4a510009055565b6000546001600160a01b03163314610a225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610374565b6040516001600160a01b038316602482015260448101829052610c5e90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610d1c565b505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610c9b9085906323b872dd60e01b90608401610c27565b50505050565b6000610cad8284611150565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610cad8284611163565b6000610cad828461117a565b6000610d71826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610dee9092919063ffffffff16565b805190915015610c5e5780806020019051810190610d8f919061119c565b610c5e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610374565b6060610dfd8484600085610e05565b949350505050565b606082471015610e665760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610374565b600080866001600160a01b03168587604051610e8291906111dd565b60006040518083038185875af1925050503d8060008114610ebf576040519150601f19603f3d011682016040523d82523d6000602084013e610ec4565b606091505b5091509150610ed587838387610ee0565b979650505050505050565b60608315610f4f578251600003610f48576001600160a01b0385163b610f485760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610374565b5081610dfd565b610dfd8383815115610f645781518083602001fd5b8060405162461bcd60e51b815260040161037491906111f9565b80356001600160a01b0381168114610f9557600080fd5b919050565b600060208284031215610fac57600080fd5b610cad82610f7e565b600080600060608486031215610fca57600080fd5b610fd384610f7e565b95602085013595506040909401359392505050565b600080600060608486031215610ffd57600080fd5b61100684610f7e565b92506020840135915061101b60408501610f7e565b90509250925092565b60006020828403121561103657600080fd5b5035919050565b6000806040838503121561105057600080fd5b8235915061106060208401610f7e565b90509250929050565b8015158114610b3857600080fd5b6000806040838503121561108a57600080fd5b61109383610f7e565b915060208301356110a381611069565b809150509250929050565b6020808252602a908201527f4272696467655661756c743a20627269646765206973206f6e2074656d706f7260408201526961727920686f6c64212160b01b606082015260800190565b60208082526022908201527f4272696467655661756c743a20746f6b656e206e6f7420737570706f72746564604082015261212160f01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610abc57610abc61113a565b8082028115828204841417610abc57610abc61113a565b60008261119757634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156111ae57600080fd5b8151610cad81611069565b60005b838110156111d45781810151838201526020016111bc565b50506000910152565b600082516111ef8184602087016111b9565b9190910192915050565b60208152600082518060208401526112188160408501602087016111b9565b601f01601f1916919091016040019291505056fea2646970667358221220309e1945dba23d029821b09b686980cc981206892e3e0077c4101d17a90716b664736f6c6343000811003300000000000000000000000000178a57bf2b8d23ed9b57d529f300f2f87cd72a
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c80637dc787fd116100b8578063ddca3f431161007c578063ddca3f4314610292578063e1bf9c081461029b578063e4860339146102ae578063eeea06e2146102d1578063f2fde38b146102f4578063f6252c711461030757600080fd5b80637dc787fd146102335780638406c079146102465780638da5cb5b146102595780639f06ddf81461026a578063db665d2c1461027257600080fd5b80635ed7ca5b116100ff5780635ed7ca5b146101d557806369328dec146101f25780636a1db1bf146102055780636e553f6514610218578063715018a61461022b57600080fd5b8063017e7e581461013c57806323b1cde41461016c57806325d21080146101815780633e72a3c01461019457806348d23829146101c2575b600080fd5b60025461014f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61017f61017a366004610f9a565b61031a565b005b61017f61018f366004610fb5565b61039f565b6101b46101a2366004610f9a565b60076020526000908152604090205481565b604051908152602001610163565b61017f6101d0366004610f9a565b6103cf565b6004546101e29060ff1681565b6040519015158152602001610163565b61017f610200366004610fe8565b61044f565b61017f610213366004611024565b610722565b61017f61022636600461103d565b61077f565b61017f610a10565b61017f610241366004611077565b610a24565b60015461014f906001600160a01b031681565b6000546001600160a01b031661014f565b61017f610a57565b6101b4610280366004610f9a565b60086020526000908152604090205481565b6101b460035481565b6101b46102a9366004611024565b610a73565b6101e26102bc366004610f9a565b60056020526000908152604090205460ff1681565b6101e26102df366004610f9a565b60066020526000908152604090205460ff1681565b61017f610302366004610f9a565b610ac2565b61017f610315366004611077565b610b3b565b610322610ba1565b6001600160a01b03811661037d5760405162461bcd60e51b815260206004820152601c60248201527f4272696467655661756c743a20696e76616c696420666565546f21210000000060448201526064015b60405180910390fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6103a7610ba1565b6001600160a01b03909216600090815260076020908152604080832093909355600890522055565b6103d7610ba1565b6001600160a01b03811661042d5760405162461bcd60e51b815260206004820152601e60248201527f4272696467655661756c743a20696e76616c69642072656c61796572212100006044820152606401610374565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146104c25760405162461bcd60e51b815260206004820152603060248201527f57697a506f7274616c3a206f6e6c792072656c617965722063616e207472696760448201526f6765722074686973206d6574686f642160801b6064820152608401610374565b60045460ff16156104e55760405162461bcd60e51b8152600401610374906110ae565b6001600160a01b03831661053b5760405162461bcd60e51b815260206004820181905260248201527f4272696467655661756c743a20696e76616c6964206465706f7369746f7221216044820152606401610374565b6001600160a01b0381166000908152600860205260409020548211156105b65760405162461bcd60e51b815260206004820152602a60248201527f4272696467655661756c743a20616d6f756e742065786365656473206d6178206044820152697472616e73666572212160b01b6064820152608401610374565b600082116106065760405162461bcd60e51b815260206004820152601d60248201527f4272696467655661756c743a20696e76616c696420616d6f756e7421210000006044820152606401610374565b6001600160a01b03811660009081526005602052604090205460ff1661063e5760405162461bcd60e51b8152600401610374906110f8565b6001600160a01b03811660009081526006602052604090205460ff161561066f5761066a818484610bfb565b6106d2565b6040516340c10f1960e01b81526001600160a01b038481166004830152602482018490528216906340c10f1990604401600060405180830381600087803b1580156106b957600080fd5b505af11580156106cd573d6000803e3d6000fd5b505050505b604080516001600160a01b038086168252831660208201529081018390527f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb9060600160405180910390a1505050565b61072a610ba1565b8060000361077a5760405162461bcd60e51b815260206004820152601a60248201527f4272696467655661756c743a20696e76616c69642066656521210000000000006044820152606401610374565b600355565b6001600160a01b0381166000908152600760205260409020548190839081108015906107c357506001600160a01b0382166000908152600860205260409020548111155b61081e5760405162461bcd60e51b815260206004820152602660248201527f4f726967696e5661756c743a2042726964676520616d6f756e7420697320696e60448201526576616c69642160d01b6064820152608401610374565b60045460ff16156108415760405162461bcd60e51b8152600401610374906110ae565b600084116108915760405162461bcd60e51b815260206004820152601d60248201527f4272696467655661756c743a20696e76616c696420616d6f756e7421210000006044820152606401610374565b6001600160a01b03831660009081526005602052604090205460ff166108c95760405162461bcd60e51b8152600401610374906110f8565b3360006108d586610a73565b60025490915086906001600160a01b0316158015906108f45750600082115b156109205760025461091390879085906001600160a01b031685610c63565b61091d8183610ca1565b90505b6001600160a01b03861660009081526006602052604090205460ff16156109525761094d86843084610c63565b6109b5565b60405163079cc67960e41b81526001600160a01b038481166004830152602482018390528716906379cc679090604401600060405180830381600087803b15801561099c57600080fd5b505af11580156109b0573d6000803e3d6000fd5b505050505b604080516001600160a01b03808616825288166020820152908101829052606081018390527fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d79060800160405180910390a150505050505050565b610a18610ba1565b610a226000610cb4565b565b610a2c610ba1565b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b610a5f610ba1565b6004805460ff19811660ff90911615179055565b6002546000906001600160a01b03161580610a8e5750600354155b15610a9b57506000919050565b610abc612710610ab660035485610d0490919063ffffffff16565b90610d10565b92915050565b610aca610ba1565b6001600160a01b038116610b2f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610374565b610b3881610cb4565b50565b610b43610ba1565b6001600160a01b039091166000908152600560209081526040808320805460ff19908116600117909155600683528184208054951515959091169490941790935560078152828220633b9aca009055600890522064e8d4a510009055565b6000546001600160a01b03163314610a225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610374565b6040516001600160a01b038316602482015260448101829052610c5e90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610d1c565b505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610c9b9085906323b872dd60e01b90608401610c27565b50505050565b6000610cad8284611150565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610cad8284611163565b6000610cad828461117a565b6000610d71826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610dee9092919063ffffffff16565b805190915015610c5e5780806020019051810190610d8f919061119c565b610c5e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610374565b6060610dfd8484600085610e05565b949350505050565b606082471015610e665760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610374565b600080866001600160a01b03168587604051610e8291906111dd565b60006040518083038185875af1925050503d8060008114610ebf576040519150601f19603f3d011682016040523d82523d6000602084013e610ec4565b606091505b5091509150610ed587838387610ee0565b979650505050505050565b60608315610f4f578251600003610f48576001600160a01b0385163b610f485760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610374565b5081610dfd565b610dfd8383815115610f645781518083602001fd5b8060405162461bcd60e51b815260040161037491906111f9565b80356001600160a01b0381168114610f9557600080fd5b919050565b600060208284031215610fac57600080fd5b610cad82610f7e565b600080600060608486031215610fca57600080fd5b610fd384610f7e565b95602085013595506040909401359392505050565b600080600060608486031215610ffd57600080fd5b61100684610f7e565b92506020840135915061101b60408501610f7e565b90509250925092565b60006020828403121561103657600080fd5b5035919050565b6000806040838503121561105057600080fd5b8235915061106060208401610f7e565b90509250929050565b8015158114610b3857600080fd5b6000806040838503121561108a57600080fd5b61109383610f7e565b915060208301356110a381611069565b809150509250929050565b6020808252602a908201527f4272696467655661756c743a20627269646765206973206f6e2074656d706f7260408201526961727920686f6c64212160b01b606082015260800190565b60208082526022908201527f4272696467655661756c743a20746f6b656e206e6f7420737570706f72746564604082015261212160f01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610abc57610abc61113a565b8082028115828204841417610abc57610abc61113a565b60008261119757634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156111ae57600080fd5b8151610cad81611069565b60005b838110156111d45781810151838201526020016111bc565b50506000910152565b600082516111ef8184602087016111b9565b9190910192915050565b60208152600082518060208401526112188160408501602087016111b9565b601f01601f1916919091016040019291505056fea2646970667358221220309e1945dba23d029821b09b686980cc981206892e3e0077c4101d17a90716b664736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000178a57bf2b8d23ed9b57d529f300f2f87cd72a
-----Decoded View---------------
Arg [0] : _relayer (address): 0x00178a57Bf2b8D23ED9B57D529F300f2F87CD72A
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000178a57bf2b8d23ed9b57d529f300f2f87cd72a
Deployed Bytecode Sourcemap
46584:4424:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46835:20;;;;;-1:-1:-1;;;;;46835:20:0;;;;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;46835:20:0;;;;;;;;48009:159;;;;;;:::i;:::-;;:::i;:::-;;48641:195;;;;;;:::i;:::-;;:::i;47054:40::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;1064:25:1;;;1052:2;1037:18;47054:40:0;918:177:1;47796:171:0;;;;;;:::i;:::-;;:::i;46892:24::-;;;;;;;;;;;;1265:14:1;;1258:22;1240:41;;1228:2;1213:18;46892:24:0;1100:187:1;50016:805:0;;;;;;:::i;:::-;;:::i;48208:138::-;;;;;;:::i;:::-;;:::i;49023:937::-;;;;;;:::i;:::-;;:::i;2882:103::-;;;:::i;48844:113::-;;;;;;:::i;:::-;;:::i;46806:22::-;;;;;-1:-1:-1;;;;;46806:22:0;;;2234:87;2280:7;2307:6;-1:-1:-1;;;;;2307:6:0;2234:87;;47680:70;;;:::i;47101:40::-;;;;;;:::i;:::-;;;;;;;;;;;;;;46862:23;;;;;;50829:176;;;;;;:::i;:::-;;:::i;46957:38::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;47002:45;;;;;;:::i;:::-;;;;;;;;;;;;;;;;3140:201;;;;;;:::i;:::-;;:::i;48403:230::-;;;;;;:::i;:::-;;:::i;48009:159::-;2120:13;:11;:13::i;:::-;-1:-1:-1;;;;;48082:20:0;::::1;48074:61;;;::::0;-1:-1:-1;;;48074:61:0;;2714:2:1;48074:61:0::1;::::0;::::1;2696:21:1::0;2753:2;2733:18;;;2726:30;2792;2772:18;;;2765:58;2840:18;;48074:61:0::1;;;;;;;;;48146:5;:14:::0;;-1:-1:-1;;;;;;48146:14:0::1;-1:-1:-1::0;;;;;48146:14:0;;;::::1;::::0;;;::::1;::::0;;48009:159::o;48641:195::-;2120:13;:11;:13::i;:::-;-1:-1:-1;;;;;48773:13:0;;::::1;;::::0;;;:5:::1;:13;::::0;;;;;;;:22;;;;48806:5:::1;:13:::0;;;:22;48641:195::o;47796:171::-;2120:13;:11;:13::i;:::-;-1:-1:-1;;;;;47873:22:0;::::1;47865:65;;;::::0;-1:-1:-1;;;47865:65:0;;3071:2:1;47865:65:0::1;::::0;::::1;3053:21:1::0;3110:2;3090:18;;;3083:30;3149:32;3129:18;;;3122:60;3199:18;;47865:65:0::1;2869:354:1::0;47865:65:0::1;47941:7;:18:::0;;-1:-1:-1;;;;;;47941:18:0::1;-1:-1:-1::0;;;;;47941:18:0;;;::::1;::::0;;;::::1;::::0;;47796:171::o;50016:805::-;47257:7;;-1:-1:-1;;;;;47257:7:0;47243:10;:21;47221:119;;;;-1:-1:-1;;;47221:119:0;;3430:2:1;47221:119:0;;;3412:21:1;3469:2;3449:18;;;3442:30;3508:34;3488:18;;;3481:62;-1:-1:-1;;;3559:18:1;;;3552:46;3615:19;;47221:119:0;3228:412:1;47221:119:0;50160:4:::1;::::0;::::1;;50159:5;50151:60;;;;-1:-1:-1::0;;;50151:60:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;50230:24:0;::::1;50222:69;;;::::0;-1:-1:-1;;;50222:69:0;;4258:2:1;50222:69:0::1;::::0;::::1;4240:21:1::0;;;4277:18;;;4270:30;4336:34;4316:18;;;4309:62;4388:18;;50222:69:0::1;4056:356:1::0;50222:69:0::1;-1:-1:-1::0;;;;;50335:13:0;::::1;;::::0;;;:5:::1;:13;::::0;;;;;50324:24;::::1;;50302:116;;;::::0;-1:-1:-1;;;50302:116:0;;4619:2:1;50302:116:0::1;::::0;::::1;4601:21:1::0;4658:2;4638:18;;;4631:30;4697:34;4677:18;;;4670:62;-1:-1:-1;;;4748:18:1;;;4741:40;4798:19;;50302:116:0::1;4417:406:1::0;50302:116:0::1;50447:1;50437:7;:11;50429:53;;;::::0;-1:-1:-1;;;50429:53:0;;5030:2:1;50429:53:0::1;::::0;::::1;5012:21:1::0;5069:2;5049:18;;;5042:30;5108:31;5088:18;;;5081:59;5157:18;;50429:53:0::1;4828:353:1::0;50429:53:0::1;-1:-1:-1::0;;;;;50501:14:0;::::1;;::::0;;;:6:::1;:14;::::0;;;;;::::1;;50493:61;;;;-1:-1:-1::0;;;50493:61:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;50571:21:0;::::1;;::::0;;;:13:::1;:21;::::0;;;;;::::1;;50567:192;;;50609:59;50639:6;50648:10;50660:7;50609:22;:59::i;:::-;50567:192;;;50701:46;::::0;-1:-1:-1;;;50701:46:0;;-1:-1:-1;;;;;5781:32:1;;;50701:46:0::1;::::0;::::1;5763:51:1::0;5830:18;;;5823:34;;;50701:25:0;::::1;::::0;::::1;::::0;5736:18:1;;50701:46:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;50567:192;50776:37;::::0;;-1:-1:-1;;;;;6126:15:1;;;6108:34;;6178:15;;6173:2;6158:18;;6151:43;6210:18;;;6203:34;;;50776:37:0::1;::::0;6058:2:1;6043:18;50776:37:0::1;;;;;;;50016:805:::0;;;:::o;48208:138::-;2120:13;:11;:13::i;:::-;48277:4:::1;48285:1;48277:9:::0;48269:48:::1;;;::::0;-1:-1:-1;;;48269:48:0;;6450:2:1;48269:48:0::1;::::0;::::1;6432:21:1::0;6489:2;6469:18;;;6462:30;6528:28;6508:18;;;6501:56;6574:18;;48269:48:0::1;6248:350:1::0;48269:48:0::1;48328:3;:10:::0;48208:138::o;49023:937::-;-1:-1:-1;;;;;47470:13:0;;;;;;:5;:13;;;;;;49114:6;;49122:7;;47459:24;;;;;:52;;-1:-1:-1;;;;;;47498:13:0;;;;;;:5;:13;;;;;;47487:24;;;47459:52;47437:140;;;;-1:-1:-1;;;47437:140:0;;6805:2:1;47437:140:0;;;6787:21:1;6844:2;6824:18;;;6817:30;6883:34;6863:18;;;6856:62;-1:-1:-1;;;6934:18:1;;;6927:36;6980:19;;47437:140:0;6603:402:1;47437:140:0;49156:4:::1;::::0;::::1;;49155:5;49147:60;;;;-1:-1:-1::0;;;49147:60:0::1;;;;;;;:::i;:::-;49236:1;49226:7;:11;49218:53;;;::::0;-1:-1:-1;;;49218:53:0;;5030:2:1;49218:53:0::1;::::0;::::1;5012:21:1::0;5069:2;5049:18;;;5042:30;5108:31;5088:18;;;5081:59;5157:18;;49218:53:0::1;4828:353:1::0;49218:53:0::1;-1:-1:-1::0;;;;;49290:14:0;::::1;;::::0;;;:6:::1;:14;::::0;;;;;::::1;;49282:61;;;;-1:-1:-1::0;;;49282:61:0::1;;;;;;;:::i;:::-;49376:10;49356:17;49417:19;49428:7:::0;49417:10:::1;:19::i;:::-;49486:5;::::0;49397:39;;-1:-1:-1;49464:7:0;;-1:-1:-1;;;;;49486:5:0::1;:19:::0;;::::1;::::0;:36:::1;;;49521:1;49509:9;:13;49486:36;49482:185;;;49593:5;::::0;49539:71:::1;::::0;49573:6;;49582:9;;-1:-1:-1;;;;;49593:5:0::1;49600:9:::0;49539:26:::1;:71::i;:::-;49634:21;:6:::0;49645:9;49634:10:::1;:21::i;:::-;49625:30;;49482:185;-1:-1:-1::0;;;;;49683:21:0;::::1;;::::0;;;:13:::1;:21;::::0;;;;;::::1;;49679:211;;;49721:76;49755:6;49764:9;49783:4;49790:6;49721:26;:76::i;:::-;49679:211;;;49830:48;::::0;-1:-1:-1;;;49830:48:0;;-1:-1:-1;;;;;5781:32:1;;;49830:48:0::1;::::0;::::1;5763:51:1::0;5830:18;;;5823:34;;;49830:29:0;::::1;::::0;::::1;::::0;5736:18:1;;49830:48:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;49679:211;49907:45;::::0;;-1:-1:-1;;;;;7297:15:1;;;7279:34;;7349:15;;7344:2;7329:18;;7322:43;7381:18;;;7374:34;;;7439:2;7424:18;;7417:34;;;49907:45:0::1;::::0;7228:3:1;7213:19;49907:45:0::1;;;;;;;49136:824;;;49023:937:::0;;;;:::o;2882:103::-;2120:13;:11;:13::i;:::-;2947:30:::1;2974:1;2947:18;:30::i;:::-;2882:103::o:0;48844:113::-;2120:13;:11;:13::i;:::-;-1:-1:-1;;;;;48924:14:0;;;::::1;;::::0;;;:6:::1;:14;::::0;;;;:25;;-1:-1:-1;;48924:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;48844:113::o;47680:70::-;2120:13;:11;:13::i;:::-;47738:4:::1;::::0;;-1:-1:-1;;47730:12:0;::::1;47738:4;::::0;;::::1;47737:5;47730:12;::::0;;47680:70::o;50829:176::-;50911:5;;50887:7;;-1:-1:-1;;;;;50911:5:0;:19;;:31;;-1:-1:-1;50934:3:0;;:8;50911:31;50907:45;;;-1:-1:-1;50951:1:0;;50829:176;-1:-1:-1;50829:176:0:o;50907:45::-;50970:27;50991:5;50970:16;50982:3;;50970:7;:11;;:16;;;;:::i;:::-;:20;;:27::i;:::-;50963:34;50829:176;-1:-1:-1;;50829:176:0:o;3140:201::-;2120:13;:11;:13::i;:::-;-1:-1:-1;;;;;3229:22:0;::::1;3221:73;;;::::0;-1:-1:-1;;;3221:73:0;;7664:2:1;3221:73:0::1;::::0;::::1;7646:21:1::0;7703:2;7683:18;;;7676:30;7742:34;7722:18;;;7715:62;-1:-1:-1;;;7793:18:1;;;7786:36;7839:19;;3221:73:0::1;7462:402:1::0;3221:73:0::1;3305:28;3324:8;3305:18;:28::i;:::-;3140:201:::0;:::o;48403:230::-;2120:13;:11;:13::i;:::-;-1:-1:-1;;;;;48486:14:0;;::::1;;::::0;;;:6:::1;:14;::::0;;;;;;;:21;;-1:-1:-1;;48486:21:0;;::::1;48503:4;48486:21;::::0;;;48518:13:::1;:21:::0;;;;;:38;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;;48567:5:::1;:13:::0;;;;;48583:6:::1;48567:22:::0;;48600:5:::1;:13:::0;;;48616:9:::1;48600:25:::0;;48403:230::o;2399:132::-;2280:7;2307:6;-1:-1:-1;;;;;2307:6:0;861:10;2463:23;2455:68;;;;-1:-1:-1;;;2455:68:0;;8071:2:1;2455:68:0;;;8053:21:1;;;8090:18;;;8083:30;8149:34;8129:18;;;8122:62;8201:18;;2455:68:0;7869:356:1;35660:211:0;35804:58;;-1:-1:-1;;;;;5781:32:1;;35804:58:0;;;5763:51:1;5830:18;;;5823:34;;;35777:86:0;;35797:5;;-1:-1:-1;;;35827:23:0;5736:18:1;;35804:58:0;;;;-1:-1:-1;;35804:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;35804:58:0;-1:-1:-1;;;;;;35804:58:0;;;;;;;;;;35777:19;:86::i;:::-;35660:211;;;:::o;35879:248::-;36050:68;;-1:-1:-1;;;;;6126:15:1;;;36050:68:0;;;6108:34:1;6178:15;;6158:18;;;6151:43;6210:18;;;6203:34;;;36023:96:0;;36043:5;;-1:-1:-1;;;36073:27:0;6043:18:1;;36050:68:0;5868:375:1;36023:96:0;35879:248;;;;:::o;42713:98::-;42771:7;42798:5;42802:1;42798;:5;:::i;:::-;42791:12;42713:98;-1:-1:-1;;;42713:98:0:o;3501:191::-;3575:16;3594:6;;-1:-1:-1;;;;;3611:17:0;;;-1:-1:-1;;;;;;3611:17:0;;;;;;3644:40;;3594:6;;;;;;;3644:40;;3575:16;3644:40;3564:128;3501:191;:::o;43070:98::-;43128:7;43155:5;43159:1;43155;:5;:::i;43469:98::-;43527:7;43554:5;43558:1;43554;:5;:::i;38727:716::-;39151:23;39177:69;39205:4;39177:69;;;;;;;;;;;;;;;;;39185:5;-1:-1:-1;;;;;39177:27:0;;;:69;;;;;:::i;:::-;39261:17;;39151:95;;-1:-1:-1;39261:21:0;39257:179;;39358:10;39347:30;;;;;;;;;;;;:::i;:::-;39339:85;;;;-1:-1:-1;;;39339:85:0;;9342:2:1;39339:85:0;;;9324:21:1;9381:2;9361:18;;;9354:30;9420:34;9400:18;;;9393:62;-1:-1:-1;;;9471:18:1;;;9464:40;9521:19;;39339:85:0;9140:406:1;27133:229:0;27270:12;27302:52;27324:6;27332:4;27338:1;27341:12;27302:21;:52::i;:::-;27295:59;27133:229;-1:-1:-1;;;;27133:229:0:o;28253:455::-;28423:12;28481:5;28456:21;:30;;28448:81;;;;-1:-1:-1;;;28448:81:0;;9753:2:1;28448:81:0;;;9735:21:1;9792:2;9772:18;;;9765:30;9831:34;9811:18;;;9804:62;-1:-1:-1;;;9882:18:1;;;9875:36;9928:19;;28448:81:0;9551:402:1;28448:81:0;28541:12;28555:23;28582:6;-1:-1:-1;;;;;28582:11:0;28601:5;28608:4;28582:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28540:73;;;;28631:69;28658:6;28666:7;28675:10;28687:12;28631:26;:69::i;:::-;28624:76;28253:455;-1:-1:-1;;;;;;;28253:455:0:o;30826:644::-;31011:12;31040:7;31036:427;;;31068:10;:17;31089:1;31068:22;31064:290;;-1:-1:-1;;;;;24671:19:0;;;31278:60;;;;-1:-1:-1;;;31278:60:0;;10707:2:1;31278:60:0;;;10689:21:1;10746:2;10726:18;;;10719:30;10785:31;10765:18;;;10758:59;10834:18;;31278:60:0;10505:353:1;31278:60:0;-1:-1:-1;31375:10:0;31368:17;;31036:427;31418:33;31426:10;31438:12;32173:17;;:21;32169:388;;32405:10;32399:17;32462:15;32449:10;32445:2;32441:19;32434:44;32169:388;32532:12;32525:20;;-1:-1:-1;;;32525:20:0;;;;;;;;:::i;222:173:1:-;290:20;;-1:-1:-1;;;;;339:31:1;;329:42;;319:70;;385:1;382;375:12;319:70;222:173;;;:::o;400:186::-;459:6;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;591:322::-;668:6;676;684;737:2;725:9;716:7;712:23;708:32;705:52;;;753:1;750;743:12;705:52;776:29;795:9;776:29;:::i;:::-;766:39;852:2;837:18;;824:32;;-1:-1:-1;903:2:1;888:18;;;875:32;;591:322;-1:-1:-1;;;591:322:1:o;1292:328::-;1369:6;1377;1385;1438:2;1426:9;1417:7;1413:23;1409:32;1406:52;;;1454:1;1451;1444:12;1406:52;1477:29;1496:9;1477:29;:::i;:::-;1467:39;;1553:2;1542:9;1538:18;1525:32;1515:42;;1576:38;1610:2;1599:9;1595:18;1576:38;:::i;:::-;1566:48;;1292:328;;;;;:::o;1625:180::-;1684:6;1737:2;1725:9;1716:7;1712:23;1708:32;1705:52;;;1753:1;1750;1743:12;1705:52;-1:-1:-1;1776:23:1;;1625:180;-1:-1:-1;1625:180:1:o;1810:254::-;1878:6;1886;1939:2;1927:9;1918:7;1914:23;1910:32;1907:52;;;1955:1;1952;1945:12;1907:52;1991:9;1978:23;1968:33;;2020:38;2054:2;2043:9;2039:18;2020:38;:::i;:::-;2010:48;;1810:254;;;;;:::o;2069:118::-;2155:5;2148:13;2141:21;2134:5;2131:32;2121:60;;2177:1;2174;2167:12;2192:315;2257:6;2265;2318:2;2306:9;2297:7;2293:23;2289:32;2286:52;;;2334:1;2331;2324:12;2286:52;2357:29;2376:9;2357:29;:::i;:::-;2347:39;;2436:2;2425:9;2421:18;2408:32;2449:28;2471:5;2449:28;:::i;:::-;2496:5;2486:15;;;2192:315;;;;;:::o;3645:406::-;3847:2;3829:21;;;3886:2;3866:18;;;3859:30;3925:34;3920:2;3905:18;;3898:62;-1:-1:-1;;;3991:2:1;3976:18;;3969:40;4041:3;4026:19;;3645:406::o;5186:398::-;5388:2;5370:21;;;5427:2;5407:18;;;5400:30;5466:34;5461:2;5446:18;;5439:62;-1:-1:-1;;;5532:2:1;5517:18;;5510:32;5574:3;5559:19;;5186:398::o;8230:127::-;8291:10;8286:3;8282:20;8279:1;8272:31;8322:4;8319:1;8312:15;8346:4;8343:1;8336:15;8362:128;8429:9;;;8450:11;;;8447:37;;;8464:18;;:::i;8495:168::-;8568:9;;;8599;;8616:15;;;8610:22;;8596:37;8586:71;;8637:18;;:::i;8668:217::-;8708:1;8734;8724:132;;8778:10;8773:3;8769:20;8766:1;8759:31;8813:4;8810:1;8803:15;8841:4;8838:1;8831:15;8724:132;-1:-1:-1;8870:9:1;;8668:217::o;8890:245::-;8957:6;9010:2;8998:9;8989:7;8985:23;8981:32;8978:52;;;9026:1;9023;9016:12;8978:52;9058:9;9052:16;9077:28;9099:5;9077:28;:::i;9958:250::-;10043:1;10053:113;10067:6;10064:1;10061:13;10053:113;;;10143:11;;;10137:18;10124:11;;;10117:39;10089:2;10082:10;10053:113;;;-1:-1:-1;;10200:1:1;10182:16;;10175:27;9958:250::o;10213:287::-;10342:3;10380:6;10374:13;10396:66;10455:6;10450:3;10443:4;10435:6;10431:17;10396:66;:::i;:::-;10478:16;;;;;10213:287;-1:-1:-1;;10213:287:1:o;10863:396::-;11012:2;11001:9;10994:21;10975:4;11044:6;11038:13;11087:6;11082:2;11071:9;11067:18;11060:34;11103:79;11175:6;11170:2;11159:9;11155:18;11150:2;11142:6;11138:15;11103:79;:::i;:::-;11243:2;11222:15;-1:-1:-1;;11218:29:1;11203:45;;;;11250:2;11199:54;;10863:396;-1:-1:-1;;10863:396:1:o
Swarm Source
ipfs://309e1945dba23d029821b09b686980cc981206892e3e0077c4101d17a90716b6
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.