ETH Price: $1,783.35 (-6.29%)

Transaction Decoder

Block:
15713079 at Oct-09-2022 08:58:59 PM +UTC
Transaction Fee:
0.010076976 ETH $17.97
Gas Used:
179,946 Gas / 56 Gwei

Emitted Events:

24 XENCrypto.RankClaimed( user=[Sender] 0xc37b0adafcd23d2708c3c8b99989078b5a661c1a, term=1, rank=298936 )

Account State Difference:

  Address   Before After State Difference Code
0x06450dEe...5599a6Fb8
0xC37B0adA...B5A661c1a
0.015007435 Eth
Nonce: 3
0.004930459 Eth
Nonce: 4
0.010076976
(bloXroute: Ethical Builder)
1.050733175327777149 Eth1.051554443150574025 Eth0.000821267822796876

Execution Trace

XENCrypto.claimRank( term=1 )
  • Math.min( a=32140800, b=86400000 ) => ( 32140800 )
  • Math.max( a=2999, b=1 ) => ( 2999 )
    File 1 of 2: XENCrypto
    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 "./Math.sol";
    import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
    import "@openzeppelin/contracts/interfaces/IERC165.sol";
    import "abdk-libraries-solidity/ABDKMath64x64.sol";
    import "./interfaces/IStakingToken.sol";
    import "./interfaces/IRankedMintingToken.sol";
    import "./interfaces/IBurnableToken.sol";
    import "./interfaces/IBurnRedeemable.sol";
    contract XENCrypto is Context, IRankedMintingToken, IStakingToken, IBurnableToken, ERC20("XEN Crypto", "XEN") {
    using Math for uint256;
    using ABDKMath64x64 for int128;
    using ABDKMath64x64 for uint256;
    // INTERNAL TYPE TO DESCRIBE A XEN MINT INFO
    struct MintInfo {
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 2: Math
    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 "abdk-libraries-solidity/ABDKMath64x64.sol";
    library Math {
    function min(uint256 a, uint256 b) external pure returns (uint256) {
    if (a > b) return b;
    return a;
    }
    function max(uint256 a, uint256 b) external pure returns (uint256) {
    if (a > b) return a;
    return b;
    }
    function logX64(uint256 x) external pure returns (int128) {
    return ABDKMath64x64.log_2(ABDKMath64x64.fromUInt(x));
    }
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX