StakingV1

Verified contract

Active on Base with 8,608 txns
Deployed by via 0xbe837389 at 11919217
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
 (#661)
ERC-721
--
 (#658)
ERC-721
--
 (#657)
ERC-721
--
 (#656)
ERC-721
--
 (#655)
ERC-721
--
 (#654)
ERC-721
--
 (#653)
ERC-721
--
 (#652)
ERC-721
--
 (#651)
ERC-721
--
 (#650)
ERC-721
--
0xfd54081c2c6d0b7513c32320348807f9226ab09ec8f4eecc3f6be347687c9c9f
0x663e3e210059bbbc951f4e77f8ad6fbb7c4db43fc1c25e9fc49b3e37286e1d3d
0x6dd3587ae6ff0d1644b6fd6f2ff3086442103fa314fe95efbb0f43772e3d4018
0x024d10b3a43d509342aec3bc6ba3e142e438397b5b9e13322c57501c287fa74a
0x7c78e57978ae7e130af8ad696c2340db6960d70e2c18aac36fc3394393ed3111
0x1236916c07fa526f2d790728de48a36509afc8b97c3a6a0215a0f1f3578ab1e7
0x452c8dd00ad6d6da95bbc2597e01adc3205b07e7856e37b033151d29ef11f591
0x500d45e0b7eca327ddfb6d3916fea850ae2f2fa99463fecff9714a74a5f36d2f
0xd45fc2fbc2875de9490d433d9025dd2fc1fb72286fd694fbae741b54eb6bf12f
0x43f3a177c54bcf4b2e1fce75bd95b718832b50748e260dd14f61b898874d386a

Functions
Getter at block 22733923
fuelRate(view returns (uint256)
10000
gasStation(view returns (address)
0x919f6b33cd716316f3ff3519aacd5b835e4eda20
getNextReward(view returns (uint256)
1644000000000000000
getTotalStakedSpacecraft(view returns (uint256)
334
missionRewardAPR(view returns (uint256 apr)
17333328571427203200000
owner(view returns (address)
0x2e6243a4cdb82b77dc4530a9942ba5eed7431822
params(view returns (uint256 rewardPerSpacecraftuint256 duration)
(rewardPerSpacecraft=3324200000000000000, duration=604800)
penaltyRate(view returns (uint256)
12000
planet(view returns (string)
Nexara
spacecraft(view returns (address)
0x6bd8dcecebc34030316a77e5440565ee8f7ae786
stakeEnabled(view returns (bool)
true
totalBurned(view returns (uint256)
17950680000000000000
totalClaimed(view returns (uint256)
12787926320000000000000
totalMissions(view returns (uint256)
4265
unstakeEnabled(view returns (bool)
true
vex(view returns (address)
0x8129b94753f22ec4e62e2c4d099ffe6773969ebc
vortex(view returns (address)
0x8a48b5667c8e1f0dcd9be1783a522bb95a59fd55
Read-only
_abortMissionFees(uint256 _rewarduint256 _timeLeftuint256 _missionDurationview returns (uint256)
_calculateMissionReward(uint256 _rewarduint256 _estimatedEndAtview returns (uint256 _stakerRewarduint256 _fuelFeesuint256 _burned)
getSpacecraftsMissions(address stakerview returns (struct StakingV1SpacecraftMission[])
stakedSpacecrafts(uint256view returns (address owneruint256 rewarduint256 startedAtuint256 estimatedEndAt)
stakerSpacecrafts(addressuint256view returns (uint256)
State-modifying
emergencyWithdrawSpaceCraft(address touint256 spacecraftIdreturns (bool)
enableStaking(bool isEnabled
enableUnstaking(bool isEnabled
onERC721Received(addressaddressuint256bytesreturns (bytes4)
renounceOwnership(
setFuelRate(uint256 rate
setGasStation(address _gasStationAddress
setMissionParams(uint256 _rewardPerSpacecraftuint256 _durationInSeconds
setPenaltyRate(uint256 rate
setSpacecraftContract(address _contract
setVexContract(address _contractAddress
setVortex(address _blackHole
stake(uint256 spacecraftId
transferOwnership(address newOwner
unstake(uint256 spacecraftId
withdrawERC20(address token
withdrawETH(
withdrawVEX(
Events
EndMission(address stakeruint256 spacecraftIduint256 rewarduint256 endAt
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
StartMission(address stakeruint256 spacecraftIduint256 rewarded
Constructor
constructor(address _initialOwneraddress _tokenAddressaddress _spacecraftTokenAddressaddress _gasStationAddressstring _planetName
Fallback and receive
receive(
Errors
FailedSpacecraftTransfer(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(