DuelArenaBattle
Verified contract
Active on
Base with 104,944 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "DuelArenaBattle"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 10692651 | 9 months ago | | | 0 | 0.000000000159274746 | |
| 9066164 | 10 months ago | | | 0 | 0.000000005893311552 | |
| 8667438 | a year ago | | | 0 | 0.000000000367324950 | |
| 8667418 | a year ago | | | 0.015 | 1.2535518e-7 | |
| 8667387 | a year ago | | | 0.25 | 2.7370975e-7 | |
| 8667386 | a year ago | | | 0 | 0.000000081481377488 | |
| 8667385 | a year ago | | | 0 | 0.000000000261862776 | |
| 8667380 | a year ago | | | 0.25 | 2.2308582e-7 | |
| 8667368 | a year ago | | | 0 | 0.000000000908998248 | |
| 8667359 | a year ago | | | 0.018 | 0.000000001184898572 |
ABI
ABI objects
Getter at block 22744499
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=CambriaDuelArena, version=1, chainId=8453, verifyingContract=0xc36c85ef01e85d2ae9096e8d3416b3007edc3495, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
escrowAddr() view returns (address)
0xe8655268eb9595052aaf49379a8e2378390619da
ethFeeNumer() view returns (uint256)
300
judge() view returns (address)
0xd7bbe7b3fbf88201515b7ecd0d429a7e3df6a25e
nextBattleId() view returns (uint256)
35237
owner() view returns (address)
0x949fc9319ff6de3a7de535dbf6922ad700674ac2
withdrawFee() view returns (uint256)
0
withdrawJudge() view returns (address)
0x326637a2f52cd75b9d9c65af1a042c47ce377919
Read-only
battles(uint256) view returns (bool claimed, bool matched, bool nullified, uint256 value, struct IBatchBattleBattleParticipant one, struct IBatchBattleBattleParticipant two)
calcEthFee(uint256 battleId) view returns (uint256)
getBattle(uint256 battleId) view returns (struct IBatchBattleBattle)
getClaimTypedDataHash(struct IBatchBattleClaim claim) view returns (bytes32)
State-modifying
Events changeEthFeeNumer(uint256 feeNumer)
changeFee(uint256 fee)
changeJudge(address newJudge)
changeWithdrawJudge(address newWithdrawJudge)
claimProceeds(uint256 battleId, bytes signature) payable
emergencyRefund(uint256 battleId)
emergencyWithdraw(address payee)
emergencyWithdrawERC20(address payee, address token)
emergencyWithdrawERC721(address payee, address nft, uint256 tokenId)
initBattle(address challenging, struct IBatchEscrowBatchStake[] stakes) payable returns (uint256)
joinBattle(uint256 battleId, struct IBatchEscrowBatchStake[] stakes) payable
nullifyBattle(uint256 battleId) payable
onERC721Received(address, address, uint256, bytes) returns (bytes4)
renounceOwnership()
transferOwnership(address newOwner)
withdrawStake(uint256 battleId, bytes signature)
BattleCanceled(uint256 indexed battleId, address indexed caller)
BattleInitialized(uint256 indexed battleId, address indexed playerOne, address indexed playerTwo, uint256[] assetEnum, address[] contractAddr, uint256[] amtOrTokenId)
BattleJoined(uint256 indexed battleId, address indexed playerOne, address indexed playerTwo, uint256[] assetEnum, address[] contractAddr, uint256[] amtOrTokenId)
BattleNullified(uint256 indexed battleId, address indexed caller, address indexed counterparty)
BattleWon(uint256 indexed battleId, address indexed winner)
EIP712DomainChanged()
EthFeeNumerChanged(uint256 indexed ethFeeNumer)
FeeChanged(uint256 indexed feeChanged)
JudgeChanged(address indexed newJudge)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
WithdrawJudgeChanged(address indexed newWithdrawJudge)
constructor(address _owner, address _judge, address _withdrawJudge)
This contract contains no fallback and receive objects.
BattleAlreadyClaimed()
BattleAlreadyMatched()
BattleAlreadyNullified()
BattleNotMatched()
BattleSelfForbidden()
ClaimFromNonParticipant()
EthFeeNumerTooHigh()
EthStakeMustMatchMsgValue()
EthStakeNotUnique()
ExceedsMaximumUniqueStakes()
ExistingStakes()
FeeTooLow()
ForgedSignature()
ForgedWithdrawSignature()
InvalidShortString()
MustHaveStake()
NotAllowedParticipant()
OnlyInitiatorCanNullify()
StringTooLong(string str)
TransferFailed()
UniqueJudge()
UserAlreadyWithdrawn()
WithdrawFromNonParticipant()
ZeroAddressNotAllowed()