ShogunStakingV2

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xf985e69a at 14279103
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
5 additional variables

No balances found for "ShogunStakingV2"

No transactions found for "ShogunStakingV2"


Functions
Getter at block 21206645
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
SHO(view returns (address)
0x0000000000000000000000000000000000000000
SS(view returns (address)
0x0000000000000000000000000000000000000000
baseReward(view returns (uint256)
0
getFamilyCount(view returns (uint256)
0
guildMultiplier(view returns (uint256)
0
guilds(view returns (bytes)
0x
medallionMultiplier(view returns (uint256)
0
shogunBonus(view returns (uint256)
0
trainingEnabled(view returns (bool)
false
unstaker(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
areAvailiable(uint256[] tokenIdsview returns (bool out)
areOwned(uint256[] tokenIdsview returns (bool out)
bonusSHO(addressview returns (uint256)
calculateRewards(uint256 trainIdview returns (uint256 rewardAmount)
calculateRewardsMultiV2(uint256[] tokenIdsview returns (uint256 rewardAmount)
calculateRewardsV2(uint256 tokenIdview returns (uint256 rewardAmount)
countMultipliers(uint256view returns (uint256)
families(uint256view returns (address familyOwneruint256 lastClaimuint256 guildMultiplieruint256 medallionMultiplieruint256 shogunBonusuint8 trainState)
getCountMultiplier(uint256 guildCountbool sameGuildview returns (uint256)
getFamily(uint256 trainIdview returns (struct ShogunStakingV2Family)
getFamilyStatus(uint256 familyIdview returns (uint8)
getGuild(uint256 tokenIdview returns (uint8)
getOwnerOfFamily(uint256 familyIdview returns (address)
getRoleAdmin(bytes32 roleview returns (bytes32)
getShogunsOfFamily(uint256 familyIdview returns (uint256[])
getTotalMedallionMultiplier(address userview returns (uint256)
getUserFamilies(address userview returns (uint256[])
hasRole(bytes32 roleaddress accountview returns (bool)
isLegendarySamurai(uint256view returns (bool)
lastClaim(uint256view returns (uint256)
medallionCount(addressview returns (uint256)
onTraining(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
userFamilies(addressuint256view returns (uint256)
State-modifying
__ShogunStaking_init(address ssuint256 _baseRewardaddress admin
airdrop(address[] touint256[] amount
claimAllRewards(
claimBonusSHO(
claimRewards(uint256 familyId
claimRewardsMultiV2(uint256[] tokenIds
claimRewardsV2(uint256 tokenId
enableTraining(bool training
endMultipleTraining(uint256[] trainIds
endTraining(uint256 trainId
grantRole(bytes32 roleaddress account
onERC721Received(addressaddressuint256bytesreturns (bytes4)
removeUnstaker(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBaseReward(uint256 _amount
setBonusSHO(address[] addressesuint256[] amounts
setCountMultiplier(uint256[] _countMultipliers
setGuildMultiplier(uint256 _guildMultiplier
setLegendaryShoguns(uint256[] shogunIdsbool[] flags
setMedallionCount(address[] usersuint256[] quantities
setMedallionMultiplier(uint256 _medallionMultiplier
setSHOToken(address sho
setShogunBonus(uint256 _shogunBonus
setTimeScale(uint256 _newTimescale
setUnstaker(address _unstaker
startTraining(uint256[] shogunIds
startTrainingMultiple(uint256[][] shogunIdsArray
unlockShogunNFTs(uint256[] shogunIds
updateGuilds(bytes _guilds
Events
BonusClaimed(address indexed useruint256 amountuint256 claimTime
RewardClaimed(address indexed useruint256 amountuint256 claimTime
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TrainingEnded(address indexed useruint256 trainIduint256[] shogunIdsuint256 endTime
TrainingStarted(address indexed useruint256 trainIduint256[] shogunIdsuint256 startTime
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.