BatPay

Verified contract

Proxy

Active on Ethereum with 1,436 txns
Deployed by via 0x620b5c3a at 7983850
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots

No balances found for "BatPay"

0x7121aaad1f6be05fee650d8309654954dc6b5204cd6729eb319d3f7d51490ed5
0xfb2043f64095e35205270020169fb3266e43e2a0d7f4c38fc39d15634ae05355
0x31b8972891ddf9b587e6c53b29668e64cc6fdbeed56308820c5cb24d40ddb66d
0x1414a54d2025f712768ff5d95d119c0e31e6bd8a85297e25ec8bdf4a2ed3aa5f
0xae6007e1e051914d13b13c9c14322bf9455e3911d39f4baaf36126eb240c8faa
0xa99e45156903cece244e7416efec77ce4d609988e8b00d4dc6634722d98e9bb6
0x69124b693968fdb1a13f692de87e16d3ff002f845b490275beef772028d7a18a
0x33d3d6db48f6078def1f453a732c94a9ac1782aee3487dd5ebb5571df8a2fe00
0x91d1ec049d62a300b8635aef9a17689cf0379bacbda189c88c30a4b2d943ed48
0xafc77146be796e8af47266f36cfda7cc01cc625e18e676539cd12f2e5b9627cf

Functions
Getter at block 21263290
INSTANT_SLOT(view returns (uint256)
32768
MAX_ACCOUNT_ID(view returns (uint256)
4294967295
NEW_ACCOUNT_FLAG(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
getAccountsLength(view returns (uint256)
2850
getBulkLength(view returns (uint256)
210
getPaymentsLength(view returns (uint256)
564
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.