DstSwapper

Verified contract

Active on Base with 15,536 txns
Deployed by via 0x41ba3d0f at 9651579
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0.06
ERC-20
Value $75.86
ERC-20
Value $6.89
ERC-20
Value $2.76
ERC-20
Value $1
ERC-20
Value $0.08
ERC-20
Value $0.02
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
0xba81dda31b8f15503196c86b80a784ba8614eb518cc2ed4a817d216d771066c1
0xcf074c2bf6fe7ce695bf67025dbec97297195c6e89e054a1e2183189b848aff5
0xcaa51338fdc637390160d0fc572b5c8198dec3bc327006592cd20d8ede6b0521
0x66c10c017e8e5a0c586fcc1526947479781367041306a95e506df675352de2dc
0xf5769c2bf1432c28b64f8586cda8d7e4fc022b3d0468c00b8cb025e86ddfbdcd
0x1252bc0ae6701d51fc2fae0d52f1040ffb9a06ef73e41c2842591511f34555a3
0x6dc76ba09d26071c228b49ed1c2888601add4c6e3f1c525093be2aacebd446a7
0x64950edeb2749c91242562038a3e07ba386148f128828e156cad6fc5c65ecfba
0x3da89fb36248286b8fb3248f8d3331b7586bd12f9593795f17f184e254baf7f0
0x81ba7041bfd74cea7ab391adb3efb5f804316d6111a5e55499b784045ec3ede8

Functions
Getter at block 21800993
CHAIN_ID(view returns (uint64)
8453
superRegistry(view returns (address)
0x17a332dc7b40ae701485023b219e9d6f493a2514
Read-only
getPostDstSwapFailureUpdatedTokenAmount(uint256 payloadId_uint256 index_view returns (address interimTokenuint256 amount)
swappedAmount(uint256 payloadIduint256 indexview returns (uint256 amount)
State-modifying
batchProcessTx(uint256 payloadId_uint256[] indices_uint8[] bridgeIds_bytes[] txData_
batchUpdateFailedTx(uint256 payloadId_uint256[] indices_address[] interimTokens_uint256[] amounts_
processFailedTx(address user_address interimToken_uint256 amount_
processTx(uint256 payloadId_uint8 bridgeId_bytes txData_
updateFailedTx(uint256 payloadId_address interimToken_uint256 amount_
Events
SuperRegistryUpdated(address indexed superRegistry
SwapFailed(uint256 indexed payloadIduint256 indexed indexaddress indexed intermediaryTokenuint256 amount
SwapProcessed(uint256 indexed payloadIduint256 indexed indexuint256 indexed bridgeIduint256 finalAmount
Constructor
constructor(address superRegistry_
Fallback and receive
receive(
Errors
ARRAY_LENGTH_MISMATCH(
AddressEmptyCode(address target
AddressInsufficientBalance(address account
BLOCK_CHAIN_ID_OUT_OF_BOUNDS(
DST_SWAP_ALREADY_PROCESSED(
DUPLICATE_INDEX(
FAILED_DST_SWAP_ALREADY_UPDATED(
FAILED_TO_EXECUTE_TXDATA(address token
FAILED_TO_SEND_NATIVE(
FailedInnerCall(
INDEX_OUT_OF_BOUNDS(
INSUFFICIENT_BALANCE(
INSUFFICIENT_NATIVE_AMOUNT(
INVALID_CHAIN_ID(
INVALID_DST_SWAPPER_FAILED_SWAP(
INVALID_DST_SWAPPER_FAILED_SWAP_NO_NATIVE_BALANCE(
INVALID_DST_SWAPPER_FAILED_SWAP_NO_TOKEN_BALANCE(
INVALID_INDEX(
INVALID_INTERIM_TOKEN(
INVALID_PAYLOAD_ID(
INVALID_PAYLOAD_STATUS(
INVALID_PAYLOAD_TYPE(
INVALID_SWAP_OUTPUT(
NOT_CORE_STATE_REGISTRY(
NOT_PRIVILEGED_CALLER(bytes32 role
ReentrancyGuardReentrantCall(
SLIPPAGE_OUT_OF_BOUNDS(
SafeERC20FailedOperation(address token
ZERO_ADDRESS(
ZERO_AMOUNT(
ZERO_INPUT_VALUE(