CoreStateRegistry

Verified contract

Active on Ethereum with 1,461 txns
Deployed by via 0x172d7caa at 19075492
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0.21
ERC-20
Value $1,491.72
ERC-20
Value $9.62
ERC-20
Value $5.98
ERC-20
Value $0
0x48c0aeb04777971dadd396393f81ecc1eb96f0fa6eca43ad7d0a0aa654d88411
0xc3e4cebaa97864e08bd013b46b9d903c2f9131450c8eb1d66f09426a5034055b
0xa5c39658d8cc850960889998601c853644b84d43739bb4d0c0494cdd54138d5e
0xa2f4cdd00118074bec118d32c9ce74140b401fde981bc72c037e5d41fa27551f
0xc8401063739d146381a23c3755bbedd68e84ab2d3d976824c354e7a4702302fc
0x480097cc8790994f2a2891297b761f8dcb10b48b41ae560b2390240c1f1eba48
0xe618bf8a8c9f263332720ab5c0215b46ae589862b80790b64b04d99ddade1019
0x4146631da3ff5c601ed2fb445b2f79100a0551735c42838071c0291d630927b1
0x156fdeb6985002684ffa14bcfe068319ae319d46249607b093ff2b8084d41d0c
0x4795ef99520958e70bee76514f5fada36490128050ea754c66e1a010f8a63983

Functions
Getter at block 21271049
CHAIN_ID(view returns (uint64)
1
payloadsCount(view returns (uint256)
850
superRegistry(view returns (address)
0x17a332dc7b40ae701485023b219e9d6f493a2514
Read-only
getFailedDeposits(uint256 payloadId_view returns (uint256[] superformIdsuint256[] amountsuint256 lastProposedTime)
getMessageAMB(uint256 payloadId_view returns (uint8[])
messageQuorum(bytes32view returns (uint256)
payloadBody(uint256view returns (bytes)
payloadHeader(uint256view returns (uint256)
payloadTracking(uint256view returns (uint8)
validateSlippage(uint256 finalAmount_uint256 amount_uint256 maxSlippage_view returns (bool)
State-modifying
dispatchPayload(address srcSender_uint8[] ambIds_uint64 dstChainId_bytes message_bytes extraData_payable 
disputeRescueFailedDeposits(uint256 payloadId_
finalizeRescueFailedDeposits(uint256 payloadId_
processPayload(uint256 payloadId_payable 
proposeRescueFailedDeposits(uint256 payloadId_uint256[] proposedAmounts_
receivePayload(uint64 srcChainId_bytes message_
updateDepositPayload(uint256 payloadId_address[] finalTokens_uint256[] finalAmounts_
updateWithdrawPayload(uint256 payloadId_bytes[] txData_
Events
FailedXChainDeposits(uint256 indexed payloadId
PayloadProcessed(uint256 indexed payloadId
PayloadReceived(uint64 indexed srcChainIduint64 indexed dstChainIduint256 indexed payloadId
PayloadUpdated(uint256 indexed payloadId
ProofReceived(bytes32 indexed proof
RescueDisputed(uint256 indexed payloadId
RescueFinalized(uint256 indexed payloadId
RescueProposed(uint256 indexed payloadIduint256[] superformIdsuint256[] proposedAmountuint256 proposedTime
SuperRegistryUpdated(address indexed superRegistry
Constructor
constructor(address superRegistry_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
BLOCK_CHAIN_ID_OUT_OF_BOUNDS(
BRIDGE_TOKENS_PENDING(
CANNOT_UPDATE_WITHDRAW_TX_DATA(
DELAY_NOT_SET(
DIFFERENT_PAYLOAD_UPDATE_AMOUNTS_LENGTH(
DIFFERENT_PAYLOAD_UPDATE_TX_DATA_LENGTH(
DISPUTE_TIME_ELAPSED(
FailedInnerCall(
INSUFFICIENT_QUORUM(
INVALID_CHAIN_ID(
INVALID_DST_SWAP_AMOUNT(
INVALID_INTERNAL_CALL(
INVALID_PAYLOAD_ID(
INVALID_PAYLOAD_TYPE(
INVALID_PAYLOAD_UPDATE_REQUEST(
INVALID_PROOF_BRIDGE_ID(
INVALID_PROOF_BRIDGE_IDS(
INVALID_RESCUE_DATA(
INVALID_UPDATE_FINAL_TOKEN(
NEGATIVE_SLIPPAGE(
NOT_AMB_IMPLEMENTATION(
NOT_PRIVILEGED_CALLER(bytes32 role
NOT_SUPERFORM_ROUTER(
NOT_VALID_DISPUTER(
PAYLOAD_ALREADY_PROCESSED(
PAYLOAD_ALREADY_UPDATED(
PAYLOAD_NOT_UPDATED(
RESCUE_ALREADY_PROPOSED(
RESCUE_LOCKED(
SLIPPAGE_OUT_OF_BOUNDS(
SUPERFORM_ID_NONEXISTENT(
SafeERC20FailedDecreaseAllowance(address spenderuint256 currentAllowanceuint256 requestedDecrease
SafeERC20FailedOperation(address token
ZERO_AMB_ID_LENGTH(
ZERO_AMOUNT(
ZERO_FINAL_TOKEN(