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] | |||
---|---|---|---|---|---|---|---|---|---|
0x493578355d452adf00083f74f5bac41f020b271e19a0c5f300bf7240f1370bda | 0x60806040 | 27579593 | 12 days 22 hrs ago | 0xd58aa88246a1cf56a48e8e184405bd7ef0be7b83 | IN | Create: RaiderZapperAVAX | 0 AVAX | 0.130648525 |
[ 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; /* ========== 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); } 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); } // 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).safeTransfer(_recipient, token1Amount); } } 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"},{"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
60806040523480156200001157600080fd5b5060405162005ebf38038062005ebf8339818101604052810190620000379190620001d5565b620000576200004b6200009f60201b60201c565b620000a760201b60201c565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000207565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200019d8262000170565b9050919050565b620001af8162000190565b8114620001bb57600080fd5b50565b600081519050620001cf81620001a4565b92915050565b600060208284031215620001ee57620001ed6200016b565b5b6000620001fe84828501620001be565b91505092915050565b615ca880620002176000396000f3fe6080604052600436106100ec5760003560e01c806389fecbd51161008a578063cee6202c11610059578063cee6202c146102a6578063d9059f1b146102cf578063f2fde38b1461030d578063f534ac2514610336576100f3565b806389fecbd5146101eb5780638da5cb5b146102145780638e8d81521461023f578063ba2ebf961461027d576100f3565b806351cff8d9116100c657806351cff8d9146101595780635424888b14610182578063715018a6146101ab57806388f61f9f146101c2576100f3565b80631b71afbd146100f857806334c0fda21461012157806335e8b7d51461013d576100f3565b366100f357005b600080fd5b34801561010457600080fd5b5061011f600480360381019061011a9190614dd5565b61035f565b005b61013b60048036038101906101369190614e50565b610793565b005b61015760048036038101906101529190614e50565b610931565b005b34801561016557600080fd5b50610180600480360381019061017b9190614ea3565b610943565b005b34801561018e57600080fd5b506101a960048036038101906101a49190614e50565b610ad5565b005b3480156101b757600080fd5b506101c0610b9d565b005b3480156101ce57600080fd5b506101e960048036038101906101e49190614ed0565b610bb1565b005b3480156101f757600080fd5b50610212600480360381019061020d9190614ed0565b610e07565b005b34801561022057600080fd5b50610229610e47565b6040516102369190614f46565b60405180910390f35b34801561024b57600080fd5b5061026660048036038101906102619190614f61565b610e70565b604051610274929190614fd7565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f9190614dd5565b6112cf565b005b3480156102b257600080fd5b506102cd60048036038101906102c89190614dd5565b611311565b005b3480156102db57600080fd5b506102f660048036038101906102f19190615000565b61139e565b604051610304929190614fd7565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190614ea3565b6116d5565b005b34801561034257600080fd5b5061035d60048036038101906103589190615053565b611758565b005b61038c3330868873ffffffffffffffffffffffffffffffffffffffff16611833909392919063ffffffff16565b600085905060008173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040291906150a8565b905060008273ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610451573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047591906150a8565b90508273ffffffffffffffffffffffffffffffffffffffff1663095ea7b3867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016104d29291906150d5565b6020604051808303816000875af11580156104f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105159190615136565b506000808673ffffffffffffffffffffffffffffffffffffffff1663baa2abde85858c60008030426040518863ffffffff1660e01b815260040161055f97969594939291906151a8565b60408051808303816000875af115801561057d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a1919061522c565b915091508773ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461066a578373ffffffffffffffffffffffffffffffffffffffff1663095ea7b388846040518363ffffffff1660e01b81526004016106139291906150d5565b6020604051808303816000875af1158015610632573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106569190615136565b5061066484838a898b6118bc565b50610696565b61069586838673ffffffffffffffffffffffffffffffffffffffff166127239092919063ffffffff16565b5b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461075b578273ffffffffffffffffffffffffffffffffffffffff1663095ea7b388836040518363ffffffff1660e01b81526004016107049291906150d5565b6020604051808303816000875af1158015610723573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107479190615136565b5061075583828a898b6118bc565b50610787565b61078686828573ffffffffffffffffffffffffffffffffffffffff166127239092919063ffffffff16565b5b50505050505050505050565b6000600267ffffffffffffffff8111156107b0576107af61526c565b5b6040519080825280602002602001820160405280156107de5781602001602082028036833780820191505090505b509050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816000815181106108185761081761529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505083816001815181106108675761086661529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663a2a1623d3460008487426040518663ffffffff1660e01b81526004016108e29493929190615388565b60006040518083038185885af1158015610900573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f8201168201806040525081019061092a91906154fe565b5050505050565b61093d833483856127a9565b50505050565b61094b6129e7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109d257610987610e47565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156109cc573d6000803e3d6000fd5b50610ad2565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6109f6610e47565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a2f9190614f46565b602060405180830381865afa158015610a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a709190615547565b6040518363ffffffff1660e01b8152600401610a8d9291906150d5565b6020604051808303816000875af1158015610aac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad09190615136565b505b50565b610add6129e7565b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b610ba56129e7565b610baf6000612a65565b565b610bde3330858773ffffffffffffffffffffffffffffffffffffffff16611833909392919063ffffffff16565b6000849050610c0e85858773ffffffffffffffffffffffffffffffffffffffff166127239092919063ffffffff16565b6000808273ffffffffffffffffffffffffffffffffffffffff166389afcb44306040518263ffffffff1660e01b8152600401610c4a9190614f46565b60408051808303816000875af1158015610c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8c919061522c565b80925081935050508473ffffffffffffffffffffffffffffffffffffffff1663e8e337008473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1f91906150a8565b8573ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8e91906150a8565b85856000808b426040518963ffffffff1660e01b8152600401610db8989796959493929190615574565b6060604051808303816000875af1158015610dd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dfb91906155f2565b50505050505050505050565b610e343330858773ffffffffffffffffffffffffffffffffffffffff16611833909392919063ffffffff16565b610e4084848385612b29565b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000808473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ebe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee291906150a8565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161480610fb457508473ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8591906150a8565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b156112275760008573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015611006573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102a91906150a8565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16146110d0578573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cb91906150a8565b611140565b8573ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561111b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113f91906150a8565b5b90506000611158600286612fce90919063ffffffff16565b905060006111688983858a612fe4565b90508773ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d991906150a8565b73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1603611219578181945094505050506112c6565b8082945094505050506112c6565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16146112b1576112ac8785600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688612fe4565b6112b3565b835b90506112c086868361139e565b92509250505b94509492505050565b6112fc3330868873ffffffffffffffffffffffffffffffffffffffff16611833909392919063ffffffff16565b61130985858584866118bc565b505050505050565b61133e3330868873ffffffffffffffffffffffffffffffffffffffff16611833909392919063ffffffff16565b611389827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8773ffffffffffffffffffffffffffffffffffffffff16613e419092919063ffffffff16565b6113968585858486613f90565b505050505050565b60008060006113b7600285612fce90919063ffffffff16565b9050600086905060008173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa15801561140b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142f91906150a8565b905060008273ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a291906150a8565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16148061154d5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b1561165c576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146115af57826115b1565b815b905060006115e3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687848d612fe4565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361164b578581975097505050505050506116cd565b8086975097505050505050506116cd565b600061168c600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686858c612fe4565b905060006116be600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687858d612fe4565b90508181975097505050505050505b935093915050565b6116dd6129e7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361174c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611743906156c8565b60405180910390fd5b61175581612a65565b50565b6117606129e7565b60008273ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30846040518363ffffffff1660e01b815260040161179d9291906156e8565b602060405180830381865afa1580156117ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117de9190615547565b0361182f5761182e817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff16613e419092919063ffffffff16565b5b5050565b6118b6846323b872dd60e01b85858560405160240161185493929190615711565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614367565b50505050565b6000808290506000600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506060600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611a705750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611de5578173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611ca657600567ffffffffffffffff811115611ac357611ac261526c565b5b604051908082528060200260200182016040528015611af15781602001602082028036833780820191505090505b5090508981600081518110611b0957611b0861529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508281600181518110611b5857611b5761529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600281518110611bc957611bc861529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508181600381518110611c1857611c1761529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508781600481518110611c6757611c6661529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611de0565b600367ffffffffffffffff811115611cc157611cc061526c565b5b604051908082528060200260200182016040528015611cef5781602001602082028036833780820191505090505b5090508981600081518110611d0757611d0661529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508281600181518110611d5657611d5561529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508781600281518110611da557611da461529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b61265d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461217e57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1603611fce57600367ffffffffffffffff811115611e8957611e8861526c565b5b604051908082528060200260200182016040528015611eb75781602001602082028036833780820191505090505b5090508981600081518110611ecf57611ece61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508281600181518110611f1e57611f1d61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600281518110611f8f57611f8e61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612179565b600467ffffffffffffffff811115611fe957611fe861526c565b5b6040519080825280602002602001820160405280156120175781602001602082028036833780820191505090505b509050898160008151811061202f5761202e61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061207e5761207d61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816002815181106120ef576120ee61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050878160038151811061213e5761213d61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b61265c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461236157600467ffffffffffffffff8111156121cd576121cc61526c565b5b6040519080825280602002602001820160405280156121fb5781602001602082028036833780820191505090505b50905089816000815181106122135761221261529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816001815181106122845761228361529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505081816002815181106122d3576122d261529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505087816003815181106123225761232161529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061265b565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff16148061240a5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b156124fe57600267ffffffffffffffff81111561242a5761242961526c565b5b6040519080825280602002602001820160405280156124585781602001602082028036833780820191505090505b50905089816000815181106124705761246f61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505087816001815181106124bf576124be61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061265a565b600367ffffffffffffffff8111156125195761251861526c565b5b6040519080825280602002602001820160405280156125475781602001602082028036833780820191505090505b509050898160008151811061255f5761255e61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816001815181106125d0576125cf61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050878160028151811061261f5761261e61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b5b5b5b60008473ffffffffffffffffffffffffffffffffffffffff166338ed17398b6000858c426040518663ffffffff1660e01b81526004016126a1959493929190615748565b6000604051808303816000875af11580156126c0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906126e991906154fe565b905080600182516126fa91906157d1565b8151811061270b5761270a61529b565b5b60200260200101519550505050505095945050505050565b6127a48363a9059cbb60e01b84846040516024016127429291906150d5565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614367565b505050565b60008085905060008173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061282091906150a8565b905060008273ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561286f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289391906150a8565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806129405750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b156129c1576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146129a257836129a4565b825b90506129b2818a898b61442e565b909150905080925050506129d8565b6129ce83838a898b6145ab565b9091509050809150505b80945050505050949350505050565b6129ef61469e565b73ffffffffffffffffffffffffffffffffffffffff16612a0d610e47565b73ffffffffffffffffffffffffffffffffffffffff1614612a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5a90615851565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060606000839050600073ffffffffffffffffffffffffffffffffffffffff16600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612dfe57600367ffffffffffffffff811115612c1d57612c1c61526c565b5b604051908082528060200260200182016040528015612c4b5781602001602082028036833780820191505090505b5091508682600081518110612c6357612c6261529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600181518110612d4e57612d4d61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600281518110612dbf57612dbe61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612f0b565b600267ffffffffffffffff811115612e1957612e1861526c565b5b604051908082528060200260200182016040528015612e475781602001602082028036833780820191505090505b5091508682600081518110612e5f57612e5e61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600181518110612ed057612ecf61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b60008173ffffffffffffffffffffffffffffffffffffffff1663676528d1886000868a426040518663ffffffff1660e01b8152600401612f4f959493929190615748565b6000604051808303816000875af1158015612f6e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612f9791906154fe565b90508060018251612fa891906157d1565b81518110612fb957612fb861529b565b5b60200260200101519350505050949350505050565b60008183612fdc91906158a0565b905092915050565b6000808290506000600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506060600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156131985750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561350d578173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133ce57600567ffffffffffffffff8111156131eb576131ea61526c565b5b6040519080825280602002602001820160405280156132195781602001602082028036833780820191505090505b50905088816000815181106132315761323061529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505082816001815181106132805761327f61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816002815181106132f1576132f061529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505081816003815181106133405761333f61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050868160048151811061338f5761338e61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613508565b600367ffffffffffffffff8111156133e9576133e861526c565b5b6040519080825280602002602001820160405280156134175781602001602082028036833780820191505090505b509050888160008151811061342f5761342e61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061347e5761347d61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086816002815181106134cd576134cc61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b613d85565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138a657600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16036136f657600367ffffffffffffffff8111156135b1576135b061526c565b5b6040519080825280602002602001820160405280156135df5781602001602082028036833780820191505090505b50905088816000815181106135f7576135f661529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505082816001815181106136465761364561529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816002815181106136b7576136b661529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506138a1565b600467ffffffffffffffff8111156137115761371061526c565b5b60405190808252806020026020018201604052801561373f5781602001602082028036833780820191505090505b50905088816000815181106137575761375661529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505082816001815181106137a6576137a561529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816002815181106138175761381661529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086816003815181106138665761386561529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b613d84565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613a8957600467ffffffffffffffff8111156138f5576138f461526c565b5b6040519080825280602002602001820160405280156139235781602001602082028036833780820191505090505b509050888160008151811061393b5761393a61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816001815181106139ac576139ab61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505081816002815181106139fb576139fa61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508681600381518110613a4a57613a4961529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613d83565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff161480613b325750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16145b15613c2657600267ffffffffffffffff811115613b5257613b5161526c565b5b604051908082528060200260200182016040528015613b805781602001602082028036833780820191505090505b5090508881600081518110613b9857613b9761529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508681600181518110613be757613be661529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613d82565b600367ffffffffffffffff811115613c4157613c4061526c565b5b604051908082528060200260200182016040528015613c6f5781602001602082028036833780820191505090505b5090508881600081518110613c8757613c8661529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600181518110613cf857613cf761529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508681600281518110613d4757613d4661529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b5b5b5b60008473ffffffffffffffffffffffffffffffffffffffff1663d06ca61f8a846040518363ffffffff1660e01b8152600401613dc29291906158d1565b600060405180830381865afa158015613ddf573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190613e0891906154fe565b90508060018251613e1991906157d1565b81518110613e2a57613e2961529b565b5b602002602001015195505050505050949350505050565b6000811480613ecb575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401613e889291906156e8565b602060405180830381865afa158015613ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ec99190615547565b145b613f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f0190615973565b60405180910390fd5b613f8b8363095ea7b360e01b8484604051602401613f299291906150d5565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614367565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015613fdd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061400191906150a8565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614806140d357508373ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015614080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140a491906150a8565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b1561433e5760008473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015614125573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061414991906150a8565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16146141ef578473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa1580156141c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141ea91906150a8565b61425f565b8473ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561423a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061425e91906150a8565b5b90506000614277600288612fce90919063ffffffff16565b9050600061428889838530896118bc565b905060008573ffffffffffffffffffffffffffffffffffffffff1663e8e337008b866142bd878e6146a690919063ffffffff16565b866000808e426040518963ffffffff1660e01b81526004016142e6989796959493929190615574565b6060604051808303816000875af1158015614305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061432991906155f2565b9091509050809150508094505050505061435e565b600061434c87873086612b29565b905061435a858286866127a9565b9150505b95945050505050565b60006143c9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166146bc9092919063ffffffff16565b905060008151111561442957808060200190518101906143e99190615136565b614428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161441f90615a05565b60405180910390fd5b5b505050565b600080600080614448600288612fce90919063ffffffff16565b905060006144588983308a6146d4565b905060008790508973ffffffffffffffffffffffffffffffffffffffff1663095ea7b3897fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016144ba9291906150d5565b6020604051808303816000875af11580156144d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144fd9190615136565b508073ffffffffffffffffffffffffffffffffffffffff1663f91b3f7261452d858c6146a690919063ffffffff16565b8c856000808d426040518863ffffffff1660e01b815260040161455596959493929190615a25565b60606040518083038185885af1158015614573573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061459891906155f2565b9550955095505050509450945094915050565b6000806000806145c5600288612fce90919063ffffffff16565b905060006145d58a83308a6146d4565b905060006145f78a6145f0858c6146a690919063ffffffff16565b308b6146d4565b905060008890508073ffffffffffffffffffffffffffffffffffffffff1663e8e337008d8d86866000808f426040518963ffffffff1660e01b8152600401614646989796959493929190615574565b6060604051808303816000875af1158015614665573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061468991906155f2565b96509650965050505050955095509592505050565b600033905090565b600081836146b491906157d1565b905092915050565b60606146cb8484600085614b78565b90509392505050565b600060606000839050600073ffffffffffffffffffffffffffffffffffffffff16600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146149a957600367ffffffffffffffff8111156147c8576147c761526c565b5b6040519080825280602002602001820160405280156147f65781602001602082028036833780820191505090505b509150600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826000815181106148305761482f61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260018151811061491b5761491a61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050868260028151811061496a5761496961529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050614ab6565b600267ffffffffffffffff8111156149c4576149c361526c565b5b6040519080825280602002602001820160405280156149f25781602001602082028036833780820191505090505b509150600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600081518110614a2c57614a2b61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508682600181518110614a7b57614a7a61529b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b60008173ffffffffffffffffffffffffffffffffffffffff1663a2a1623d886000868a426040518663ffffffff1660e01b8152600401614af99493929190615388565b60006040518083038185885af1158015614b17573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f82011682018060405250810190614b4191906154fe565b90508060018251614b5291906157d1565b81518110614b6357614b6261529b565b5b60200260200101519350505050949350505050565b606082471015614bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614bb490615af8565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051614be69190615b89565b60006040518083038185875af1925050503d8060008114614c23576040519150601f19603f3d011682016040523d82523d6000602084013e614c28565b606091505b5091509150614c3987838387614c45565b92505050949350505050565b60608315614ca7576000835103614c9f57614c5f85614cba565b614c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614c9590615bec565b60405180910390fd5b5b829050614cb2565b614cb18383614cdd565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115614cf05781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614d249190615c50565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614d6c82614d41565b9050919050565b614d7c81614d61565b8114614d8757600080fd5b50565b600081359050614d9981614d73565b92915050565b6000819050919050565b614db281614d9f565b8114614dbd57600080fd5b50565b600081359050614dcf81614da9565b92915050565b600080600080600060a08688031215614df157614df0614d37565b5b6000614dff88828901614d8a565b9550506020614e1088828901614dc0565b9450506040614e2188828901614d8a565b9350506060614e3288828901614d8a565b9250506080614e4388828901614d8a565b9150509295509295909350565b600080600060608486031215614e6957614e68614d37565b5b6000614e7786828701614d8a565b9350506020614e8886828701614d8a565b9250506040614e9986828701614d8a565b9150509250925092565b600060208284031215614eb957614eb8614d37565b5b6000614ec784828501614d8a565b91505092915050565b60008060008060808587031215614eea57614ee9614d37565b5b6000614ef887828801614d8a565b9450506020614f0987828801614dc0565b9350506040614f1a87828801614d8a565b9250506060614f2b87828801614d8a565b91505092959194509250565b614f4081614d61565b82525050565b6000602082019050614f5b6000830184614f37565b92915050565b60008060008060808587031215614f7b57614f7a614d37565b5b6000614f8987828801614d8a565b9450506020614f9a87828801614d8a565b9350506040614fab87828801614d8a565b9250506060614fbc87828801614dc0565b91505092959194509250565b614fd181614d9f565b82525050565b6000604082019050614fec6000830185614fc8565b614ff96020830184614fc8565b9392505050565b60008060006060848603121561501957615018614d37565b5b600061502786828701614d8a565b935050602061503886828701614d8a565b925050604061504986828701614dc0565b9150509250925092565b6000806040838503121561506a57615069614d37565b5b600061507885828601614d8a565b925050602061508985828601614d8a565b9150509250929050565b6000815190506150a281614d73565b92915050565b6000602082840312156150be576150bd614d37565b5b60006150cc84828501615093565b91505092915050565b60006040820190506150ea6000830185614f37565b6150f76020830184614fc8565b9392505050565b60008115159050919050565b615113816150fe565b811461511e57600080fd5b50565b6000815190506151308161510a565b92915050565b60006020828403121561514c5761514b614d37565b5b600061515a84828501615121565b91505092915050565b6000819050919050565b6000819050919050565b600061519261518d61518884615163565b61516d565b614d9f565b9050919050565b6151a281615177565b82525050565b600060e0820190506151bd600083018a614f37565b6151ca6020830189614f37565b6151d76040830188614fc8565b6151e46060830187615199565b6151f16080830186615199565b6151fe60a0830185614f37565b61520b60c0830184614fc8565b98975050505050505050565b60008151905061522681614da9565b92915050565b6000806040838503121561524357615242614d37565b5b600061525185828601615217565b925050602061526285828601615217565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6152ff81614d61565b82525050565b600061531183836152f6565b60208301905092915050565b6000602082019050919050565b6000615335826152ca565b61533f81856152d5565b935061534a836152e6565b8060005b8381101561537b5781516153628882615305565b975061536d8361531d565b92505060018101905061534e565b5085935050505092915050565b600060808201905061539d6000830187615199565b81810360208301526153af818661532a565b90506153be6040830185614f37565b6153cb6060830184614fc8565b95945050505050565b600080fd5b6000601f19601f8301169050919050565b6153f3826153d9565b810181811067ffffffffffffffff821117156154125761541161526c565b5b80604052505050565b6000615425614d2d565b905061543182826153ea565b919050565b600067ffffffffffffffff8211156154515761545061526c565b5b602082029050602081019050919050565b600080fd5b600061547a61547584615436565b61541b565b9050808382526020820190506020840283018581111561549d5761549c615462565b5b835b818110156154c657806154b28882615217565b84526020840193505060208101905061549f565b5050509392505050565b600082601f8301126154e5576154e46153d4565b5b81516154f5848260208601615467565b91505092915050565b60006020828403121561551457615513614d37565b5b600082015167ffffffffffffffff81111561553257615531614d3c565b5b61553e848285016154d0565b91505092915050565b60006020828403121561555d5761555c614d37565b5b600061556b84828501615217565b91505092915050565b60006101008201905061558a600083018b614f37565b615597602083018a614f37565b6155a46040830189614fc8565b6155b16060830188614fc8565b6155be6080830187615199565b6155cb60a0830186615199565b6155d860c0830185614f37565b6155e560e0830184614fc8565b9998505050505050505050565b60008060006060848603121561560b5761560a614d37565b5b600061561986828701615217565b935050602061562a86828701615217565b925050604061563b86828701615217565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156b2602683615645565b91506156bd82615656565b604082019050919050565b600060208201905081810360008301526156e1816156a5565b9050919050565b60006040820190506156fd6000830185614f37565b61570a6020830184614f37565b9392505050565b60006060820190506157266000830186614f37565b6157336020830185614f37565b6157406040830184614fc8565b949350505050565b600060a08201905061575d6000830188614fc8565b61576a6020830187615199565b818103604083015261577c818661532a565b905061578b6060830185614f37565b6157986080830184614fc8565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006157dc82614d9f565b91506157e783614d9f565b92508282039050818111156157ff576157fe6157a2565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061583b602083615645565b915061584682615805565b602082019050919050565b6000602082019050818103600083015261586a8161582e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006158ab82614d9f565b91506158b683614d9f565b9250826158c6576158c5615871565b5b828204905092915050565b60006040820190506158e66000830185614fc8565b81810360208301526158f8818461532a565b90509392505050565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60008201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000602082015250565b600061595d603683615645565b915061596882615901565b604082019050919050565b6000602082019050818103600083015261598c81615950565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006159ef602a83615645565b91506159fa82615993565b604082019050919050565b60006020820190508181036000830152615a1e816159e2565b9050919050565b600060c082019050615a3a6000830189614f37565b615a476020830188614fc8565b615a546040830187615199565b615a616060830186615199565b615a6e6080830185614f37565b615a7b60a0830184614fc8565b979650505050505050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615ae2602683615645565b9150615aed82615a86565b604082019050919050565b60006020820190508181036000830152615b1181615ad5565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015615b4c578082015181840152602081019050615b31565b60008484015250505050565b6000615b6382615b18565b615b6d8185615b23565b9350615b7d818560208601615b2e565b80840191505092915050565b6000615b958284615b58565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615bd6601d83615645565b9150615be182615ba0565b602082019050919050565b60006020820190508181036000830152615c0581615bc9565b9050919050565b600081519050919050565b6000615c2282615c0c565b615c2c8185615645565b9350615c3c818560208601615b2e565b615c45816153d9565b840191505092915050565b60006020820190508181036000830152615c6a8184615c17565b90509291505056fea2646970667358221220a17cd37d83fe4e1bd9e06c9da33cf515d9036c1d459dce16d062004c0013207d64736f6c63430008110033000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c7
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.