Transaction Hash:
Block:
22544164 at May-23-2025 07:45:59 AM +UTC
Transaction Fee:
0.00101634312458415 ETH
$2.62
Gas Used:
380,229 Gas / 2.67297635 Gwei
Emitted Events:
47 |
TetherToken.Transfer( from=[Sender] 0xab01e821fd81882c99ea3a648473212be827f57f, to=Spender, value=200000000 )
|
48 |
TetherToken.Transfer( from=Spender, to=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, value=198250000 )
|
49 |
TetherToken.Transfer( from=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, to=UniversalRouter, value=198250000 )
|
50 |
PoolManager.Swap( id=72331FCB696B0151904C03584B66DC8365BC63F8A144D89A773384E3A579CA73, sender=UniversalRouter, amount0=74466943883760193, amount1=-198250000, sqrtPriceX96=4086932048376519862378646, liquidity=520880248184312909, tick=-197456, fee=500 )
|
51 |
TetherToken.Transfer( from=UniversalRouter, to=PoolManager, value=198250000 )
|
52 |
WETH9.Deposit( dst=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, wad=74466943883760193 )
|
53 |
WETH9.Transfer( src=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, dst=UniswapV2Pair, wad=74466943883760193 )
|
54 |
Tweet.Transfer( from=UniswapV2Pair, to=AggregationRouterV5, value=298845984996239456 )
|
55 |
UniswapV2Pair.Sync( reserve0=39173444574280636650, reserve1=9806487666151802103 )
|
56 |
UniswapV2Pair.Swap( sender=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, amount0In=0, amount1In=74466943883760193, amount0Out=298845984996239456, amount1Out=0, to=AggregationRouterV5 )
|
57 |
Tweet.Transfer( from=AggregationRouterV5, to=Spender, value=298845984996239456 )
|
58 |
TetherToken.Transfer( from=Spender, to=GnosisSafeProxy, value=1750000 )
|
59 |
Tweet.Transfer( from=Spender, to=[Sender] 0xab01e821fd81882c99ea3a648473212be827f57f, value=298845984996239456 )
|
60 |
MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xf35f348d53012d52a5d39f9390d246956ac932d5778d2bb49e359dba4fa0896d, 0x000000000000000000000000ab01e821fd81882c99ea3a648473212be827f57f )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...e3dE08A90 | (Uniswap V4: Pool Manager) | 17,051.571281019054382197 Eth | 17,051.496814075170622004 Eth | 0.074466943883760193 | |
0x02B4A411...96C8041Dd | |||||
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 9.028664496562435316 Eth | 9.029044725563956232 Eth | 0.000380229001520916 | |
0x6B4472D6...Ed430EDA7 | |||||
0xAB01e821...be827F57f |
0.11505889306517913 Eth
Nonce: 67
|
0.11404254994059498 Eth
Nonce: 68
| 0.00101634312458415 | ||
0xC02aaA39...83C756Cc2 | 2,790,412.629152565276388653 Eth | 2,790,412.703619509160148846 Eth | 0.074466943883760193 | ||
0xdAC17F95...13D831ec7 |
Execution Trace
MetaSwap.swap( aggregatorId=oneInchV5FeeDynamic, tokenFrom=0xdAC17F958D2ee523a2206206994597C13D831ec7, amount=200000000, data=0x000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC70000000000000000000000006B4472D6047AAE634E90A8CFEBB34F4ED430EDA7000000000000000000000000000000000000000000000000000000000BD10E100000000000000000000000000000000000000000000000000410774B89FD1E43000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000001AB3F00000000000000000000000002ACF35C9A3F4C5C3F4C78EF5FB64C3EE82F07C45000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006E812AA3CAF0000000000000000000000005141B82F5FFDA4C6FE1E372978F1C5427640A190000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC70000000000000000000000006B4472D6047AAE634E90A8CFEBB34F4ED430EDA70000000000000000000000005141B82F5FFDA4C6FE1E372978F1C5427640A19000000000000000000000000074DE5D4FCBF63E00296FD95D33236B9794016631000000000000000000000000000000000000000000000000000000000BD10E100000000000000000000000000000000000000000000000000410774B89FD1E420000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055D00000000000000000000000000000000000000053F0004B0000496000490492066A9893CC07D91D95644AEDD05D03F95E1DBA8AFDAC17F958D2EE523A2206206994597C13D831EC702E424856BC30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003060B0E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001E00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC700000000000000000000000000000000000000000000000000000000000001F4000000000000000000000000000000000000000000000000000000000000000A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010343D9659D413C000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005141B82F5FFDA4C6FE1E372978F1C5427640A190000000000000000000000000000000000000000000000000000000000000000000206B4BE0B94041C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2D0E30DB00C20C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC202B4A411970A33E62A10696CD288C3B96C8041DD6AE4071138002DC6C002B4A411970A33E62A10696CD288C3B96C8041DD1111111254EEB25477B68FB85ED929F73A9605820000000000000000000000000000000000000000000000000410774B89FD1E42C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000007DCBEA7C000000000000000000000000000000000000000000000000 )
-
TetherToken.transferFrom( _from=0xAB01e821fd81882c99ea3a648473212be827F57f, _to=0x74de5d4FCbf63E00296fd95d33236B9794016631, _value=200000000 )
Spender.swap( adapter=0x7CDf68CE9A05413Cbb76cb7F80EAF415A826E313, data=0x92F5F037000000000000000000000000AB01E821FD81882C99EA3A648473212BE827F57F000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC70000000000000000000000006B4472D6047AAE634E90A8CFEBB34F4ED430EDA7000000000000000000000000000000000000000000000000000000000BD10E100000000000000000000000000000000000000000000000000410774B89FD1E43000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000001AB3F00000000000000000000000002ACF35C9A3F4C5C3F4C78EF5FB64C3EE82F07C45000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006E812AA3CAF0000000000000000000000005141B82F5FFDA4C6FE1E372978F1C5427640A190000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC70000000000000000000000006B4472D6047AAE634E90A8CFEBB34F4ED430EDA70000000000000000000000005141B82F5FFDA4C6FE1E372978F1C5427640A19000000000000000000000000074DE5D4FCBF63E00296FD95D33236B9794016631000000000000000000000000000000000000000000000000000000000BD10E100000000000000000000000000000000000000000000000000410774B89FD1E420000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055D00000000000000000000000000000000000000053F0004B0000496000490492066A9893CC07D91D95644AEDD05D03F95E1DBA8AFDAC17F958D2EE523A2206206994597C13D831EC702E424856BC30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003060B0E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001E00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC700000000000000000000000000000000000000000000000000000000000001F4000000000000000000000000000000000000000000000000000000000000000A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010343D9659D413C000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005141B82F5FFDA4C6FE1E372978F1C5427640A190000000000000000000000000000000000000000000000000000000000000000000206B4BE0B94041C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2D0E30DB00C20C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC202B4A411970A33E62A10696CD288C3B96C8041DD6AE4071138002DC6C002B4A411970A33E62A10696CD288C3B96C8041DD1111111254EEB25477B68FB85ED929F73A9605820000000000000000000000000000000000000000000000000410774B89FD1E42C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000007DCBEA7C000000000000000000000000000000000000000000000000 )
0x7cdf68ce9a05413cbb76cb7f80eaf415a826e313.92f5f037( )
-
TetherToken.allowance( _owner=0x74de5d4FCbf63E00296fd95d33236B9794016631, _spender=0x1111111254EEB25477B68fb85Ed929f73A960582 ) => ( remaining=115792089237316195423570985008687907853269984665640564039457584007913129639935 )
AggregationRouterV5.swap( executor=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, desc=[{name:srcToken, type:address, order:1, indexed:false, value:0xdAC17F958D2ee523a2206206994597C13D831ec7, valueString:0xdAC17F958D2ee523a2206206994597C13D831ec7}, {name:dstToken, type:address, order:2, indexed:false, value:0x6B4472D6047aae634e90a8CfeBB34F4Ed430EDA7, valueString:0x6B4472D6047aae634e90a8CfeBB34F4Ed430EDA7}, {name:srcReceiver, type:address, order:3, indexed:false, value:0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, valueString:0x5141B82f5fFDa4c6fE1E372978F1C5427640a190}, {name:dstReceiver, type:address, order:4, indexed:false, value:0x74de5d4FCbf63E00296fd95d33236B9794016631, valueString:0x74de5d4FCbf63E00296fd95d33236B9794016631}, {name:amount, type:uint256, order:5, indexed:false, value:198250000, valueString:198250000}, {name:minReturnAmount, type:uint256, order:6, indexed:false, value:292865142100401730, valueString:292865142100401730}, {name:flags, type:uint256, order:7, indexed:false, value:4, valueString:4}], permit=0x, data=0x00000000000000000000000000000000000000053F0004B0000496000490492066A9893CC07D91D95644AEDD05D03F95E1DBA8AFDAC17F958D2EE523A2206206994597C13D831EC702E424856BC30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003060B0E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001E00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC700000000000000000000000000000000000000000000000000000000000001F4000000000000000000000000000000000000000000000000000000000000000A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010343D9659D413C000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005141B82F5FFDA4C6FE1E372978F1C5427640A190000000000000000000000000000000000000000000000000000000000000000000206B4BE0B94041C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2D0E30DB00C20C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC202B4A411970A33E62A10696CD288C3B96C8041DD6AE4071138002DC6C002B4A411970A33E62A10696CD288C3B96C8041DD1111111254EEB25477B68FB85ED929F73A9605820000000000000000000000000000000000000000000000000410774B89FD1E42C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 ) => ( returnAmount=298845984996239456, spentAmount=198250000 )
-
TetherToken.transferFrom( _from=0x74de5d4FCbf63E00296fd95d33236B9794016631, _to=0x5141B82f5fFDa4c6fE1E372978F1C5427640a190, _value=198250000 )
0x5141b82f5ffda4c6fe1e372978f1c5427640a190.4b64e492( )
-
TetherToken.transfer( _to=0x66a9893cC07D91D95644AEDD05D03f95e1dBA8Af, _value=198250000 )
UniversalRouter.execute( commands=0x10, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADBgsOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANrBf5WNLuUjoiBiBplFl8E9gx7HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC9EOEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEDQ9llnUE8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAA2sF/lY0u5SOiIGIGmUWXwT2DHseAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFBuC9f/aTG/h43KXjxxUJ2QKGQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=] )
-
PoolManager.unlock( data=0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003060B0E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001E00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC700000000000000000000000000000000000000000000000000000000000001F4000000000000000000000000000000000000000000000000000000000000000A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000BD10E10000000000000000000000000000000000000000000000000010343D9659D413C000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005141B82F5FFDA4C6FE1E372978F1C5427640A1900000000000000000000000000000000000000000000000000000000000000000 ) => ( result=0x )
-
-
0x5141b82f5ffda4c6fe1e372978f1c5427640a190.CALL( )
- ETH 0.074466943883760193
WETH9.CALL( )
-
WETH9.transfer( dst=0x02B4A411970A33E62A10696CD288c3B96C8041Dd, wad=74466943883760193 ) => ( True )
0x5141b82f5ffda4c6fe1e372978f1c5427640a190.6ae40711( )
-
UniswapV2Pair.STATICCALL( )
-
WETH9.balanceOf( 0x02B4A411970A33E62A10696CD288c3B96C8041Dd ) => ( 9806487666151802103 )
-
UniswapV2Pair.swap( amount0Out=298845984996239456, amount1Out=0, to=0x1111111254EEB25477B68fb85Ed929f73A960582, data=0x )
-
-
-
Tweet.balanceOf( account=0x1111111254EEB25477B68fb85Ed929f73A960582 ) => ( 298845984996239457 )
-
Tweet.transfer( recipient=0x74de5d4FCbf63E00296fd95d33236B9794016631, amount=298845984996239456 ) => ( True )
-
-
TetherToken.transfer( _to=0x2aCf35C9A3F4c5C3F4c78EF5Fb64c3EE82f07c45, _value=1750000 )
-
TetherToken.balanceOf( who=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
-
Tweet.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 298845984996239456 )
-
Tweet.transfer( recipient=0xAB01e821fd81882c99ea3a648473212be827F57f, amount=298845984996239456 ) => ( True )
-
swap[MetaSwap (ln:1598)]
_swap[MetaSwap (ln:1604)]
safeTransferFrom[MetaSwap (ln:1637)]
swap[MetaSwap (ln:1639)]
encode[MetaSwap (ln:1643)]
Swap[MetaSwap (ln:1648)]
File 1 of 10: MetaSwap
File 2 of 10: Spender
File 3 of 10: TetherToken
File 4 of 10: UniversalRouter
File 5 of 10: PoolManager
File 6 of 10: WETH9
File 7 of 10: UniswapV2Pair
File 8 of 10: AggregationRouterV5
File 9 of 10: Tweet
File 10 of 10: GnosisSafeProxy
12345678910111213141516pragma solidity ^0.6.0;import "@openzeppelin/contracts/token/ERC20/IERC20.sol";import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";import "@openzeppelin/contracts/utils/Address.sol";import "../Constants.sol";contract CommonAdapter {using SafeERC20 for IERC20;using Address for address;using Address for address payable;/*** @dev Performs a swap* @param recipient The original msg.sender performing the swap* @param aggregator Address of the aggregator's contract* @param spender Address to which tokens will be approved* @param method Selector of the function to be called in the aggregator's contract* @param tokenFrom Token to be swapped
File 2 of 10: Spender
1{"Constants.84ef19f8.sol":{"content":"// SPDX-License-Identifier: MIT\r\n\r\npragma solidity ^0.6.0;\r\n\r\nlibrary Constants {\r\n address internalconstant ETH = 0x0000000000000000000000000000000000000000;\r\n}\r\n"},"Spender.3372a096.sol":{"content":"// SPDX-License-Identifier:MIT\r\n\r\npragma solidity ^0.6.0;\r\n\r\nimport \"./Constants.84ef19f8.sol\";\r\n\r\ncontract Spender {\r\n address public immutable metaswap;\r\n\r\n constructor() public {\r\n metaswap = msg.sender;\r\n }\r\n\r\n /// @dev Receives ether from swaps\r\n fallback()external payable {}\r\n\r\n function swap(address adapter, bytes calldata data) external payable {\r\n require(msg.sender == metaswap,\"FORBIDDEN\");\r\n require(adapter != address(0), \"ADAPTER_NOT_PROVIDED\");\r\n _delegate(adapter, data,\"ADAPTER_DELEGATECALL_FAILED\");\r\n }\r\n\r\n /**\r\n * @dev Performs a delegatecall and bubbles up the errors, adapted from\r\n *https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol\r\n * @param target Address of the contract todelegatecall\r\n * @param data Data passed in the delegatecall\r\n * @param errorMessage Fallback revert reason\r\n */\r\n function_delegate(\r\n address target,\r\n bytes memory data,\r\n string memory errorMessage\r\n ) private returns (bytes memory){\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\nif (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up ifpresent\r\n if (returndata.length \u003e 0) {\r\n // The easiest way to bubble the revert reason is using memory viaassembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n letreturndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else{\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n"}}
File 3 of 10: TetherToken
12345678910111213141516pragma solidity ^0.4.17;/*** @title SafeMath* @dev Math operations with safety checks that throw on error*/library SafeMath {function mul(uint256 a, uint256 b) internal pure returns (uint256) {if (a == 0) {return 0;}uint256 c = a * b;assert(c / a == b);return c;}
File 4 of 10: UniversalRouter
12345678910111213141516// SPDX-License-Identifier: GPL-3.0-or-laterpragma solidity ^0.8.24;// Command implementationsimport {Dispatcher} from './base/Dispatcher.sol';import {RouterParameters} from './types/RouterParameters.sol';import {PaymentsImmutables, PaymentsParameters} from './modules/PaymentsImmutables.sol';import {UniswapImmutables, UniswapParameters} from './modules/uniswap/UniswapImmutables.sol';import {V4SwapRouter} from './modules/uniswap/v4/V4SwapRouter.sol';import {Commands} from './libraries/Commands.sol';import {IUniversalRouter} from './interfaces/IUniversalRouter.sol';import {MigratorImmutables, MigratorParameters} from './modules/MigratorImmutables.sol';contract UniversalRouter is IUniversalRouter, Dispatcher {constructor(RouterParameters memory params)UniswapImmutables(UniswapParameters(params.v2Factory, params.v3Factory, params.pairInitCodeHash, params.poolInitCodeHash))
File 5 of 10: PoolManager
12345678910111213141516// SPDX-License-Identifier: BUSL-1.1pragma solidity 0.8.26;import {Hooks} from "./libraries/Hooks.sol";import {Pool} from "./libraries/Pool.sol";import {SafeCast} from "./libraries/SafeCast.sol";import {Position} from "./libraries/Position.sol";import {LPFeeLibrary} from "./libraries/LPFeeLibrary.sol";import {Currency, CurrencyLibrary} from "./types/Currency.sol";import {PoolKey} from "./types/PoolKey.sol";import {TickMath} from "./libraries/TickMath.sol";import {NoDelegateCall} from "./NoDelegateCall.sol";import {IHooks} from "./interfaces/IHooks.sol";import {IPoolManager} from "./interfaces/IPoolManager.sol";import {IUnlockCallback} from "./interfaces/callback/IUnlockCallback.sol";import {ProtocolFees} from "./ProtocolFees.sol";import {ERC6909Claims} from "./ERC6909Claims.sol";
File 6 of 10: WETH9
12345678910111213141516// Copyright (C) 2015, 2016, 2017 Dapphub// This program is free software: you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation, either version 3 of the License, or// (at your option) any later version.// This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.// You should have received a copy of the GNU General Public License// along with this program. If not, see <http://www.gnu.org/licenses/>.pragma solidity ^0.4.18;
File 7 of 10: UniswapV2Pair
12345678910111213141516// File: contracts/interfaces/IUniswapV2Pair.solpragma solidity >=0.5.0;interface IUniswapV2Pair {event Approval(address indexed owner, address indexed spender, uint value);event Transfer(address indexed from, address indexed to, uint 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 (uint);function balanceOf(address owner) external view returns (uint);function allowance(address owner, address spender) external view returns (uint);function approve(address spender, uint value) external returns (bool);
File 8 of 10: AggregationRouterV5
12345678910111213141516/*,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄└▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄└▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄└▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄└▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ└▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌└████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
File 9 of 10: Tweet
12345678910111213141516// SPDX-License-Identifier: MIT/*https://x.com/VitalikButerin/status/1925786172065763655https://t.me/regenerc20*/pragma solidity 0.8.23;abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}}
File 10 of 10: GnosisSafeProxy
12345678910111213141516// SPDX-License-Identifier: LGPL-3.0-onlypragma solidity >=0.7.0 <0.9.0;/// @title IProxy - Helper interface to access masterCopy of the Proxy on-chain/// @author Richard Meissner - <richard@gnosis.io>interface IProxy {function masterCopy() external view returns (address);}/// @title GnosisSafeProxy - Generic proxy contract allows to execute all transactions applying the code of a master contract./// @author Stefan George - <stefan@gnosis.io>/// @author Richard Meissner - <richard@gnosis.io>contract GnosisSafeProxy {// singleton always needs to be first declared variable, to ensure that it is at the same location in the contracts to which calls are delegated.// To reduce deployment costs this variable is internal and needs to be retrieved via `getStorageAt`address internal singleton;