ShogunStakingV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
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
Balances ($0.00)
No balances found for "ShogunStakingV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ShogunStakingV2"
ABI
ABI objects
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[] tokenIds) view returns (bool out)
areOwned(uint256[] tokenIds) view returns (bool out)
bonusSHO(address) view returns (uint256)
calculateRewards(uint256 trainId) view returns (uint256 rewardAmount)
calculateRewardsMultiV2(uint256[] tokenIds) view returns (uint256 rewardAmount)
calculateRewardsV2(uint256 tokenId) view returns (uint256 rewardAmount)
countMultipliers(uint256) view returns (uint256)
families(uint256) view returns (address familyOwner, uint256 lastClaim, uint256 guildMultiplier, uint256 medallionMultiplier, uint256 shogunBonus, uint8 trainState)
getCountMultiplier(uint256 guildCount, bool sameGuild) view returns (uint256)
getFamily(uint256 trainId) view returns (struct ShogunStakingV2Family)
getFamilyStatus(uint256 familyId) view returns (uint8)
getGuild(uint256 tokenId) view returns (uint8)
getOwnerOfFamily(uint256 familyId) view returns (address)
getRoleAdmin(bytes32 role) view returns (bytes32)
getShogunsOfFamily(uint256 familyId) view returns (uint256[])
getTotalMedallionMultiplier(address user) view returns (uint256)
getUserFamilies(address user) view returns (uint256[])
hasRole(bytes32 role, address account) view returns (bool)
isLegendarySamurai(uint256) view returns (bool)
lastClaim(uint256) view returns (uint256)
medallionCount(address) view returns (uint256)
onTraining(uint256) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
userFamilies(address, uint256) view returns (uint256)
State-modifying
Events __ShogunStaking_init(address ss, uint256 _baseReward, address admin)
airdrop(address[] to, uint256[] amount)
claimAllRewards()
claimBonusSHO()
claimRewards(uint256 familyId)
claimRewardsMultiV2(uint256[] tokenIds)
claimRewardsV2(uint256 tokenId)
enableTraining(bool training)
endMultipleTraining(uint256[] trainIds)
endTraining(uint256 trainId)
grantRole(bytes32 role, address account)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
removeUnstaker()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setBaseReward(uint256 _amount)
setBonusSHO(address[] addresses, uint256[] amounts)
setCountMultiplier(uint256[] _countMultipliers)
setGuildMultiplier(uint256 _guildMultiplier)
setLegendaryShoguns(uint256[] shogunIds, bool[] flags)
setMedallionCount(address[] users, uint256[] 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)
BonusClaimed(address indexed user, uint256 amount, uint256 claimTime)
RewardClaimed(address indexed user, uint256 amount, uint256 claimTime)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TrainingEnded(address indexed user, uint256 trainId, uint256[] shogunIds, uint256 endTime)
TrainingStarted(address indexed user, uint256 trainId, uint256[] shogunIds, uint256 startTime)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.