TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 57,307 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
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
0xd311…38dc
0x2ed2…44e1
0xcfef…f020
0x5ad8…8c25
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
CFTI | ERC-20 | 3.366294 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19836955 | 6 months ago | | | 0 | 0.0039017820 | |
| 16649137 | 2 years ago | | | 0 | 0.0012890720 | |
| 16413323 | 2 years ago | | | 0 | 0.0048550382 | |
| 16323970 | 2 years ago | | | 0 | 0.0030111307 | |
| 16292789 | 2 years ago | | | 0 | 0.0019511650 | |
| 16192231 | 2 years ago | | | 0 | 0.0028350846 | |
| 16077500 | 2 years ago | | | 0 | 0.054791367 | |
| 16009024 | 2 years ago | | | 0 | 0.050638308 | |
| 15966144 | 2 years ago | | | 0 | 0.040443140 | |
| 15935443 | 2 years ago | | | 0 | 0.0031273841 |
ABI
ABI objects
Getter at block 21158214 getRaidData() view returns (struct IRaidRaidData data)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
bossesCreated() view returns (bool)
true
confetti() view returns (address)
0xcfef8857e9c80e3440a823971420f7fa5f62f020
guild() view returns (address)
0x5ad8df85221758c702dff658ace302e0fef28c25
halted() view returns (bool)
false
lastSnapshotTime() view returns (uint64)
1666859771
party() view returns (address)
0xd311bdacb151b72bddfee9cbdc414af22a5e38dc
seed() view returns (uint256)
69065869737430696532698720594629723739730879696380201441610197320849527966807
seedId() view returns (uint256)
2
seeder() view returns (address)
0x2ed251752da7f24f33cfbd38438748bb8eeb44e1
started() view returns (bool)
true
weightTotal() view returns (uint32)
100000
Read-only
bosses(uint256) view returns (uint32 weight, uint32 blockHealth, uint128 multiplier)
getPendingRewards(address user) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
raiders(address) view returns (uint32 dpb, uint32 startedAt, uint32 startBlock, uint32 startRound, uint32 startSnapshot, uint256 pendingRewards)
rounds(uint32) view returns (uint16 boss, uint32 roll, uint32 startBlock, uint32 finalBlock)
snapshots(uint256) view returns (uint32 initialBlock, uint32 initialRound, uint32 finalBlock, uint32 finalRound, uint256 attackDealt)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
appendBoss(struct IRaidBoss boss)
claimRewards(address user)
commitSnapshot()
createBosses(struct IRaidBoss[] _bosses)
fixInternalState(address user)
grantRole(bytes32 role, address account)
initialize(address admin, address _party, address _seeder, address _confetti)
manualSync()
renounceRole(bytes32 role, address account)
requestSeed()
revokeRole(bytes32 role, address account)
setGuild(address _guild)
setHalted(bool _halted)
setParty(address _party)
setSeeder(address _seeder)
start()
updateBoss(uint32 id, struct IRaidBoss boss)
updateDamage(address user, uint32 _dpb)
updateSeed()
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
HaltUpdated(bool isHalted)
Initialized(uint8 version)
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)
constructor(address initialLogic, address initialAdmin, bytes _data)
fallback()
receive()
InvalidBoss(uint32 bossId, uint32 amount)
InvalidCaller(address caller, address expected)
InvalidState()
InvalidWeightTotal()
MissingBosses()
RaidHalted()
RaidNotSeeded()
RaidNotStarted()
RaidStarted()
SnapshotTooRecent(uint64 currentTime, uint64 earliestTime)