BatPay

Verified contract

Proxy

Active on Ethereum with 1,670 txns
Deployed by via 0x7f300b01 at 8395893
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
ERC-20
--
0x441ec2b65438782fd89119098332bd8c4da0d4643c87b0705d085ecd8d8eeaa2
0x0c69dcf4dab2b6ab205d49ee6e1ddf9d6bfc40152a757119e91594e19c273d0f
0xaaf8a204498f9a07ffa75f80119161e474734e9e5895f2f69c85fd686f7d646d
0xa97bdbb9f3c44ecc553d0c06fb544f03a3d104b8b1a9816938ad3f605f944ba8
0xdf762b0b79b537130507c521c6b23c56f7df0496c8bb0ba39a558f724fc9aade
0x94e124fbccf3b796436441dfb988525d4d3fa5c62526db3a7f30d3738f862409
0x285a7524dd7868dc17a377501df4939276f8302404b24f8898a5398667f65c7c
0x1dac5e3138fc57d88010d5d0ff942c28b3b4361783e5dba56c30d8b294ef07e6
0x321f6af29bd67f579e68cc1d3f6eea8fb292026a1d3b924b332c97fdcbda034c
0x743ef8a7fc12fc9a15c128b4f28320272179d14982a843ebe6720756a1c0ede7

Functions
Getter at block 21020236
INSTANT_SLOT(view returns (uint256)
32768
MAX_ACCOUNT_ID(view returns (uint256)
4294967295
NEW_ACCOUNT_FLAG(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
getAccountsLength(view returns (uint256)
4430
getBulkLength(view returns (uint256)
187
getPaymentsLength(view returns (uint256)
724
owner(view returns (address)
0x1bbda03ff0d7dea036df31bdda8e4d6b0f0d5b83
params(view returns (uint32 maxBulkuint32 maxTransferuint32 challengeBlocksuint32 challengeStepBlocksuint64 collectStakeuint64 challengeStakeuint32 unlockBlocksuint32 massExitIdBlocksuint32 massExitIdStepBlocksuint32 massExitBalanceBlocksuint32 massExitBalanceStepBlocksuint64 massExitStakeuint64 massExitChallengeStakeuint64 maxCollectAmount)
(maxBulk=50001, maxTransfer=50001, challengeBlocks=816, challengeStepBlocks=136, collectStake=13000000000000, challengeStake=10700000000000, unlockBlocks=272, massExitIdBlocks=0, massExitIdStepBlocks=0, massExitBalanceBlocks=0, massExitBalanceStepBlocks=0, massExitStake=0, massExitChallengeStake=0, maxCollectAmount=50000000000000)
token(view returns (address)
0x3f17dd476faf0a4855572f0b6ed5115d9bba22ad
Read-only
accounts(uint256view returns (address owneruint64 balanceuint32 lastCollectedPaymentId)
balanceOf(uint256 accountIdview returns (uint64)
bulkRegistrations(uint256view returns (bytes32 rootHashuint32 recordCountuint32 smallestRecordId)
collects(uint32uint32view returns (uint32 minPayIndexuint32 maxPayIndexuint64 amountuint64 delegateAmountuint32 touint64 blockuint32 delegateuint32 challengeruint32 indexuint64 challengeAmountuint8 statusaddress addrbytes32 data)
isAccountOwner(uint256 accountIdview returns (bool)
isValidId(uint256 accountIdview returns (bool)
payments(uint256view returns (uint32 fromAccountIduint64 amountuint64 feeuint32 smallestAccountIduint32 greatestAccountIduint32 totalNumberOfPayeesuint64 lockTimeoutBlockNumberbytes32 paymentDataHashbytes32 lockingKeyHashbytes32 metadata)
State-modifying
bulkRegister(uint256 bulkSizebytes32 rootHash
challenge_1(uint32 delegateuint32 slotuint32 challenger
challenge_2(uint32 delegateuint32 slotbytes data
challenge_3(uint32 delegateuint32 slotbytes datauint32 index
challenge_4(uint32 delegateuint32 slotbytes payData
challenge_failed(uint32 delegateuint32 slot
challenge_success(uint32 delegateuint32 slot
claimBulkRegistrationId(address addrbytes32[] proofuint256 accountIduint256 bulkId
collect(uint32 delegateuint32 slotIduint32 toAccountIduint32 maxPayIndexuint64 declaredAmountuint64 feeaddress destinationbytes signature
deposit(uint64 amountuint256 accountId
freeSlot(uint32 delegateuint32 slot
refundLockedPayment(uint32 payIndexreturns (bool)
register(returns (uint32 ret)
registerPayment(uint32 fromIduint64 amountuint64 feebytes payDatauint256 newCountbytes32 rootHashbytes32 lockingKeyHashbytes32 metadata
unlock(uint32 payIndexuint32 unlockerAccountIdbytes keyreturns (bool)
withdraw(uint64 amountuint256 accountId
Events
AccountRegistered(uint256 accountIdaddress accountAddress
BulkRegister(uint256 bulkSizeuint256 smallestAccountIduint256 bulkId
Challenge1(uint256 indexed delegateuint256 indexed slotuint256 challenger
Challenge2(uint256 indexed delegateuint256 indexed slot
Challenge3(uint256 indexed delegateuint256 indexed slotuint256 index
Challenge4(uint256 indexed delegateuint256 indexed slot
ChallengeFailed(uint256 indexed delegateuint256 indexed slot
ChallengeSuccess(uint256 indexed delegateuint256 indexed slot
Collect(uint256 indexed delegateuint256 indexed slotuint256 indexed touint32 fromPayindexuint32 toPayIndexuint256 amount
PaymentRefunded(uint32 beneficiaryAccountIduint64 amountRefunded
PaymentRegistered(uint32 indexed payIndexuint256 indexed fromuint256 totalNumberOfPayeesuint256 amount
PaymentUnlocked(uint32 indexed payIndexbytes key
Constructor
constructor(address token_uint32 maxBulkuint32 maxTransferuint32 challengeBlocksuint32 challengeStepBlocksuint64 collectStakeuint64 challengeStakeuint32 unlockBlocksuint64 maxCollectAmount
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.