ETH Price: $2,478.52 (-2.83%)

Transaction Decoder

Block:
22257984 at Apr-13-2025 05:33:23 AM +UTC
Transaction Fee:
0.000313181746599388 ETH $0.78
Gas Used:
332,869 Gas / 0.940855852 Gwei

Emitted Events:

140 SimpleToken.Transfer( from=[Sender] 0x8999020b433a0ac8efdbfe49ef03855aef262eba, to=[Receiver] ApeOFTAdapter, value=99836462000000000000 )
141 SimpleToken.Approval( owner=[Sender] 0x8999020b433a0ac8efdbfe49ef03855aef262eba, spender=[Receiver] ApeOFTAdapter, value=115792089237316195423570985008687907853269984665640564039357747545913129639935 )
142 ApeCoinStaking.UpdatePool( poolId=0, lastRewardedBlock=1732035600, stakedAmount=103026495722357309160375115, accumulatedRewardsPerShare=666896298369591252 )
143 ApeCoinStaking.ClaimRewards( user=[Receiver] ApeOFTAdapter, amount=0, recipient=[Receiver] ApeOFTAdapter )
144 ApeCoinStaking.UpdatePool( poolId=0, lastRewardedBlock=1732035600, stakedAmount=103026495722357309160375115, accumulatedRewardsPerShare=666896298369591252 )
145 SimpleToken.Transfer( from=[Receiver] ApeOFTAdapter, to=ApeCoinStaking, value=99836462000000000000 )
146 SimpleToken.Approval( owner=[Receiver] ApeOFTAdapter, spender=ApeCoinStaking, value=115792089237316195423570985008687907853269984665640358917251960767991502558468 )
147 ApeCoinStaking.Deposit( user=[Receiver] ApeOFTAdapter, amount=99836462000000000000, recipient=[Receiver] ApeOFTAdapter )
148 SendUln302.ExecutorFeePaid( executor=OptimizedTransparentUpgradeableProxy, fee=62334734152080 )
149 SendUln302.DVNFeePaid( requiredDVNs=[0x589dEDbD617e0CBcB916A9223F4d1300c294236b], optionalDVNs=[], fees=[708782476839] )
150 EndpointV2.PacketSent( encodedPayload=0x01000000000000A899000075950000000000000000000000005182FEDE730B31A9CF7F49C5781214B4A99F237000007668000000000000000000000000E4103E80C967F58591A1D7CA443ED7E392FED862151027762871EF53969DCF8F90D88BCDA32110D28864BD4AA21B1E9AA567B3720000000000000000000000008999020B433A0AC8EFDBFE49EF03855AEF262EBA0000000005F3622E, options=0x000301001101000000000000000000000000000124F8010011010000000000000000000000000000FDE8, sendLibrary=SendUln302 )
151 ApeOFTAdapter.OFTSent( guid=151027762871EF53969DCF8F90D88BCDA32110D28864BD4AA21B1E9AA567B372, dstEid=30312, fromAddress=[Sender] 0x8999020b433a0ac8efdbfe49ef03855aef262eba, amountSentLD=99836462000000000000, amountReceivedLD=99836462000000000000 )

Account State Difference:

  Address   Before After State Difference Code
0x1a440760...c50fE728c
(LayerZero: EndpointV2)
0x4d224452...b5D594381
0x5954aB96...c8a2AFbb9
(Apecoin: Staking)
0x8999020B...Aef262EBA
0.002507141339843577 Eth
Nonce: 3488
0.00213091607661527 Eth
Nonce: 3489
0.000376225263228307
(beaverbuild)
8.601629367850786377 Eth8.601795802350786377 Eth0.0001664345
0xbB2Ea70C...E1372dCe1 27.531011327801736624 Eth27.531074371318365543 Eth0.000063043516628919

Execution Trace

