BatPay
Verified contract
Proxy
Active on
Ethereum with 1,436 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
0x3f17…22ad
Balances ($0.00)
No balances found for "BatPay"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 8435167 | 5 years ago | | | 0 | 0.000038319600 | |
| 8435156 | 5 years ago | | | 0 | 0.000056319600 | |
| 8435155 | 5 years ago | | | 0 | 0.000054195600 | |
| 8435141 | 5 years ago | | | 0 | 0.000054195600 | |
| 8434766 | 5 years ago | | | 0 | 0.000054195600 | |
| 8434760 | 5 years ago | | | 0 | 0.000054118800 | |
| 8434755 | 5 years ago | | | 0 | 0.000054195600 | |
| 8434751 | 5 years ago | | | 0 | 0.000054195600 | |
| 8434749 | 5 years ago | | | 0 | 0.000054195600 | |
| 8434747 | 5 years ago | | | 0 | 0.000054195600 |
ABI
ABI objects
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 maxBulk, uint32 maxTransfer, uint32 challengeBlocks, uint32 challengeStepBlocks, uint64 collectStake, uint64 challengeStake, uint32 unlockBlocks, uint32 massExitIdBlocks, uint32 massExitIdStepBlocks, uint32 massExitBalanceBlocks, uint32 massExitBalanceStepBlocks, uint64 massExitStake, uint64 massExitChallengeStake, uint64 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(uint256) view returns (address owner, uint64 balance, uint32 lastCollectedPaymentId)
balanceOf(uint256 accountId) view returns (uint64)
bulkRegistrations(uint256) view returns (bytes32 rootHash, uint32 recordCount, uint32 smallestRecordId)
collects(uint32, uint32) view returns (uint32 minPayIndex, uint32 maxPayIndex, uint64 amount, uint64 delegateAmount, uint32 to, uint64 block, uint32 delegate, uint32 challenger, uint32 index, uint64 challengeAmount, uint8 status, address addr, bytes32 data)
isAccountOwner(uint256 accountId) view returns (bool)
isValidId(uint256 accountId) view returns (bool)
payments(uint256) view returns (uint32 fromAccountId, uint64 amount, uint64 fee, uint32 smallestAccountId, uint32 greatestAccountId, uint32 totalNumberOfPayees, uint64 lockTimeoutBlockNumber, bytes32 paymentDataHash, bytes32 lockingKeyHash, bytes32 metadata)
State-modifying
Events bulkRegister(uint256 bulkSize, bytes32 rootHash)
challenge_1(uint32 delegate, uint32 slot, uint32 challenger)
challenge_2(uint32 delegate, uint32 slot, bytes data)
challenge_3(uint32 delegate, uint32 slot, bytes data, uint32 index)
challenge_4(uint32 delegate, uint32 slot, bytes payData)
challenge_failed(uint32 delegate, uint32 slot)
challenge_success(uint32 delegate, uint32 slot)
claimBulkRegistrationId(address addr, bytes32[] proof, uint256 accountId, uint256 bulkId)
collect(uint32 delegate, uint32 slotId, uint32 toAccountId, uint32 maxPayIndex, uint64 declaredAmount, uint64 fee, address destination, bytes signature)
deposit(uint64 amount, uint256 accountId)
freeSlot(uint32 delegate, uint32 slot)
refundLockedPayment(uint32 payIndex) returns (bool)
register() returns (uint32 ret)
registerPayment(uint32 fromId, uint64 amount, uint64 fee, bytes payData, uint256 newCount, bytes32 rootHash, bytes32 lockingKeyHash, bytes32 metadata)
unlock(uint32 payIndex, uint32 unlockerAccountId, bytes key) returns (bool)
withdraw(uint64 amount, uint256 accountId)
AccountRegistered(uint256 accountId, address accountAddress)
BulkRegister(uint256 bulkSize, uint256 smallestAccountId, uint256 bulkId)
Challenge1(uint256 indexed delegate, uint256 indexed slot, uint256 challenger)
Challenge2(uint256 indexed delegate, uint256 indexed slot)
Challenge3(uint256 indexed delegate, uint256 indexed slot, uint256 index)
Challenge4(uint256 indexed delegate, uint256 indexed slot)
ChallengeFailed(uint256 indexed delegate, uint256 indexed slot)
ChallengeSuccess(uint256 indexed delegate, uint256 indexed slot)
Collect(uint256 indexed delegate, uint256 indexed slot, uint256 indexed to, uint32 fromPayindex, uint32 toPayIndex, uint256 amount)
PaymentRefunded(uint32 beneficiaryAccountId, uint64 amountRefunded)
PaymentRegistered(uint32 indexed payIndex, uint256 indexed from, uint256 totalNumberOfPayees, uint256 amount)
PaymentUnlocked(uint32 indexed payIndex, bytes key)
constructor(address token_, uint32 maxBulk, uint32 maxTransfer, uint32 challengeBlocks, uint32 challengeStepBlocks, uint64 collectStake, uint64 challengeStake, uint32 unlockBlocks, uint64 maxCollectAmount)
This contract contains no fallback and receive objects.
This contract contains no error objects.