TransferSwapper

Verified contract

Active on Ethereum with 953 txns
Deployed by via 0x2bef666c at 15495082
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $1.66
ERC-20
Value $134
ERC-20
Value $88.14
0xce6030d3a2d151e05f2ad0ae8a884752e73ec5daa2384ca8c10ad9c38832c081
0xdee8ede7a4cbaf419df91b29ee2a7879fc6be8559112081decdf3c23a08f5a0b
0xfa8cc75362faf4169e51f4add0e0074859d24ceb8b771f4abe0595bb76b713f0
0x4041a9556fc00ff75f4ef776d05b4602572ed78fcefa7830be5cd0c336d1968e
0x3a1c4fa50d49fdc3f6dd2e5353f49b0e8518b9aa48d6f0bdcb6b00e8e94ac483
0xd35c890f81625d14febc82457d90de902f3687ee1a646de83efc96affd039980
0xb5d38339029f81ea8e033356e5866a57af9e8fea5da5751554ff469e52b29d09
0x2fdd4264acf156eeea760e9c694a91bbb700f001ebd0207bfe9203c9842b71cf
0x7489fbb8a442799b32118f86fe9f4962822bad8df2137a2d4193d5b7fc886c1b
0x8f56c32b0e6d5a164a940366ad7730d205a48d42d2aa83c4ae6b7e48908028a9

Functions
Getter at block 20935495
CBRIDGE_PROVIDER_HASH(view returns (bytes32)
0x87d218bfcd262745694c36930f68b5dd697460f1af499de15378f8ddddb1d74f
feeCollector(view returns (address)
0xf0761bb438cefca39a8fd1f27d75ccc7f6df92d8
messageBus(view returns (address)
0x4066d196a423b2b3b8b054f4f40efb47a74e200c
nativeWrap(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
owner(view returns (address)
0x8b5f94a2c2e23ee8cc0ff56872af973243ef7628
signer(view returns (address)
0x26e6eaf3d3c5d4b8290aa7dd896140f383dff043
testMode(view returns (bool)
false
Read-only
bridges(bytes32view returns (address)
codecs(uint256view returns (address)
dexRegistry(addressbytes4view returns (bool)
externalSwap(addressview returns (bool)
selector2codec(bytes4view returns (address)
State-modifying
collectFee(address[] _tokensaddress _to
executeMessage(address _senderuint64 _srcChainIdbytes _messageaddress _executorpayable returns (uint8)
executeMessageWithTransfer(addressaddress _tokenuint256 _amountuint64bytes _messageaddress _executorpayable returns (uint8)
executeMessageWithTransferFallback(addressaddress _tokenuint256 _amountuint64bytes _messageaddresspayable returns (uint8)
executeMessageWithTransferRefund(address _tokenuint256 _amountbytes _messageaddresspayable returns (uint8)
executeMessageWithTransferRefundFromAdapter(address _tokenuint256 _amountbytes _messageaddresspayable returns (uint8)
renounceOwnership(
setCodec(string _funcSigaddress _codec
setExternalSwap(address _dexbool _enabled
setFeeCollector(address _feeCollector
setMessageBus(address _messageBus
setNativeWrap(address _nativeWrap
setSigner(address _signer
setSupportedBridges(string[] _bridgeProvidersaddress[] _bridgeAdapters
setSupportedDex(address _dexbytes4 _selectorbool _enabled
transferOwnership(address newOwner
transferWithSwap(struct TypesTransferDescription _descstruct ICodecSwapDescription[] _srcSwapsstruct ICodecSwapDescription[] _dstSwapspayable 
Events
CodecUpdated(bytes4 selectoraddress codec
DirectSwap(bytes32 iduint256 amountInaddress tokenInuint256 amountOutaddress tokenOut
ExternalSwapUpdated(address dexbool enabled
FeeCollectorUpdated(address fromaddress to
MessageBusUpdated(address messageBus
NativeWrapUpdated(address nativeWrap
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RequestDone(bytes32 iduint256 dstAmountuint256 refundAmountaddress refundTokenuint256 feeCollecteduint8 statusbytes forwardResp
RequestSent(bytes32 idbytes bridgeRespuint64 dstChainIduint256 srcAmountaddress srcTokenaddress dstTokenaddress bridgeOutReceiveraddress bridgeTokenuint256 bridgeAmountstring bridgeProvider
SignerUpdated(address fromaddress to
SupportedBridgesUpdated(string[] _bridgeProvidersaddress[] _bridgeAdapters
SupportedDexUpdated(address dexbytes4 selectorbool enabled
Constructor
constructor(address _messageBusaddress _nativeWrapaddress _signeraddress _feeCollectorstring[] _funcSigsaddress[] _codecsaddress[] _supportedDexListstring[] _supportedDexFuncsaddress[] _externalSwapDexListbool _testMode
Fallback and receive
receive(
Errors

This contract contains no error objects.