WooCrossChainRouterV2

Verified contract

Active on Base with 9,209 txns
Deployed by via 0x3a233e53 at 2359377
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
--
0xc8fb3b8a009b1143b47ff58f2b564db68640f408399647596e314dbf4876cf0e
0xc95dd33849d9aea11ae8a46849621bfa85b4228bcacd3e84367eb91bc8fe2a01
0x30e8a811e02e2d2a89994e03e385adcd6b8a4202c23366508b50f5fd6727d634
0x7632cf32cda8a48d980072573d36812497c9408536e590054ad0b0cf4021f038
0x5ba58ff849f5b6c774f03c86d9427c7c0e935ae65ae5b8a001ec9f403e8a5812
0xa0de9f70e04474b99255a23f9d746b918be919a7a3cc5f354a9a8ad240fab9cd
0x629d6cb665a98b76e68e8627bb433988c9002f0bce5ea7a1b352b98ce8f33a8a
0x3a28f9a3bb8cddc54fbc448e5710cfebabc0061dd49acff88123f75e099c3f61
0xf35ae1bd42d226da6a5c5a5077249c948664c83101ed06ef5be918c1b26d4a11
0x2edd4c5a2a418d47911666da60bfa2bafeba3eff66bbf1919e4587aa623026e1

Functions
Getter at block 22904014
ETH_PLACEHOLDER_ADDR(view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
allDirectBridgeTokens(view returns (address[])
[]
allDirectBridgeTokensLength(view returns (uint256)
0
bridgeSlippage(view returns (uint256)
100
dstGasForNoSwapCall(view returns (uint256)
80000
dstGasForSwapCall(view returns (uint256)
360000
owner(view returns (address)
0xc06e2968afd4a029d4623f9a5f534c45e5bf0bdf
sgChainIdLocal(view returns (uint16)
184
stargateRouter(view returns (address)
0xecc19e177d24551aa7ed6bc6fe566eca726cc8a9
weth(view returns (address)
0x4200000000000000000000000000000000000006
wooRouter(view returns (address)
0x27425e9fb6a9a625e8484cfd9620851d1fa322e5
Read-only
quoteLayerZeroFee(uint256 refIdaddress tostruct IWooCrossChainRouterV2SrcInfos srcInfosstruct IWooCrossChainRouterV2DstInfos dstInfosview returns (uint256uint256)
sgETHs(uint16view returns (address)
sgPoolIds(uint16addressview returns (uint256)
tokenToOFTs(addressview returns (address)
wooCrossChainRouters(uint16view returns (address)
State-modifying
addDirectBridgeToken(address token
crossSwap(uint256 refIdaddress tostruct IWooCrossChainRouterV2SrcInfos srcInfosstruct IWooCrossChainRouterV2DstInfos dstInfospayable 
inCaseTokenGotStuck(address stuckToken
onOFTReceived(uint16 srcChainIdbytesuint64bytes32 fromuint256 amountLDbytes payload
removeDirectBridgeToken(address token
renounceOwnership(
setBridgeSlippage(uint256 _bridgeSlippage
setDstGasForNoSwapCall(uint256 _dstGasForNoSwapCall
setDstGasForSwapCall(uint256 _dstGasForSwapCall
setSgChainIdLocal(uint16 _sgChainIdLocal
setSgETH(uint16 chainIdaddress token
setSgPoolId(uint16 chainIdaddress tokenuint256 poolId
setStargateRouter(address _stargateRouter
setTokenToOFT(address tokenaddress oft
setWooCrossChainRouter(uint16 chainIdaddress wooCrossChainRouter
setWooRouter(address _wooRouter
sgReceive(uint16bytesuint256address bridgedTokenuint256 amountLDbytes payload
transferOwnership(address newOwner
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
WooCrossSwapOnDstChain(uint256 indexed refIdaddress indexed senderaddress indexed toaddress bridgedTokenuint256 bridgedAmountaddress toTokenaddress realToTokenuint256 minToAmountuint256 realToAmount
WooCrossSwapOnSrcChain(uint256 indexed refIdaddress indexed senderaddress indexed toaddress fromTokenuint256 fromAmountuint256 minBridgeAmountuint256 realBridgeAmount
Constructor
constructor(address _wethaddress _wooRouteraddress _stargateRouteruint16 _sgChainIdLocal
Fallback and receive
receive(
Errors

This contract contains no error objects.