GangsOfMetacadia

Verified contract

Active on Base with 649 txns
Deployed by via 0xe4b74fd6 at 22404028
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
0xbc22bb02a50301b04af3601611805ddb736013da2cc1f680a1e5310cc2c38d48
0xfba8e50efeb4bd25767b59b9468bac573c7e7568332c983e50d28015e37a0064
0xa7d508436342a979f5796447d6f0eeaa5721d4bf96e73c5605add8fa12fed9d1
0x43ce02878d8180846ac01cd467555341baabd317cd9e3752c1019868c194cc35
0x8d614485f195e7aa17cb88042aa340de397fed935a5a88234f278f3a343f0e92
0xa70a71f6c4c9b269e4947942e8e035b3d2067eb16bbefaeb34118b1024f87dad
0xc355224254c56a21e000397cafb456d2f7fb0894658757f94ad7f29bcf0cd9c2
0x17ddc130d29f1ae8996cdb960a202079252b2c9b0f72040dc30879b7522688ad
0x8a6330f444d11dbd6439c6e2c9e79d77d5f7d85d13e6f1c70d4e245296c22afd
0xcc878ec1db6413c3750bcfec202e675528635a8a9ade7810953dc7364f7b3bab

Functions
Getter at block 23606606
backendAddress(view returns (address)
0xa41eb191cc3a67936fe63ac4cdf1331acd97da93
currentSeasonId(view returns (uint256)
0
gangLootAddress(view returns (address)
0x6f2f5bd605566dea794d31cded68ef14d118aeaa
insigniaToken(view returns (address)
0xb0639e50560189eea712e3471df625d2fc416e0f
insigniaTokenAddress(view returns (address)
0xb0639e50560189eea712e3471df625d2fc416e0f
owner(view returns (address)
0xb0ea82325014c885d90920414f06f82015a01dd2
Read-only
calculateInfluence(uint256 seasonIduint256 gangIduint256 tokenIdview returns (uint256)
dailyAnswerSubmitted(addressuint256view returns (bool)
gameSeasons(uint256view returns (uint256 seasonIduint256 startDateuint256 startBlockuint256 gangCountint256 warInfluenceImpactModifierint256 influenceModifieruint256 peacePhaseEndDateuint256 afterEliminationPeacePhaseSecondsuint256 afterDeclaredWarPreparationSeconds)
getAllGangsInfluence(uint256 seasonIdview returns (uint256[])
getGang(uint256 seasonIduint256 gangIdview returns (struct GangsOfMetacadiaGang)
getGangInfluence(uint256 seasonIduint256 gangIdview returns (uint256)
getHeistParticipants(uint256 seasonIduint256 gangIduint256 targetGangIdview returns (address[])
getMissionStatus(address userview returns (struct GangsOfMetacadiaMission)
getSeason(uint256 seasonIdview returns (struct GangsOfMetacadiaSeason)
getUserHeistCooldown(address userview returns (uint256)
heistParticipants(uint256uint256uint256uint256view returns (address)
missionRewards(uint256view returns (int256)
seasonDeclaredWars(uint256uint256uint256view returns (bool)
seasonGangDetails(uint256uint256view returns (uint256 lastModifierUpdateBlockint256 lastModifierValueuint256 mintCostuint256 heistCostuint256 heistCooldownuint256 heistParticipantsuint256 dailyRewardaddress mintingTokenbool isEliminateduint256 platformFeePercentageaddress platformFeeRecipientint256 currentInfluenceModifieruint256 currentSecurityuint256 currentWealth)
seasonTargetWars(uint256uint256uint256view returns (bool)
seasonUserAppliedModifier(uint256addressview returns (int256)
seasonUserGangInfluence(uint256addressuint256view returns (int256)
seasonWarDeclarationTimestamps(uint256uint256uint256view returns (uint256)
seasonWarsWonByGang(uint256uint256view returns (uint256)
userActiveHeist(addressview returns (bool)
userHeistCooldown(addressview returns (uint256)
userInfluenceData(addressuint256view returns (uint256 accumulatedInfluenceuint256 lastUpdateBlock)
userMissionData(uint256addressview returns (int256 previousInfluenceModifier)
userMissions(addressview returns (uint256 endTimeuint256 durationbool isActiveuint256 missionTypeuint256 startBlock)
State-modifying
adminEndSeason(uint256 seasonId
applyModifier(uint256 seasonIduint256 targetGangIdbool isPositive
claimMissionRewards(uint256 seasonId
createSeason(uint256 seasonIduint256 startDateuint256 peacePhaseEndDateuint256 gangCountint256 warInfluenceImpactModifierint256 influenceModifieruint256 afterEliminationPeacePhaseSecondsuint256 afterDeclaredWarPreparationSeconds
declareWar(uint256 seasonIduint256 declaringGanguint256 targetGang
distributeHeistLoot(uint256 seasonIduint256 gangIduint256 targetGangIduint256 amount
distributeWealth(uint256 seasonIduint256 gangIduint256 leaderAmount
eliminateGang(uint256 seasonIduint256 losingGanguint256 winningGang
injectWealth(uint256 seasonIduint256 amountuint256 gangId
joinHeist(uint256 seasonIduint256 gangIduint256 targetGangId
leaderStartWar(uint256 seasonIduint256 declaringGanguint256 targetGang
moveModifier(uint256 seasonIduint256 fromGangIduint256 toGangId
optOutHeist(uint256 seasonIduint256 gangIduint256 targetGangId
receiveContribution(uint256 seasonIduint256 gangIduint256 amountaddress originalSenderreturns (uint256)
removeModifier(uint256 seasonId
renounceOwnership(
setGang(uint256 seasonIduint256 gangIduint256 mintCostaddress mintingTokenuint256 platformFeePercentageaddress platformFeeRecipientuint256 heistCostuint256 heistCooldownuint256 dailyRewarduint256 heistParticipantsRequired
setMissionReward(uint256 missionTypeint256 reward
startHeist(uint256 seasonIduint256 gangIduint256 targetGangId
startMission(uint256 seasonIduint256 missionType
startSeason(uint256 seasonId
submitAnswer(uint256 seasonIduint256 dateaddress member
transferOwnership(address newOwner
undeclareWar(uint256 seasonIduint256 declaringGanguint256 targetGang
updateGangSecurity(uint256 seasonIduint256 gangIduint256 tokenInputAmount
withdraw(address _address
Events
DailyAnswer(address memberuint256 date
GangDeclaredWar(uint256 seasonIdaddress leaderuint256 declaringGanguint256 targetGang
GangElimination(uint256 seasonIduint256 gangChoiceuint256 recipientGangChoiceuint256 peacePhaseEndDate
GangSecurityUpdated(uint256 seasonIduint256 gangIduint256 tokenInputAmountuint256 currentWealthuint256 currentSecurity
GangUndeclaredWar(uint256 seasonIdaddress leaderuint256 declaringGanguint256 targetGang
HeistJoined(uint256 seasonIduint256 gangIduint256 targetGangIdaddress participantuint256 heistCostAfterFee
HeistOptedOut(uint256 seasonIduint256 gangIduint256 targetGangIdaddress participant
HeistStarted(uint256 seasonIduint256 gangIduint256 targetGangId
InfluenceAdded(uint256 seasonIduint256 gangIdaddress memberint256 modifierChange
InfluenceRemoved(uint256 seasonIduint256 gangIdaddress memberint256 removedModifier
LeaderStartWar(uint256 seasonIduint256 targetGanguint256 fromGang
MissionCompleted(address useruint256 seasonIduint256 missionTypeint256 influenceBoostuint256 endTime
MissionStarted(address useruint256 seasonIduint256 missionTypeuint256 durationuint256 endTime
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SeasonCreated(uint256 seasonIduint256 startDateuint256 peacePhaseEndDateuint256 gangCountint256 warInfluenceImpactModifierint256 influenceModifieruint256 afterEliminationPeacePhaseSecondsuint256 afterDeclaredWarPreparationSeconds
SeasonEnded(uint256 seasonId
SeasonStarted(uint256 seasonId
SetGang(uint256 seasonIduint256 gangIduint256 mintCostaddress mintingTokenuint256 platformFeeaddress platformFeeRecipientuint256 heistCostuint256 heistCooldownuint256 heistParticipants
UserGangInfluenceReset(uint256 seasonIdaddress useruint256 gangIdint256 removedInfluence
WealthInjected(uint256 seasonIduint256 gangIduint256 amount
Constructor
constructor(address _insigniaAddressaddress _gangLootAddressaddress _backendAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyAtWar(
AlreadyInHeist(
AlreadyOnMission(
CannotEliminateSameGang(
CannotExceedLeaderShare(
DeclaringGangEliminated(
GangEliminated(
HeistFull(
InsufficientBalance(uint256 availableuint256 required
InsufficientContractBalance(
InsufficientTargetGangWealth(
InsufficientWealth(
InvalidGangChoice(
InvalidGangCount(
InvalidModifier(
InvalidSeason(
InvalidTargetGangChoice(
MissionNotComplete(
ModifierAlreadyApplied(
NoModifierApplied(
NoTokensToWithdraw(
NoWealthToHeist(
NotCurrentSeason(
NotEnoughTimePassed(
NotParticipant(
OnCooldown(
OnlyBackend(
OnlyGangInsignia(
OnlyLeaderCanDeclareWar(
OnlyLeaderCanDistributeWealth(
OnlyLeaderCanStartWar(
OnlyLeaderCanUndeclareWar(
OnlyTwoGangsRemain(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
PeacePhaseActive(
ReentrancyGuardReentrantCall(
SeasonAlreadyExists(
SeasonDoesNotExist(
TransferFailed(