Source Code
Latest 25 from a total of 7,378 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Lock | 16545284 | 1119 days ago | IN | 0 ETH | 0.00522839 | ||||
| Lock | 16185042 | 1169 days ago | IN | 0 ETH | 0.00367299 | ||||
| Lock | 16184949 | 1169 days ago | IN | 0 ETH | 0.00503982 | ||||
| Lock | 16096449 | 1182 days ago | IN | 0 ETH | 0.00238012 | ||||
| Lock | 16091661 | 1182 days ago | IN | 0 ETH | 0.00211785 | ||||
| Lock | 15744391 | 1231 days ago | IN | 0 ETH | 0.0026109 | ||||
| Lock | 15736887 | 1232 days ago | IN | 0 ETH | 0.00303336 | ||||
| Lock | 15677380 | 1240 days ago | IN | 0 ETH | 0.00300991 | ||||
| Lock | 15596263 | 1251 days ago | IN | 0 ETH | 0.00052341 | ||||
| Lock | 15596262 | 1251 days ago | IN | 0 ETH | 0.00184677 | ||||
| Lock | 15483221 | 1269 days ago | IN | 0 ETH | 0.0013173 | ||||
| Lock | 15421658 | 1278 days ago | IN | 0 ETH | 0.00112638 | ||||
| Lock | 15201877 | 1313 days ago | IN | 0 ETH | 0.0016753 | ||||
| Lock | 15191050 | 1315 days ago | IN | 0 ETH | 0.00401934 | ||||
| Lock | 15118527 | 1326 days ago | IN | 0 ETH | 0.00376039 | ||||
| Lock | 15032351 | 1340 days ago | IN | 0 ETH | 0.00633237 | ||||
| Lock | 14955340 | 1354 days ago | IN | 0 ETH | 0.02757035 | ||||
| Lock | 14955332 | 1354 days ago | IN | 0 ETH | 0.0321993 | ||||
| Lock | 14839044 | 1373 days ago | IN | 0 ETH | 0.00597164 | ||||
| Lock | 14827244 | 1375 days ago | IN | 0 ETH | 0.00549202 | ||||
| Lock | 14776805 | 1383 days ago | IN | 0 ETH | 0.00361611 | ||||
| Lock | 14772007 | 1384 days ago | IN | 0 ETH | 0.00496343 | ||||
| Lock | 14742363 | 1388 days ago | IN | 0 ETH | 0.00694002 | ||||
| Lock | 14704556 | 1394 days ago | IN | 0 ETH | 0.00916347 | ||||
| Lock | 14607585 | 1410 days ago | IN | 0 ETH | 0.00553305 |
Latest 24 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 12883343 | 1678 days ago | 0.00056598 ETH | ||||
| - | 12458207 | 1744 days ago | 0.00797015 ETH | ||||
| - | 12432070 | 1748 days ago | 0.00000928 ETH | ||||
| - | 11954107 | 1822 days ago | 1.19949058 ETH | ||||
| - | 11953926 | 1822 days ago | 1.15774341 ETH | ||||
| - | 11953746 | 1822 days ago | 0.0505707 ETH | ||||
| - | 11952943 | 1822 days ago | 1.00949058 ETH | ||||
| - | 11952857 | 1822 days ago | 0.09999714 ETH | ||||
| - | 11952283 | 1822 days ago | 0.27924558 ETH | ||||
| - | 11945809 | 1823 days ago | 11.9995141 ETH | ||||
| - | 11943772 | 1824 days ago | 9.99952468 ETH | ||||
| - | 11941141 | 1824 days ago | 0.05952032 ETH | ||||
| - | 11940424 | 1824 days ago | 3.99952032 ETH | ||||
| - | 11939857 | 1824 days ago | 0.00952032 ETH | ||||
| - | 11937409 | 1825 days ago | 0.00052772 ETH | ||||
| - | 11932336 | 1825 days ago | 0.29951383 ETH | ||||
| - | 11927440 | 1826 days ago | 0.21252944 ETH | ||||
| - | 11926945 | 1826 days ago | 0.00952944 ETH | ||||
| - | 11914273 | 1828 days ago | 0.09999637 ETH | ||||
| - | 11899684 | 1831 days ago | 0.00958967 ETH | ||||
| - | 11885031 | 1833 days ago | 3.99968898 ETH | ||||
| - | 11856661 | 1837 days ago | 0.99977198 ETH | ||||
| - | 11788754 | 1848 days ago | 0.000001 ETH | ||||
| - | 11788728 | 1848 days ago | 0.00000002 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PolyWrapper
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2021-02-02
*/
// SPDX-License-Identifier: MIT
// File: node_modules\@openzeppelin\contracts\math\SafeMath.sol
pragma solidity >=0.6.0 <0.8.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: node_modules\@openzeppelin\contracts\utils\Address.sol
pragma solidity >=0.6.2 <0.8.0;
/**
* @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 on 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");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(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) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
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
pragma solidity >=0.6.0 <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 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\token\ERC20\IERC20.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// File: node_modules\@openzeppelin\contracts\GSN\Context.sol
pragma solidity >=0.6.0 <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 GSN 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 payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// File: @openzeppelin\contracts\access\Ownable.sol
pragma solidity >=0.6.0 <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 () internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = 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");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
// File: @openzeppelin\contracts\utils\ReentrancyGuard.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor () internal {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and make it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}
// File: @openzeppelin\contracts\utils\Pausable.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor () internal {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!_paused, "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(_paused, "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// File: contracts\interfaces\ILockProxy.sol
pragma solidity >=0.6.0;
interface ILockProxy {
function managerProxyContract() external view returns (address);
function proxyHashMap(uint64) external view returns (bytes memory);
function assetHashMap(address, uint64) external view returns (bytes memory);
function getBalanceFor(address) external view returns (uint256);
function setManagerProxy(
address eccmpAddr
) external;
function bindProxyHash(
uint64 toChainId,
bytes calldata targetProxyHash
) external returns (bool);
function bindAssetHash(
address fromAssetHash,
uint64 toChainId,
bytes calldata toAssetHash
) external returns (bool);
function lock(
address fromAssetHash,
uint64 toChainId,
bytes calldata toAddress,
uint256 amount
) external payable returns (bool);
}
// File: contracts\PolyWrapper.sol
pragma solidity >=0.6.0;
contract PolyWrapper is Ownable, Pausable, ReentrancyGuard {
using SafeMath for uint;
using SafeERC20 for IERC20;
uint public chainId;
address public feeCollector;
ILockProxy public lockProxy;
constructor(address _owner, uint _chainId) public {
require(_chainId != 0, "!legal");
transferOwnership(_owner);
chainId = _chainId;
}
function setFeeCollector(address collector) external onlyOwner {
require(collector != address(0), "emtpy address");
feeCollector = collector;
}
function setLockProxy(address _lockProxy) external onlyOwner {
require(_lockProxy != address(0));
lockProxy = ILockProxy(_lockProxy);
require(lockProxy.managerProxyContract() != address(0), "not lockproxy");
}
function pause() external onlyOwner {
_pause();
}
function unpause() external onlyOwner {
_unpause();
}
function extractFee(address token) external {
require(msg.sender == feeCollector, "!feeCollector");
if (token == address(0)) {
payable(msg.sender).transfer(address(this).balance);
} else {
IERC20(token).safeTransfer(feeCollector, IERC20(token).balanceOf(address(this)));
}
}
function lock(address fromAsset, uint64 toChainId, bytes memory toAddress, uint amount, uint fee, uint id) external payable nonReentrant whenNotPaused {
require(toChainId != chainId && toChainId != 0, "!toChainId");
require(amount > fee, "amount less than fee");
_pull(fromAsset, amount);
_push(fromAsset, toChainId, toAddress, amount.sub(fee));
emit PolyWrapperLock(fromAsset, msg.sender, toChainId, toAddress, amount.sub(fee), fee, id);
}
function speedUp(address fromAsset, bytes memory txHash, uint fee) external payable nonReentrant whenNotPaused {
_pull(fromAsset, fee);
emit PolyWrapperSpeedUp(fromAsset, txHash, msg.sender, fee);
}
function _pull(address fromAsset, uint amount) internal {
if (fromAsset == address(0)) {
require(msg.value == amount, "insufficient ether");
} else {
IERC20(fromAsset).safeTransferFrom(msg.sender, address(this), amount);
}
}
function _push(address fromAsset, uint64 toChainId, bytes memory toAddress, uint amount) internal {
if (fromAsset == address(0)) {
require(lockProxy.lock{value: amount}(fromAsset, toChainId, toAddress, amount), "lock ether fail");
} else {
IERC20(fromAsset).safeApprove(address(lockProxy), 0);
IERC20(fromAsset).safeApprove(address(lockProxy), amount);
require(lockProxy.lock(fromAsset, toChainId, toAddress, amount), "lock erc20 fail");
}
}
event PolyWrapperLock(address indexed fromAsset, address indexed sender, uint64 toChainId, bytes toAddress, uint net, uint fee, uint id);
event PolyWrapperSpeedUp(address indexed fromAsset, bytes indexed txHash, address indexed sender, uint efee);
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_chainId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fromAsset","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint64","name":"toChainId","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"toAddress","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"net","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"PolyWrapperLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fromAsset","type":"address"},{"indexed":true,"internalType":"bytes","name":"txHash","type":"bytes"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"efee","type":"uint256"}],"name":"PolyWrapperSpeedUp","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"chainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"extractFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"fromAsset","type":"address"},{"internalType":"uint64","name":"toChainId","type":"uint64"},{"internalType":"bytes","name":"toAddress","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"lockProxy","outputs":[{"internalType":"contract ILockProxy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"collector","type":"address"}],"name":"setFeeCollector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lockProxy","type":"address"}],"name":"setLockProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fromAsset","type":"address"},{"internalType":"bytes","name":"txHash","type":"bytes"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"speedUp","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b5060405162002ab938038062002ab9833981810160405260408110156200003757600080fd5b810190808051906020019092919080519060200190929190505050600062000064620001bb60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff0219169083151502179055506001808190555060008114156200019b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f216c6567616c000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b620001ac82620001c360201b60201c565b806002819055505050620003d9565b600033905090565b620001d3620001bb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161462000294576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200031c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018062002a936026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6126aa80620003e96000396000f3fe6080604052600436106100dd5760003560e01c80638da5cb5b1161007f578063a42dce8011610059578063a42dce80146103b0578063c415b95c14610401578063d3ed7c7614610442578063f2fde38b14610527576100dd565b80638da5cb5b146103035780639a8a0592146103445780639d4dc0211461036f576100dd565b806360de1a9b116100bb57806360de1a9b146101775780636f2b6ee614610284578063715018a6146102d55780638456cb59146102ec576100dd565b80631745399d146100e25780633f4ba83a146101335780635c975abb1461014a575b600080fd5b3480156100ee57600080fd5b506101316004803603602081101561010557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610578565b005b34801561013f57600080fd5b506101486107ae565b005b34801561015657600080fd5b5061015f610880565b60405180821515815260200191505060405180910390f35b610282600480360360c081101561018d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803567ffffffffffffffff169060200190929190803590602001906401000000008111156101de57600080fd5b8201836020820111156101f057600080fd5b8035906020019184600183028401116401000000008311171561021257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803590602001909291908035906020019092919080359060200190929190505050610896565b005b34801561029057600080fd5b506102d3600480360360208110156102a757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610be5565b005b3480156102e157600080fd5b506102ea610e70565b005b3480156102f857600080fd5b50610301610ff6565b005b34801561030f57600080fd5b506103186110c8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561035057600080fd5b506103596110f1565b6040518082815260200191505060405180910390f35b34801561037b57600080fd5b506103846110f7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103bc57600080fd5b506103ff600480360360208110156103d357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061111d565b005b34801561040d57600080fd5b506104166112cc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105256004803603606081101561045857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561049557600080fd5b8201836020820111156104a757600080fd5b803590602001918460018302840111640100000000831117156104c957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803590602001909291905050506112f2565b005b34801561053357600080fd5b506105766004803603602081101561054a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114d2565b005b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461063b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f21666565436f6c6c6563746f720000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156106bc573373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156106b6573d6000803e3d6000fd5b506107ab565b6107aa600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561074957600080fd5b505afa15801561075d573d6000803e3d6000fd5b505050506040513d602081101561077357600080fd5b81019080805190602001909291905050508373ffffffffffffffffffffffffffffffffffffffff166116dd9092919063ffffffff16565b5b50565b6107b661177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610876576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61087e611787565b565b60008060149054906101000a900460ff16905090565b6002600154141561090f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060149054906101000a900460ff161561099a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6002548567ffffffffffffffff16141580156109c1575060008567ffffffffffffffff1614155b610a33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f21746f436861696e49640000000000000000000000000000000000000000000081525060200191505060405180910390fd5b818311610aa8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f616d6f756e74206c657373207468616e2066656500000000000000000000000081525060200191505060405180910390fd5b610ab28684611879565b610ad0868686610acb868861195a90919063ffffffff16565b6119a4565b3373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f2b0591052cc6602e870d3994f0a1b173fdac98c215cb3b0baf84eaca5a0aa81e8787610b34878961195a90919063ffffffff16565b8787604051808667ffffffffffffffff16815260200180602001858152602001848152602001838152602001828103825286818151815260200191508051906020019080838360005b83811015610b98578082015181840152602081019050610b7d565b50505050905090810190601f168015610bc55780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a360018081905550505050505050565b610bed61177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ce757600080fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d798f8816040518163ffffffff1660e01b815260040160206040518083038186803b158015610da857600080fd5b505afa158015610dbc573d6000803e3d6000fd5b505050506040513d6020811015610dd257600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff161415610e6d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f6e6f74206c6f636b70726f78790000000000000000000000000000000000000081525060200191505060405180910390fd5b50565b610e7861177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f38576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610ffe61177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6110c6611dff565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61112561177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f656d74707920616464726573730000000000000000000000000000000000000081525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6002600154141561136b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060149054906101000a900460ff16156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6114008382611879565b3373ffffffffffffffffffffffffffffffffffffffff16826040518082805190602001908083835b6020831061144b5780518252602082019150602081019050602083039250611428565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390208473ffffffffffffffffffffffffffffffffffffffff167ff6579aef3e0d086d986c5d6972659f8a0d8602ef7945b054be1b88e088773ef6846040518082815260200191505060405180910390a460018081905550505050565b6114da61177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461159a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611620576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125c96026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61177a8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ef3565b505050565b600033905090565b600060149054906101000a900460ff16611809576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61184c61177f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561192857803414611923576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f696e73756666696369656e74206574686572000000000000000000000000000081525060200191505060405180910390fd5b611956565b6119553330838573ffffffffffffffffffffffffffffffffffffffff16611fe2909392919063ffffffff16565b5b5050565b600061199c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506120a3565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611b9e57600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166384a6d05582868686866040518663ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018467ffffffffffffffff16815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b83811015611a9d578082015181840152602081019050611a82565b50505050905090810190601f168015611aca5780820380516001836020036101000a031916815260200191505b50955050505050506020604051808303818588803b158015611aeb57600080fd5b505af1158015611aff573d6000803e3d6000fd5b50505050506040513d6020811015611b1657600080fd5b8101908080519060200190929190505050611b99576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f6c6f636b206574686572206661696c000000000000000000000000000000000081525060200191505060405180910390fd5b611df9565b611bec600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008673ffffffffffffffffffffffffffffffffffffffff166121639092919063ffffffff16565b611c39600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828673ffffffffffffffffffffffffffffffffffffffff166121639092919063ffffffff16565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166384a6d055858585856040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018467ffffffffffffffff16815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b83811015611cfc578082015181840152602081019050611ce1565b50505050905090810190601f168015611d295780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611d4b57600080fd5b505af1158015611d5f573d6000803e3d6000fd5b505050506040513d6020811015611d7557600080fd5b8101908080519060200190929190505050611df8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f6c6f636b206572633230206661696c000000000000000000000000000000000081525060200191505060405180910390fd5b5b50505050565b600060149054906101000a900460ff1615611e82576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ec661177f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6060611f55826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123289092919063ffffffff16565b9050600081511115611fdd57808060200190516020811015611f7657600080fd5b8101908080519060200190929190505050611fdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612615602a913960400191505060405180910390fd5b5b505050565b61209d846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ef3565b50505050565b6000838311158290612150576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121155780820151818401526020810190506120fa565b50505050905090810190601f1680156121425780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000811480612231575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156121f457600080fd5b505afa158015612208573d6000803e3d6000fd5b505050506040513d602081101561221e57600080fd5b8101908080519060200190929190505050145b612286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603681526020018061263f6036913960400191505060405180910390fd5b6123238363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ef3565b505050565b60606123378484600085612340565b90509392505050565b60608247101561239b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125ef6026913960400191505060405180910390fd5b6123a4856124e9565b612416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106124665780518252602082019150602081019050602083039250612443565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146124c8576040519150601f19603f3d011682016040523d82523d6000602084013e6124cd565b606091505b50915091506124dd8282866124fc565b92505050949350505050565b600080823b905060008111915050919050565b6060831561250c578290506125c1565b60008351111561251f5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561258657808201518184015260208101905061256b565b50505050905090810190601f1680156125b35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220dc6d4aa81906352b581fa5d07900aa6ca78a3d343ad0d9cd5b789eb2c743f1f664736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573730000000000000000000000000e860f44d73f9fdbaf5e9b19afc554bf3c8e8a570000000000000000000000000000000000000000000000000000000000000002
Deployed Bytecode
0x6080604052600436106100dd5760003560e01c80638da5cb5b1161007f578063a42dce8011610059578063a42dce80146103b0578063c415b95c14610401578063d3ed7c7614610442578063f2fde38b14610527576100dd565b80638da5cb5b146103035780639a8a0592146103445780639d4dc0211461036f576100dd565b806360de1a9b116100bb57806360de1a9b146101775780636f2b6ee614610284578063715018a6146102d55780638456cb59146102ec576100dd565b80631745399d146100e25780633f4ba83a146101335780635c975abb1461014a575b600080fd5b3480156100ee57600080fd5b506101316004803603602081101561010557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610578565b005b34801561013f57600080fd5b506101486107ae565b005b34801561015657600080fd5b5061015f610880565b60405180821515815260200191505060405180910390f35b610282600480360360c081101561018d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803567ffffffffffffffff169060200190929190803590602001906401000000008111156101de57600080fd5b8201836020820111156101f057600080fd5b8035906020019184600183028401116401000000008311171561021257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803590602001909291908035906020019092919080359060200190929190505050610896565b005b34801561029057600080fd5b506102d3600480360360208110156102a757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610be5565b005b3480156102e157600080fd5b506102ea610e70565b005b3480156102f857600080fd5b50610301610ff6565b005b34801561030f57600080fd5b506103186110c8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561035057600080fd5b506103596110f1565b6040518082815260200191505060405180910390f35b34801561037b57600080fd5b506103846110f7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103bc57600080fd5b506103ff600480360360208110156103d357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061111d565b005b34801561040d57600080fd5b506104166112cc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105256004803603606081101561045857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561049557600080fd5b8201836020820111156104a757600080fd5b803590602001918460018302840111640100000000831117156104c957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803590602001909291905050506112f2565b005b34801561053357600080fd5b506105766004803603602081101561054a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114d2565b005b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461063b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f21666565436f6c6c6563746f720000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156106bc573373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156106b6573d6000803e3d6000fd5b506107ab565b6107aa600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561074957600080fd5b505afa15801561075d573d6000803e3d6000fd5b505050506040513d602081101561077357600080fd5b81019080805190602001909291905050508373ffffffffffffffffffffffffffffffffffffffff166116dd9092919063ffffffff16565b5b50565b6107b661177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610876576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61087e611787565b565b60008060149054906101000a900460ff16905090565b6002600154141561090f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060149054906101000a900460ff161561099a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6002548567ffffffffffffffff16141580156109c1575060008567ffffffffffffffff1614155b610a33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f21746f436861696e49640000000000000000000000000000000000000000000081525060200191505060405180910390fd5b818311610aa8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f616d6f756e74206c657373207468616e2066656500000000000000000000000081525060200191505060405180910390fd5b610ab28684611879565b610ad0868686610acb868861195a90919063ffffffff16565b6119a4565b3373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f2b0591052cc6602e870d3994f0a1b173fdac98c215cb3b0baf84eaca5a0aa81e8787610b34878961195a90919063ffffffff16565b8787604051808667ffffffffffffffff16815260200180602001858152602001848152602001838152602001828103825286818151815260200191508051906020019080838360005b83811015610b98578082015181840152602081019050610b7d565b50505050905090810190601f168015610bc55780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a360018081905550505050505050565b610bed61177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ce757600080fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d798f8816040518163ffffffff1660e01b815260040160206040518083038186803b158015610da857600080fd5b505afa158015610dbc573d6000803e3d6000fd5b505050506040513d6020811015610dd257600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff161415610e6d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f6e6f74206c6f636b70726f78790000000000000000000000000000000000000081525060200191505060405180910390fd5b50565b610e7861177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f38576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610ffe61177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6110c6611dff565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61112561177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f656d74707920616464726573730000000000000000000000000000000000000081525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6002600154141561136b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060149054906101000a900460ff16156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6114008382611879565b3373ffffffffffffffffffffffffffffffffffffffff16826040518082805190602001908083835b6020831061144b5780518252602082019150602081019050602083039250611428565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390208473ffffffffffffffffffffffffffffffffffffffff167ff6579aef3e0d086d986c5d6972659f8a0d8602ef7945b054be1b88e088773ef6846040518082815260200191505060405180910390a460018081905550505050565b6114da61177f565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461159a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611620576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125c96026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61177a8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ef3565b505050565b600033905090565b600060149054906101000a900460ff16611809576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61184c61177f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561192857803414611923576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f696e73756666696369656e74206574686572000000000000000000000000000081525060200191505060405180910390fd5b611956565b6119553330838573ffffffffffffffffffffffffffffffffffffffff16611fe2909392919063ffffffff16565b5b5050565b600061199c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506120a3565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611b9e57600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166384a6d05582868686866040518663ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018467ffffffffffffffff16815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b83811015611a9d578082015181840152602081019050611a82565b50505050905090810190601f168015611aca5780820380516001836020036101000a031916815260200191505b50955050505050506020604051808303818588803b158015611aeb57600080fd5b505af1158015611aff573d6000803e3d6000fd5b50505050506040513d6020811015611b1657600080fd5b8101908080519060200190929190505050611b99576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f6c6f636b206574686572206661696c000000000000000000000000000000000081525060200191505060405180910390fd5b611df9565b611bec600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008673ffffffffffffffffffffffffffffffffffffffff166121639092919063ffffffff16565b611c39600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828673ffffffffffffffffffffffffffffffffffffffff166121639092919063ffffffff16565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166384a6d055858585856040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018467ffffffffffffffff16815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b83811015611cfc578082015181840152602081019050611ce1565b50505050905090810190601f168015611d295780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611d4b57600080fd5b505af1158015611d5f573d6000803e3d6000fd5b505050506040513d6020811015611d7557600080fd5b8101908080519060200190929190505050611df8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f6c6f636b206572633230206661696c000000000000000000000000000000000081525060200191505060405180910390fd5b5b50505050565b600060149054906101000a900460ff1615611e82576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ec661177f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6060611f55826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123289092919063ffffffff16565b9050600081511115611fdd57808060200190516020811015611f7657600080fd5b8101908080519060200190929190505050611fdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612615602a913960400191505060405180910390fd5b5b505050565b61209d846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ef3565b50505050565b6000838311158290612150576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121155780820151818401526020810190506120fa565b50505050905090810190601f1680156121425780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000811480612231575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156121f457600080fd5b505afa158015612208573d6000803e3d6000fd5b505050506040513d602081101561221e57600080fd5b8101908080519060200190929190505050145b612286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603681526020018061263f6036913960400191505060405180910390fd5b6123238363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ef3565b505050565b60606123378484600085612340565b90509392505050565b60608247101561239b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125ef6026913960400191505060405180910390fd5b6123a4856124e9565b612416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106124665780518252602082019150602081019050602083039250612443565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146124c8576040519150601f19603f3d011682016040523d82523d6000602084013e6124cd565b606091505b50915091506124dd8282866124fc565b92505050949350505050565b600080823b905060008111915050919050565b6060831561250c578290506125c1565b60008351111561251f5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561258657808201518184015260208101905061256b565b50505050905090810190601f1680156125b35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220dc6d4aa81906352b581fa5d07900aa6ca78a3d343ad0d9cd5b789eb2c743f1f664736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000e860f44d73f9fdbaf5e9b19afc554bf3c8e8a570000000000000000000000000000000000000000000000000000000000000002
-----Decoded View---------------
Arg [0] : _owner (address): 0x0E860F44d73F9FDbaF5E9B19aFC554Bf3C8E8A57
Arg [1] : _chainId (uint256): 2
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000e860f44d73f9fdbaf5e9b19afc554bf3c8e8a57
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000002
Deployed Bytecode Sourcemap
28316:3160:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29292:341;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29215:67;;;;;;;;;;;;;:::i;:::-;;26107:78;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29645:514;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28895:241;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21763:148;;;;;;;;;;;;;:::i;:::-;;29144:63;;;;;;;;;;;;;:::i;:::-;;21121:79;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;28447:19;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28509:27;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;28719:166;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28473:27;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30167:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22066:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29292:341;29369:12;;;;;;;;;;;29355:26;;:10;:26;;;29347:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29431:1;29414:19;;:5;:19;;;29410:216;;;29458:10;29450:28;;:51;29479:21;29450:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29410:216;;;29534:80;29561:12;;;;;;;;;;;29582:5;29575:23;;;29607:4;29575:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29541:5;29534:26;;;;:80;;;;;:::i;:::-;29410:216;29292:341;:::o;29215:67::-;21343:12;:10;:12::i;:::-;21333:22;;:6;;;;;;;;;;:22;;;21325:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29264:10:::1;:8;:10::i;:::-;29215:67::o:0;26107:78::-;26146:4;26170:7;;;;;;;;;;;26163:14;;26107:78;:::o;29645:514::-;24065:1;24671:7;;:19;;24663:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24065:1;24804:7;:18;;;;26425:7:::1;;;;;;;;;;;26424:8;26416:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;29838:7:::2;;29825:9;:20;;;;:38;;;;;29862:1;29849:9;:14;;;;29825:38;29817:61;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;29906:3;29897:6;:12;29889:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;29955:24;29961:9;29972:6;29955:5;:24::i;:::-;29992:55;29998:9;30009;30020;30031:15;30042:3;30031:6;:10;;:15;;;;:::i;:::-;29992:5;:55::i;:::-;30092:10;30065:86;;30081:9;30065:86;;;30104:9;30115;30126:15;30137:3;30126:6;:10;;:15;;;;:::i;:::-;30143:3;30148:2;30065:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24021:1:::0;24983:7;:22;;;;29645:514;;;;;;:::o;28895:241::-;21343:12;:10;:12::i;:::-;21333:22;;:6;;;;;;;;;;:22;;;21325:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28997:1:::1;28975:24;;:10;:24;;;;28967:33;;;::::0;::::1;;29034:10;29011:9;;:34;;;;;;;;;;;;;;;;;;29108:1;29064:46;;:9;;;;;;;;;;;:30;;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:46;;;;29056:72;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;28895:241:::0;:::o;21763:148::-;21343:12;:10;:12::i;:::-;21333:22;;:6;;;;;;;;;;:22;;;21325:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21870:1:::1;21833:40;;21854:6;::::0;::::1;;;;;;;;21833:40;;;;;;;;;;;;21901:1;21884:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;21763:148::o:0;29144:63::-;21343:12;:10;:12::i;:::-;21333:22;;:6;;;;;;;;;;:22;;;21325:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29191:8:::1;:6;:8::i;:::-;29144:63::o:0;21121:79::-;21159:7;21186:6;;;;;;;;;;;21179:13;;21121:79;:::o;28447:19::-;;;;:::o;28509:27::-;;;;;;;;;;;;;:::o;28719:166::-;21343:12;:10;:12::i;:::-;21333:22;;:6;;;;;;;;;;:22;;;21325:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28822:1:::1;28801:23;;:9;:23;;;;28793:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;28868:9;28853:12;;:24;;;;;;;;;;;;;;;;;;28719:166:::0;:::o;28473:27::-;;;;;;;;;;;;;:::o;30167:221::-;24065:1;24671:7;;:19;;24663:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24065:1;24804:7;:18;;;;26425:7:::1;;;;;;;;;;;26424:8;26416:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;30289:21:::2;30295:9;30306:3;30289:5;:21::i;:::-;30364:10;30326:54;;30356:6;30326:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30345:9;30326:54;;;30376:3;30326:54;;;;;;;;;;;;;;;;;;24021:1:::0;24983:7;:22;;;;30167:221;;;:::o;22066:244::-;21343:12;:10;:12::i;:::-;21333:22;;:6;;;;;;;;;;:22;;;21325:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22175:1:::1;22155:22;;:8;:22;;;;22147:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22265:8;22236:38;;22257:6;::::0;::::1;;;;;;;;22236:38;;;;;;;;;;;;22294:8;22285:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;22066:244:::0;:::o;13137:177::-;13220:86;13240:5;13270:23;;;13295:2;13299:5;13247:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13220:19;:86::i;:::-;13137:177;;;:::o;19660:106::-;19713:15;19748:10;19741:17;;19660:106;:::o;27156:120::-;26701:7;;;;;;;;;;;26693:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27225:5:::1;27215:7:::0;::::1;:15;;;;;;;;;;;;;;;;;;27246:22;27255:12;:10;:12::i;:::-;27246:22;;;;;;;;;;;;;;;;;;;;27156:120::o:0;30396:282::-;30488:1;30467:23;;:9;:23;;;30463:208;;;30528:6;30515:9;:19;30507:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30463:208;;;30590:69;30625:10;30645:4;30652:6;30597:9;30590:34;;;;:69;;;;;;:::i;:::-;30463:208;30396:282;;:::o;1441:136::-;1499:7;1526:43;1530:1;1533;1526:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1519:50;;1441:136;;;;:::o;30686:525::-;30820:1;30799:23;;:9;:23;;;30795:409;;;30847:9;;;;;;;;;;;:14;;;30869:6;30877:9;30888;30899;30910:6;30847:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30839:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30795:409;;;30970:52;31008:9;;;;;;;;;;;31020:1;30977:9;30970:29;;;;:52;;;;;:::i;:::-;31037:57;31075:9;;;;;;;;;;;31087:6;31044:9;31037:29;;;;:57;;;;;:::i;:::-;31117:9;;;;;;;;;;;:14;;;31132:9;31143;31154;31165:6;31117:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31109:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30795:409;30686:525;;;;:::o;26897:118::-;26425:7;;;;;;;;;;;26424:8;26416:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26967:4:::1;26957:7;;:14;;;;;;;;;;;;;;;;;;26987:20;26994:12;:10;:12::i;:::-;26987:20;;;;;;;;;;;;;;;;;;;;26897:118::o:0;15442:761::-;15866:23;15892:69;15920:4;15892:69;;;;;;;;;;;;;;;;;15900:5;15892:27;;;;:69;;;;;:::i;:::-;15866:95;;15996:1;15976:10;:17;:21;15972:224;;;16118:10;16107:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16099:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15972:224;15442:761;;;:::o;13322:205::-;13423:96;13443:5;13473:27;;;13502:4;13508:2;13512:5;13450:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13423:19;:96::i;:::-;13322:205;;;;:::o;1880:192::-;1966:7;1999:1;1994;:6;;2002:12;1986:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2026:9;2042:1;2038;:5;2026:17;;2063:1;2056:8;;;1880:192;;;;;:::o;13796:622::-;14175:1;14166:5;:10;14165:62;;;;14225:1;14182:5;:15;;;14206:4;14213:7;14182:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;14165:62;14157:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14320:90;14340:5;14370:22;;;14394:7;14403:5;14347:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14320:19;:90::i;:::-;13796:622;;;:::o;9138:195::-;9241:12;9273:52;9295:6;9303:4;9309:1;9312:12;9273:21;:52::i;:::-;9266:59;;9138:195;;;;;:::o;10190:530::-;10317:12;10375:5;10350:21;:30;;10342:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10442:18;10453:6;10442:10;:18::i;:::-;10434:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10568:12;10582:23;10609:6;:11;;10629:5;10637:4;10609:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10567:75;;;;10660:52;10678:7;10687:10;10699:12;10660:17;:52::i;:::-;10653:59;;;;10190:530;;;;;;:::o;6220:422::-;6280:4;6488:12;6599:7;6587:20;6579:28;;6633:1;6626:4;:8;6619:15;;;6220:422;;;:::o;11726:742::-;11841:12;11870:7;11866:595;;;11901:10;11894:17;;;;11866:595;12035:1;12015:10;:17;:21;12011:439;;;12278:10;12272:17;12339:15;12326:10;12322:2;12318:19;12311:44;12226:148;12421:12;12414:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11726:742;;;;;;:::o
Swarm Source
ipfs://dc6d4aa81906352b581fa5d07900aa6ca78a3d343ad0d9cd5b789eb2c743f1f6
Loading...
Loading
Loading...
Loading
Net Worth in USD
$162.87
Net Worth in ETH
0.078623
Token Allocations
USDT
35.91%
TRIBE
29.63%
COOK
11.62%
Others
22.85%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 35.91% | $1 | 58.4827 | $58.48 | |
| ETH | 29.63% | $0.413136 | 116.8101 | $48.26 | |
| ETH | 11.62% | $0.003288 | 5,753.9441 | $18.92 | |
| ETH | 5.65% | $0.000006 | 1,492,348.6558 | $9.21 | |
| ETH | 5.64% | $0.004045 | 2,272.3125 | $9.19 | |
| ETH | 3.38% | $1 | 5.4794 | $5.5 | |
| ETH | 2.55% | $0.004025 | 1,032.7828 | $4.16 | |
| ETH | 1.08% | $0.999904 | 1.765 | $1.76 | |
| ETH | 1.01% | $0.011271 | 146.601 | $1.65 | |
| ETH | 0.80% | $0.001669 | 777.4921 | $1.3 | |
| ETH | 0.37% | $0.002864 | 208.2467 | $0.5964 | |
| ETH | 0.33% | $0.028511 | 18.9294 | $0.5396 | |
| ETH | 0.30% | $0.001117 | 434.6041 | $0.4855 | |
| ETH | 0.17% | $0.299275 | 0.9175 | $0.2745 | |
| ETH | 0.15% | $0.999904 | 0.2459 | $0.2458 | |
| ETH | 0.11% | $0.00052 | 351.1485 | $0.1824 | |
| ETH | 0.11% | $0.00052 | 351.1485 | $0.1824 | |
| ETH | 0.07% | $0.001084 | 104.9835 | $0.1137 | |
| BSC | 1.12% | $0.012424 | 146.601 | $1.82 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.