GangsOfMetacadia
Verified contract
Active on
Base with 649 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
MCADE | ERC-20 | 0 | $0.031647 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 23437064 | 4 days ago | | | 0 | 0.000030545842 | |
| 23437012 | 4 days ago | | | 0 | 0.000028881570 | |
| 23424672 | 4 days ago | | | 0 | 0.0000081353596 | |
| 23424669 | 4 days ago | | | 0 | 0.0000081334788 | |
| 23424666 | 4 days ago | | | 0 | 0.0000081381703 | |
| 23424662 | 4 days ago | | | 0 | 0.0000081401621 | |
| 23424658 | 4 days ago | | | 0 | 0.0000081401216 | |
| 23424655 | 4 days ago | | | 0 | 0.0000081520753 | |
| 23424651 | 4 days ago | | | 0 | 0.0000081481427 | |
| 23424648 | 4 days ago | | | 0 | 0.0000081581016 |
ABI
ABI objects
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 seasonId, uint256 gangId, uint256 tokenId) view returns (uint256)
dailyAnswerSubmitted(address, uint256) view returns (bool)
gameSeasons(uint256) view returns (uint256 seasonId, uint256 startDate, uint256 startBlock, uint256 gangCount, int256 warInfluenceImpactModifier, int256 influenceModifier, uint256 peacePhaseEndDate, uint256 afterEliminationPeacePhaseSeconds, uint256 afterDeclaredWarPreparationSeconds)
getAllGangsInfluence(uint256 seasonId) view returns (uint256[])
getGang(uint256 seasonId, uint256 gangId) view returns (struct GangsOfMetacadiaGang)
getGangInfluence(uint256 seasonId, uint256 gangId) view returns (uint256)
getHeistParticipants(uint256 seasonId, uint256 gangId, uint256 targetGangId) view returns (address[])
getMissionStatus(address user) view returns (struct GangsOfMetacadiaMission)
getSeason(uint256 seasonId) view returns (struct GangsOfMetacadiaSeason)
getUserHeistCooldown(address user) view returns (uint256)
heistParticipants(uint256, uint256, uint256, uint256) view returns (address)
missionRewards(uint256) view returns (int256)
seasonDeclaredWars(uint256, uint256, uint256) view returns (bool)
seasonGangDetails(uint256, uint256) view returns (uint256 lastModifierUpdateBlock, int256 lastModifierValue, uint256 mintCost, uint256 heistCost, uint256 heistCooldown, uint256 heistParticipants, uint256 dailyReward, address mintingToken, bool isEliminated, uint256 platformFeePercentage, address platformFeeRecipient, int256 currentInfluenceModifier, uint256 currentSecurity, uint256 currentWealth)
seasonTargetWars(uint256, uint256, uint256) view returns (bool)
seasonUserAppliedModifier(uint256, address) view returns (int256)
seasonUserGangInfluence(uint256, address, uint256) view returns (int256)
seasonWarDeclarationTimestamps(uint256, uint256, uint256) view returns (uint256)
seasonWarsWonByGang(uint256, uint256) view returns (uint256)
userActiveHeist(address) view returns (bool)
userHeistCooldown(address) view returns (uint256)
userInfluenceData(address, uint256) view returns (uint256 accumulatedInfluence, uint256 lastUpdateBlock)
userMissionData(uint256, address) view returns (int256 previousInfluenceModifier)
userMissions(address) view returns (uint256 endTime, uint256 duration, bool isActive, uint256 missionType, uint256 startBlock)
State-modifying
Events adminEndSeason(uint256 seasonId)
applyModifier(uint256 seasonId, uint256 targetGangId, bool isPositive)
claimMissionRewards(uint256 seasonId)
createSeason(uint256 seasonId, uint256 startDate, uint256 peacePhaseEndDate, uint256 gangCount, int256 warInfluenceImpactModifier, int256 influenceModifier, uint256 afterEliminationPeacePhaseSeconds, uint256 afterDeclaredWarPreparationSeconds)
declareWar(uint256 seasonId, uint256 declaringGang, uint256 targetGang)
distributeHeistLoot(uint256 seasonId, uint256 gangId, uint256 targetGangId, uint256 amount)
distributeWealth(uint256 seasonId, uint256 gangId, uint256 leaderAmount)
eliminateGang(uint256 seasonId, uint256 losingGang, uint256 winningGang)
injectWealth(uint256 seasonId, uint256 amount, uint256 gangId)
joinHeist(uint256 seasonId, uint256 gangId, uint256 targetGangId)
leaderStartWar(uint256 seasonId, uint256 declaringGang, uint256 targetGang)
moveModifier(uint256 seasonId, uint256 fromGangId, uint256 toGangId)
optOutHeist(uint256 seasonId, uint256 gangId, uint256 targetGangId)
receiveContribution(uint256 seasonId, uint256 gangId, uint256 amount, address originalSender) returns (uint256)
removeModifier(uint256 seasonId)
renounceOwnership()
setGang(uint256 seasonId, uint256 gangId, uint256 mintCost, address mintingToken, uint256 platformFeePercentage, address platformFeeRecipient, uint256 heistCost, uint256 heistCooldown, uint256 dailyReward, uint256 heistParticipantsRequired)
setMissionReward(uint256 missionType, int256 reward)
startHeist(uint256 seasonId, uint256 gangId, uint256 targetGangId)
startMission(uint256 seasonId, uint256 missionType)
startSeason(uint256 seasonId)
submitAnswer(uint256 seasonId, uint256 date, address member)
transferOwnership(address newOwner)
undeclareWar(uint256 seasonId, uint256 declaringGang, uint256 targetGang)
updateGangSecurity(uint256 seasonId, uint256 gangId, uint256 tokenInputAmount)
withdraw(address _address)
DailyAnswer(address member, uint256 date)
GangDeclaredWar(uint256 seasonId, address leader, uint256 declaringGang, uint256 targetGang)
GangElimination(uint256 seasonId, uint256 gangChoice, uint256 recipientGangChoice, uint256 peacePhaseEndDate)
GangSecurityUpdated(uint256 seasonId, uint256 gangId, uint256 tokenInputAmount, uint256 currentWealth, uint256 currentSecurity)
GangUndeclaredWar(uint256 seasonId, address leader, uint256 declaringGang, uint256 targetGang)
HeistJoined(uint256 seasonId, uint256 gangId, uint256 targetGangId, address participant, uint256 heistCostAfterFee)
HeistOptedOut(uint256 seasonId, uint256 gangId, uint256 targetGangId, address participant)
HeistStarted(uint256 seasonId, uint256 gangId, uint256 targetGangId)
InfluenceAdded(uint256 seasonId, uint256 gangId, address member, int256 modifierChange)
InfluenceRemoved(uint256 seasonId, uint256 gangId, address member, int256 removedModifier)
LeaderStartWar(uint256 seasonId, uint256 targetGang, uint256 fromGang)
MissionCompleted(address user, uint256 seasonId, uint256 missionType, int256 influenceBoost, uint256 endTime)
MissionStarted(address user, uint256 seasonId, uint256 missionType, uint256 duration, uint256 endTime)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SeasonCreated(uint256 seasonId, uint256 startDate, uint256 peacePhaseEndDate, uint256 gangCount, int256 warInfluenceImpactModifier, int256 influenceModifier, uint256 afterEliminationPeacePhaseSeconds, uint256 afterDeclaredWarPreparationSeconds)
SeasonEnded(uint256 seasonId)
SeasonStarted(uint256 seasonId)
SetGang(uint256 seasonId, uint256 gangId, uint256 mintCost, address mintingToken, uint256 platformFee, address platformFeeRecipient, uint256 heistCost, uint256 heistCooldown, uint256 heistParticipants)
UserGangInfluenceReset(uint256 seasonId, address user, uint256 gangId, int256 removedInfluence)
WealthInjected(uint256 seasonId, uint256 gangId, uint256 amount)
constructor(address _insigniaAddress, address _gangLootAddress, address _backendAddress)
This contract contains no fallback and receive objects.
AlreadyAtWar()
AlreadyInHeist()
AlreadyOnMission()
CannotEliminateSameGang()
CannotExceedLeaderShare()
DeclaringGangEliminated()
GangEliminated()
HeistFull()
InsufficientBalance(uint256 available, uint256 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()