ETH 0.000063043516628919 ApeOFTAdapter.send( _sendParam=[{name:dstEid, type:uint32, order:1, indexed:false, value:30312, valueString:30312}, {name:to, type:bytes32, order:2, indexed:false, value:0000000000000000000000008999020B433A0AC8EFDBFE49EF03855AEF262EBA, valueString:0000000000000000000000008999020B433A0AC8EFDBFE49EF03855AEF262EBA}, {name:amountLD, type:uint256, order:3, indexed:false, value:99836462670000000000, valueString:99836462670000000000}, {name:minAmountLD, type:uint256, order:4, indexed:false, value:99836462000000000000, valueString:99836462000000000000}, {name:extraOptions, type:bytes, order:5, indexed:false, value:0x0003010011010000000000000000000000000000FDE8, valueString:0x0003010011010000000000000000000000000000FDE8}, {name:composeMsg, type:bytes, order:6, indexed:false, value:0x, valueString:0x}, {name:oftCmd, type:bytes, order:7, indexed:false, value:0x, valueString:0x}], _fee=[{name:nativeFee, type:uint256, order:1, indexed:false, value:63043516628919, valueString:63043516628919}, {name:lzTokenFee, type:uint256, order:2, indexed:false, value:0, valueString:0}], _refundAddress=0x8999020B433A0Ac8EFdbfE49eF03855Aef262EBA ) => ( msgReceipt=[{name:guid, type:bytes32, order:1, indexed:false, value:151027762871EF53969DCF8F90D88BCDA32110D28864BD4AA21B1E9AA567B372, valueString:151027762871EF53969DCF8F90D88BCDA32110D28864BD4AA21B1E9AA567B372}, {name:nonce, type:uint64, order:2, indexed:false, value:43161, valueString:43161}, {name:fee, type:tuple, order:3, indexed:false, value:[{name:nativeFee, type:uint256, order:1, indexed:false, value:63043516628919, valueString:63043516628919}, {name:lzTokenFee, type:uint256, order:2, indexed:false, value:0, valueString:0}], valueString:[{name:nativeFee, type:uint256, order:1, indexed:false, value:63043516628919, valueString:63043516628919}, {name:lzTokenFee, type:uint256, order:2, indexed:false, value:0, valueString:0}]}], oftReceipt=[{name:amountSentLD, type:uint256, order:1, indexed:false, value:99836462000000000000, valueString:99836462000000000000}, {name:amountReceivedLD, type:uint256, order:2, indexed:false, value:99836462000000000000, valueString:99836462000000000000}] )
  • SimpleToken.transferFrom( sender=0x8999020B433A0Ac8EFdbfE49eF03855Aef262EBA, recipient=0x5182feDE730b31a9CF7f49C5781214B4a99F2370, amount=99836462000000000000 ) => ( True )
  • ApeCoinStaking.CALL( )
  • SimpleToken.balanceOf( account=0x5182feDE730b31a9CF7f49C5781214B4a99F2370 ) => ( 99836462000000000000 )
  • ApeCoinStaking.depositSelfApeCoin( _amount=99836462000000000000 )
    • SimpleToken.transferFrom( sender=0x5182feDE730b31a9CF7f49C5781214B4a99F2370, recipient=0x5954aB967Bc958940b7EB73ee84797Dc8a2AFbb9, amount=99836462000000000000 ) => ( True )
    • ETH 0.000063043516628919 EndpointV2.send( _params=[{name:dstEid, type:uint32, order:1, indexed:false, value:30312, valueString:30312}, {name:receiver, type:bytes32, order:2, indexed:false, value:000000000000000000000000E4103E80C967F58591A1D7CA443ED7E392FED862, valueString:000000000000000000000000E4103E80C967F58591A1D7CA443ED7E392FED862}, {name:message, type:bytes, order:3, indexed:false, value:0x0000000000000000000000008999020B433A0AC8EFDBFE49EF03855AEF262EBA0000000005F3622E, valueString:0x0000000000000000000000008999020B433A0AC8EFDBFE49EF03855AEF262EBA0000000005F3622E}, {name:options, type:bytes, order:4, indexed:false, value:0x000301001101000000000000000000000000000124F8010011010000000000000000000000000000FDE8, valueString:0x000301001101000000000000000000000000000124F8010011010000000000000000000000000000FDE8}, {name:payInLzToken, type:bool, order:5, indexed:false, value:false, valueString:False}], _refundAddress=0x8999020B433A0Ac8EFdbfE49eF03855Aef262EBA ) => ( [{name:guid, type:bytes32, order:1, indexed:false, value:151027762871EF53969DCF8F90D88BCDA32110D28864BD4AA21B1E9AA567B372, valueString:151027762871EF53969DCF8F90D88BCDA32110D28864BD4AA21B1E9AA567B372}, {name:nonce, type:uint64, order:2, indexed:false, value:43161, valueString:43161}, {name:fee, type:tuple, order:3, indexed:false, value:[{name:nativeFee, type:uint256, order:1, indexed:false, value:63043516628919, valueString:63043516628919}, {name:lzTokenFee, type:uint256, order:2, indexed:false, value:0, valueString:0}], valueString:[{name:nativeFee, type:uint256, order:1, indexed:false, value:63043516628919, valueString:63043516628919}, {name:lzTokenFee, type:uint256, order:2, indexed:false, value:0, valueString:0}]}] )
      • SendUln302.send( _packet=[{name:nonce, type:uint64, order:1, indexed:false, value:43161, valueString:43161}, {name:srcEid, type:uint32, order:2, indexed:false, value:30101, valueString:30101}, {name:sender, type:address, order:3, indexed:false, value:0x5182feDE730b31a9CF7f49C5781214B4a99F2370, valueString:0x5182feDE730b31a9CF7f49C5781214B4a99F2370}, {name:dstEid, type:uint32, order:4, indexed:false, value:30312, valueString:30312}, {name:receiver, type:bytes32, order:5, indexed:false, value:000000000000000000000000E4103E80C967F58591A1D7CA443ED7E392FED862, valueString:000000000000000000000000E4103E80C967F58591A1D7CA443ED7E392FED862}, {name:guid, type:bytes32, order:6, indexed:false, value:151027762871EF53969DCF8F90D88BCDA32110D28864BD4AA21B1E9AA567B372, valueString:151027762871EF53969DCF8F90D88BCDA32110D28864BD4AA21B1E9AA567B372}, {name:message, type:bytes, order:7, indexed:false, value:0x0000000000000000000000008999020B433A0AC8EFDBFE49EF03855AEF262EBA0000000005F3622E, valueString:0x0000000000000000000000008999020B433A0AC8EFDBFE49EF03855AEF262EBA0000000005F3622E}], _options=0x000301001101000000000000000000000000000124F8010011010000000000000000000000000000FDE8, _payInLzToken=False ) => ( [{name:nativeFee, type:uint256, order:1, indexed:false, value:63043516628919, valueString:63043516628919}, {name:lzTokenFee, type:uint256, order:2, indexed:false, value:0, valueString:0}], 0x01000000000000A899000075950000000000000000000000005182FEDE730B31A9CF7F49C5781214B4A99F237000007668000000000000000000000000E4103E80C967F58591A1D7CA443ED7E392FED862151027762871EF53969DCF8F90D88BCDA32110D28864BD4AA21B1E9AA567B3720000000000000000000000008999020B433A0AC8EFDBFE49EF03855AEF262EBA0000000005F3622E )
        • OptimizedTransparentUpgradeableProxy.717e8a42( )
          • 0xfe9ab78ed4f9f3dbb168d9f5e5213d78605c9805.717e8a42( )
            • 0x4e9c57fd2bd0f47c43f2d62642c1b05894fb9ed0.566ef762( )
              • OptimizedTransparentUpgradeableProxy.88a4124c( )
              • DVN.assignJob( _param=[{name:dstEid, type:uint32, order:1, indexed:false, value:30312, valueString:30312}, {name:packetHeader, type:bytes, order:2, indexed:false, value:0x01000000000000A899000075950000000000000000000000005182FEDE730B31A9CF7F49C5781214B4A99F237000007668000000000000000000000000E4103E80C967F58591A1D7CA443ED7E392FED862, valueString:0x01000000000000A899000075950000000000000000000000005182FEDE730B31A9CF7F49C5781214B4A99F237000007668000000000000000000000000E4103E80C967F58591A1D7CA443ED7E392FED862}, {name:payloadHash, type:bytes32, order:3, indexed:false, value:194994DCCBFD6966C16FF9EE7BA926B840168A2D91684ED58EADBD2BAA44E185, valueString:194994DCCBFD6966C16FF9EE7BA926B840168A2D91684ED58EADBD2BAA44E185}, {name:confirmations, type:uint64, order:4, indexed:false, value:15, valueString:15}, {name:sender, type:address, order:5, indexed:false, value:0x5182feDE730b31a9CF7f49C5781214B4a99F2370, valueString:0x5182feDE730b31a9CF7f49C5781214B4a99F2370}], _options=0x ) => ( totalFee=708782476839 )
                • 0xb3e790273f0a89e53d2c20dd4dfe82aa00bbf91b.df2b057e( )
                  • OptimizedTransparentUpgradeableProxy.c1723a1d( )
                    • 0x319ae539b5ba554b09a46791cdb88b10e4d8f627.c1723a1d( )
                    • Treasury.payFee( 0x5182feDE730b31a9CF7f49C5781214B4a99F2370, 30312, _totalFee=63043516628919, _payInLzToken=False ) => ( 0 )
                    • ETH 0.000063043516628919 SendUln302.CALL( )
                      File 1 of 9: ApeOFTAdapter
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: MIT
                      pragma solidity >=0.8.0;
                      import { IMessageLibManager } from "./IMessageLibManager.sol";
                      import { IMessagingComposer } from "./IMessagingComposer.sol";
                      import { IMessagingChannel } from "./IMessagingChannel.sol";
                      import { IMessagingContext } from "./IMessagingContext.sol";
                      struct MessagingParams {
                      uint32 dstEid;
                      bytes32 receiver;
                      bytes message;
                      bytes options;
                      bool payInLzToken;
                      }
                      struct MessagingReceipt {
                      bytes32 guid;
                      uint64 nonce;
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 2 of 9: SimpleToken
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: MIT
                      pragma solidity ^0.8.10;
                      import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
                      contract SimpleToken is ERC20 {
                      constructor(
                      string memory name,
                      string memory symbol,
                      uint256 totalSupply_
                      ) ERC20(name, symbol) {
                      _mint(msg.sender, totalSupply_);
                      }
                      }
                      // SPDX-License-Identifier: MIT
                      // OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
                      pragma solidity ^0.8.0;
                      /**
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 3 of 9: ApeCoinStaking
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      //SPDX-License-Identifier: MIT
                      /*
                      ApeStake Smart Contract Disclaimer
                      The ApeStake smart contract (the “Smart Contract”) was developed at the direction of the ApeCoin DAO community pursuant
                      to a grant by the Ape Foundation. The grant instructs the development of the Smart Contract and the developer’s user
                      interface to enable a non-exclusive, user friendly means of access to the rewards program offered to the APE community
                      by the Ape Foundation pursuant to the specifications set forth in AIPs 21/22. The Smart Contract is made up of free,
                      public, open-source or source-available software deployed on the Ethereum Blockchain.
                      Use Disclaimer.
                      Your use of the Smart Contract involves various risks, including, but not limited to, losses while digital
                      assets are being supplied and/or removed from the Smart Contract, losses due to the volatility of token price,
                      risks in connection with your personal wallet access, system failures, opportunity loss while participating in the
                      Smart Contract, loss of tokens in connection with non-fungible token transfers, risk of cyber attack and/or security
                      breach, risk of legal uncertainty and/or changes in legal environment, and additional risks which may be based upon
                      utilization of any third party other than the Smart Contract developer who provides you with access to the Smart
                      Contract. Before using the Smart Contract, you should review the relevant documentation to make sure you understand
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 4 of 9: SendUln302
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: MIT
                      pragma solidity >=0.8.0;
                      import { IMessageLibManager } from "./IMessageLibManager.sol";
                      import { IMessagingComposer } from "./IMessagingComposer.sol";
                      import { IMessagingChannel } from "./IMessagingChannel.sol";
                      import { IMessagingContext } from "./IMessagingContext.sol";
                      struct MessagingParams {
                      uint32 dstEid;
                      bytes32 receiver;
                      bytes message;
                      bytes options;
                      bool payInLzToken;
                      }
                      struct MessagingReceipt {
                      bytes32 guid;
                      uint64 nonce;
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 5 of 9: EndpointV2
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: MIT
                      // OpenZeppelin Contracts (last updated v4.9.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.
                      */
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 6 of 9: OptimizedTransparentUpgradeableProxy
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: MIT
                      // OpenZeppelin Contracts (last updated v4.5.0-rc.0) (interfaces/draft-IERC1822.sol)
                      pragma solidity ^0.8.0;
                      /**
                      * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
                      * proxy whose upgrades are fully controlled by the current implementation.
                      */
                      interface IERC1822Proxiable {
                      /**
                      * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
                      * address.
                      *
                      * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
                      * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
                      * function revert if invoked through a proxy.
                      */
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 7 of 9: OptimizedTransparentUpgradeableProxy
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: MIT
                      // OpenZeppelin Contracts (last updated v4.5.0-rc.0) (interfaces/draft-IERC1822.sol)
                      pragma solidity ^0.8.0;
                      /**
                      * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
                      * proxy whose upgrades are fully controlled by the current implementation.
                      */
                      interface IERC1822Proxiable {
                      /**
                      * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
                      * address.
                      *
                      * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
                      * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
                      * function revert if invoked through a proxy.
                      */
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 8 of 9: DVN
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: MIT
                      pragma solidity >=0.8.0;
                      import { IMessageLibManager } from "./IMessageLibManager.sol";
                      import { IMessagingComposer } from "./IMessagingComposer.sol";
                      import { IMessagingChannel } from "./IMessagingChannel.sol";
                      import { IMessagingContext } from "./IMessagingContext.sol";
                      struct MessagingParams {
                      uint32 dstEid;
                      bytes32 receiver;
                      bytes message;
                      bytes options;
                      bool payInLzToken;
                      }
                      struct MessagingReceipt {
                      bytes32 guid;
                      uint64 nonce;
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                      File 9 of 9: Treasury
                      1
                      2
                      3
                      4
                      5
                      6
                      7
                      8
                      9
                      10
                      11
                      12
                      13
                      14
                      15
                      16
                      // SPDX-License-Identifier: MIT
                      pragma solidity >=0.8.0;
                      import { IMessageLibManager } from "./IMessageLibManager.sol";
                      import { IMessagingComposer } from "./IMessagingComposer.sol";
                      import { IMessagingChannel } from "./IMessagingChannel.sol";
                      import { IMessagingContext } from "./IMessagingContext.sol";
                      struct MessagingParams {
                      uint32 dstEid;
                      bytes32 receiver;
                      bytes message;
                      bytes options;
                      bool payInLzToken;
                      }
                      struct MessagingReceipt {
                      bytes32 guid;
                      uint64 nonce;
                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX