Contract Overview
My Name Tag:
Not Available, login to update
Txn Hash | Method |
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|---|
0xbb81f38051b0cb058d2f1946d8073e76d6321704e177e6a55f396785fe6c4111 | Zap In Token | 27591007 | 12 days 14 hrs ago | 0x71e36004a18d2fddb0339935b7a89b9847c3c5c2 | IN | 0x58916e82a2ec7b7f568a9f3bd2f47910b919b45d | 0 AVAX | 0.017622514 | |
0x81aed9c311b3c142f4d8b863442ea4ebe205d02f6b1590e7fbe3f47b1f9525b1 | 0x60806040 | 27590890 | 12 days 14 hrs ago | 0xd58aa88246a1cf56a48e8e184405bd7ef0be7b83 | IN | Create: RaiderZapperAVAX | 0 AVAX | 0.130337275 |
[ Download CSV Export ]
Latest 3 internal transactions
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0xbb81f38051b0cb058d2f1946d8073e76d6321704e177e6a55f396785fe6c4111 | 27591007 | 12 days 14 hrs ago | 0x58916e82a2ec7b7f568a9f3bd2f47910b919b45d | Trader Joe: Router | 0.000032488261497306 AVAX | ||
0xbb81f38051b0cb058d2f1946d8073e76d6321704e177e6a55f396785fe6c4111 | 27591007 | 12 days 14 hrs ago | 0x58916e82a2ec7b7f568a9f3bd2f47910b919b45d | Trader Joe: Router | 0.000032488261497305 AVAX | ||
0xbb81f38051b0cb058d2f1946d8073e76d6321704e177e6a55f396785fe6c4111 | 27591007 | 12 days 14 hrs ago | Trader Joe: Router | 0x58916e82a2ec7b7f568a9f3bd2f47910b919b45d | 0.000064976522994611 AVAX |
[ Download CSV Export ]
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
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).safeApprove(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
60806040523480156200001157600080fd5b5060405162005e8538038062005e858339818101604052810190620000379190620001d5565b620000576200004b6200009f60201b60201c565b620000a760201b60201c565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000207565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200019d8262000170565b9050919050565b620001af8162000190565b8114620001bb57600080fd5b50565b600081519050620001cf81620001a4565b92915050565b600060208284031215620001ee57620001ed6200016b565b5b6000620001fe84828501620001be565b91505092915050565b615c6e80620002176000396000f3fe6080604052600436106100c65760003560e01c806389fecbd51161007f578063ba2ebf9611610059578063ba2ebf961461022e578063cee6202c14610257578063d9059f1b14610280578063f2fde38b146102be576100cd565b806389fecbd51461019c5780638da5cb5b146101c55780638e8d8152146101f0576100cd565b80631b71afbd146100d257806334c0fda2146100fb57806335e8b7d51461011757806351cff8d9146101335780635424888b1461015c578063715018a614610185576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190614ddb565b6102e7565b005b61011560048036038101906101109190614e56565b6107ec565b005b610131600480360381019061012c9190614e56565b61098a565b005b34801561013f57600080fd5b5061015a60048036038101906101559190614ea9565b6109ec565b005b34801561016857600080fd5b50610183600480360381019061017e9190614e56565b610b7e565b005b34801561019157600080fd5b5061019a610c46565b005b3480156101a857600080fd5b506101c360048036038101906101be9190614ed6565b610c5a565b005b3480156101d157600080fd5b506101da610c9a565b6040516101e79190614f4c565b60405180910390f35b3480156101fc57600080fd5b5061021760048036038101906102129190614f67565b610cc3565b604051610225929190614fdd565b60405180910390f35b34801561023a57600080fd5b5061025560048036038101906102509190614ddb565b611122565b005b34801561026357600080fd5b5061027e60048036038101906102799190614ddb565b611164565b005b34801561028c57600080fd5b506102a760048036038101906102a29190615006565b611243565b6040516102b5929190614fdd565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190614ea9565b61157a565b005b6103143330868873ffffffffffffffffffffffffffffffffffffffff166115fd909392919063ffffffff16565b600085905060008173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610366573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038a919061506e565b905060008273ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fd919061506e565b90508273ffffffffffffffffffffffffffffffffffffffff1663095ea7b3867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040161045a92919061509b565b6020604051808303816000875af1158015610479573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049d91906150fc565b506000808673ffffffffffffffffffffffffffffffffffffffff1663baa2abde85858c60008030426040518863ffffffff1660e01b81526004016104e7979695949392919061516e565b60408051808303816000875af1158015610505573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052991906151f2565b915091508773ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146105f2578373ffffffffffffffffffffffffffffffffffffffff1663095ea7b388846040518363ffffffff1660e01b815260040161059b92919061509b565b6020604051808303816000875af11580156105ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105de91906150fc565b506105ec84838a898b611686565b5061061e565b61061d86838673ffffffffffffffffffffffffffffffffffffffff166124ed9092919063ffffffff16565b5b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146106e3578273ffffffffffffffffffffffffffffffffffffffff1663095ea7b388836040518363ffffffff1660e01b815260040161068c92919061509b565b6020604051808303816000875af11580156106ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cf91906150fc565b506106dd83828a898b611686565b5061078e565b8273ffffffffffffffffffffffffffffffffffffffff1663095ea7b387836040518363ffffffff1660e01b815260040161071e92919061509b565b6020604051808303816000875af115801561073d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076191906150fc565b5061078d86828573ffffffffffffffffffffffffffffffffffffffff166124ed9092919063ffffffff16565b5b8573ffffffffffffffffffffffffffffffffffffffff167fc85a9dc7e52d5fde77287c5b4bdbb58ee135da0e3dbdad3c60f11f1490e6decd8b8a8c6040516107d893929190615232565b60405180910390a250505050505050505050565b6000600267ffffffffffffffff81111561080957610808615269565b5b6040519080825280602002602001820160405280156108375781602001602082028036833780820191505090505b509050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160008151811061087157610870615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505083816001815181106108c0576108bf615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663a2a1623d3460008487426040518663ffffffff1660e01b815260040161093b9493929190615385565b60006040518083038185885af1158015610959573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f8201168201806040525081019061098391906154fb565b5050505050565b61099683348385612573565b508073ffffffffffffffffffffffffffffffffffffffff167f4fd86e42fdf9189d86bda34d3e693c24264ea2b54ff7796d9e1d40f5e29f4f5984346040516109df92919061509b565b60405180910390a2505050565b6109f46127b1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a7b57610a30610c9a565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610a75573d6000803e3d6000fd5b50610b7b565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610a9f610c9a565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ad89190614f4c565b602060405180830381865afa158015610af5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b199190615544565b6040518363ffffffff1660e01b8152600401610b3692919061509b565b6020604051808303816000875af1158015610b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7991906150fc565b505b50565b610b866127b1565b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b610c4e6127b1565b610c58600061282f565b565b610c873330858773ffffffffffffffffffffffffffffffffffffffff166115fd909392919063ffffffff16565b610c93848483856128f3565b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000808473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d35919061506e565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161480610e0757508473ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610db4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd8919061506e565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b1561107a5760008573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7d919061506e565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614610f23578573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1e919061506e565b610f93565b8573ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f92919061506e565b5b90506000610fab600286612d9890919063ffffffff16565b90506000610fbb8983858a612dae565b90508773ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015611008573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102c919061506e565b73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff160361106c57818194509450505050611119565b808294509450505050611119565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614611104576110ff8785600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688612dae565b611106565b835b9050611113868683611243565b92509250505b94509492505050565b61114f3330868873ffffffffffffffffffffffffffffffffffffffff166115fd909392919063ffffffff16565b61115c8585858486611686565b505050505050565b6111913330868873ffffffffffffffffffffffffffffffffffffffff166115fd909392919063ffffffff16565b6111dc827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8773ffffffffffffffffffffffffffffffffffffffff16613c0b9092919063ffffffff16565b6111e98585858486613d5a565b508073ffffffffffffffffffffffffffffffffffffffff167f0d68baa46d2a39213409d107d635c79049caa98d28d4f852461bb1d07bc4eaa686858760405161123493929190615232565b60405180910390a25050505050565b600080600061125c600285612d9890919063ffffffff16565b9050600086905060008173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d4919061506e565b905060008273ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611323573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611347919061506e565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806113f25750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15611501576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146114545782611456565b815b90506000611488600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687848d612dae565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036114f057858197509750505050505050611572565b808697509750505050505050611572565b6000611531600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686858c612dae565b90506000611563600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687858d612dae565b90508181975097505050505050505b935093915050565b6115826127b1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e8906155f4565b60405180910390fd5b6115fa8161282f565b50565b611680846323b872dd60e01b85858560405160240161161e93929190615232565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061422f565b50505050565b6000808290506000600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506060600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561183a5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611baf578173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611a7057600567ffffffffffffffff81111561188d5761188c615269565b5b6040519080825280602002602001820160405280156118bb5781602001602082028036833780820191505090505b50905089816000815181106118d3576118d2615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061192257611921615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160028151811061199357611992615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505081816003815181106119e2576119e1615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508781600481518110611a3157611a30615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611baa565b600367ffffffffffffffff811115611a8b57611a8a615269565b5b604051908082528060200260200182016040528015611ab95781602001602082028036833780820191505090505b5090508981600081518110611ad157611ad0615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508281600181518110611b2057611b1f615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508781600281518110611b6f57611b6e615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b612427565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611f4857600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1603611d9857600367ffffffffffffffff811115611c5357611c52615269565b5b604051908082528060200260200182016040528015611c815781602001602082028036833780820191505090505b5090508981600081518110611c9957611c98615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508281600181518110611ce857611ce7615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600281518110611d5957611d58615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611f43565b600467ffffffffffffffff811115611db357611db2615269565b5b604051908082528060200260200182016040528015611de15781602001602082028036833780820191505090505b5090508981600081518110611df957611df8615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508281600181518110611e4857611e47615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600281518110611eb957611eb8615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508781600381518110611f0857611f07615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b612426565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461212b57600467ffffffffffffffff811115611f9757611f96615269565b5b604051908082528060200260200182016040528015611fc55781602001602082028036833780820191505090505b5090508981600081518110611fdd57611fdc615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160018151811061204e5761204d615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050818160028151811061209d5761209c615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505087816003815181106120ec576120eb615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612425565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff1614806121d45750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b156122c857600267ffffffffffffffff8111156121f4576121f3615269565b5b6040519080825280602002602001820160405280156122225781602001602082028036833780820191505090505b509050898160008151811061223a57612239615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050878160018151811061228957612288615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612424565b600367ffffffffffffffff8111156122e3576122e2615269565b5b6040519080825280602002602001820160405280156123115781602001602082028036833780820191505090505b509050898160008151811061232957612328615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160018151811061239a57612399615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505087816002815181106123e9576123e8615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b5b5b5b60008473ffffffffffffffffffffffffffffffffffffffff166338ed17398b6000858c426040518663ffffffff1660e01b815260040161246b959493929190615614565b6000604051808303816000875af115801561248a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906124b391906154fb565b905080600182516124c4919061569d565b815181106124d5576124d4615298565b5b60200260200101519550505050505095945050505050565b61256e8363a9059cbb60e01b848460405160240161250c92919061509b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061422f565b505050565b60008085905060008173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ea919061506e565b905060008273ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612639573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061265d919061506e565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061270a5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561278b576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461276c578361276e565b825b905061277c818a898b6142f6565b909150905080925050506127a2565b61279883838a898b614473565b9091509050809150505b80945050505050949350505050565b6127b96146a4565b73ffffffffffffffffffffffffffffffffffffffff166127d7610c9a565b73ffffffffffffffffffffffffffffffffffffffff161461282d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128249061571d565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060606000839050600073ffffffffffffffffffffffffffffffffffffffff16600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612bc857600367ffffffffffffffff8111156129e7576129e6615269565b5b604051908082528060200260200182016040528015612a155781602001602082028036833780820191505090505b5091508682600081518110612a2d57612a2c615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600181518110612b1857612b17615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600281518110612b8957612b88615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612cd5565b600267ffffffffffffffff811115612be357612be2615269565b5b604051908082528060200260200182016040528015612c115781602001602082028036833780820191505090505b5091508682600081518110612c2957612c28615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600181518110612c9a57612c99615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b60008173ffffffffffffffffffffffffffffffffffffffff1663676528d1886000868a426040518663ffffffff1660e01b8152600401612d19959493929190615614565b6000604051808303816000875af1158015612d38573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612d6191906154fb565b90508060018251612d72919061569d565b81518110612d8357612d82615298565b5b60200260200101519350505050949350505050565b60008183612da6919061576c565b905092915050565b6000808290506000600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506060600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612f625750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156132d7578173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461319857600567ffffffffffffffff811115612fb557612fb4615269565b5b604051908082528060200260200182016040528015612fe35781602001602082028036833780820191505090505b5090508881600081518110612ffb57612ffa615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061304a57613049615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816002815181106130bb576130ba615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050818160038151811061310a57613109615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050868160048151811061315957613158615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506132d2565b600367ffffffffffffffff8111156131b3576131b2615269565b5b6040519080825280602002602001820160405280156131e15781602001602082028036833780820191505090505b50905088816000815181106131f9576131f8615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061324857613247615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050868160028151811061329757613296615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b613b4f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461367057600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16036134c057600367ffffffffffffffff81111561337b5761337a615269565b5b6040519080825280602002602001820160405280156133a95781602001602082028036833780820191505090505b50905088816000815181106133c1576133c0615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505082816001815181106134105761340f615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160028151811061348157613480615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061366b565b600467ffffffffffffffff8111156134db576134da615269565b5b6040519080825280602002602001820160405280156135095781602001602082028036833780820191505090505b509050888160008151811061352157613520615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505082816001815181106135705761356f615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816002815181106135e1576135e0615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086816003815181106136305761362f615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b613b4e565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461385357600467ffffffffffffffff8111156136bf576136be615269565b5b6040519080825280602002602001820160405280156136ed5781602001602082028036833780820191505090505b509050888160008151811061370557613704615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160018151811061377657613775615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505081816002815181106137c5576137c4615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050868160038151811061381457613813615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613b4d565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614806138fc5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16145b156139f057600267ffffffffffffffff81111561391c5761391b615269565b5b60405190808252806020026020018201604052801561394a5781602001602082028036833780820191505090505b509050888160008151811061396257613961615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086816001815181106139b1576139b0615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613b4c565b600367ffffffffffffffff811115613a0b57613a0a615269565b5b604051908082528060200260200182016040528015613a395781602001602082028036833780820191505090505b5090508881600081518110613a5157613a50615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600181518110613ac257613ac1615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508681600281518110613b1157613b10615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b5b5b5b60008473ffffffffffffffffffffffffffffffffffffffff1663d06ca61f8a846040518363ffffffff1660e01b8152600401613b8c92919061579d565b600060405180830381865afa158015613ba9573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190613bd291906154fb565b90508060018251613be3919061569d565b81518110613bf457613bf3615298565b5b602002602001015195505050505050949350505050565b6000811480613c95575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401613c529291906157cd565b602060405180830381865afa158015613c6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c939190615544565b145b613cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ccb90615868565b60405180910390fd5b613d558363095ea7b360e01b8484604051602401613cf392919061509b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061422f565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015613da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dcb919061506e565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161480613e9d57508373ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613e4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e6e919061506e565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b156142065760008473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015613eef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f13919061506e565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614613fb9578473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fb4919061506e565b614029565b8473ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015614004573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614028919061506e565b5b90506000614041600288612d9890919063ffffffff16565b905060006140528983853089611686565b905060008973ffffffffffffffffffffffffffffffffffffffff1663095ea7b387856040518363ffffffff1660e01b815260040161409192919061509b565b6020604051808303816000875af11580156140b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140d491906150fc565b508373ffffffffffffffffffffffffffffffffffffffff1663095ea7b387846040518363ffffffff1660e01b815260040161411092919061509b565b6020604051808303816000875af115801561412f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061415391906150fc565b508573ffffffffffffffffffffffffffffffffffffffff1663e8e337008b86614185878e6146ac90919063ffffffff16565b866000808e426040518963ffffffff1660e01b81526004016141ae989796959493929190615888565b6060604051808303816000875af11580156141cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141f19190615906565b90915090508091505080945050505050614226565b6000614214878730866128f3565b905061422285828686612573565b9150505b95945050505050565b6000614291826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166146c29092919063ffffffff16565b90506000815111156142f157808060200190518101906142b191906150fc565b6142f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142e7906159cb565b60405180910390fd5b5b505050565b600080600080614310600288612d9890919063ffffffff16565b905060006143208983308a6146da565b905060008790508973ffffffffffffffffffffffffffffffffffffffff1663095ea7b3897fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040161438292919061509b565b6020604051808303816000875af11580156143a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143c591906150fc565b508073ffffffffffffffffffffffffffffffffffffffff1663f91b3f726143f5858c6146ac90919063ffffffff16565b8c856000808d426040518863ffffffff1660e01b815260040161441d969594939291906159eb565b60606040518083038185885af115801561443b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906144609190615906565b9550955095505050509450945094915050565b60008060008061448d600288612d9890919063ffffffff16565b9050600061449d8a83308a6146da565b905060006144bf8a6144b8858c6146ac90919063ffffffff16565b308b6146da565b905060008890508b73ffffffffffffffffffffffffffffffffffffffff1663095ea7b38a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040161452192919061509b565b6020604051808303816000875af1158015614540573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061456491906150fc565b508a73ffffffffffffffffffffffffffffffffffffffff1663095ea7b38a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016145c092919061509b565b6020604051808303816000875af11580156145df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061460391906150fc565b508073ffffffffffffffffffffffffffffffffffffffff1663e8e337008d8d86866000808f426040518963ffffffff1660e01b815260040161464c989796959493929190615888565b6060604051808303816000875af115801561466b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061468f9190615906565b96509650965050505050955095509592505050565b600033905090565b600081836146ba919061569d565b905092915050565b60606146d18484600085614b7e565b90509392505050565b600060606000839050600073ffffffffffffffffffffffffffffffffffffffff16600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146149af57600367ffffffffffffffff8111156147ce576147cd615269565b5b6040519080825280602002602001820160405280156147fc5781602001602082028036833780820191505090505b509150600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260008151811061483657614835615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260018151811061492157614920615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086826002815181106149705761496f615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050614abc565b600267ffffffffffffffff8111156149ca576149c9615269565b5b6040519080825280602002602001820160405280156149f85781602001602082028036833780820191505090505b509150600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600081518110614a3257614a31615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508682600181518110614a8157614a80615298565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b60008173ffffffffffffffffffffffffffffffffffffffff1663a2a1623d886000868a426040518663ffffffff1660e01b8152600401614aff9493929190615385565b60006040518083038185885af1158015614b1d573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f82011682018060405250810190614b4791906154fb565b90508060018251614b58919061569d565b81518110614b6957614b68615298565b5b60200260200101519350505050949350505050565b606082471015614bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614bba90615abe565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051614bec9190615b4f565b60006040518083038185875af1925050503d8060008114614c29576040519150601f19603f3d011682016040523d82523d6000602084013e614c2e565b606091505b5091509150614c3f87838387614c4b565b92505050949350505050565b60608315614cad576000835103614ca557614c6585614cc0565b614ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614c9b90615bb2565b60405180910390fd5b5b829050614cb8565b614cb78383614ce3565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115614cf65781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614d2a9190615c16565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614d7282614d47565b9050919050565b614d8281614d67565b8114614d8d57600080fd5b50565b600081359050614d9f81614d79565b92915050565b6000819050919050565b614db881614da5565b8114614dc357600080fd5b50565b600081359050614dd581614daf565b92915050565b600080600080600060a08688031215614df757614df6614d3d565b5b6000614e0588828901614d90565b9550506020614e1688828901614dc6565b9450506040614e2788828901614d90565b9350506060614e3888828901614d90565b9250506080614e4988828901614d90565b9150509295509295909350565b600080600060608486031215614e6f57614e6e614d3d565b5b6000614e7d86828701614d90565b9350506020614e8e86828701614d90565b9250506040614e9f86828701614d90565b9150509250925092565b600060208284031215614ebf57614ebe614d3d565b5b6000614ecd84828501614d90565b91505092915050565b60008060008060808587031215614ef057614eef614d3d565b5b6000614efe87828801614d90565b9450506020614f0f87828801614dc6565b9350506040614f2087828801614d90565b9250506060614f3187828801614d90565b91505092959194509250565b614f4681614d67565b82525050565b6000602082019050614f616000830184614f3d565b92915050565b60008060008060808587031215614f8157614f80614d3d565b5b6000614f8f87828801614d90565b9450506020614fa087828801614d90565b9350506040614fb187828801614d90565b9250506060614fc287828801614dc6565b91505092959194509250565b614fd781614da5565b82525050565b6000604082019050614ff26000830185614fce565b614fff6020830184614fce565b9392505050565b60008060006060848603121561501f5761501e614d3d565b5b600061502d86828701614d90565b935050602061503e86828701614d90565b925050604061504f86828701614dc6565b9150509250925092565b60008151905061506881614d79565b92915050565b60006020828403121561508457615083614d3d565b5b600061509284828501615059565b91505092915050565b60006040820190506150b06000830185614f3d565b6150bd6020830184614fce565b9392505050565b60008115159050919050565b6150d9816150c4565b81146150e457600080fd5b50565b6000815190506150f6816150d0565b92915050565b60006020828403121561511257615111614d3d565b5b6000615120848285016150e7565b91505092915050565b6000819050919050565b6000819050919050565b600061515861515361514e84615129565b615133565b614da5565b9050919050565b6151688161513d565b82525050565b600060e082019050615183600083018a614f3d565b6151906020830189614f3d565b61519d6040830188614fce565b6151aa606083018761515f565b6151b7608083018661515f565b6151c460a0830185614f3d565b6151d160c0830184614fce565b98975050505050505050565b6000815190506151ec81614daf565b92915050565b6000806040838503121561520957615208614d3d565b5b6000615217858286016151dd565b9250506020615228858286016151dd565b9150509250929050565b60006060820190506152476000830186614f3d565b6152546020830185614f3d565b6152616040830184614fce565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6152fc81614d67565b82525050565b600061530e83836152f3565b60208301905092915050565b6000602082019050919050565b6000615332826152c7565b61533c81856152d2565b9350615347836152e3565b8060005b8381101561537857815161535f8882615302565b975061536a8361531a565b92505060018101905061534b565b5085935050505092915050565b600060808201905061539a600083018761515f565b81810360208301526153ac8186615327565b90506153bb6040830185614f3d565b6153c86060830184614fce565b95945050505050565b600080fd5b6000601f19601f8301169050919050565b6153f0826153d6565b810181811067ffffffffffffffff8211171561540f5761540e615269565b5b80604052505050565b6000615422614d33565b905061542e82826153e7565b919050565b600067ffffffffffffffff82111561544e5761544d615269565b5b602082029050602081019050919050565b600080fd5b600061547761547284615433565b615418565b9050808382526020820190506020840283018581111561549a5761549961545f565b5b835b818110156154c357806154af88826151dd565b84526020840193505060208101905061549c565b5050509392505050565b600082601f8301126154e2576154e16153d1565b5b81516154f2848260208601615464565b91505092915050565b60006020828403121561551157615510614d3d565b5b600082015167ffffffffffffffff81111561552f5761552e614d42565b5b61553b848285016154cd565b91505092915050565b60006020828403121561555a57615559614d3d565b5b6000615568848285016151dd565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155de602683615571565b91506155e982615582565b604082019050919050565b6000602082019050818103600083015261560d816155d1565b9050919050565b600060a0820190506156296000830188614fce565b615636602083018761515f565b81810360408301526156488186615327565b90506156576060830185614f3d565b6156646080830184614fce565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006156a882614da5565b91506156b383614da5565b92508282039050818111156156cb576156ca61566e565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615707602083615571565b9150615712826156d1565b602082019050919050565b60006020820190508181036000830152615736816156fa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061577782614da5565b915061578283614da5565b9250826157925761579161573d565b5b828204905092915050565b60006040820190506157b26000830185614fce565b81810360208301526157c48184615327565b90509392505050565b60006040820190506157e26000830185614f3d565b6157ef6020830184614f3d565b9392505050565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60008201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000602082015250565b6000615852603683615571565b915061585d826157f6565b604082019050919050565b6000602082019050818103600083015261588181615845565b9050919050565b60006101008201905061589e600083018b614f3d565b6158ab602083018a614f3d565b6158b86040830189614fce565b6158c56060830188614fce565b6158d2608083018761515f565b6158df60a083018661515f565b6158ec60c0830185614f3d565b6158f960e0830184614fce565b9998505050505050505050565b60008060006060848603121561591f5761591e614d3d565b5b600061592d868287016151dd565b935050602061593e868287016151dd565b925050604061594f868287016151dd565b9150509250925092565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006159b5602a83615571565b91506159c082615959565b604082019050919050565b600060208201905081810360008301526159e4816159a8565b9050919050565b600060c082019050615a006000830189614f3d565b615a0d6020830188614fce565b615a1a604083018761515f565b615a27606083018661515f565b615a346080830185614f3d565b615a4160a0830184614fce565b979650505050505050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615aa8602683615571565b9150615ab382615a4c565b604082019050919050565b60006020820190508181036000830152615ad781615a9b565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015615b12578082015181840152602081019050615af7565b60008484015250505050565b6000615b2982615ade565b615b338185615ae9565b9350615b43818560208601615af4565b80840191505092915050565b6000615b5b8284615b1e565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615b9c601d83615571565b9150615ba782615b66565b602082019050919050565b60006020820190508181036000830152615bcb81615b8f565b9050919050565b600081519050919050565b6000615be882615bd2565b615bf28185615571565b9350615c02818560208601615af4565b615c0b816153d6565b840191505092915050565b60006020820190508181036000830152615c308184615bdd565b90509291505056fea26469706673582212208528f1d832060c75bda45fad0724760a5dedc5505e29f0b87c3614cc8afb002664736f6c63430008110033000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c7
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.