SimulationParticipationUpgradeable

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x061c5855 at 7132260
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 49 additional slots
-
variable spans 49 additional slots
3 additional variables

No balances found for "SimulationParticipationUpgradeable"

No transactions found for "SimulationParticipationUpgradeable"


Functions
Getter at block 23070237
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(uint256view returns (uint256)
characterList(uint256 simulationIdview returns (uint256[])
characterOwner(uint256uint256view returns (address)
characterStatusDetail(uint256view returns (uint256 simulationIduint256 cooldownPerioduint256 hospitalizedAtuint256 totalHealth)
characters(uint256uint256view returns (uint256)
getCharactersCooldowns(uint256[] characterIdsview returns (struct dbsCooldownStatus[])
getCharactersOwner(uint256 simulationIduint256 charIdview returns (address)
getCoolDownFee(uint256 characterIduint256 timestampaddress tokenAddressview returns (uint256)
getParticipantsCharacter(uint256 simulationIdaddress ownerview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
hashMessage(uint256 simulationIduint256 characterIdaddress userpure returns (bytes32)
isSupportedToken(address _addressview returns (bool)
lockedCharacters(uint256view returns (bool)
maxOf(uint8view returns (uint256)
participantCharacter(uint256addressview returns (uint256)
recoverSigner(uint256 simulationIduint256 charIdaddress frombytes32 rbytes32 suint8 vpure returns (address)
simulationPot(uint256view returns (uint256)
supportedTokens(uint256view returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
teamAParticipantList(uint256 simulationIdview returns (uint256[])
teamAParticipants(uint256uint256view returns (uint256)
teamBParticipantList(uint256 simulationIdview returns (uint256[])
teamBParticipants(uint256uint256view returns (uint256)
tokenPerPercentage(addressview returns (uint256)
validateArrayLength(uint256[] len1uint256[] len2uint8 _typepure 
State-modifying
addSupportedTokens(address _address
formTeam(uint256 simulationIduint256[] teamAuint256[] teamBuint256 botId
getOutOfHospitalViaERC20(uint256 characterIduint256 timestampaddress tokenAddress
getOutOfHospitalViaEth(uint256 characterIduint256 timestamppayable 
grantRole(bytes32 roleaddress account
initialize(address owneraddress _treasuryAddress
participateFree(struct dbsParticipatePayload payloadbytes32 _rbytes32 _suint8 _vuint256 simulationIduint256 characterId
participateViaERC20(struct dbsParticipatePayload _payloadbytes32 _rbytes32 _suint8 _vuint256 simulationIduint256 characterId
participateViaEth(struct dbsParticipatePayload _payloadbytes32 _rbytes32 _suint8 _vuint256 simulationIduint256 characterIdpayable 
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setAssetContract(address _address
setBackendSigner(address signer
setCooldownPeriodPerUintHealth(uint256 cooldownPeriod
setLobbyLockdownPeriod(uint256 period
setSimulationContract(address _address
setTokenPerPercentage(address tokenuint256 amount
setTreasuryAddress(address _treasuryAddress
unlockCharacters(uint256 simulationId
updateCooldownAndUnlock(uint256 simulationIdstruct dbsCooldownPayload[] _data
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
CooldownsUpdated(uint256 indexed simulationIduint256 characterIduint256 cooldownPeriod
Initialized(uint8 version
JoinedSimulation(uint256 indexed simulationIduint256 indexed characterIdaddress participantAddressuint256 joinedAt
LobbyFull(uint256 indexed simulationIduint256 indexed startTime
OutOfHospital(uint256 characterIdaddress owneraddress tokenAddressuint256 feeuint256 timestamp
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Upgraded(address indexed implementation
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AmountMismatch(
CharacterIsInCooldown(
CharacterIsLocked(
DuplicateParticipation(
ErrorOnTransferringFee(
GameStateError(uint8 arg0
InvalidAddress(
InvalidMatch(
InvalidMessage(
InvalidPaylod(
InvalidTimeStamp(
LobbyAlreadyFull(
NotASupportedToken(
PaymentValueMismatch(
SizeMismatch(uint8 arg0
TeamAlreadyFormed(
notInCooldown(