GDXen

Verified contract

Active on Base with 189 txns
Deployed by via 0x854e0aef at 6242812
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
9 additional variables
Native
Value $393.18
ERC-20
--
0x71fb8bdc068cb7d986911c404f54ca82bc53f0db34c87b60fc1a818ffcf33c4e
0x7f1597c71f95758c6224851647f5d66e3edb9290430c429eb7a45e08f71bb4ac
0x391ebb9edc039b6c153d23d14cf73f5bc09fcd3f113db56bf1e94b3848786c4f
0x270d5ed46f2fd07a9c226c1c62adf7670a926a7dce2a8ead36901901b3788913
0x97f8ef0bdd11a3a1d56967d818401cf350abd8e04392de4800585d5b91eeee34
0x84550d2b72b905903fecedd1b851a26b072b94ed40981bf0bf0fac6b5c3f1166
0x75a8eee9f34553d8fafd3e91cc1b2384c1b4e85d521c01ba3bc19306ddf9f4a8
0x697b240a71cc2b0c3a9cb6debd03c059ef0c81fca2879f4d02ee11a3ef4fe76f
0x363c23fe4b4a0fba59bbc4ffacfa171232d43249eaca11338c4df095092090c0
0x25dc5e0d238e92c3d887276976f8d26c5ec614cd078f2f55e959fcf7f039ff96

Functions
Getter at block 21891048
HEALTH_A(view returns (uint256)
1
HEALTH_E(view returns (uint256)
102
HEALTH_INIT(view returns (uint256)
100
HEALTH_K(view returns (uint256)
2
MAX_BPS(view returns (uint256)
100000
PROTOCOL_FEE_AMPLIFIER(view returns (uint256)
1
PROTOCOL_FEE_BASE(view returns (uint256)
9000000000000
SCALING_FACTOR(view returns (uint256)
10000000000000000000000000000000000000000
SCALING_FACTOR_5(view returns (uint256)
100000
XEN_BATCH_AMOUNT(view returns (uint256)
2000000000000000000000000
currentCycle(view returns (uint256)
212
currentCycleReward(view returns (uint256)
17392020848521646646619
currentStartedCycle(view returns (uint256)
212
gdxen(view returns (address)
0x78be30f2a60d63244425aa2466b90ca677d5aa77
getCurrentCycle(view returns (uint256)
362
i_initialTimestamp(view returns (uint256)
1699274971
i_periodDuration(view returns (uint256)
86400
lastCycleReward(view returns (uint256)
17461588931915733233206
lastStartedCycle(view returns (uint256)
136
pendingFees(view returns (uint256)
0
pendingStake(view returns (uint256)
0
pendingStakeWithdrawal(view returns (uint256)
0
previousStartedCycle(view returns (uint256)
47
teamAddress(view returns (address)
0xb89fa00cbbd30adc9c19499debe4a95e19c80044
totalNumberOfBatchesBurned(view returns (uint256)
304722
xec(view returns (address)
0x2ef22ac147d9f474048f503266492ffe5fc65632
xecToken(view returns (address)
0xf9a73755e053ebb53f59ee91881eb1e4e3cb8860
xen(view returns (address)
0xffcbf84650ce02dafe96926b37a0ac5e34932fa5
Read-only
accAccruedFees(addressview returns (uint256)
accBurnedBatches(addressuint256view returns (uint256)
accCycleBatchesBurned(addressview returns (uint256)
accFirstStake(addressview returns (uint256)
accRewards(addressview returns (uint256)
accSecondStake(addressview returns (uint256)
accStakeCycle(addressuint256view returns (uint256)
accWithdrawableStake(addressview returns (uint256)
calculateBurnXec(uint256 _recoverHealthview returns (uint256)
cycleAccruedFees(uint256view returns (uint256)
cycleFeesPerStakeSummed(uint256view returns (uint256)
cycleTotalBatchesBurned(uint256view returns (uint256)
firstBurnCycle(addressview returns (uint256)
getHealth(address accountview returns (uint256)
isOldUser(addressview returns (bool)
lastActiveCycle(addressview returns (uint256)
lastFeeUpdateCycle(addressview returns (uint256)
rewardPerCycle(uint256view returns (uint256)
summedCycleStakes(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdpure returns (bool)
State-modifying
burnBatch(address referrerAddressuint256 batchNumberpayable 
claimFees(
claimRewards(
onTokenBurned(address useruint256 amount
recoverHealth(
stake(uint256 amount
unstake(uint256 amount
Events
Burn(address indexed userAddressuint256 batchNumber
FeesClaimed(uint256 indexed cycleaddress indexed accountuint256 fees
InviteNewUser(address indexed userAddressaddress indexed referrerAddress
NewCycleStarted(uint256 indexed cycleuint256 calculatedCycleRewarduint256 summedCycleStakes
RecoverHealth(address indexed userAddressuint256 health
Redeemed(address indexed useraddress indexed xenContractaddress indexed tokenContractuint256 xenAmountuint256 tokenAmount
RewardsClaimed(uint256 indexed cycleaddress indexed accountuint256 reward
Staked(uint256 indexed cycleaddress indexed accountuint256 amount
Unstaked(uint256 indexed cycleaddress indexed accountuint256 amount
Constructor
constructor(address xenAddressaddress xecTokenAddressaddress xecAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.