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