SynapseRouter

Verified contract

Active on Base with 1,536 txns
Deployed by via 0x76c6b085 at 2072906
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "SynapseRouter"

0x987c03e19e6fd12f35530e6a8056ce48154026eace9e4cb8409e3f52b5e36907
0xf66f651dbd32bb658896096cbdab6ef66fc9dea7ac9482916e7f7174f30a273d
0x0502016d811ebdf03534c144ef1568f979fe51f82bc4785e9b61cbccddc2da75
0xa5431b9947d16eb3211b02e35c671d1921282396770af5923d0bc2d8ffbad97f
0x2b778a01567b23390c2ae3261b0f0a61d5711f80bc8846daf8bb190f00cc3258
0x9c599da604fb541efd08353e05956ecd967562babb948d3c284e27dd7b0fff7c
0x6fdcb75493e3b9138eec6417210589a177f604adb1edf1cfeba16084d39f0fba
0x6ce0050f6a83d6a2c53e99a43a9bb9b77d0bc5bda3fc6786d8149c8c2677d4b5
0xee9a749ac11334f149626e537901c1fcf7031de23da7cb152b549541e49f3d26
0x9e418730541c177e454e16eb7ab560b2e51b623054b2659e6f0f0e6fbcb7e9d1

Functions
Getter at block 22914979
allPools(view returns (struct Pool[] pools)
[(0x6223bd82010e2fb69f329933de20897e7a4c225f, 0xc35b09c8fdefc90ec580b327d32deaada4f581da, [(false, 0xb554a55358ff0382fb21f0a478c3546d1106be8c), (true, 0x4200000000000000000000000000000000000006)])]
bridgeTokens(view returns (address[] tokens)
[0x432036208d2717394d2614d6697c46DF3Ed69540, 0xb554A55358fF0382Fb21F0a478C3546d1106Be8c]
bridgeTokensAmount(view returns (uint256 amount)
2
owner(view returns (address)
0x0af91fa049a7e1894f480bfe5bba20142c6c29a9
poolsAmount(view returns (uint256 amount)
1
swapQuoter(view returns (address)
0x06fea8513ff03a0d3f61324da709d4cf06f42a5c
synapseBridge(view returns (address)
0xf07d1c752fab503e47fef309bf14fbdd3e867089
Read-only
calculateAddLiquidity(address pooluint256[] amountsview returns (uint256)
calculateBridgeFee(address tokenuint256 amountview returns (uint256 feeAmount)
calculateRemoveLiquidity(address pooluint256 amountview returns (uint256[] amountsOut)
calculateSwap(address pooluint8 tokenIndexFromuint8 tokenIndexTouint256 dxview returns (uint256 amountOut)
calculateWithdrawOneToken(address pooluint256 tokenAmountuint8 tokenIndexview returns (uint256 amountOut)
config(addressview returns (uint8 tokenTypeaddress bridgeToken)
fee(addressview returns (uint40 bridgeFeeuint104 minFeeuint112 maxFee)
getAmountOut(address tokenInaddress tokenOutuint256 amountInview returns (struct SwapQuery)
getConnectedBridgeTokens(address tokenOutview returns (struct BridgeToken[] tokens)
getDestinationAmountOut(struct DestRequest[] requestsaddress tokenOutview returns (struct SwapQuery[] destQueries)
getOriginAmountOut(address tokenInstring[] tokenSymbolsuint256 amountInview returns (struct SwapQuery[] originQueries)
multicallView(bytes[] dataview returns (struct MulticallViewResult[] callResults)
poolInfo(address poolview returns (uint256address)
poolTokens(address poolview returns (struct PoolToken[] tokens)
symbolToToken(stringview returns (address)
tokenToSymbol(addressview returns (string)
State-modifying
adapterSwap(address toaddress tokenInuint256 amountInaddress tokenOutbytes rawParamspayable returns (uint256 amountOut)
addToken(string symboladdress tokenuint8 tokenTypeaddress bridgeTokenuint256 bridgeFeeuint256 minFeeuint256 maxFeereturns (bool wasAdded)
addTokens(struct LocalBridgeConfigBridgeTokenConfig[] tokens
bridge(address touint256 chainIdaddress tokenuint256 amountstruct SwapQuery originQuerystruct SwapQuery destQuerypayable 
removeToken(address tokenreturns (bool wasRemoved)
removeTokens(address[] tokens
renounceOwnership(
setAllowance(address tokenaddress spenderuint256 amount
setSwapQuoter(address _swapQuoter
setTokenConfig(address tokenuint8 tokenTypeaddress bridgeToken
setTokenFee(address tokenuint256 bridgeFeeuint256 minFeeuint256 maxFee
swap(address toaddress tokenuint256 amountstruct SwapQuery querypayable returns (uint256 amountOut)
transferOwnership(address newOwner
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _synapseBridgeaddress owner_
Fallback and receive
receive(
Errors

This contract contains no error objects.