SimulationParticipationUpgradeable
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
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 49 additional slots
-
variable spans 49 additional slots
3 additional
variables
Balances ($0.00)
No balances found for "SimulationParticipationUpgradeable"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SimulationParticipationUpgradeable"
ABI
ABI objects
Getter at block 22756647
ADMIN_ROLE() view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
BACKEND_ADMIN_ROLE() view returns (bytes32)
0x725cc3989e149a767397970d298615c4843c213a88534e17f727f3ad663e6a6f
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE() view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
assetManagerContract() view returns (address)
0x0000000000000000000000000000000000000000
backendSigner() view returns (address)
0x0000000000000000000000000000000000000000
cooldownPeriodPerUnitHealth() view returns (uint256)
0
erc20() view returns (address)
0x0000000000000000000000000000000000000000
lobbyLockdownPeriod() view returns (uint256)
0
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
simulationContract() view returns (address)
0x0000000000000000000000000000000000000000
treasuryAddress() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
botCharacter(uint256) view returns (uint256)
characterList(uint256 simulationId) view returns (uint256[])
characterOwner(uint256, uint256) view returns (address)
characterStatusDetail(uint256) view returns (uint256 simulationId, uint256 cooldownPeriod, uint256 hospitalizedAt, uint256 totalHealth)
characters(uint256, uint256) view returns (uint256)
getCharactersCooldowns(uint256[] characterIds) view returns (struct dbsCooldownStatus[])
getCharactersOwner(uint256 simulationId, uint256 charId) view returns (address)
getCoolDownFee(uint256 characterId, uint256 timestamp, address tokenAddress) view returns (uint256)
getParticipantsCharacter(uint256 simulationId, address owner) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
hashMessage(uint256 simulationId, uint256 characterId, address user) pure returns (bytes32)
isSupportedToken(address _address) view returns (bool)
lockedCharacters(uint256) view returns (bool)
maxOf(uint8) view returns (uint256)
participantCharacter(uint256, address) view returns (uint256)
recoverSigner(uint256 simulationId, uint256 charId, address from, bytes32 r, bytes32 s, uint8 v) pure returns (address)
simulationPot(uint256) view returns (uint256)
supportedTokens(uint256) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
teamAParticipantList(uint256 simulationId) view returns (uint256[])
teamAParticipants(uint256, uint256) view returns (uint256)
teamBParticipantList(uint256 simulationId) view returns (uint256[])
teamBParticipants(uint256, uint256) view returns (uint256)
tokenPerPercentage(address) view returns (uint256)
validateArrayLength(uint256[] len1, uint256[] len2, uint8 _type) pure
State-modifying
Events addSupportedTokens(address _address)
formTeam(uint256 simulationId, uint256[] teamA, uint256[] teamB, uint256 botId)
getOutOfHospitalViaERC20(uint256 characterId, uint256 timestamp, address tokenAddress)
getOutOfHospitalViaEth(uint256 characterId, uint256 timestamp) payable
grantRole(bytes32 role, address account)
initialize(address owner, address _treasuryAddress)
participateFree(struct dbsParticipatePayload payload, bytes32 _r, bytes32 _s, uint8 _v, uint256 simulationId, uint256 characterId)
participateViaERC20(struct dbsParticipatePayload _payload, bytes32 _r, bytes32 _s, uint8 _v, uint256 simulationId, uint256 characterId)
participateViaEth(struct dbsParticipatePayload _payload, bytes32 _r, bytes32 _s, uint8 _v, uint256 simulationId, uint256 characterId) payable
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setAssetContract(address _address)
setBackendSigner(address signer)
setCooldownPeriodPerUintHealth(uint256 cooldownPeriod)
setLobbyLockdownPeriod(uint256 period)
setSimulationContract(address _address)
setTokenPerPercentage(address token, uint256 amount)
setTreasuryAddress(address _treasuryAddress)
unlockCharacters(uint256 simulationId)
updateCooldownAndUnlock(uint256 simulationId, struct dbsCooldownPayload[] _data)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
CooldownsUpdated(uint256 indexed simulationId, uint256 characterId, uint256 cooldownPeriod)
Initialized(uint8 version)
JoinedSimulation(uint256 indexed simulationId, uint256 indexed characterId, address participantAddress, uint256 joinedAt)
LobbyFull(uint256 indexed simulationId, uint256 indexed startTime)
OutOfHospital(uint256 characterId, address owner, address tokenAddress, uint256 fee, uint256 timestamp)
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)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AmountMismatch()
CharacterIsInCooldown()
CharacterIsLocked()
DuplicateParticipation()
ErrorOnTransferringFee()
GameStateError(uint8 arg0)
InvalidAddress()
InvalidMatch()
InvalidMessage()
InvalidPaylod()
InvalidTimeStamp()
LobbyAlreadyFull()
NotASupportedToken()
PaymentValueMismatch()
SizeMismatch(uint8 arg0)
TeamAlreadyFormed()
notInCooldown()