ETH Price: $2,025.56 (-1.88%)

Transaction Decoder

Block:
15476275 at Sep-05-2022 06:29:02 AM +UTC
Transaction Fee:
0.000902156092615329 ETH $1.83
Gas Used:
139,701 Gas / 6.457764029 Gwei

Emitted Events:

185 FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x0000000000000000000000009a9c0d0ddbceb1614b9e553291176f44e4bc73fc, 0x000000000000000000000000b95573a6a139c96555c679140bb1da5efd91f3da, 0000000000000000000000000000000000000000000000000000000011da01e0 )
186 HighTableVault.DepositRequested( caller=[Sender] 0x9a9c0d0ddbceb1614b9e553291176f44e4bc73fc, cycleIndex=1, receiver=[Sender] 0x9a9c0d0ddbceb1614b9e553291176f44e4bc73fc, assets=299500000 )

Account State Difference:

  Address   Before After State Difference Code
(F2Pool Old)
1,506.579352578455060961 Eth1,506.579582407525454648 Eth0.000229829070393687
0x9A9c0D0d...4e4BC73Fc
0.220500207673973843 Eth
Nonce: 3
0.219598051581358514 Eth
Nonce: 4
0.000902156092615329
0xA0b86991...E3606eB48
0xb95573A6...EfD91F3da

Execution Trace

HighTableVault.claimAndRequestDeposit( _assets=299500000, _receiver=0x9A9c0D0ddbCeB1614B9e553291176F44e4BC73Fc ) => ( assets=0 )
  • FiatTokenProxy.23b872dd( )
    • FiatTokenV2_1.transferFrom( from=0x9A9c0D0ddbCeB1614B9e553291176F44e4BC73Fc, to=0xb95573A6a139C96555c679140Bb1da5EfD91F3da, value=299500000 ) => ( True )
    • HightableOG.balanceOf( owner=0x9A9c0D0ddbCeB1614B9e553291176F44e4BC73Fc ) => ( 0 )
    • HightableVIP.balanceOf( owner=0x9A9c0D0ddbCeB1614B9e553291176F44e4BC73Fc ) => ( 1 )
      File 1 of 5: HighTableVault
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      // contracts/HighTableVault.sol
      // SPDX-License-Identifier: BUSL
      // Teahouse Finance
      pragma solidity ^0.8.0;
      import "@openzeppelin/contracts/access/AccessControl.sol";
      import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
      import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
      import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
      import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
      import "@openzeppelin/contracts/utils/math/SafeCast.sol";
      import "./IHighTableVault.sol";
      /// @title An investment vault for working with TeaVaultV2
      /// @author Teahouse Finance
      contract HighTableVault is IHighTableVault, AccessControl, ERC20 {
      using SafeERC20 for IERC20;
      uint256 public constant SECONDS_IN_A_YEAR = 365 * 86400; // for calculating management fee
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

      File 2 of 5: FiatTokenProxy
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      pragma solidity ^0.4.24;
      // File: zos-lib/contracts/upgradeability/Proxy.sol
      /**
      * @title Proxy
      * @dev Implements delegation of calls to other contracts, with proper
      * forwarding of return values and bubbling of failures.
      * It defines a fallback function that delegates all calls to the address
      * returned by the abstract _implementation() internal function.
      */
      contract Proxy {
      /**
      * @dev Fallback function.
      * Implemented entirely in `_fallback`.
      */
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

      File 3 of 5: FiatTokenV2_1
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      // File: @openzeppelin/contracts/math/SafeMath.sol
      // SPDX-License-Identifier: MIT
      pragma solidity ^0.6.0;
      /**
      * @dev Wrappers over Solidity's arithmetic operations with added overflow
      * checks.
      *
      * Arithmetic operations in Solidity wrap on overflow. This can easily result
      * in bugs, because programmers usually assume that an overflow raises an
      * error, which is the standard behavior in high level programming languages.
      * `SafeMath` restores this intuition by reverting the transaction when an
      * operation overflows.
      *
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

      File 4 of 5: HightableOG
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      // SPDX-License-Identifier: BUSL-1.1
      // File: contracts/IPFSConvert.sol
      // contracts/IPFSConvert.sol
      pragma solidity ^0.8.0;
      /// @title Hightable OG NFT
      /// @author Teahouse Finance
      library IPFSConvert {
      bytes constant private CODE_STRING = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
      bytes constant private CIDV0HEAD =
              "\x00\x04\x28\x0b\x12\x17\x09\x28\x31\x00\x12\x04\x28\x20\x25\x25\x22\x31\x1b\x1d\x39\x29\x09\x26\x1b\x29\x0b\x02\x0a\x18\x25\x22\x24\x1b\x3
              9\x2c\x1d\x39\x07\x06\x29\x25\x13\x15\x2c\x17";
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

      File 5 of 5: HightableVIP
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      // SPDX-License-Identifier: BUSL-1.1
      // File: contracts/nft/IPFSConvert.sol
      // contracts/IPFSConvert.sol
      pragma solidity ^0.8.4;
      /// @title Hightable IPFSConvert Library
      /// @author Teahouse Finance
      library IPFSConvert {
      bytes constant private CODE_STRING = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
      bytes constant private CIDV0HEAD =
              "\x00\x04\x28\x0b\x12\x17\x09\x28\x31\x00\x12\x04\x28\x20\x25\x25\x22\x31\x1b\x1d\x39\x29\x09\x26\x1b\x29\x0b\x02\x0a\x18\x25\x22\x24\x1b\x3
              9\x2c\x1d\x39\x07\x06\x29\x25\x13\x15\x2c\x17";
      /**
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX