More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 980 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Migrate | 12373983 | 1368 days ago | IN | 0 ETH | 0.00304256 | ||||
Migrate | 12373956 | 1368 days ago | IN | 0 ETH | 0.00353632 | ||||
Migrate | 12373944 | 1368 days ago | IN | 0 ETH | 0.00784248 | ||||
Migrate | 12373924 | 1368 days ago | IN | 0 ETH | 0.0169996 | ||||
Migrate | 12373868 | 1368 days ago | IN | 0 ETH | 0.03458872 | ||||
Peg Out | 12372250 | 1368 days ago | IN | 0 ETH | 0.00425608 | ||||
Peg Out | 12371909 | 1368 days ago | IN | 0 ETH | 0.00425608 | ||||
Peg Out | 12361325 | 1370 days ago | IN | 0 ETH | 0.00938556 | ||||
Peg Out | 12360355 | 1370 days ago | IN | 0 ETH | 0.00938556 | ||||
Peg Out | 12359199 | 1370 days ago | IN | 0 ETH | 0.00665424 | ||||
Peg Out | 12355517 | 1371 days ago | IN | 0 ETH | 0.006387 | ||||
Peg Out | 12351607 | 1371 days ago | IN | 0 ETH | 0.00638556 | ||||
Peg Out | 12350716 | 1371 days ago | IN | 0 ETH | 0.00638556 | ||||
Peg Out | 12350172 | 1372 days ago | IN | 0 ETH | 0.00638412 | ||||
Peg Out | 12343134 | 1373 days ago | IN | 0 ETH | 0.006387 | ||||
Peg Out | 12342050 | 1373 days ago | IN | 0 ETH | 0.006387 | ||||
Peg In Eth | 12338876 | 1373 days ago | IN | 19.967 ETH | 0.00178456 | ||||
Peg Out | 12338395 | 1373 days ago | IN | 0 ETH | 0.00638412 | ||||
Peg Out | 12330546 | 1375 days ago | IN | 0 ETH | 0.006387 | ||||
Peg Out | 12326445 | 1375 days ago | IN | 0 ETH | 0.00479025 | ||||
Peg Out | 12325435 | 1375 days ago | IN | 0 ETH | 0.00479025 | ||||
Peg Out | 12323972 | 1376 days ago | IN | 0 ETH | 0.0031935 | ||||
Peg In Eth | 12322689 | 1376 days ago | IN | 1.041 ETH | 0.00276329 | ||||
Peg Out | 12322624 | 1376 days ago | IN | 0 ETH | 0.0031935 | ||||
Peg Out | 12321561 | 1376 days ago | IN | 0 ETH | 0.0031935 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
12373983 | 1368 days ago | 0 ETH | |||||
12373983 | 1368 days ago | 0 ETH | |||||
12373956 | 1368 days ago | 0 ETH | |||||
12373956 | 1368 days ago | 0 ETH | |||||
12373944 | 1368 days ago | 0 ETH | |||||
12373944 | 1368 days ago | 0 ETH | |||||
12373944 | 1368 days ago | 0 ETH | |||||
12373944 | 1368 days ago | 0 ETH | |||||
12373944 | 1368 days ago | 0 ETH | |||||
12373944 | 1368 days ago | 0 ETH | |||||
12373924 | 1368 days ago | 0 ETH | |||||
12373924 | 1368 days ago | 0 ETH | |||||
12373924 | 1368 days ago | 0 ETH | |||||
12373924 | 1368 days ago | 0 ETH | |||||
12373924 | 1368 days ago | 0 ETH | |||||
12373924 | 1368 days ago | 0 ETH | |||||
12373924 | 1368 days ago | 0 ETH | |||||
12373924 | 1368 days ago | 0 ETH | |||||
12373924 | 1368 days ago | 0 ETH | |||||
12373924 | 1368 days ago | 0 ETH | |||||
12373868 | 1368 days ago | 0 ETH | |||||
12373868 | 1368 days ago | 0 ETH | |||||
12373868 | 1368 days ago | 0 ETH | |||||
12373868 | 1368 days ago | 0 ETH | |||||
12373868 | 1368 days ago | 0 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
PERC20OnEosVault
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-19 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @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 sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @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) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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 mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.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 SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/introspection/IERC1820Registry.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the global ERC1820 Registry, as defined in the * https://eips.ethereum.org/EIPS/eip-1820[EIP]. Accounts may register * implementers for interfaces in this registry, as well as query support. * * Implementers may be shared by multiple accounts, and can also implement more * than a single interface for each account. Contracts can implement interfaces * for themselves, but externally-owned accounts (EOA) must delegate this to a * contract. * * {IERC165} interfaces can also be queried via the registry. * * For an in-depth explanation and source code analysis, see the EIP text. */ interface IERC1820Registry { /** * @dev Sets `newManager` as the manager for `account`. A manager of an * account is able to set interface implementers for it. * * By default, each account is its own manager. Passing a value of `0x0` in * `newManager` will reset the manager to this initial state. * * Emits a {ManagerChanged} event. * * Requirements: * * - the caller must be the current manager for `account`. */ function setManager(address account, address newManager) external; /** * @dev Returns the manager for `account`. * * See {setManager}. */ function getManager(address account) external view returns (address); /** * @dev Sets the `implementer` contract as ``account``'s implementer for * `interfaceHash`. * * `account` being the zero address is an alias for the caller's address. * The zero address can also be used in `implementer` to remove an old one. * * See {interfaceHash} to learn how these are created. * * Emits an {InterfaceImplementerSet} event. * * Requirements: * * - the caller must be the current manager for `account`. * - `interfaceHash` must not be an {IERC165} interface id (i.e. it must not * end in 28 zeroes). * - `implementer` must implement {IERC1820Implementer} and return true when * queried for support, unless `implementer` is the caller. See * {IERC1820Implementer-canImplementInterfaceForAddress}. */ function setInterfaceImplementer(address account, bytes32 interfaceHash, address implementer) external; /** * @dev Returns the implementer of `interfaceHash` for `account`. If no such * implementer is registered, returns the zero address. * * If `interfaceHash` is an {IERC165} interface id (i.e. it ends with 28 * zeroes), `account` will be queried for support of it. * * `account` being the zero address is an alias for the caller's address. */ function getInterfaceImplementer(address account, bytes32 interfaceHash) external view returns (address); /** * @dev Returns the interface hash for an `interfaceName`, as defined in the * corresponding * https://eips.ethereum.org/EIPS/eip-1820#interface-name[section of the EIP]. */ function interfaceHash(string calldata interfaceName) external pure returns (bytes32); /** * @notice Updates the cache with whether the contract implements an ERC165 interface or not. * @param account Address of the contract for which to update the cache. * @param interfaceId ERC165 interface for which to update the cache. */ function updateERC165Cache(address account, bytes4 interfaceId) external; /** * @notice Checks whether a contract implements an ERC165 interface or not. * If the result is not cached a direct lookup on the contract address is performed. * If the result is not cached or the cached value is out-of-date, the cache MUST be updated manually by calling * {updateERC165Cache} with the contract address. * @param account Address of the contract to check. * @param interfaceId ERC165 interface to check. * @return True if `account` implements `interfaceId`, false otherwise. */ function implementsERC165Interface(address account, bytes4 interfaceId) external view returns (bool); /** * @notice Checks whether a contract implements an ERC165 interface or not without using nor updating the cache. * @param account Address of the contract to check. * @param interfaceId ERC165 interface to check. * @return True if `account` implements `interfaceId`, false otherwise. */ function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) external view returns (bool); event InterfaceImplementerSet(address indexed account, bytes32 indexed interfaceHash, address indexed implementer); event ManagerChanged(address indexed account, address indexed newManager); } // File: @openzeppelin/contracts/token/ERC777/IERC777Recipient.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC777TokensRecipient standard as defined in the EIP. * * Accounts can be notified of {IERC777} tokens being sent to them by having a * contract implement this interface (contract holders can be their own * implementer) and registering it on the * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry]. * * See {IERC1820Registry} and {ERC1820Implementer}. */ interface IERC777Recipient { /** * @dev Called by an {IERC777} token contract whenever tokens are being * moved or created into a registered account (`to`). The type of operation * is conveyed by `from` being the zero address or not. * * This call occurs _after_ the token contract's state is updated, so * {IERC777-balanceOf}, etc., can be used to query the post-operation state. * * This function may revert to prevent the operation from being executed. */ function tokensReceived( address operator, address from, address to, uint256 amount, bytes calldata userData, bytes calldata operatorData ) external; } // File: contracts/IWETH.sol pragma solidity ^0.6.0; interface IWETH { function deposit() external payable; function transfer(address to, uint value) external returns (bool); function withdraw(uint) external; function balanceOf(address who) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function allowance(address owner, address spender) external returns (uint256); } // File: contracts/AbstractOwnable.sol pragma solidity ^0.6.0; abstract contract AbstractOwnable { modifier onlyOwner() { require(_owner() == msg.sender, "caller is not the owner"); _; } function _owner() internal virtual returns(address); } // File: contracts/Withdrawable.sol pragma solidity >=0.4.24; abstract contract Withdrawable is AbstractOwnable { using SafeERC20 for IERC20; address constant ETHER = address(0); event LogWithdrawToken( address indexed _from, address indexed _token, uint amount ); /** * @dev Withdraw asset. * @param asset Asset to be withdrawn. */ function adminWithdraw(address asset) public onlyOwner { uint tokenBalance = adminWithdrawAllowed(asset); require(tokenBalance > 0, "admin witdraw not allowed"); _withdraw(asset, tokenBalance); } function _withdraw(address _tokenAddress, uint _amount) internal { if (_tokenAddress == ETHER) { msg.sender.transfer(_amount); } else { IERC20(_tokenAddress).safeTransfer(msg.sender, _amount); } emit LogWithdrawToken(msg.sender, _tokenAddress, _amount); } // can be overridden to disallow withdraw for some token function adminWithdrawAllowed(address asset) internal virtual view returns(uint allowedAmount) { allowedAmount = asset == ETHER ? address(this).balance : IERC20(asset).balanceOf(address(this)); } } // File: contracts/PERC20OnEosVault.sol pragma solidity ^0.6.0; contract PERC20OnEosVault is Withdrawable, IERC777Recipient { using SafeERC20 for IERC20; using EnumerableSet for EnumerableSet.AddressSet; IERC1820Registry private _erc1820 = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24); bytes32 constant private TOKENS_RECIPIENT_INTERFACE_HASH = keccak256("ERC777TokensRecipient"); EnumerableSet.AddressSet private supportedTokens; address public PNETWORK; IWETH public weth; event PegIn(address _tokenAddress, address _tokenSender, uint256 _tokenAmount, string _destinationAddress); constructor( address _weth, address [] memory _tokensToSupport ) public { PNETWORK = msg.sender; for (uint256 i = 0; i < _tokensToSupport.length; i++) { supportedTokens.add(_tokensToSupport[i]); } weth = IWETH(_weth); _erc1820.setInterfaceImplementer(address(this), TOKENS_RECIPIENT_INTERFACE_HASH, address(this)); } modifier onlyPNetwork() { require(msg.sender == PNETWORK, "Caller must be PNETWORK address!"); _; } receive() external payable { require(msg.sender == address(weth)); } function setWeth(address _weth) external onlyPNetwork { weth = IWETH(_weth); } function setPNetwork(address _pnetwork) external onlyPNetwork { PNETWORK = _pnetwork; } function IS_TOKEN_SUPPORTED(address _token) external view returns(bool) { return supportedTokens.contains(_token); } function _owner() internal override returns(address) { return PNETWORK; } function adminWithdrawAllowed(address asset) internal override view returns(uint) { return supportedTokens.contains(asset) ? 0 : super.adminWithdrawAllowed(asset); } function addSupportedToken( address _tokenAddress ) external onlyPNetwork returns (bool SUCCESS) { supportedTokens.add(_tokenAddress); return true; } function removeSupportedToken( address _tokenAddress ) external onlyPNetwork returns (bool SUCCESS) { return supportedTokens.remove(_tokenAddress); } function pegIn( uint256 _tokenAmount, address _tokenAddress, string calldata _destinationAddress ) external returns (bool) { require(supportedTokens.contains(_tokenAddress), "Token at supplied address is NOT supported!"); require(_tokenAmount > 0, "Token amount must be greater than zero!"); IERC20(_tokenAddress).safeTransferFrom(msg.sender, address(this), _tokenAmount); emit PegIn(_tokenAddress, msg.sender, _tokenAmount, _destinationAddress); return true; } /** * @dev Implementation of IERC777Recipient. */ function tokensReceived( address /*operator*/, address from, address to, uint256 amount, bytes calldata userData, bytes calldata /*operatorData*/ ) external override { address _tokenAddress = msg.sender; require(supportedTokens.contains(_tokenAddress), "caller is not a supported ERC777 token!"); require(to == address(this), "Token receiver is not this contract"); if (userData.length > 0) { require(amount > 0, "Token amount must be greater than zero!"); (bytes32 tag, string memory _destinationAddress) = abi.decode(userData, (bytes32, string)); require(tag == keccak256("ERC777-pegIn"), "Invalid tag for automatic pegIn on ERC777 send"); emit PegIn(_tokenAddress, from, amount, _destinationAddress); } } function pegInEth(string calldata _destinationAddress) external payable returns (bool) { require(supportedTokens.contains(address(weth)), "WETH is NOT supported!"); require(msg.value > 0, "Ethers amount must be greater than zero!"); weth.deposit.value(msg.value)(); emit PegIn(address(weth), msg.sender, msg.value, _destinationAddress); return true; } function pegOut( address payable _tokenRecipient, address _tokenAddress, uint256 _tokenAmount ) external onlyPNetwork returns (bool) { if (_tokenAddress == address(weth)) { weth.withdraw(_tokenAmount); _tokenRecipient.transfer(_tokenAmount); } else { IERC20(_tokenAddress).safeTransfer(_tokenRecipient, _tokenAmount); } return true; } function migrate( address payable _to ) external onlyPNetwork { for (uint256 i = 0; i < supportedTokens.length(); i++) { address tokenAddress = supportedTokens.at(i); _migrateSingle(_to, tokenAddress); } } function destroy() external onlyPNetwork { for (uint256 i = 0; i < supportedTokens.length(); i++) { address tokenAddress = supportedTokens.at(i); require(IERC20(tokenAddress).balanceOf(address(this)) == 0, "Balance of supported tokens must be 0"); } selfdestruct(msg.sender); } function migrateSingle( address payable _to, address _tokenAddress ) external onlyPNetwork { _migrateSingle(_to, _tokenAddress); } function _migrateSingle( address payable _to, address _tokenAddress ) private { if (supportedTokens.contains(_tokenAddress)) { uint balance = IERC20(_tokenAddress).balanceOf(address(this)); IERC20(_tokenAddress).safeTransfer(_to, balance); supportedTokens.remove(_tokenAddress); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address[]","name":"_tokensToSupport","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogWithdrawToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_tokenAddress","type":"address"},{"indexed":false,"internalType":"address","name":"_tokenSender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"indexed":false,"internalType":"string","name":"_destinationAddress","type":"string"}],"name":"PegIn","type":"event"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"IS_TOKEN_SUPPORTED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PNETWORK","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"addSupportedToken","outputs":[{"internalType":"bool","name":"SUCCESS","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"adminWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"destroy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"migrateSingle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"string","name":"_destinationAddress","type":"string"}],"name":"pegIn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_destinationAddress","type":"string"}],"name":"pegInEth","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_tokenRecipient","type":"address"},{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"pegOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"removeSupportedToken","outputs":[{"internalType":"bool","name":"SUCCESS","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pnetwork","type":"address"}],"name":"setPNetwork","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_weth","type":"address"}],"name":"setWeth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"userData","type":"bytes"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"tokensReceived","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600080546001600160a01b031916731820a4b7618bde71dce8cdc73aab6c95905fad241790553480156200003757600080fd5b5060405162001c9638038062001c96833981810160405260408110156200005d57600080fd5b8151602083018051604051929492938301929190846401000000008211156200008557600080fd5b9083019060208201858111156200009b57600080fd5b8251866020820283011164010000000082111715620000b957600080fd5b82525081516020918201928201910280838360005b83811015620000e8578181015183820152602001620000ce565b50505050919091016040525050600380546001600160a01b0319163317905550600090505b81518110156200015057620001468282815181106200012857fe5b602002602001015160016200020e60201b620011ce1790919060201c565b506001016200010d565b50600480546001600160a01b038085166001600160a01b031990921691909117825560008054604080517f455243373737546f6b656e73526563697069656e740000000000000000000000815281519081900360150181206329965a1d60e01b82523096820187905260248201526044810195909552519216926329965a1d926064808301939282900301818387803b158015620001ed57600080fd5b505af115801562000202573d6000803e3d6000fd5b505050505050620002a7565b60006200022e836001600160a01b0384166001600160e01b036200023716565b90505b92915050565b60006200024e83836001600160e01b036200028f16565b620002865750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000231565b50600062000231565b60009081526001919091016020526040902054151590565b6119df80620002b76000396000f3fe6080604052600436106100eb5760003560e01c806383197ef01161008a578063b8d1452f11610059578063b8d1452f1461044a578063cc3ae6e61461047d578063ce5494bb146104eb578063e62ece301461051e57610109565b806383197ef01461032f57806383c09d4214610344578063a0e8d7ca14610387578063a28835b61461041757610109565b80632c99d4e2116100c65780632c99d4e2146102835780633fc8cef3146102b45780636d69fcaf146102c957806376319190146102fc57610109565b806223de291461010e5780630a23b33b146102015780631328ed3c1461024857610109565b36610109576004546001600160a01b0316331461010757600080fd5b005b600080fd5b34801561011a57600080fd5b50610107600480360360c081101561013157600080fd5b6001600160a01b03823581169260208101358216926040820135909216916060820135919081019060a081016080820135600160201b81111561017357600080fd5b82018360208201111561018557600080fd5b803590602001918460018302840111600160201b831117156101a657600080fd5b919390929091602081019035600160201b8111156101c357600080fd5b8201836020820111156101d557600080fd5b803590602001918460018302840111600160201b831117156101f657600080fd5b509092509050610551565b34801561020d57600080fd5b506102346004803603602081101561022457600080fd5b50356001600160a01b0316610815565b604080519115158252519081900360200190f35b34801561025457600080fd5b506101076004803603604081101561026b57600080fd5b506001600160a01b038135811691602001351661082e565b34801561028f57600080fd5b50610298610889565b604080516001600160a01b039092168252519081900360200190f35b3480156102c057600080fd5b50610298610898565b3480156102d557600080fd5b50610234600480360360208110156102ec57600080fd5b50356001600160a01b03166108a7565b34801561030857600080fd5b506102346004803603602081101561031f57600080fd5b50356001600160a01b0316610911565b34801561033b57600080fd5b50610107610972565b34801561035057600080fd5b506102346004803603606081101561036757600080fd5b506001600160a01b03813581169160208101359091169060400135610aa5565b34801561039357600080fd5b50610234600480360360608110156103aa57600080fd5b8135916001600160a01b0360208201351691810190606081016040820135600160201b8111156103d957600080fd5b8201836020820111156103eb57600080fd5b803590602001918460018302840111600160201b8311171561040c57600080fd5b509092509050610bce565b34801561042357600080fd5b506101076004803603602081101561043a57600080fd5b50356001600160a01b0316610d1e565b34801561045657600080fd5b506101076004803603602081101561046d57600080fd5b50356001600160a01b0316610dee565b6102346004803603602081101561049357600080fd5b810190602081018135600160201b8111156104ad57600080fd5b8201836020820111156104bf57600080fd5b803590602001918460018302840111600160201b831117156104e057600080fd5b509092509050610e5d565b3480156104f757600080fd5b506101076004803603602081101561050e57600080fd5b50356001600160a01b0316610ffb565b34801561052a57600080fd5b506101076004803603602081101561054157600080fd5b50356001600160a01b0316611084565b3361056360018263ffffffff6110f316565b61059e5760405162461bcd60e51b81526004018080602001828103825260278152602001806119836027913960400191505060405180910390fd5b6001600160a01b03871630146105e55760405162461bcd60e51b81526004018080602001828103825260238152602001806118496023913960400191505060405180910390fd5b831561080a576000861161062a5760405162461bcd60e51b815260040180806020018281038252602781526020018061190a6027913960400191505060405180910390fd5b600060608686604081101561063e57600080fd5b81359190810190604081016020820135600160201b81111561065f57600080fd5b82018360208201111561067157600080fd5b803590602001918460018302840111600160201b8311171561069257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516b22a9219b9b9b96b832b3a4b760a11b8152905190819003600c019020969850919650505092851492506107329150505760405162461bcd60e51b815260040180806020018281038252602e815260200180611891602e913960400191505060405180910390fd5b7f42877668473c4cba073df41397388516dc85c3bbae14b33603513924cec55e36838b8a8460405180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156107ca5781810151838201526020016107b2565b50505050905090810190601f1680156107f75780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a150505b505050505050505050565b600061082860018363ffffffff6110f316565b92915050565b6003546001600160a01b0316331461087b576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b610885828261110f565b5050565b6003546001600160a01b031681565b6004546001600160a01b031681565b6003546000906001600160a01b031633146108f7576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b61090860018363ffffffff6111ce16565b50600192915050565b6003546000906001600160a01b03163314610961576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b61082860018363ffffffff6111e316565b6003546001600160a01b031633146109bf576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b60005b6109cc60016111f8565b811015610aa15760006109e660018363ffffffff61120316565b604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610a3057600080fd5b505afa158015610a44573d6000803e3d6000fd5b505050506040513d6020811015610a5a57600080fd5b505115610a985760405162461bcd60e51b815260040180806020018281038252602581526020018061186c6025913960400191505060405180910390fd5b506001016109c2565b5033ff5b6003546000906001600160a01b03163314610af5576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b6004546001600160a01b0384811691161415610baa576004805460408051632e1a7d4d60e01b8152928301859052516001600160a01b0390911691632e1a7d4d91602480830192600092919082900301818387803b158015610b5657600080fd5b505af1158015610b6a573d6000803e3d6000fd5b50506040516001600160a01b038716925084156108fc02915084906000818181858888f19350505050158015610ba4573d6000803e3d6000fd5b50610bc4565b610bc46001600160a01b038416858463ffffffff61120f16565b5060019392505050565b6000610be160018563ffffffff6110f316565b610c1c5760405162461bcd60e51b815260040180806020018281038252602b8152602001806118df602b913960400191505060405180910390fd5b60008511610c5b5760405162461bcd60e51b815260040180806020018281038252602781526020018061190a6027913960400191505060405180910390fd5b610c766001600160a01b03851633308863ffffffff61126616565b7f42877668473c4cba073df41397388516dc85c3bbae14b33603513924cec55e36843387868660405180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b03168152602001848152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039850909650505050505050a15060015b949350505050565b33610d276112c0565b6001600160a01b031614610d82576040805162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604482015290519081900360640190fd5b6000610d8d826112cf565b905060008111610de4576040805162461bcd60e51b815260206004820152601960248201527f61646d696e2077697464726177206e6f7420616c6c6f77656400000000000000604482015290519081900360640190fd5b61088582826112fc565b6003546001600160a01b03163314610e3b576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600454600090610e7e906001906001600160a01b031663ffffffff6110f316565b610ec8576040805162461bcd60e51b815260206004820152601660248201527557455448206973204e4f5420737570706f727465642160501b604482015290519081900360640190fd5b60003411610f075760405162461bcd60e51b81526004018080602001828103825260288152602001806119316028913960400191505060405180910390fd5b6004805460408051630d0e30db60e41b815290516001600160a01b039092169263d0e30db0923492808301926000929182900301818588803b158015610f4c57600080fd5b505af1158015610f60573d6000803e3d6000fd5b5050600454604080516001600160a01b039092168083523360208401819052349284018390526080606085018181529085018a90527f42877668473c4cba073df41397388516dc85c3bbae14b33603513924cec55e36975091955093509091889188919060a08201848480828437600083820152604051601f909101601f19169092018290039850909650505050505050a150600192915050565b6003546001600160a01b03163314611048576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b60005b61105560016111f8565b81101561088557600061106f60018363ffffffff61120316565b905061107b838261110f565b5060010161104b565b6003546001600160a01b031633146110d1576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000611108836001600160a01b03841661139b565b9392505050565b61112060018263ffffffff6110f316565b1561088557604080516370a0823160e01b815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561116f57600080fd5b505afa158015611183573d6000803e3d6000fd5b505050506040513d602081101561119957600080fd5b505190506111b76001600160a01b038316848363ffffffff61120f16565b6111c860018363ffffffff6111e316565b50505050565b6000611108836001600160a01b0384166113b3565b6000611108836001600160a01b0384166113fd565b6000610828826114c3565b600061110883836114c7565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261126190849061152b565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526111c890859061152b565b6003546001600160a01b031690565b60006112e260018363ffffffff6110f316565b6112f4576112ef826115dc565b610828565b506000919050565b6001600160a01b03821661133d57604051339082156108fc029083906000818181858888f19350505050158015611337573d6000803e3d6000fd5b50611357565b6113576001600160a01b038316338363ffffffff61120f16565b6040805182815290516001600160a01b0384169133917f46ae78bc7b198b8b534ca0070d125569ac5f955976841c4343223079f3abf0de9181900360200190a35050565b60009081526001919091016020526040902054151590565b60006113bf838361139b565b6113f557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610828565b506000610828565b600081815260018301602052604081205480156114b9578354600019808301919081019060009087908390811061143057fe5b906000526020600020015490508087600001848154811061144d57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061147d57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610828565b6000915050610828565b5490565b815460009082106115095760405162461bcd60e51b81526004018080602001828103825260228152602001806118276022913960400191505060405180910390fd5b82600001828154811061151857fe5b9060005260206000200154905092915050565b6060611580826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661166b9092919063ffffffff16565b8051909150156112615780806020019051602081101561159f57600080fd5b50516112615760405162461bcd60e51b815260040180806020018281038252602a815260200180611959602a913960400191505060405180910390fd5b60006001600160a01b0382161561166457604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561163357600080fd5b505afa158015611647573d6000803e3d6000fd5b505050506040513d602081101561165d57600080fd5b5051610828565b4792915050565b6060610d168484600085606061168085611820565b6116d1576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106117105780518252601f1990920191602091820191016116f1565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611772576040519150601f19603f3d011682016040523d82523d6000602084013e611777565b606091505b5091509150811561178b579150610d169050565b80511561179b5780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156117e55781810151838201526020016117cd565b50505050905090810190601f1680156118125780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b3b15159056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473546f6b656e207265636569766572206973206e6f74207468697320636f6e747261637442616c616e6365206f6620737570706f7274656420746f6b656e73206d7573742062652030496e76616c69642074616720666f72206175746f6d6174696320706567496e206f6e204552433737372073656e6443616c6c6572206d75737420626520504e4554574f524b206164647265737321546f6b656e20617420737570706c6965642061646472657373206973204e4f5420737570706f7274656421546f6b656e20616d6f756e74206d7573742062652067726561746572207468616e207a65726f2145746865727320616d6f756e74206d7573742062652067726561746572207468616e207a65726f215361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656463616c6c6572206973206e6f74206120737570706f727465642045524337373720746f6b656e21a26469706673582212205a15071870671d0041895477b6f56dd18edd2bc15cf9d53bb15492e46b27413664736f6c63430006020033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode
0x6080604052600436106100eb5760003560e01c806383197ef01161008a578063b8d1452f11610059578063b8d1452f1461044a578063cc3ae6e61461047d578063ce5494bb146104eb578063e62ece301461051e57610109565b806383197ef01461032f57806383c09d4214610344578063a0e8d7ca14610387578063a28835b61461041757610109565b80632c99d4e2116100c65780632c99d4e2146102835780633fc8cef3146102b45780636d69fcaf146102c957806376319190146102fc57610109565b806223de291461010e5780630a23b33b146102015780631328ed3c1461024857610109565b36610109576004546001600160a01b0316331461010757600080fd5b005b600080fd5b34801561011a57600080fd5b50610107600480360360c081101561013157600080fd5b6001600160a01b03823581169260208101358216926040820135909216916060820135919081019060a081016080820135600160201b81111561017357600080fd5b82018360208201111561018557600080fd5b803590602001918460018302840111600160201b831117156101a657600080fd5b919390929091602081019035600160201b8111156101c357600080fd5b8201836020820111156101d557600080fd5b803590602001918460018302840111600160201b831117156101f657600080fd5b509092509050610551565b34801561020d57600080fd5b506102346004803603602081101561022457600080fd5b50356001600160a01b0316610815565b604080519115158252519081900360200190f35b34801561025457600080fd5b506101076004803603604081101561026b57600080fd5b506001600160a01b038135811691602001351661082e565b34801561028f57600080fd5b50610298610889565b604080516001600160a01b039092168252519081900360200190f35b3480156102c057600080fd5b50610298610898565b3480156102d557600080fd5b50610234600480360360208110156102ec57600080fd5b50356001600160a01b03166108a7565b34801561030857600080fd5b506102346004803603602081101561031f57600080fd5b50356001600160a01b0316610911565b34801561033b57600080fd5b50610107610972565b34801561035057600080fd5b506102346004803603606081101561036757600080fd5b506001600160a01b03813581169160208101359091169060400135610aa5565b34801561039357600080fd5b50610234600480360360608110156103aa57600080fd5b8135916001600160a01b0360208201351691810190606081016040820135600160201b8111156103d957600080fd5b8201836020820111156103eb57600080fd5b803590602001918460018302840111600160201b8311171561040c57600080fd5b509092509050610bce565b34801561042357600080fd5b506101076004803603602081101561043a57600080fd5b50356001600160a01b0316610d1e565b34801561045657600080fd5b506101076004803603602081101561046d57600080fd5b50356001600160a01b0316610dee565b6102346004803603602081101561049357600080fd5b810190602081018135600160201b8111156104ad57600080fd5b8201836020820111156104bf57600080fd5b803590602001918460018302840111600160201b831117156104e057600080fd5b509092509050610e5d565b3480156104f757600080fd5b506101076004803603602081101561050e57600080fd5b50356001600160a01b0316610ffb565b34801561052a57600080fd5b506101076004803603602081101561054157600080fd5b50356001600160a01b0316611084565b3361056360018263ffffffff6110f316565b61059e5760405162461bcd60e51b81526004018080602001828103825260278152602001806119836027913960400191505060405180910390fd5b6001600160a01b03871630146105e55760405162461bcd60e51b81526004018080602001828103825260238152602001806118496023913960400191505060405180910390fd5b831561080a576000861161062a5760405162461bcd60e51b815260040180806020018281038252602781526020018061190a6027913960400191505060405180910390fd5b600060608686604081101561063e57600080fd5b81359190810190604081016020820135600160201b81111561065f57600080fd5b82018360208201111561067157600080fd5b803590602001918460018302840111600160201b8311171561069257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516b22a9219b9b9b96b832b3a4b760a11b8152905190819003600c019020969850919650505092851492506107329150505760405162461bcd60e51b815260040180806020018281038252602e815260200180611891602e913960400191505060405180910390fd5b7f42877668473c4cba073df41397388516dc85c3bbae14b33603513924cec55e36838b8a8460405180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156107ca5781810151838201526020016107b2565b50505050905090810190601f1680156107f75780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a150505b505050505050505050565b600061082860018363ffffffff6110f316565b92915050565b6003546001600160a01b0316331461087b576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b610885828261110f565b5050565b6003546001600160a01b031681565b6004546001600160a01b031681565b6003546000906001600160a01b031633146108f7576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b61090860018363ffffffff6111ce16565b50600192915050565b6003546000906001600160a01b03163314610961576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b61082860018363ffffffff6111e316565b6003546001600160a01b031633146109bf576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b60005b6109cc60016111f8565b811015610aa15760006109e660018363ffffffff61120316565b604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610a3057600080fd5b505afa158015610a44573d6000803e3d6000fd5b505050506040513d6020811015610a5a57600080fd5b505115610a985760405162461bcd60e51b815260040180806020018281038252602581526020018061186c6025913960400191505060405180910390fd5b506001016109c2565b5033ff5b6003546000906001600160a01b03163314610af5576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b6004546001600160a01b0384811691161415610baa576004805460408051632e1a7d4d60e01b8152928301859052516001600160a01b0390911691632e1a7d4d91602480830192600092919082900301818387803b158015610b5657600080fd5b505af1158015610b6a573d6000803e3d6000fd5b50506040516001600160a01b038716925084156108fc02915084906000818181858888f19350505050158015610ba4573d6000803e3d6000fd5b50610bc4565b610bc46001600160a01b038416858463ffffffff61120f16565b5060019392505050565b6000610be160018563ffffffff6110f316565b610c1c5760405162461bcd60e51b815260040180806020018281038252602b8152602001806118df602b913960400191505060405180910390fd5b60008511610c5b5760405162461bcd60e51b815260040180806020018281038252602781526020018061190a6027913960400191505060405180910390fd5b610c766001600160a01b03851633308863ffffffff61126616565b7f42877668473c4cba073df41397388516dc85c3bbae14b33603513924cec55e36843387868660405180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b03168152602001848152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039850909650505050505050a15060015b949350505050565b33610d276112c0565b6001600160a01b031614610d82576040805162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604482015290519081900360640190fd5b6000610d8d826112cf565b905060008111610de4576040805162461bcd60e51b815260206004820152601960248201527f61646d696e2077697464726177206e6f7420616c6c6f77656400000000000000604482015290519081900360640190fd5b61088582826112fc565b6003546001600160a01b03163314610e3b576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600454600090610e7e906001906001600160a01b031663ffffffff6110f316565b610ec8576040805162461bcd60e51b815260206004820152601660248201527557455448206973204e4f5420737570706f727465642160501b604482015290519081900360640190fd5b60003411610f075760405162461bcd60e51b81526004018080602001828103825260288152602001806119316028913960400191505060405180910390fd5b6004805460408051630d0e30db60e41b815290516001600160a01b039092169263d0e30db0923492808301926000929182900301818588803b158015610f4c57600080fd5b505af1158015610f60573d6000803e3d6000fd5b5050600454604080516001600160a01b039092168083523360208401819052349284018390526080606085018181529085018a90527f42877668473c4cba073df41397388516dc85c3bbae14b33603513924cec55e36975091955093509091889188919060a08201848480828437600083820152604051601f909101601f19169092018290039850909650505050505050a150600192915050565b6003546001600160a01b03163314611048576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b60005b61105560016111f8565b81101561088557600061106f60018363ffffffff61120316565b905061107b838261110f565b5060010161104b565b6003546001600160a01b031633146110d1576040805162461bcd60e51b815260206004820181905260248201526000805160206118bf833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000611108836001600160a01b03841661139b565b9392505050565b61112060018263ffffffff6110f316565b1561088557604080516370a0823160e01b815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561116f57600080fd5b505afa158015611183573d6000803e3d6000fd5b505050506040513d602081101561119957600080fd5b505190506111b76001600160a01b038316848363ffffffff61120f16565b6111c860018363ffffffff6111e316565b50505050565b6000611108836001600160a01b0384166113b3565b6000611108836001600160a01b0384166113fd565b6000610828826114c3565b600061110883836114c7565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261126190849061152b565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526111c890859061152b565b6003546001600160a01b031690565b60006112e260018363ffffffff6110f316565b6112f4576112ef826115dc565b610828565b506000919050565b6001600160a01b03821661133d57604051339082156108fc029083906000818181858888f19350505050158015611337573d6000803e3d6000fd5b50611357565b6113576001600160a01b038316338363ffffffff61120f16565b6040805182815290516001600160a01b0384169133917f46ae78bc7b198b8b534ca0070d125569ac5f955976841c4343223079f3abf0de9181900360200190a35050565b60009081526001919091016020526040902054151590565b60006113bf838361139b565b6113f557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610828565b506000610828565b600081815260018301602052604081205480156114b9578354600019808301919081019060009087908390811061143057fe5b906000526020600020015490508087600001848154811061144d57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061147d57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610828565b6000915050610828565b5490565b815460009082106115095760405162461bcd60e51b81526004018080602001828103825260228152602001806118276022913960400191505060405180910390fd5b82600001828154811061151857fe5b9060005260206000200154905092915050565b6060611580826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661166b9092919063ffffffff16565b8051909150156112615780806020019051602081101561159f57600080fd5b50516112615760405162461bcd60e51b815260040180806020018281038252602a815260200180611959602a913960400191505060405180910390fd5b60006001600160a01b0382161561166457604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561163357600080fd5b505afa158015611647573d6000803e3d6000fd5b505050506040513d602081101561165d57600080fd5b5051610828565b4792915050565b6060610d168484600085606061168085611820565b6116d1576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106117105780518252601f1990920191602091820191016116f1565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611772576040519150601f19603f3d011682016040523d82523d6000602084013e611777565b606091505b5091509150811561178b579150610d169050565b80511561179b5780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156117e55781810151838201526020016117cd565b50505050905090810190601f1680156118125780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b3b15159056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473546f6b656e207265636569766572206973206e6f74207468697320636f6e747261637442616c616e6365206f6620737570706f7274656420746f6b656e73206d7573742062652030496e76616c69642074616720666f72206175746f6d6174696320706567496e206f6e204552433737372073656e6443616c6c6572206d75737420626520504e4554574f524b206164647265737321546f6b656e20617420737570706c6965642061646472657373206973204e4f5420737570706f7274656421546f6b656e20616d6f756e74206d7573742062652067726561746572207468616e207a65726f2145746865727320616d6f756e74206d7573742062652067726561746572207468616e207a65726f215361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656463616c6c6572206973206e6f74206120737570706f727465642045524337373720746f6b656e21a26469706673582212205a15071870671d0041895477b6f56dd18edd2bc15cf9d53bb15492e46b27413664736f6c63430006020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
-----Decoded View---------------
Arg [0] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [1] : _tokensToSupport (address[]): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode Sourcemap
34426:5981:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35622:4;;-1:-1:-1;;;;;35622:4:0;35600:10;:27;35592:36;;;;;;34426:5981;;;;;37357:868;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37357:868:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;37357:868:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;37357:868:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;37357:868:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;37357:868:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;37357:868:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;37357:868:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;37357:868:0;;-1:-1:-1;37357:868:0;-1:-1:-1;37357:868:0;:::i;35853:130::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35853:130:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35853:130:0;-1:-1:-1;;;;;35853:130:0;;:::i;:::-;;;;;;;;;;;;;;;;;;39825:190;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39825:190:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;39825:190:0;;;;;;;;;;:::i;34843:23::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34843:23:0;;;:::i;:::-;;;;-1:-1:-1;;;;;34843:23:0;;;;;;;;;;;;;;34873:17;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34873:17:0;;;:::i;36273:218::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36273:218:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36273:218:0;-1:-1:-1;;;;;36273:218:0;;:::i;36499:209::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36499:209:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36499:209:0;-1:-1:-1;;;;;36499:209:0;;:::i;39459:358::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39459:358:0;;;:::i;38674:478::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38674:478:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38674:478:0;;;;;;;;;;;;;;;;;:::i;36716:566::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36716:566:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;36716:566:0;;;-1:-1:-1;;;;;36716:566:0;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;36716:566:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;36716:566:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;36716:566:0;;-1:-1:-1;36716:566:0;-1:-1:-1;36716:566:0;:::i;33541:213::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33541:213:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33541:213:0;-1:-1:-1;;;;;33541:213:0;;:::i;35644:92::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35644:92:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35644:92:0;-1:-1:-1;;;;;35644:92:0;;:::i;38233:433::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;38233:433:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;38233:433:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;38233:433:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;38233:433:0;;-1:-1:-1;38233:433:0;-1:-1:-1;38233:433:0;:::i;39160:291::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39160:291:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39160:291:0;-1:-1:-1;;;;;39160:291:0;;:::i;35744:101::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35744:101:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35744:101:0;-1:-1:-1;;;;;35744:101:0;;:::i;37357:868::-;37617:10;37646:39;:15;37617:10;37646:39;:24;:39;:::i;:::-;37638:91;;;;-1:-1:-1;;;37638:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37748:19:0;;37762:4;37748:19;37740:67;;;;-1:-1:-1;;;37740:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37822:19;;37818:400;;37875:1;37866:6;:10;37858:62;;;;-1:-1:-1;;;37858:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37936:11;37949:33;37997:8;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;37986:39:0;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;37986:39:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;37986:39:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;37986:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;38055:25:0;;;-1:-1:-1;;;38055:25:0;;;;;;;;;;;;37935:90;;-1:-1:-1;37986:39:0;;-1:-1:-1;;;38048:32:0;;;;-1:-1:-1;38040:91:0;;-1:-1:-1;;38040:91:0;;;-1:-1:-1;;;38040:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38151:55;38157:13;38172:4;38178:6;38186:19;38151:55;;;;-1:-1:-1;;;;;38151:55:0;-1:-1:-1;;;;;38151:55:0;;;;;;-1:-1:-1;;;;;38151:55:0;-1:-1:-1;;;;;38151:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;38151:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37818:400;;;37357:868;;;;;;;;;:::o;35853:130::-;35919:4;35943:32;:15;35968:6;35943:32;:24;:32;:::i;:::-;35936:39;35853:130;-1:-1:-1;;35853:130:0:o;39825:190::-;35481:8;;-1:-1:-1;;;;;35481:8:0;35467:10;:22;35459:67;;;;;-1:-1:-1;;;35459:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35459:67:0;;;;;;;;;;;;;;;39973:34:::1;39988:3;39993:13;39973:14;:34::i;:::-;39825:190:::0;;:::o;34843:23::-;;;-1:-1:-1;;;;;34843:23:0;;:::o;34873:17::-;;;-1:-1:-1;;;;;34873:17:0;;:::o;36273:218::-;35481:8;;36397:12;;-1:-1:-1;;;;;35481:8:0;35467:10;:22;35459:67;;;;;-1:-1:-1;;;35459:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35459:67:0;;;;;;;;;;;;;;;36427:34:::1;:15;36447:13:::0;36427:34:::1;:19;:34;:::i;:::-;-1:-1:-1::0;36479:4:0::1;::::0;36273:218;-1:-1:-1;;36273:218:0:o;36499:209::-;35481:8;;36626:12;;-1:-1:-1;;;;;35481:8:0;35467:10;:22;35459:67;;;;;-1:-1:-1;;;35459:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35459:67:0;;;;;;;;;;;;;;;36663:37:::1;:15;36686:13:::0;36663:37:::1;:22;:37;:::i;39459:358::-:0;35481:8;;-1:-1:-1;;;;;35481:8:0;35467:10;:22;35459:67;;;;;-1:-1:-1;;;35459:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35459:67:0;;;;;;;;;;;;;;;39539:9:::1;39534:241;39558:24;:15;:22;:24::i;:::-;39554:1;:28;39534:241;;;39604:20;39627:21;:15;39646:1:::0;39627:21:::1;:18;:21;:::i;:::-;39671:45;::::0;;-1:-1:-1;;;39671:45:0;;39710:4:::1;39671:45;::::0;::::1;::::0;;;39604:44;;-1:-1:-1;;;;;;39671:30:0;::::1;::::0;::::1;::::0;:45;;;;;::::1;::::0;;;;;;;;;:30;:45;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;39671:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;39671:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;39671:45:0;:50;39663:100:::1;;;;-1:-1:-1::0;;;39663:100:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;39584:3:0::1;;39534:241;;;-1:-1:-1::0;39798:10:0::1;39785:24;38674:478:::0;35481:8;;38860:4;;-1:-1:-1;;;;;35481:8:0;35467:10;:22;35459:67;;;;;-1:-1:-1;;;35459:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35459:67:0;;;;;;;;;;;;;;;38911:4:::1;::::0;-1:-1:-1;;;;;38886:30:0;;::::1;38911:4:::0;::::1;38886:30;38882:241;;;38933:4;::::0;;:27:::1;::::0;;-1:-1:-1;;;38933:27:0;;;;::::1;::::0;;;;-1:-1:-1;;;;;38933:4:0;;::::1;::::0;:13:::1;::::0;:27;;;;;:4:::1;::::0;:27;;;;;;;:4;;:27;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;38933:27:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;-1:-1:::0;;38975:38:0::1;::::0;-1:-1:-1;;;;;38975:24:0;::::1;::::0;-1:-1:-1;38975:38:0;::::1;;;::::0;-1:-1:-1;39000:12:0;;38975:38:::1;::::0;;;39000:12;38975:24;:38;::::1;;;;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;38975:38:0;38882:241;;;39046:65;-1:-1:-1::0;;;;;39046:34:0;::::1;39081:15:::0;39098:12;39046:65:::1;:34;:65;:::i;:::-;-1:-1:-1::0;39140:4:0::1;38674:478:::0;;;;;:::o;36716:566::-;36883:4;36913:39;:15;36938:13;36913:39;:24;:39;:::i;:::-;36905:95;;;;-1:-1:-1;;;36905:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37034:1;37019:12;:16;37011:68;;;;-1:-1:-1;;;37011:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37090:79;-1:-1:-1;;;;;37090:38:0;;37129:10;37149:4;37156:12;37090:79;:38;:79;:::i;:::-;37185:67;37191:13;37206:10;37218:12;37232:19;;37185:67;;;;-1:-1:-1;;;;;37185:67:0;-1:-1:-1;;;;;37185:67:0;;;;;;-1:-1:-1;;;;;37185:67:0;-1:-1:-1;;;;;37185:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;37185:67:0;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;37185:67:0;;;;-1:-1:-1;37185:67:0;;-1:-1:-1;;;;;;;37185:67:0;-1:-1:-1;37270:4:0;36716:566;;;;;;;:::o;33541:213::-;33028:10;33016:8;:6;:8::i;:::-;-1:-1:-1;;;;;33016:22:0;;33008:58;;;;;-1:-1:-1;;;33008:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;33603:17:::1;33623:27;33644:5;33623:20;:27::i;:::-;33603:47;;33680:1;33665:12;:16;33657:54;;;::::0;;-1:-1:-1;;;33657:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;33718:30;33728:5;33735:12;33718:9;:30::i;35644:92::-:0;35481:8;;-1:-1:-1;;;;;35481:8:0;35467:10;:22;35459:67;;;;;-1:-1:-1;;;35459:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35459:67:0;;;;;;;;;;;;;;;35709:4:::1;:19:::0;;-1:-1:-1;;;;;;35709:19:0::1;-1:-1:-1::0;;;;;35709:19:0;;;::::1;::::0;;;::::1;::::0;;35644:92::o;38233:433::-;38404:4;;38341;;38371:39;;38404:4;;-1:-1:-1;;;;;38404:4:0;38371:39;:24;:39;:::i;:::-;38363:74;;;;;-1:-1:-1;;;38363:74:0;;;;;;;;;;;;-1:-1:-1;;;38363:74:0;;;;;;;;;;;;;;;38468:1;38456:9;:13;38448:66;;;;-1:-1:-1;;;38448:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38525:4;;;:31;;;-1:-1:-1;;;38525:31:0;;;;-1:-1:-1;;;;;38525:4:0;;;;:12;;38544:9;;38525:31;;;;:4;;:31;;;;;;38544:9;38525:4;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;38525:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;38586:4:0;;38572:64;;;-1:-1:-1;;;;;38586:4:0;;;38572:64;;;38593:10;38572:64;;;;;;38605:9;38572:64;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38586:4:0;;-1:-1:-1;38593:10:0;-1:-1:-1;38605:9:0;;38616:19;;;;38572:64;;;;38616:19;;;;38572:64;1:33:-1;99:1;81:16;;;74:27;38572:64:0;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;38572:64:0;;;;-1:-1:-1;38572:64:0;;-1:-1:-1;;;;;;;38572:64:0;-1:-1:-1;38654:4:0;38233:433;;;;:::o;39160:291::-;35481:8;;-1:-1:-1;;;;;35481:8:0;35467:10;:22;35459:67;;;;;-1:-1:-1;;;35459:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35459:67:0;;;;;;;;;;;;;;;39275:9:::1;39270:174;39294:24;:15;:22;:24::i;:::-;39290:1;:28;39270:174;;;39340:20;39363:21;:15;39382:1:::0;39363:21:::1;:18;:21;:::i;:::-;39340:44;;39399:33;39414:3;39419:12;39399:14;:33::i;:::-;-1:-1:-1::0;39320:3:0::1;;39270:174;;35744:101:::0;35481:8;;-1:-1:-1;;;;;35481:8:0;35467:10;:22;35459:67;;;;;-1:-1:-1;;;35459:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35459:67:0;;;;;;;;;;;;;;;35817:8:::1;:20:::0;;-1:-1:-1;;;;;;35817:20:0::1;-1:-1:-1::0;;;;;35817:20:0;;;::::1;::::0;;;::::1;::::0;;35744:101::o;23714:158::-;23794:4;23818:46;23828:3;-1:-1:-1;;;;;23848:14:0;;23818:9;:46::i;:::-;23811:53;23714:158;-1:-1:-1;;;23714:158:0:o;40023:381::-;40153:39;:15;40178:13;40153:39;:24;:39;:::i;:::-;40149:248;;;40224:46;;;-1:-1:-1;;;40224:46:0;;40264:4;40224:46;;;;;;40209:12;;-1:-1:-1;;;;;40224:31:0;;;;;:46;;;;;;;;;;;;;;;:31;:46;;;5:2:-1;;;;30:1;27;20:12;5:2;40224:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40224:46:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40224:46:0;;-1:-1:-1;40285:48:0;-1:-1:-1;;;;;40285:34:0;;40320:3;40224:46;40285:48;:34;:48;:::i;:::-;40348:37;:15;40371:13;40348:37;:22;:37;:::i;:::-;;40149:248;40023:381;;:::o;23160:143::-;23230:4;23254:41;23259:3;-1:-1:-1;;;;;23279:14:0;;23254:4;:41::i;23479:149::-;23552:4;23576:44;23584:3;-1:-1:-1;;;;;23604:14:0;;23576:7;:44::i;23958:117::-;24021:7;24048:19;24056:3;24048:7;:19::i;24419:149::-;24493:7;24536:22;24540:3;24552:5;24536:3;:22::i;15017:177::-;15127:58;;;-1:-1:-1;;;;;15127:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;15127:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;15100:86:0;;15120:5;;15100:19;:86::i;:::-;15017:177;;;:::o;15202:205::-;15330:68;;;-1:-1:-1;;;;;15330:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;15330:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;15303:96:0;;15323:5;;15303:19;:96::i;35991:87::-;36062:8;;-1:-1:-1;;;;;36062:8:0;35991:87;:::o;36086:179::-;36162:4;36186:31;:15;36211:5;36186:31;:24;:31;:::i;:::-;:71;;36224:33;36251:5;36224:26;:33::i;:::-;36186:71;;;-1:-1:-1;36220:1:0;;36086:179;-1:-1:-1;36086:179:0:o;33760:292::-;-1:-1:-1;;;;;33836:22:0;;33832:151;;33869:28;;:10;;:28;;;;;33889:7;;33869:28;;;;33889:7;33869:10;:28;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33869:28:0;33832:151;;;33920:55;-1:-1:-1;;;;;33920:34:0;;33955:10;33967:7;33920:55;:34;:55;:::i;:::-;33994:52;;;;;;;;-1:-1:-1;;;;;33994:52:0;;;34011:10;;33994:52;;;;;;;;;33760:292;;:::o;22034:129::-;22107:4;22131:19;;;:12;;;;;:19;;;;;;:24;;;22034:129::o;19814:414::-;19877:4;19899:21;19909:3;19914:5;19899:9;:21::i;:::-;19894:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;19937:11:0;:23;;;;;;;;;;;;;20120:18;;20098:19;;;:12;;;:19;;;;;;:40;;;;20153:11;;19894:327;-1:-1:-1;20204:5:0;20197:12;;20404:1544;20470:4;20609:19;;;:12;;;:19;;;;;;20645:15;;20641:1300;;21080:18;;-1:-1:-1;;21031:14:0;;;;21080:22;;;;21007:21;;21080:3;;:22;;21367;;;;;;;;;;;;;;21347:42;;21513:9;21484:3;:11;;21496:13;21484:26;;;;;;;;;;;;;;;;;;;:38;;;;21590:23;;;21632:1;21590:12;;;:23;;;;;;21616:17;;;21590:43;;21742:17;;21590:3;;21742:17;;;;;;;;;;;;;;;;;;;;;;21837:3;:12;;:19;21850:5;21837:19;;;;;;;;;;;21830:26;;;21880:4;21873:11;;;;;;;;20641:1300;21924:5;21917:12;;;;;22249:109;22332:18;;22249:109::o;22702:204::-;22797:18;;22769:7;;22797:26;-1:-1:-1;22789:73:0;;;;-1:-1:-1;;;22789:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22880:3;:11;;22892:5;22880:18;;;;;;;;;;;;;;;;22873:25;;22702:204;;;;:::o;17322:761::-;17746:23;17772:69;17800:4;17772:69;;;;;;;;;;;;;;;;;17780:5;-1:-1:-1;;;;;17772:27:0;;;:69;;;;;:::i;:::-;17856:17;;17746:95;;-1:-1:-1;17856:21:0;17852:224;;17998:10;17987:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17987:30:0;17979:85;;;;-1:-1:-1;;;17979:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34118:217;34193:18;-1:-1:-1;;;;;34236:14:0;;;:93;;34291:38;;;-1:-1:-1;;;34291:38:0;;34323:4;34291:38;;;;;;-1:-1:-1;;;;;34291:23:0;;;;;:38;;;;;;;;;;;;;;:23;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;34291:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34291:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34291:38:0;34236:93;;;34260:21;34220:109;34118:217;-1:-1:-1;;34118:217:0:o;11965:196::-;12068:12;12100:53;12123:6;12131:4;12137:1;12140:12;13472;13505:18;13516:6;13505:10;:18::i;:::-;13497:60;;;;;-1:-1:-1;;;13497:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13631:12;13645:23;13672:6;-1:-1:-1;;;;;13672:11:0;13692:8;13703:4;13672:36;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;13672:36:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;13630:78:0;;;;13723:7;13719:595;;;13754:10;-1:-1:-1;13747:17:0;;-1:-1:-1;13747:17:0;13719:595;13868:17;;:21;13864:439;;14131:10;14125:17;14192:15;14179:10;14175:2;14171:19;14164:44;14079:148;14274:12;14267:20;;-1:-1:-1;;;14267:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14267:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9047:422;9414:20;9453:8;;;9047:422::o
Swarm Source
ipfs://5a15071870671d0041895477b6f56dd18edd2bc15cf9d53bb15492e46b274136
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.