Transaction Hash:
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 | ||
---|---|---|---|---|---|
0x06450dEe...5599a6Fb8 | |||||
0xC37B0adA...B5A661c1a |
0.015007435 Eth
Nonce: 3
|
0.004930459 Eth
Nonce: 4
| 0.010076976 | ||
0xf573d993...6a43a0919
Miner
| (bloXroute: Ethical Builder) | 1.050733175327777149 Eth | 1.051554443150574025 Eth | 0.000821267822796876 |
Execution Trace
claimRank[XENCrypto (ln:226)]
_calculateMaxTerm[XENCrypto (ln:229)]
toUInt[XENCrypto (ln:76)]
mul[XENCrypto (ln:76)]
log_2[XENCrypto (ln:76)]
fromUInt[XENCrypto (ln:76)]
fromUInt[XENCrypto (ln:76)]
min[XENCrypto (ln:78)]
_msgSender[XENCrypto (ln:230)]
MintInfo[XENCrypto (ln:232)]
_msgSender[XENCrypto (ln:233)]
_calculateRewardAmplifier[XENCrypto (ln:237)]
_calculateEAARate[XENCrypto (ln:238)]
_msgSender[XENCrypto (ln:240)]
RankClaimed[XENCrypto (ln:242)]
_msgSender[XENCrypto (ln:242)]
File 1 of 2: XENCrypto
File 2 of 2: Math
12345678910111213141516// SPDX-License-Identifier: MITpragma 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 INFOstruct MintInfo {
File 2 of 2: Math
12345678910111213141516// SPDX-License-Identifier: MITpragma 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));}}