Contract Overview
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Latest 25 internal transaction
[ Download CSV Export ]
Contract Name:
FeeCollector
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity ^0.8.0; import {Owned} from "solmate/auth/Owned.sol"; import {ERC20} from "solmate/tokens/ERC20.sol"; import {SafeTransferLib} from "solmate/utils/SafeTransferLib.sol"; import {IFeeCollector} from "./interfaces/IFeeCollector.sol"; import {IPermit2} from "./external/IPermit2.sol"; /// @notice The collector of protocol fees that will be used to swap and send to a fee recipient address. contract FeeCollector is Owned, IFeeCollector { using SafeTransferLib for ERC20; error UniversalRouterCallFailed(); address private immutable universalRouter; ERC20 private immutable feeToken; IPermit2 private immutable permit2; uint256 private constant MAX_APPROVAL_AMOUNT = type(uint256).max; uint160 private constant MAX_PERMIT2_APPROVAL_AMOUNT = type(uint160).max; uint48 private constant MAX_PERMIT2_DEADLINE = type(uint48).max; constructor(address _owner, address _universalRouter, address _permit2, address _feeToken) Owned(_owner) { universalRouter = _universalRouter; feeToken = ERC20(_feeToken); permit2 = IPermit2(_permit2); } /// @inheritdoc IFeeCollector function swapBalance(bytes calldata swapData, uint256 nativeValue) external onlyOwner { _execute(swapData, nativeValue); } /// @inheritdoc IFeeCollector function swapBalance(bytes calldata swapData, uint256 nativeValue, ERC20[] calldata tokensToApprove) external onlyOwner { unchecked { for (uint256 i = 0; i < tokensToApprove.length; i++) { tokensToApprove[i].safeApprove(address(permit2), MAX_APPROVAL_AMOUNT); permit2.approve( address(tokensToApprove[i]), universalRouter, MAX_PERMIT2_APPROVAL_AMOUNT, MAX_PERMIT2_DEADLINE ); } } _execute(swapData, nativeValue); } /// @notice Helper function to call UniversalRouter. /// @param swapData The bytes call data to be forwarded to UniversalRouter. /// @param nativeValue The amount of native currency to send to UniversalRouter. function _execute(bytes calldata swapData, uint256 nativeValue) internal { (bool success,) = universalRouter.call{value: nativeValue}(swapData); if (!success) revert UniversalRouterCallFailed(); } /// @inheritdoc IFeeCollector function withdrawFeeToken(address feeRecipient, uint256 amount) external onlyOwner { feeToken.safeTransfer(feeRecipient, amount); } receive() external payable {} }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnershipTransferred(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; emit OwnershipTransferred(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function transferOwnership(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnershipTransferred(msg.sender, newOwner); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); /*////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( string memory _name, string memory _symbol, uint8 _decimals ) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import {ERC20} from "../tokens/ERC20.sol"; /// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol) /// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer. /// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller. library SafeTransferLib { /*////////////////////////////////////////////////////////////// ETH OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferETH(address to, uint256 amount) internal { bool success; /// @solidity memory-safe-assembly assembly { // Transfer the ETH and store if it succeeded or not. success := call(gas(), to, amount, 0, 0, 0, 0) } require(success, "ETH_TRANSFER_FAILED"); } /*////////////////////////////////////////////////////////////// ERC20 OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferFrom( ERC20 token, address from, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), and(from, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "from" argument. mstore(add(freeMemoryPointer, 36), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 68), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 100, 0, 32) ) } require(success, "TRANSFER_FROM_FAILED"); } function safeTransfer( ERC20 token, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "TRANSFER_FAILED"); } function safeApprove( ERC20 token, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "APPROVE_FAILED"); } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity ^0.8.13; import {ERC20} from "solmate/tokens/ERC20.sol"; /// @notice The collector of protocol fees that will be used to swap and send to a fee recipient address. interface IFeeCollector { /// @notice Swaps the contract balance. /// @param swapData The bytes call data to be forwarded to UniversalRouter. /// @param nativeValue The amount of native currency to send to UniversalRouter. function swapBalance(bytes calldata swapData, uint256 nativeValue) external; /// @notice Approves tokens for swapping and then swaps the contract balance. /// @param swapData The bytes call data to be forwarded to UniversalRouter. /// @param nativeValue The amount of native currency to send to UniversalRouter. /// @param tokensToApprove An array of ERC20 tokens to approve for spending. function swapBalance(bytes calldata swapData, uint256 nativeValue, ERC20[] calldata tokensToApprove) external; /// @notice Transfers the fee token balance from this contract to the fee recipient. /// @param feeRecipient The address to send the fee token balance to. /// @param amount The amount to withdraw. function withdrawFeeToken(address feeRecipient, uint256 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {IAllowanceTransfer} from "./IAllowanceTransfer.sol"; /// @notice Permit2 handles signature-based transfers in SignatureTransfer and allowance-based transfers in AllowanceTransfer. /// @dev Users must approve Permit2 before calling any of the transfer functions. interface IPermit2 is IAllowanceTransfer { // IPermit2 unifies the two interfaces so users have maximal flexibility with their approval. }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {IEIP712} from "./IEIP712.sol"; /// @title AllowanceTransfer /// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts /// @dev Requires user's token approval on the Permit2 contract interface IAllowanceTransfer is IEIP712 { /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval. /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress] /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals. function allowance(address user, address token, address spender) external view returns (uint160 amount, uint48 expiration, uint48 nonce); /// @notice Approves the spender to use up to amount of the specified token up until the expiration /// @param token The token to approve /// @param spender The spender address to approve /// @param amount The approved amount of the token /// @param expiration The timestamp at which the approval is no longer valid /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve /// @dev Setting amount to type(uint160).max sets an unlimited approval function approve(address token, address spender, uint160 amount, uint48 expiration) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IEIP712 { function DOMAIN_SEPARATOR() external view returns (bytes32); }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-gas-snapshot/=lib/permit2/lib/forge-gas-snapshot/src/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/permit2/lib/openzeppelin-contracts/", "permit2/=lib/permit2/", "solmate/=lib/solmate/src/", "v2-core/=lib/v2-core/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_universalRouter","type":"address"},{"internalType":"address","name":"_permit2","type":"address"},{"internalType":"address","name":"_feeToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"UniversalRouterCallFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"swapData","type":"bytes"},{"internalType":"uint256","name":"nativeValue","type":"uint256"}],"name":"swapBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"swapData","type":"bytes"},{"internalType":"uint256","name":"nativeValue","type":"uint256"},{"internalType":"contract ERC20[]","name":"tokensToApprove","type":"address[]"}],"name":"swapBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeRecipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawFeeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e060405234801561001057600080fd5b506040516108df3803806108df83398101604081905261002f916100b1565b600080546001600160a01b0319166001600160a01b03861690811782556040518692907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160a01b03928316608052821660a0521660c05250610105565b80516001600160a01b03811681146100ac57600080fd5b919050565b600080600080608085870312156100c757600080fd5b6100d085610095565b93506100de60208601610095565b92506100ec60408601610095565b91506100fa60608601610095565b905092959194509250565b60805160a05160c05161079d610142600039600081816101f70152610252015260006101920152600081816102cc01526103d3015261079d6000f3fe60806040526004361061004e5760003560e01c80631ac169861461005a5780638da5cb5b1461007c578063b2ef14e3146100b8578063bbf20c15146100d8578063f2fde38b146100f857600080fd5b3661005557005b600080fd5b34801561006657600080fd5b5061007a6100753660046105c0565b610118565b005b34801561008857600080fd5b5060005461009c906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b3480156100c457600080fd5b5061007a6100d3366004610624565b61015b565b3480156100e457600080fd5b5061007a6100f3366004610650565b6101bd565b34801561010457600080fd5b5061007a6101133660046106f7565b61035a565b6000546001600160a01b0316331461014b5760405162461bcd60e51b81526004016101429061071b565b60405180910390fd5b6101568383836103cf565b505050565b6000546001600160a01b031633146101855760405162461bcd60e51b81526004016101429061071b565b6101b96001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168383610476565b5050565b6000546001600160a01b031633146101e75760405162461bcd60e51b81526004016101429061071b565b60005b81811015610347576102507f000000000000000000000000000000000000000000000000000000000000000060001985858581811061022b5761022b610741565b905060200201602081019061024091906106f7565b6001600160a01b031691906104f7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166387517c4584848481811061029157610291610741565b90506020020160208101906102a691906106f7565b6040516001600160e01b031960e084901b1681526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000082166024820152604481019190915265ffffffffffff6064820152608401600060405180830381600087803b15801561032357600080fd5b505af1158015610337573d6000803e3d6000fd5b5050600190920191506101ea9050565b506103538585856103cf565b5050505050565b6000546001600160a01b031633146103845760405162461bcd60e51b81526004016101429061071b565b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031682858560405161040c929190610757565b60006040518083038185875af1925050503d8060008114610449576040519150601f19603f3d011682016040523d82523d6000602084013e61044e565b606091505b50509050806104705760405163cee8b77760e01b815260040160405180910390fd5b50505050565b600060405163a9059cbb60e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806104705760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610142565b600060405163095ea7b360e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806104705760405162461bcd60e51b815260206004820152600e60248201526d1054141493d59157d1905253115160921b6044820152606401610142565b60008083601f84011261058957600080fd5b50813567ffffffffffffffff8111156105a157600080fd5b6020830191508360208285010111156105b957600080fd5b9250929050565b6000806000604084860312156105d557600080fd5b833567ffffffffffffffff8111156105ec57600080fd5b6105f886828701610577565b909790965060209590950135949350505050565b6001600160a01b038116811461062157600080fd5b50565b6000806040838503121561063757600080fd5b82356106428161060c565b946020939093013593505050565b60008060008060006060868803121561066857600080fd5b853567ffffffffffffffff8082111561068057600080fd5b61068c89838a01610577565b90975095506020880135945060408801359150808211156106ac57600080fd5b818801915088601f8301126106c057600080fd5b8135818111156106cf57600080fd5b8960208260051b85010111156106e457600080fd5b9699959850939650602001949392505050565b60006020828403121561070957600080fd5b81356107148161060c565b9392505050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b818382376000910190815291905056fea264697066735822122037bdcf04c668f6b3803f7db34f6a1d9cca1083f77a1b65ee311aec8d127d7abb64736f6c634300081300330000000000000000000000003c6d5c150ee29b698c6c821b53886c41d239669c000000000000000000000000198ef79f1f515f02dfe9e3115ed9fc07183f02fc000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913
Deployed Bytecode
0x60806040526004361061004e5760003560e01c80631ac169861461005a5780638da5cb5b1461007c578063b2ef14e3146100b8578063bbf20c15146100d8578063f2fde38b146100f857600080fd5b3661005557005b600080fd5b34801561006657600080fd5b5061007a6100753660046105c0565b610118565b005b34801561008857600080fd5b5060005461009c906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b3480156100c457600080fd5b5061007a6100d3366004610624565b61015b565b3480156100e457600080fd5b5061007a6100f3366004610650565b6101bd565b34801561010457600080fd5b5061007a6101133660046106f7565b61035a565b6000546001600160a01b0316331461014b5760405162461bcd60e51b81526004016101429061071b565b60405180910390fd5b6101568383836103cf565b505050565b6000546001600160a01b031633146101855760405162461bcd60e51b81526004016101429061071b565b6101b96001600160a01b037f000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913168383610476565b5050565b6000546001600160a01b031633146101e75760405162461bcd60e51b81526004016101429061071b565b60005b81811015610347576102507f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba360001985858581811061022b5761022b610741565b905060200201602081019061024091906106f7565b6001600160a01b031691906104f7565b7f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba36001600160a01b03166387517c4584848481811061029157610291610741565b90506020020160208101906102a691906106f7565b6040516001600160e01b031960e084901b1681526001600160a01b0391821660048201527f000000000000000000000000198ef79f1f515f02dfe9e3115ed9fc07183f02fc82166024820152604481019190915265ffffffffffff6064820152608401600060405180830381600087803b15801561032357600080fd5b505af1158015610337573d6000803e3d6000fd5b5050600190920191506101ea9050565b506103538585856103cf565b5050505050565b6000546001600160a01b031633146103845760405162461bcd60e51b81526004016101429061071b565b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b60007f000000000000000000000000198ef79f1f515f02dfe9e3115ed9fc07183f02fc6001600160a01b031682858560405161040c929190610757565b60006040518083038185875af1925050503d8060008114610449576040519150601f19603f3d011682016040523d82523d6000602084013e61044e565b606091505b50509050806104705760405163cee8b77760e01b815260040160405180910390fd5b50505050565b600060405163a9059cbb60e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806104705760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610142565b600060405163095ea7b360e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806104705760405162461bcd60e51b815260206004820152600e60248201526d1054141493d59157d1905253115160921b6044820152606401610142565b60008083601f84011261058957600080fd5b50813567ffffffffffffffff8111156105a157600080fd5b6020830191508360208285010111156105b957600080fd5b9250929050565b6000806000604084860312156105d557600080fd5b833567ffffffffffffffff8111156105ec57600080fd5b6105f886828701610577565b909790965060209590950135949350505050565b6001600160a01b038116811461062157600080fd5b50565b6000806040838503121561063757600080fd5b82356106428161060c565b946020939093013593505050565b60008060008060006060868803121561066857600080fd5b853567ffffffffffffffff8082111561068057600080fd5b61068c89838a01610577565b90975095506020880135945060408801359150808211156106ac57600080fd5b818801915088601f8301126106c057600080fd5b8135818111156106cf57600080fd5b8960208260051b85010111156106e457600080fd5b9699959850939650602001949392505050565b60006020828403121561070957600080fd5b81356107148161060c565b9392505050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b818382376000910190815291905056fea264697066735822122037bdcf04c668f6b3803f7db34f6a1d9cca1083f77a1b65ee311aec8d127d7abb64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003c6d5c150ee29b698c6c821b53886c41d239669c000000000000000000000000198ef79f1f515f02dfe9e3115ed9fc07183f02fc000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913
-----Decoded View---------------
Arg [0] : _owner (address): 0x3c6D5c150EE29B698c6C821B53886C41d239669c
Arg [1] : _universalRouter (address): 0x198EF79F1F515F02dFE9e3115eD9fC07183f02fC
Arg [2] : _permit2 (address): 0x000000000022D473030F116dDEE9F6B43aC78BA3
Arg [3] : _feeToken (address): 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000003c6d5c150ee29b698c6c821b53886c41d239669c
Arg [1] : 000000000000000000000000198ef79f1f515f02dfe9e3115ed9fc07183f02fc
Arg [2] : 000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3
Arg [3] : 000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.