ETH Price: $3,498.20 (+3.53%)

Transaction Decoder

Block:
22554448 at May-24-2025 06:20:47 PM +UTC
Transaction Fee:
0.000440593684534206 ETH $1.54
Gas Used:
412,209 Gas / 1.068859934 Gwei

Emitted Events:

289 GearToken.Approval( owner=[Sender] 0x18b6106688955e694a94a9936a92f53795881380, spender=[Receiver] AggregationRouterV6, amount=79228162514264337593543950335 )
290 GearToken.Transfer( from=[Sender] 0x18b6106688955e694a94a9936a92f53795881380, to=[Receiver] AggregationRouterV6, amount=200000000000000000000000 )
291 GearToken.Transfer( from=[Receiver] AggregationRouterV6, to=Vyper_contract, amount=200000000000000000000000 )
292 Vyper_contract.Transfer( _from=0x0000000000000000000000000000000000000000, _to=FeeCollector, _value=153394269203223423 )
293 Vyper_contract.ClaimAdminFee( admin=FeeCollector, tokens=153394269203223423 )
294 Vyper_contract.TokenExchange( buyer=[Receiver] AggregationRouterV6, sold_id=0, tokens_sold=200000000000000000000000, bought_id=1, tokens_bought=396337107640454382 )

Account State Difference:

  Address   Before After State Difference Code
0x0E9B5B09...b5c95F1C2 478.643653167926329372 Eth478.24731606028587499 Eth0.396337107640454382
0x18B61066...795881380
0.520763154868767949 Eth
Nonce: 751
0.916659668824688125 Eth
Nonce: 752
0.395896513955920176
(Titan Builder)
13.944046285247702948 Eth13.944252389747702948 Eth0.0002061045
0x5Be6C45e...a1cc0025d
0xBa333558...269a9Ab5D

Execution Trace

