Contract Overview
My Name Tag:
Not Available, login to update
Txn Hash | Method |
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|---|
0xab13f1d4f2a71bd9803fde4fc43b7c8c94840ddaef5c3710ca61a8c118ea493a | Zap In Token | 27591274 | 12 days 14 hrs ago | 0x71e36004a18d2fddb0339935b7a89b9847c3c5c2 | IN | 0x27ffdf03aa88fe11140cfe591b77aef80c5892f8 | 0 AVAX | 0.017098094 | |
0x5e17103729a741911c4b29791215136294cbd78429baa6ff4c2fd193f2697959 | 0x60806040 | 27591188 | 12 days 14 hrs ago | 0xd58aa88246a1cf56a48e8e184405bd7ef0be7b83 | IN | Create: RaiderZapperAVAX | 0 AVAX | 0.127981575 |
[ Download CSV Export ]
Latest 3 internal transactions
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0xab13f1d4f2a71bd9803fde4fc43b7c8c94840ddaef5c3710ca61a8c118ea493a | 27591274 | 12 days 14 hrs ago | 0x27ffdf03aa88fe11140cfe591b77aef80c5892f8 | Trader Joe: Router | 0.000032488261173821 AVAX | ||
0xab13f1d4f2a71bd9803fde4fc43b7c8c94840ddaef5c3710ca61a8c118ea493a | 27591274 | 12 days 14 hrs ago | 0x27ffdf03aa88fe11140cfe591b77aef80c5892f8 | Trader Joe: Router | 0.000032488261173821 AVAX | ||
0xab13f1d4f2a71bd9803fde4fc43b7c8c94840ddaef5c3710ca61a8c118ea493a | 27591274 | 12 days 14 hrs ago | Trader Joe: Router | 0x27ffdf03aa88fe11140cfe591b77aef80c5892f8 | 0.000064976522347642 AVAX |
[ Download CSV Export ]
Contract Source Code Verified (Exact Match)
Contract Name:
RaiderZapperAVAX
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IJoeRouter01 { function factory() external pure returns (address); function WAVAX() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity); function addLiquidityAVAX( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountAVAXMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountAVAX, uint256 liquidity); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityAVAX( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountAVAXMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountAVAX); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityAVAXWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountAVAXMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountAVAX); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactAVAXForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactAVAX( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForAVAX( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapAVAXForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut( uint256 amountIn, address[] calldata path ) external view returns (uint256[] memory amounts); function getAmountsIn( uint256 amountOut, address[] calldata path ) external view returns (uint256[] memory amounts); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./IJoeRouter01.sol"; interface IJoeRouter02 is IJoeRouter01 { function removeLiquidityAVAXSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountAVAXMin, address to, uint256 deadline ) external returns (uint256 amountAVAX); function removeLiquidityAVAXWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountAVAXMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountAVAX); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactAVAXForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForAVAXSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IRaiderZapper { function zapIn( address _to, address routerAddr, address _recipient ) external payable; function swapFromNative( address _to, address _recipient, address routerAddr ) external payable; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance( address owner, address spender ) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/IJoeRouter02.sol"; import "./interfaces/IUniswapV2Pair.sol"; import "./interfaces/IRaiderZapper.sol"; /** * @dev Used to quickly enter LPs. */ contract RaiderZapperAVAX is Ownable, IRaiderZapper { using SafeMath for uint256; using SafeERC20 for IERC20; event ZapInToken( address indexed recipient, address from, address to, uint256 value ); event ZapIn(address indexed recipient, address to, uint256 value); event ZapOutToken( address indexed recipient, address from, address to, uint256 value ); /* ========== STATE VARIABLES ========== */ address private WNATIVE; mapping(address => mapping(address => address)) private tokenBridgeForRouter; event FeeChange(address fee_to, uint16 rate, uint16 min); constructor(address _WNATIVE) Ownable() { WNATIVE = _WNATIVE; } /* ========== External Functions ========== */ receive() external payable {} function zapInToken( address _from, uint256 amount, address _to, address routerAddr, address _recipient ) external { // From an ERC20 to an LP token, through specified router, going through base asset if necessary IERC20(_from).safeTransferFrom(msg.sender, address(this), amount); // approve token to be spent by router IERC20(_from).approve(routerAddr, type(uint256).max); // we'll need this approval to add liquidity _swapTokenToLP(_from, amount, _to, _recipient, routerAddr); // emit event emit ZapInToken(_recipient, _from, _to, amount); } function estimateZapInToken( address _from, address _to, address _router, uint256 _amt ) public view returns (uint256, uint256) { // get pairs for desired lp if ( _from == IUniswapV2Pair(_to).token0() || _from == IUniswapV2Pair(_to).token1() ) { // check if we already have one of the assets // if so, we're going to sell half of _from for the other token we need // figure out which token we need, and approve address other = _from == IUniswapV2Pair(_to).token0() ? IUniswapV2Pair(_to).token1() : IUniswapV2Pair(_to).token0(); // calculate amount of _from to sell uint256 sellAmount = _amt.div(2); // execute swap uint256 otherAmount = _estimateSwap(_from, sellAmount, other, _router); if (_from == IUniswapV2Pair(_to).token0()) { return (sellAmount, otherAmount); } else { return (otherAmount, sellAmount); } } else { // go through native token for highest liquidity uint256 nativeAmount = _from == WNATIVE ? _amt : _estimateSwap(_from, _amt, WNATIVE, _router); return estimateZapIn(_to, _router, nativeAmount); } } function zapIn( address _to, address routerAddr, address _recipient ) external payable override { // from Native to an LP token through the specified router _swapNativeToLP(_to, msg.value, _recipient, routerAddr); emit ZapIn(_recipient, _to, msg.value); } // WIP TODO @cstoneham function zapOutToken( address _from, uint256 amount, address _to, address routerAddr, address _recipient ) external { IERC20(_from).safeTransferFrom(msg.sender, address(this), amount); IUniswapV2Pair pair = IUniswapV2Pair(_from); address token0 = pair.token0(); address token1 = pair.token1(); // TODO @cstoneham - refactor this somewhere else pair.approve(routerAddr, type(uint256).max); // remove from LP (uint256 token0Amount, uint256 token1Amount) = IJoeRouter02(routerAddr) .removeLiquidity( token0, token1, amount, 0, 0, address(this), block.timestamp ); if (token0 != _to) { IERC20(token0).approve(routerAddr, token0Amount); _swap(token0, token0Amount, _to, _recipient, routerAddr); } else { IERC20(token0).safeTransfer(_recipient, token0Amount); } if (token1 != _to) { IERC20(token1).approve(routerAddr, token1Amount); _swap(token1, token1Amount, _to, _recipient, routerAddr); } else { IERC20(token1).approve(_recipient, token1Amount); IERC20(token1).safeTransfer(_recipient, token1Amount); } emit ZapOutToken(_recipient, _from, _to, amount); } function estimateZapIn( address _LP, address _router, uint256 _amt ) public view returns (uint256, uint256) { uint256 zapAmt = _amt.div(2); IUniswapV2Pair pair = IUniswapV2Pair(_LP); address token0 = pair.token0(); address token1 = pair.token1(); if (token0 == WNATIVE || token1 == WNATIVE) { address token = token0 == WNATIVE ? token1 : token0; uint256 tokenAmt = _estimateSwap(WNATIVE, zapAmt, token, _router); if (token0 == WNATIVE) { return (zapAmt, tokenAmt); } else { return (tokenAmt, zapAmt); } } else { uint256 token0Amt = _estimateSwap(WNATIVE, zapAmt, token0, _router); uint256 token1Amt = _estimateSwap(WNATIVE, zapAmt, token1, _router); return (token0Amt, token1Amt); } } function swapToken( address _from, uint256 amount, address _to, address routerAddr, address _recipient ) external { IERC20(_from).safeTransferFrom(msg.sender, address(this), amount); _swap(_from, amount, _to, _recipient, routerAddr); } function swapFromNative( address _to, address _recipient, address routerAddr ) external payable override { address[] memory path = new address[](2); path[0] = WNATIVE; path[1] = _to; IJoeRouter02(routerAddr).swapExactAVAXForTokens{ value: msg.value }( 0, path, _recipient, block.timestamp ); } function swapToNative( address _from, uint256 amount, address routerAddr, address _recipient ) external { IERC20(_from).safeTransferFrom(msg.sender, address(this), amount); _swapTokenForNative(_from, amount, _recipient, routerAddr); } /* ========== Private Functions ========== */ function _swapTokenToLP( address _from, uint256 amount, address _to, address recipient, address routerAddr ) private returns (uint256) { // get pairs for desired lp if ( _from == IUniswapV2Pair(_to).token0() || _from == IUniswapV2Pair(_to).token1() ) { // check if we already have one of the assets // if so, we're going to sell half of _from for the other token we need // figure out which token we need, and approve address other = _from == IUniswapV2Pair(_to).token0() ? IUniswapV2Pair(_to).token1() : IUniswapV2Pair(_to).token0(); // calculate amount of _from to sell uint256 sellAmount = amount.div(2); // execute swap uint256 otherAmount = _swap( _from, sellAmount, other, address(this), routerAddr ); uint256 liquidity; // approval IERC20(_from).approve(routerAddr, sellAmount); IERC20(other).approve(routerAddr, otherAmount); (, , liquidity) = IJoeRouter02(routerAddr).addLiquidity( _from, other, amount.sub(sellAmount), otherAmount, 0, 0, recipient, block.timestamp ); return liquidity; } else { // go through native token for highest liquidity uint256 nativeAmount = _swapTokenForNative( _from, amount, address(this), routerAddr ); return _swapNativeToLP(_to, nativeAmount, recipient, routerAddr); } } function _swapNativeToLP( address _LP, uint256 amount, address recipient, address routerAddress ) private returns (uint256) { // LP IUniswapV2Pair pair = IUniswapV2Pair(_LP); address token0 = pair.token0(); address token1 = pair.token1(); uint256 liquidity; if (token0 == WNATIVE || token1 == WNATIVE) { address token = token0 == WNATIVE ? token1 : token0; (, , liquidity) = _swapHalfNativeAndProvide( token, amount, routerAddress, recipient ); } else { (, , liquidity) = _swapNativeToEqualTokensAndProvide( token0, token1, amount, routerAddress, recipient ); } return liquidity; } function _swapHalfNativeAndProvide( address token, uint256 amount, address routerAddress, address recipient ) private returns (uint256, uint256, uint256) { uint256 swapValue = amount.div(2); uint256 tokenAmount = _swapNativeForToken( token, swapValue, address(this), routerAddress ); IJoeRouter02 router = IJoeRouter02(routerAddress); // TODO @cstoneham - move this into an approvals function IERC20(token).approve(routerAddress, type(uint256).max); return router.addLiquidityAVAX{ value: amount.sub(swapValue) }( token, tokenAmount, 0, 0, recipient, block.timestamp ); } function _swapNativeToEqualTokensAndProvide( address token0, address token1, uint256 amount, address routerAddress, address recipient ) private returns (uint256, uint256, uint256) { uint256 swapValue = amount.div(2); uint256 token0Amount = _swapNativeForToken( token0, swapValue, address(this), routerAddress ); uint256 token1Amount = _swapNativeForToken( token1, amount.sub(swapValue), address(this), routerAddress ); IJoeRouter02 router = IJoeRouter02(routerAddress); // approval IERC20(token0).approve(routerAddress, type(uint256).max); IERC20(token1).approve(routerAddress, type(uint256).max); return router.addLiquidity( token0, token1, token0Amount, token1Amount, 0, 0, recipient, block.timestamp ); } function _swapNativeForToken( address token, uint256 value, address recipient, address routerAddr ) private returns (uint256) { address[] memory path; IJoeRouter02 router = IJoeRouter02(routerAddr); if (tokenBridgeForRouter[token][routerAddr] != address(0)) { path = new address[](3); path[0] = WNATIVE; path[1] = tokenBridgeForRouter[token][routerAddr]; path[2] = token; } else { path = new address[](2); path[0] = WNATIVE; path[1] = token; } // uint256[] memory amounts = router.swapExactAVAXForTokens{ value: value }( uint256[] memory amounts = router.swapExactAVAXForTokens{ value: value }( 0, path, recipient, block.timestamp ); return amounts[amounts.length - 1]; } function _swapTokenForNative( address token, uint256 amount, address recipient, address routerAddr ) private returns (uint256) { address[] memory path; IJoeRouter02 router = IJoeRouter02(routerAddr); if (tokenBridgeForRouter[token][routerAddr] != address(0)) { path = new address[](3); path[0] = token; path[1] = tokenBridgeForRouter[token][routerAddr]; path[2] = WNATIVE; // path[2] = router.WAVAX(); } else { path = new address[](2); path[0] = token; path[1] = WNATIVE; } uint256[] memory amounts = router.swapExactTokensForAVAX( amount, 0, path, recipient, block.timestamp ); return amounts[amounts.length - 1]; } function _swap( address _from, uint256 amount, address _to, address recipient, address routerAddr ) private returns (uint256) { IJoeRouter02 router = IJoeRouter02(routerAddr); address fromBridge = tokenBridgeForRouter[_from][routerAddr]; address toBridge = tokenBridgeForRouter[_to][routerAddr]; address[] memory path; if (fromBridge != address(0) && toBridge != address(0)) { if (fromBridge != toBridge) { path = new address[](5); path[0] = _from; path[1] = fromBridge; path[2] = WNATIVE; path[3] = toBridge; path[4] = _to; } else { path = new address[](3); path[0] = _from; path[1] = fromBridge; path[2] = _to; } } else if (fromBridge != address(0)) { if (_to == WNATIVE) { path = new address[](3); path[0] = _from; path[1] = fromBridge; path[2] = WNATIVE; } else { path = new address[](4); path[0] = _from; path[1] = fromBridge; path[2] = WNATIVE; path[3] = _to; } } else if (toBridge != address(0)) { path = new address[](4); path[0] = _from; path[1] = WNATIVE; path[2] = toBridge; path[3] = _to; } else if (_from == WNATIVE || _to == WNATIVE) { path = new address[](2); path[0] = _from; path[1] = _to; } else { // Go through WNative path = new address[](3); path[0] = _from; path[1] = WNATIVE; path[2] = _to; } uint256[] memory amounts = router.swapExactTokensForTokens( amount, 0, path, recipient, block.timestamp ); return amounts[amounts.length - 1]; } function _estimateSwap( address _from, uint256 amount, address _to, address routerAddr ) private view returns (uint256) { IJoeRouter02 router = IJoeRouter02(routerAddr); address fromBridge = tokenBridgeForRouter[_from][routerAddr]; address toBridge = tokenBridgeForRouter[_to][routerAddr]; address[] memory path; if (fromBridge != address(0) && toBridge != address(0)) { if (fromBridge != toBridge) { path = new address[](5); path[0] = _from; path[1] = fromBridge; path[2] = WNATIVE; path[3] = toBridge; path[4] = _to; } else { path = new address[](3); path[0] = _from; path[1] = fromBridge; path[2] = _to; } } else if (fromBridge != address(0)) { if (_to == WNATIVE) { path = new address[](3); path[0] = _from; path[1] = fromBridge; path[2] = WNATIVE; } else { path = new address[](4); path[0] = _from; path[1] = fromBridge; path[2] = WNATIVE; path[3] = _to; } } else if (toBridge != address(0)) { path = new address[](4); path[0] = _from; path[1] = WNATIVE; path[2] = toBridge; path[3] = _to; } else if (_from == WNATIVE || _to == WNATIVE) { path = new address[](2); path[0] = _from; path[1] = _to; } else { // Go through WNative path = new address[](3); path[0] = _from; path[1] = WNATIVE; path[2] = _to; } uint256[] memory amounts = router.getAmountsOut(amount, path); return amounts[amounts.length - 1]; } /* ========== RESTRICTED FUNCTIONS ========== */ function setTokenBridgeForRouter( address token, address router, address bridgeToken ) external onlyOwner { tokenBridgeForRouter[token][router] = bridgeToken; } function withdraw(address token) external onlyOwner { if (token == address(0)) { payable(owner()).transfer(address(this).balance); return; } IERC20(token).transfer(owner(), IERC20(token).balanceOf(address(this))); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
[{"inputs":[{"internalType":"address","name":"_WNATIVE","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"fee_to","type":"address"},{"indexed":false,"internalType":"uint16","name":"rate","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"min","type":"uint16"}],"name":"FeeChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ZapIn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ZapInToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ZapOutToken","type":"event"},{"inputs":[{"internalType":"address","name":"_LP","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"estimateZapIn","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"estimateZapInToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"bridgeToken","type":"address"}],"name":"setTokenBridgeForRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"address","name":"routerAddr","type":"address"}],"name":"swapFromNative","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"routerAddr","type":"address"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"swapToNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"routerAddr","type":"address"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"swapToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"routerAddr","type":"address"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"zapIn","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"routerAddr","type":"address"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"zapInToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"routerAddr","type":"address"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"zapOutToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162005ccf38038062005ccf8339818101604052810190620000379190620001d5565b620000576200004b6200009f60201b60201c565b620000a760201b60201c565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000207565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200019d8262000170565b9050919050565b620001af8162000190565b8114620001bb57600080fd5b50565b600081519050620001cf81620001a4565b92915050565b600060208284031215620001ee57620001ed6200016b565b5b6000620001fe84828501620001be565b91505092915050565b615ab880620002176000396000f3fe6080604052600436106100c65760003560e01c806389fecbd51161007f578063ba2ebf9611610059578063ba2ebf961461022e578063cee6202c14610257578063d9059f1b14610280578063f2fde38b146102be576100cd565b806389fecbd51461019c5780638da5cb5b146101c55780638e8d8152146101f0576100cd565b80631b71afbd146100d257806334c0fda2146100fb57806335e8b7d51461011757806351cff8d9146101335780635424888b1461015c578063715018a614610185576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190614ce0565b6102e7565b005b61011560048036038101906101109190614d5b565b6107ec565b005b610131600480360381019061012c9190614d5b565b61098a565b005b34801561013f57600080fd5b5061015a60048036038101906101559190614dae565b6109ec565b005b34801561016857600080fd5b50610183600480360381019061017e9190614d5b565b610b7e565b005b34801561019157600080fd5b5061019a610c46565b005b3480156101a857600080fd5b506101c360048036038101906101be9190614ddb565b610c5a565b005b3480156101d157600080fd5b506101da610c9a565b6040516101e79190614e51565b60405180910390f35b3480156101fc57600080fd5b5061021760048036038101906102129190614e6c565b610cc3565b604051610225929190614ee2565b60405180910390f35b34801561023a57600080fd5b5061025560048036038101906102509190614ce0565b611122565b005b34801561026357600080fd5b5061027e60048036038101906102799190614ce0565b611164565b005b34801561028c57600080fd5b506102a760048036038101906102a29190614f0b565b611297565b6040516102b5929190614ee2565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190614dae565b6115ce565b005b6103143330868873ffffffffffffffffffffffffffffffffffffffff16611651909392919063ffffffff16565b600085905060008173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610366573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038a9190614f73565b905060008273ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fd9190614f73565b90508273ffffffffffffffffffffffffffffffffffffffff1663095ea7b3867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040161045a929190614fa0565b6020604051808303816000875af1158015610479573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049d9190615001565b506000808673ffffffffffffffffffffffffffffffffffffffff1663baa2abde85858c60008030426040518863ffffffff1660e01b81526004016104e79796959493929190615073565b60408051808303816000875af1158015610505573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052991906150f7565b915091508773ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146105f2578373ffffffffffffffffffffffffffffffffffffffff1663095ea7b388846040518363ffffffff1660e01b815260040161059b929190614fa0565b6020604051808303816000875af11580156105ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105de9190615001565b506105ec84838a898b6116da565b5061061e565b61061d86838673ffffffffffffffffffffffffffffffffffffffff166125419092919063ffffffff16565b5b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146106e3578273ffffffffffffffffffffffffffffffffffffffff1663095ea7b388836040518363ffffffff1660e01b815260040161068c929190614fa0565b6020604051808303816000875af11580156106ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cf9190615001565b506106dd83828a898b6116da565b5061078e565b8273ffffffffffffffffffffffffffffffffffffffff1663095ea7b387836040518363ffffffff1660e01b815260040161071e929190614fa0565b6020604051808303816000875af115801561073d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190615001565b5061078d86828573ffffffffffffffffffffffffffffffffffffffff166125419092919063ffffffff16565b5b8573ffffffffffffffffffffffffffffffffffffffff167fc85a9dc7e52d5fde77287c5b4bdbb58ee135da0e3dbdad3c60f11f1490e6decd8b8a8c6040516107d893929190615137565b60405180910390a250505050505050505050565b6000600267ffffffffffffffff8111156108095761080861516e565b5b6040519080825280602002602001820160405280156108375781602001602082028036833780820191505090505b509050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816000815181106108715761087061519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505083816001815181106108c0576108bf61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663a2a1623d3460008487426040518663ffffffff1660e01b815260040161093b949392919061528a565b60006040518083038185885af1158015610959573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f820116820180604052508101906109839190615400565b5050505050565b610996833483856125c7565b508073ffffffffffffffffffffffffffffffffffffffff167f4fd86e42fdf9189d86bda34d3e693c24264ea2b54ff7796d9e1d40f5e29f4f5984346040516109df929190614fa0565b60405180910390a2505050565b6109f4612805565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a7b57610a30610c9a565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610a75573d6000803e3d6000fd5b50610b7b565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610a9f610c9a565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ad89190614e51565b602060405180830381865afa158015610af5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b199190615449565b6040518363ffffffff1660e01b8152600401610b36929190614fa0565b6020604051808303816000875af1158015610b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b799190615001565b505b50565b610b86612805565b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b610c4e612805565b610c586000612883565b565b610c873330858773ffffffffffffffffffffffffffffffffffffffff16611651909392919063ffffffff16565b610c9384848385612947565b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000808473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d359190614f73565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161480610e0757508473ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610db4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd89190614f73565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b1561107a5760008573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7d9190614f73565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614610f23578573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1e9190614f73565b610f93565b8573ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f929190614f73565b5b90506000610fab600286612dec90919063ffffffff16565b90506000610fbb8983858a612e02565b90508773ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015611008573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102c9190614f73565b73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff160361106c57818194509450505050611119565b808294509450505050611119565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614611104576110ff8785600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688612e02565b611106565b835b9050611113868683611297565b92509250505b94509492505050565b61114f3330868873ffffffffffffffffffffffffffffffffffffffff16611651909392919063ffffffff16565b61115c85858584866116da565b505050505050565b6111913330868873ffffffffffffffffffffffffffffffffffffffff16611651909392919063ffffffff16565b8473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016111ec929190614fa0565b6020604051808303816000875af115801561120b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122f9190615001565b5061123d8585858486613c5f565b508073ffffffffffffffffffffffffffffffffffffffff167f0d68baa46d2a39213409d107d635c79049caa98d28d4f852461bb1d07bc4eaa686858760405161128893929190615137565b60405180910390a25050505050565b60008060006112b0600285612dec90919063ffffffff16565b9050600086905060008173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190614f73565b905060008273ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611377573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139b9190614f73565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806114465750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15611555576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146114a857826114aa565b815b905060006114dc600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687848d612e02565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611544578581975097505050505050506115c6565b8086975097505050505050506115c6565b6000611585600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686858c612e02565b905060006115b7600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687858d612e02565b90508181975097505050505050505b935093915050565b6115d6612805565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c906154f9565b60405180910390fd5b61164e81612883565b50565b6116d4846323b872dd60e01b85858560405160240161167293929190615137565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614134565b50505050565b6000808290506000600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506060600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561188e5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611c03578173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611ac457600567ffffffffffffffff8111156118e1576118e061516e565b5b60405190808252806020026020018201604052801561190f5781602001602082028036833780820191505090505b50905089816000815181106119275761192661519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505082816001815181106119765761197561519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816002815181106119e7576119e661519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508181600381518110611a3657611a3561519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508781600481518110611a8557611a8461519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611bfe565b600367ffffffffffffffff811115611adf57611ade61516e565b5b604051908082528060200260200182016040528015611b0d5781602001602082028036833780820191505090505b5090508981600081518110611b2557611b2461519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508281600181518110611b7457611b7361519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508781600281518110611bc357611bc261519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b61247b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611f9c57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1603611dec57600367ffffffffffffffff811115611ca757611ca661516e565b5b604051908082528060200260200182016040528015611cd55781602001602082028036833780820191505090505b5090508981600081518110611ced57611cec61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508281600181518110611d3c57611d3b61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600281518110611dad57611dac61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611f97565b600467ffffffffffffffff811115611e0757611e0661516e565b5b604051908082528060200260200182016040528015611e355781602001602082028036833780820191505090505b5090508981600081518110611e4d57611e4c61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508281600181518110611e9c57611e9b61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600281518110611f0d57611f0c61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508781600381518110611f5c57611f5b61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b61247a565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461217f57600467ffffffffffffffff811115611feb57611fea61516e565b5b6040519080825280602002602001820160405280156120195781602001602082028036833780820191505090505b50905089816000815181106120315761203061519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816001815181106120a2576120a161519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505081816002815181106120f1576120f061519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505087816003815181106121405761213f61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612479565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff1614806122285750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b1561231c57600267ffffffffffffffff8111156122485761224761516e565b5b6040519080825280602002602001820160405280156122765781602001602082028036833780820191505090505b509050898160008151811061228e5761228d61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505087816001815181106122dd576122dc61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612478565b600367ffffffffffffffff8111156123375761233661516e565b5b6040519080825280602002602001820160405280156123655781602001602082028036833780820191505090505b509050898160008151811061237d5761237c61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816001815181106123ee576123ed61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050878160028151811061243d5761243c61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b5b5b5b60008473ffffffffffffffffffffffffffffffffffffffff166338ed17398b6000858c426040518663ffffffff1660e01b81526004016124bf959493929190615519565b6000604051808303816000875af11580156124de573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906125079190615400565b9050806001825161251891906155a2565b815181106125295761252861519d565b5b60200260200101519550505050505095945050505050565b6125c28363a9059cbb60e01b8484604051602401612560929190614fa0565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614134565b505050565b60008085905060008173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa15801561261a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061263e9190614f73565b905060008273ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561268d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126b19190614f73565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061275e5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b156127df576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146127c057836127c2565b825b90506127d0818a898b6141fb565b909150905080925050506127f6565b6127ec83838a898b614378565b9091509050809150505b80945050505050949350505050565b61280d6145a9565b73ffffffffffffffffffffffffffffffffffffffff1661282b610c9a565b73ffffffffffffffffffffffffffffffffffffffff1614612881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287890615622565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060606000839050600073ffffffffffffffffffffffffffffffffffffffff16600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612c1c57600367ffffffffffffffff811115612a3b57612a3a61516e565b5b604051908082528060200260200182016040528015612a695781602001602082028036833780820191505090505b5091508682600081518110612a8157612a8061519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600181518110612b6c57612b6b61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600281518110612bdd57612bdc61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612d29565b600267ffffffffffffffff811115612c3757612c3661516e565b5b604051908082528060200260200182016040528015612c655781602001602082028036833780820191505090505b5091508682600081518110612c7d57612c7c61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600181518110612cee57612ced61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b60008173ffffffffffffffffffffffffffffffffffffffff1663676528d1886000868a426040518663ffffffff1660e01b8152600401612d6d959493929190615519565b6000604051808303816000875af1158015612d8c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612db59190615400565b90508060018251612dc691906155a2565b81518110612dd757612dd661519d565b5b60200260200101519350505050949350505050565b60008183612dfa9190615671565b905092915050565b6000808290506000600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506060600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612fb65750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561332b578173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131ec57600567ffffffffffffffff8111156130095761300861516e565b5b6040519080825280602002602001820160405280156130375781602001602082028036833780820191505090505b509050888160008151811061304f5761304e61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061309e5761309d61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160028151811061310f5761310e61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050818160038151811061315e5761315d61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086816004815181106131ad576131ac61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613326565b600367ffffffffffffffff8111156132075761320661516e565b5b6040519080825280602002602001820160405280156132355781602001602082028036833780820191505090505b509050888160008151811061324d5761324c61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061329c5761329b61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086816002815181106132eb576132ea61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b613ba3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146136c457600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff160361351457600367ffffffffffffffff8111156133cf576133ce61516e565b5b6040519080825280602002602001820160405280156133fd5781602001602082028036833780820191505090505b50905088816000815181106134155761341461519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505082816001815181106134645761346361519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816002815181106134d5576134d461519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506136bf565b600467ffffffffffffffff81111561352f5761352e61516e565b5b60405190808252806020026020018201604052801561355d5781602001602082028036833780820191505090505b50905088816000815181106135755761357461519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505082816001815181106135c4576135c361519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816002815181106136355761363461519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086816003815181106136845761368361519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b613ba2565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146138a757600467ffffffffffffffff8111156137135761371261516e565b5b6040519080825280602002602001820160405280156137415781602001602082028036833780820191505090505b50905088816000815181106137595761375861519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816001815181106137ca576137c961519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505081816002815181106138195761381861519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086816003815181106138685761386761519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613ba1565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614806139505750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16145b15613a4457600267ffffffffffffffff8111156139705761396f61516e565b5b60405190808252806020026020018201604052801561399e5781602001602082028036833780820191505090505b50905088816000815181106139b6576139b561519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508681600181518110613a0557613a0461519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613ba0565b600367ffffffffffffffff811115613a5f57613a5e61516e565b5b604051908082528060200260200182016040528015613a8d5781602001602082028036833780820191505090505b5090508881600081518110613aa557613aa461519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600181518110613b1657613b1561519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508681600281518110613b6557613b6461519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b5b5b5b60008473ffffffffffffffffffffffffffffffffffffffff1663d06ca61f8a846040518363ffffffff1660e01b8152600401613be09291906156a2565b600060405180830381865afa158015613bfd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190613c269190615400565b90508060018251613c3791906155a2565b81518110613c4857613c4761519d565b5b602002602001015195505050505050949350505050565b60008373ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015613cac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cd09190614f73565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161480613da257508373ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613d4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d739190614f73565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b1561410b5760008473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015613df4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e189190614f73565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614613ebe578473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015613e95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613eb99190614f73565b613f2e565b8473ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f2d9190614f73565b5b90506000613f46600288612dec90919063ffffffff16565b90506000613f5789838530896116da565b905060008973ffffffffffffffffffffffffffffffffffffffff1663095ea7b387856040518363ffffffff1660e01b8152600401613f96929190614fa0565b6020604051808303816000875af1158015613fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fd99190615001565b508373ffffffffffffffffffffffffffffffffffffffff1663095ea7b387846040518363ffffffff1660e01b8152600401614015929190614fa0565b6020604051808303816000875af1158015614034573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140589190615001565b508573ffffffffffffffffffffffffffffffffffffffff1663e8e337008b8661408a878e6145b190919063ffffffff16565b866000808e426040518963ffffffff1660e01b81526004016140b39897969594939291906156d2565b6060604051808303816000875af11580156140d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140f69190615750565b9091509050809150508094505050505061412b565b600061411987873086612947565b9050614127858286866125c7565b9150505b95945050505050565b6000614196826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166145c79092919063ffffffff16565b90506000815111156141f657808060200190518101906141b69190615001565b6141f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016141ec90615815565b60405180910390fd5b5b505050565b600080600080614215600288612dec90919063ffffffff16565b905060006142258983308a6145df565b905060008790508973ffffffffffffffffffffffffffffffffffffffff1663095ea7b3897fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401614287929190614fa0565b6020604051808303816000875af11580156142a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142ca9190615001565b508073ffffffffffffffffffffffffffffffffffffffff1663f91b3f726142fa858c6145b190919063ffffffff16565b8c856000808d426040518863ffffffff1660e01b815260040161432296959493929190615835565b60606040518083038185885af1158015614340573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906143659190615750565b9550955095505050509450945094915050565b600080600080614392600288612dec90919063ffffffff16565b905060006143a28a83308a6145df565b905060006143c48a6143bd858c6145b190919063ffffffff16565b308b6145df565b905060008890508b73ffffffffffffffffffffffffffffffffffffffff1663095ea7b38a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401614426929190614fa0565b6020604051808303816000875af1158015614445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144699190615001565b508a73ffffffffffffffffffffffffffffffffffffffff1663095ea7b38a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016144c5929190614fa0565b6020604051808303816000875af11580156144e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145089190615001565b508073ffffffffffffffffffffffffffffffffffffffff1663e8e337008d8d86866000808f426040518963ffffffff1660e01b81526004016145519897969594939291906156d2565b6060604051808303816000875af1158015614570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145949190615750565b96509650965050505050955095509592505050565b600033905090565b600081836145bf91906155a2565b905092915050565b60606145d68484600085614a83565b90509392505050565b600060606000839050600073ffffffffffffffffffffffffffffffffffffffff16600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146148b457600367ffffffffffffffff8111156146d3576146d261516e565b5b6040519080825280602002602001820160405280156147015781602001602082028036833780820191505090505b509150600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260008151811061473b5761473a61519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826001815181106148265761482561519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086826002815181106148755761487461519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506149c1565b600267ffffffffffffffff8111156148cf576148ce61516e565b5b6040519080825280602002602001820160405280156148fd5781602001602082028036833780820191505090505b509150600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826000815181106149375761493661519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086826001815181106149865761498561519d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b60008173ffffffffffffffffffffffffffffffffffffffff1663a2a1623d886000868a426040518663ffffffff1660e01b8152600401614a04949392919061528a565b60006040518083038185885af1158015614a22573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f82011682018060405250810190614a4c9190615400565b90508060018251614a5d91906155a2565b81518110614a6e57614a6d61519d565b5b60200260200101519350505050949350505050565b606082471015614ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614abf90615908565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051614af19190615999565b60006040518083038185875af1925050503d8060008114614b2e576040519150601f19603f3d011682016040523d82523d6000602084013e614b33565b606091505b5091509150614b4487838387614b50565b92505050949350505050565b60608315614bb2576000835103614baa57614b6a85614bc5565b614ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614ba0906159fc565b60405180910390fd5b5b829050614bbd565b614bbc8383614be8565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115614bfb5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614c2f9190615a60565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614c7782614c4c565b9050919050565b614c8781614c6c565b8114614c9257600080fd5b50565b600081359050614ca481614c7e565b92915050565b6000819050919050565b614cbd81614caa565b8114614cc857600080fd5b50565b600081359050614cda81614cb4565b92915050565b600080600080600060a08688031215614cfc57614cfb614c42565b5b6000614d0a88828901614c95565b9550506020614d1b88828901614ccb565b9450506040614d2c88828901614c95565b9350506060614d3d88828901614c95565b9250506080614d4e88828901614c95565b9150509295509295909350565b600080600060608486031215614d7457614d73614c42565b5b6000614d8286828701614c95565b9350506020614d9386828701614c95565b9250506040614da486828701614c95565b9150509250925092565b600060208284031215614dc457614dc3614c42565b5b6000614dd284828501614c95565b91505092915050565b60008060008060808587031215614df557614df4614c42565b5b6000614e0387828801614c95565b9450506020614e1487828801614ccb565b9350506040614e2587828801614c95565b9250506060614e3687828801614c95565b91505092959194509250565b614e4b81614c6c565b82525050565b6000602082019050614e666000830184614e42565b92915050565b60008060008060808587031215614e8657614e85614c42565b5b6000614e9487828801614c95565b9450506020614ea587828801614c95565b9350506040614eb687828801614c95565b9250506060614ec787828801614ccb565b91505092959194509250565b614edc81614caa565b82525050565b6000604082019050614ef76000830185614ed3565b614f046020830184614ed3565b9392505050565b600080600060608486031215614f2457614f23614c42565b5b6000614f3286828701614c95565b9350506020614f4386828701614c95565b9250506040614f5486828701614ccb565b9150509250925092565b600081519050614f6d81614c7e565b92915050565b600060208284031215614f8957614f88614c42565b5b6000614f9784828501614f5e565b91505092915050565b6000604082019050614fb56000830185614e42565b614fc26020830184614ed3565b9392505050565b60008115159050919050565b614fde81614fc9565b8114614fe957600080fd5b50565b600081519050614ffb81614fd5565b92915050565b60006020828403121561501757615016614c42565b5b600061502584828501614fec565b91505092915050565b6000819050919050565b6000819050919050565b600061505d6150586150538461502e565b615038565b614caa565b9050919050565b61506d81615042565b82525050565b600060e082019050615088600083018a614e42565b6150956020830189614e42565b6150a26040830188614ed3565b6150af6060830187615064565b6150bc6080830186615064565b6150c960a0830185614e42565b6150d660c0830184614ed3565b98975050505050505050565b6000815190506150f181614cb4565b92915050565b6000806040838503121561510e5761510d614c42565b5b600061511c858286016150e2565b925050602061512d858286016150e2565b9150509250929050565b600060608201905061514c6000830186614e42565b6151596020830185614e42565b6151666040830184614ed3565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61520181614c6c565b82525050565b600061521383836151f8565b60208301905092915050565b6000602082019050919050565b6000615237826151cc565b61524181856151d7565b935061524c836151e8565b8060005b8381101561527d5781516152648882615207565b975061526f8361521f565b925050600181019050615250565b5085935050505092915050565b600060808201905061529f6000830187615064565b81810360208301526152b1818661522c565b90506152c06040830185614e42565b6152cd6060830184614ed3565b95945050505050565b600080fd5b6000601f19601f8301169050919050565b6152f5826152db565b810181811067ffffffffffffffff821117156153145761531361516e565b5b80604052505050565b6000615327614c38565b905061533382826152ec565b919050565b600067ffffffffffffffff8211156153535761535261516e565b5b602082029050602081019050919050565b600080fd5b600061537c61537784615338565b61531d565b9050808382526020820190506020840283018581111561539f5761539e615364565b5b835b818110156153c857806153b488826150e2565b8452602084019350506020810190506153a1565b5050509392505050565b600082601f8301126153e7576153e66152d6565b5b81516153f7848260208601615369565b91505092915050565b60006020828403121561541657615415614c42565b5b600082015167ffffffffffffffff81111561543457615433614c47565b5b615440848285016153d2565b91505092915050565b60006020828403121561545f5761545e614c42565b5b600061546d848285016150e2565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006154e3602683615476565b91506154ee82615487565b604082019050919050565b60006020820190508181036000830152615512816154d6565b9050919050565b600060a08201905061552e6000830188614ed3565b61553b6020830187615064565b818103604083015261554d818661522c565b905061555c6060830185614e42565b6155696080830184614ed3565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006155ad82614caa565b91506155b883614caa565b92508282039050818111156155d0576155cf615573565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061560c602083615476565b9150615617826155d6565b602082019050919050565b6000602082019050818103600083015261563b816155ff565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061567c82614caa565b915061568783614caa565b92508261569757615696615642565b5b828204905092915050565b60006040820190506156b76000830185614ed3565b81810360208301526156c9818461522c565b90509392505050565b6000610100820190506156e8600083018b614e42565b6156f5602083018a614e42565b6157026040830189614ed3565b61570f6060830188614ed3565b61571c6080830187615064565b61572960a0830186615064565b61573660c0830185614e42565b61574360e0830184614ed3565b9998505050505050505050565b60008060006060848603121561576957615768614c42565b5b6000615777868287016150e2565b9350506020615788868287016150e2565b9250506040615799868287016150e2565b9150509250925092565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006157ff602a83615476565b915061580a826157a3565b604082019050919050565b6000602082019050818103600083015261582e816157f2565b9050919050565b600060c08201905061584a6000830189614e42565b6158576020830188614ed3565b6158646040830187615064565b6158716060830186615064565b61587e6080830185614e42565b61588b60a0830184614ed3565b979650505050505050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006158f2602683615476565b91506158fd82615896565b604082019050919050565b60006020820190508181036000830152615921816158e5565b9050919050565b600081519050919050565b600081905092915050565b60005b8381101561595c578082015181840152602081019050615941565b60008484015250505050565b600061597382615928565b61597d8185615933565b935061598d81856020860161593e565b80840191505092915050565b60006159a58284615968565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006159e6601d83615476565b91506159f1826159b0565b602082019050919050565b60006020820190508181036000830152615a15816159d9565b9050919050565b600081519050919050565b6000615a3282615a1c565b615a3c8185615476565b9350615a4c81856020860161593e565b615a55816152db565b840191505092915050565b60006020820190508181036000830152615a7a8184615a27565b90509291505056fea2646970667358221220c0b4a3bd6f5a85549849964a97062b330555f5bdaafc8d91f6578a18ee16d88e64736f6c63430008110033000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c7
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c7
-----Decoded View---------------
Arg [0] : _WNATIVE (address): 0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c7
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.