AttackFacet

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x2d0f3e78 at 21398060
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "AttackFacet"

No transactions found for "AttackFacet"


Functions
Getter at block 21891079

This contract contains no getter function objects.

Read-only

This contract contains no read-only function objects.

State-modifying
attackCommit(uint256 attackerIduint256 targetIdbytes32 noncebytes32 commitbytes signature
attackReveal(uint256 attackerIdbytes reveal
Events
Attack(uint256 attackeruint256 winneruint256 loseruint256 scoresWonbytes32 nonce
AttackCommit(uint256 attackerIduint256 targetIdbytes32 noncebytes32 commit
KillPetFailed(uint256 attackerIduint256 targetIdaddress receiveruint256 reward
KilledPet(uint256 attackerIduint256 targetIdaddress receiveruint256 reward
KnockPetFailed(uint256 attackerIduint256 targetIdaddress receiveruint256 reward
KnockedOutPet(uint256 attackerIduint256 targetIdaddress receiveruint256 reward
RedeemRewards(uint256 indexed petIduint256 reward
ReferralReward(uint256 indexed petIdaddress indexed refAddressuint256 refAmount
UpdatedPetPoints(uint256 indexed petIdint256 attackPointsint256 defensePoints
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AttackNotSelf(
AttackTooEarly(uint256 petId
CommitRevealMismatch(
InvalidSignature(
NeedToRevealFirst(bytes32 commit
NoPendingRequest(
NonceAlreadyUsed(
PetDead(