AggregationRouterV6.permitAndCall( permit=0xBA3335588D9403515223F109EDC4EB7269A9AB5D00000000000000000000000018B6106688955E694A94A9936A92F53795881380000000000000000000000000111111125421CA6DC452D289314280A0F8842A65FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000683359CF000000000000000000000000000000000000000000000000000000000000001BE9F4D9BAF7709710A841345ADEA3D1E54FC275864199B5BF5C72A182895164830FAAF740466776C1C94669AB729902296B5839D6DB2A1333923766BC6EFB129E, action=0x83800A8E000000000000000000000000BA3335588D9403515223F109EDC4EB7269A9AB5D000000000000000000000000000000000000000000002A5A058FC295ED0000000000000000000000000000000000000000000000000000000571FDD5A317C7AE4A1C010001080008110000000E9B5B092CAD6F1C5E6BC7F89FFE1ABB5C95F1C2 )
  • GearToken.permit( owner=0x18B6106688955E694A94A9936A92F53795881380, spender=0x111111125421cA6dc452d289314280a0f8842A65, rawAmount=115792089237316195423570985008687907853269984665640564039457584007913129639935, deadline=1748195791, v=27, r=E9F4D9BAF7709710A841345ADEA3D1E54FC275864199B5BF5C72A18289516483, s=0FAAF740466776C1C94669AB729902296B5839D6DB2A1333923766BC6EFB129E )
    • Null: 0x000...001.ef90e817( )
    • AggregationRouterV6.unoswap( token=1063014268462551560254107627407363415670816090973, amount=200000000000000000000000, minReturn=392373736564049838, dex=33520629414830457642834959887925098622150301498171523371976761604294791524802 ) => ( returnAmount=396337107640454382 )
      • GearToken.transferFrom( src=0x18B6106688955E694A94A9936A92F53795881380, dst=0x111111125421cA6dc452d289314280a0f8842A65, rawAmount=200000000000000000000000 ) => ( True )
      • Vyper_contract.coins( arg0=1 ) => ( 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 )
        • Vyper_contract.coins( arg0=1 ) => ( 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 )
        • Vyper_contract.exchange_extended( i=0, j=1, dx=200000000000000000000000, min_dy=392373736564049838, use_eth=True, sender=0x111111125421cA6dc452d289314280a0f8842A65, receiver=0x18B6106688955E694A94A9936A92F53795881380, cb=E413F48D00000000000000000000000000000000000000000000000000000000 ) => ( 396337107640454382 )
          • Vyper_contract.exchange_extended( i=0, j=1, dx=200000000000000000000000, min_dy=392373736564049838, use_eth=True, sender=0x111111125421cA6dc452d289314280a0f8842A65, receiver=0x18B6106688955E694A94A9936A92F53795881380, cb=E413F48D00000000000000000000000000000000000000000000000000000000 ) => ( 396337107640454382 )
            • GearToken.balanceOf( account=0x0E9B5B092caD6F1c5E6bc7f89Ffe1abb5c95F1C2 ) => ( 236834529543624056133080495 )
            • Null: 0x000...004.e413f48d( )
            • Null: 0x000...004.STATICCALL( )
            • Null: 0x000...004.00000000( )
            • AggregationRouterV6.curveSwapCallback( 0x111111125421cA6dc452d289314280a0f8842A65, 0x18B6106688955E694A94A9936A92F53795881380, inCoin=0xBa3335588D9403515223F109EdC4eB7269a9Ab5D, dx=200000000000000000000000, 396337107640454382 )
              • GearToken.transfer( dst=0x0E9B5B092caD6F1c5E6bc7f89Ffe1abb5c95F1C2, rawAmount=200000000000000000000000 ) => ( True )
              • GearToken.balanceOf( account=0x0E9B5B092caD6F1c5E6bc7f89Ffe1abb5c95F1C2 ) => ( 237034529543624056133080495 )
              • ETH 0.396337107640454382 0x18b6106688955e694a94a9936a92f53795881380.CALL( )
              • Vyper_contract.STATICCALL( )
                • Vyper_contract.DELEGATECALL( )
                • GearToken.balanceOf( account=0x0E9B5B092caD6F1c5E6bc7f89Ffe1abb5c95F1C2 ) => ( 237034529543624056133080495 )
                • Vyper_contract.STATICCALL( )
                • Vyper_contract.mint_relative( _to=0xa2Bcd1a4Efbd04B63cd03f5aFf2561106ebCCE00, frac=480303648848 ) => ( 153394269203223423 )
                  • Vyper_contract.mint_relative( _to=0xa2Bcd1a4Efbd04B63cd03f5aFf2561106ebCCE00, frac=480303648848 ) => ( 153394269203223423 )
                  • Vyper_contract.STATICCALL( )
                    • Vyper_contract.DELEGATECALL( )
                      File 1 of 8: AggregationRouterV6
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      /*
                      ,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,
                      ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,
                      ▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,
                      ▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ
                      ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄
                      └▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄
                      └▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄
                      └▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄
                      └▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ
                      └▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌
                      ▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌
                      ▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌
                      └████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ
                      ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██
                      ▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 2 of 8: GearToken
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: BSD-3-Clause
                      pragma solidity ^0.7.4;
                      pragma experimental ABIEncoderV2;
                      import {SafeMath} from "@openzeppelin/contracts/math/SafeMath.sol";
                      /// @dev Governance Gearbox token
                      /// based on https://github.com/Uniswap/governance/blob/master/contracts/Uni.sol
                      contract GearToken {
                      /// @notice EIP-20 token name for this token
                      string public constant name = "Gearbox";
                      /// @notice EIP-20 token symbol for this token
                      string public constant symbol = "GEAR";
                      /// @notice EIP-20 token decimals for this token
                      uint8 public constant decimals = 18;
                      /// @notice Total number of tokens in circulation
                      uint256 public constant totalSupply = 10_000_000_000e18; // 10 billion Gear
                      // Allowance amounts on behalf of others
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 3 of 8: Vyper_contract
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      # @version 0.3.1
                      # (c) Curve.Fi, 2021
                      # Pool for two crypto assets
                      # Universal implementation which can use both ETH and ERC20s
                      from vyper.interfaces import ERC20
                      interface Factory:
                      def admin() -> address: view
                      def fee_receiver() -> address: view
                      interface CurveToken:
                      def totalSupply() -> uint256: view
                      def mint(_to: address, _value: uint256) -> bool: nonpayable
                      def mint_relative(_to: address, frac: uint256) -> uint256: nonpayable
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 4 of 8: FeeCollector
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      # pragma version 0.3.10
                      """
                      @title FeeCollector
                      @license MIT
                      @author Curve Finance
                      @notice Collects fees and delegates to burner for exchange
                      """
                      interface ERC20:
                      def approve(_to: address, _value: uint256): nonpayable
                      def transfer(_to: address, _value: uint256) -> bool: nonpayable
                      def transferFrom(_from: address, _to: address, _value: uint256) -> bool: nonpayable
                      def balanceOf(_owner: address) -> uint256: view
                      interface wETH:
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 5 of 8: Vyper_contract
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      # @version 0.3.1
                      """
                      @title Curve LP Token V5
                      @author Curve.Fi
                      @notice Base implementation for an LP token provided for supplying liquidity
                      @dev Follows the ERC-20 token standard as defined at https://eips.ethereum.org/EIPS/eip-20
                      """
                      from vyper.interfaces import ERC20
                      implements: ERC20
                      interface ERC1271:
                      def isValidSignature(_hash: bytes32, _signature: Bytes[65]) -> bytes32: view
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 6 of 8: Vyper_contract
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      # @version 0.3.1
                      # (c) Curve.Fi, 2021
                      # Pool for two crypto assets
                      # Universal implementation which can use both ETH and ERC20s
                      from vyper.interfaces import ERC20
                      interface Factory:
                      def admin() -> address: view
                      def fee_receiver() -> address: view
                      interface CurveToken:
                      def totalSupply() -> uint256: view
                      def mint(_to: address, _value: uint256) -> bool: nonpayable
                      def mint_relative(_to: address, frac: uint256) -> uint256: nonpayable
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 7 of 8: Vyper_contract
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      # @version 0.3.1
                      """
                      @title Curve LP Token V5
                      @author Curve.Fi
                      @notice Base implementation for an LP token provided for supplying liquidity
                      @dev Follows the ERC-20 token standard as defined at https://eips.ethereum.org/EIPS/eip-20
                      """
                      from vyper.interfaces import ERC20
                      implements: ERC20
                      interface ERC1271:
                      def isValidSignature(_hash: bytes32, _signature: Bytes[65]) -> bytes32: view
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 8 of 8: Vyper_contract
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      # @version 0.3.1
                      """
                      @title Curve Factory
                      @license MIT
                      @author Curve.Fi
                      @notice Permissionless pool deployer and registry
                      """
                      interface CryptoPool:
                      def balances(i: uint256) -> uint256: view
                      def initialize(
                      A: uint256,
                      gamma: uint256,
                      mid_fee: uint256,
                      out_fee: uint256,
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX