DstSwapper

Verified contract

Active on Base with 15,683 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.08
ERC-20
Value $97.61
ERC-20
Value $6.89
ERC-20
Value $2.75
ERC-20
Value $1
ERC-20
Value $0.1
ERC-20
Value $0.1
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
0x49989ab524e211844f852a020c603bef168ad7410fd2a96e3cfc204144d264e4
0x4d61debd134a04d80dcf4b76e7cef7b79b3194de102998ea067790a374c69439
0xf936654f08cc7b5e63300b3fb9ed75e286c0f8d5e5c2fe10d11a31142bda9234
0x2dc6569ac6efff463dfc530d1680010faacd89d34ae5db331a8fc2e2d4d487da
0x547d81326dfb615086931fdfd69e3c8b20c85243f389e7863510f1a7c5fb8466
0xa705fb21b64b846f18fe65ece63cb4be2ddc35fa706632bf42e66e4670f458bd
0xc7ba87ff36a08a2452d3394a25a35cad4245e55581ce10cdb771d5a58dca990a
0xba77246d2923b7463af0772ede812bba66c6bcf0263002ccc7c5ff11484abbbf
0xd5f24aa152e596a82979bcb1bab6e7b266c481e27a385eebf7ae0a451da148bd
0x057715907fb13cc2aaa3588ed9f22cd608b45151548a5a18a65b8f68937d6108

Functions
Getter at block 22759615
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(