SynapseRouter
Verified contract
Active on
Base with 32,500 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
0x9fbf…6b07
Balances ($1.02)
Native
Value
$0.02
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 0.000005 | $3,414.02 |
$0.02 | |
USDbC | ERC-20 | 1 | $0.999496 |
$1 | |
USA | ERC-20 | 1 | $0.000817 |
$0 | |
| ERC-20 | 2.4K | -- | -- | |
OHNO | ERC-20 | 618.060606 | -- | -- | |
CUBBY | ERC-20 | 1 | -- | -- | |
LZPZ | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22704019 | 15 hours ago | | | 2.747 | 5.4010739e-7 | |
| 22703581 | 15 hours ago | | | 5.01 | 5.4007426e-7 | |
| 22692286 | 21 hours ago | | | 43.192772 | 5.1199701e-7 | |
| 22689300 | a day ago | | | 50 | 5.1094714e-7 | |
| 22683802 | a day ago | | | 42.168369 | 5.1480543e-7 | |
| 22679871 | a day ago | | | 9.2098522 | 5.1401726e-7 | |
| 22676184 | a day ago | | | 0.123 | 0.000000508624858610 | |
| 22669354 | a day ago | | | 33.3 | 5.1246050e-7 | |
| 22661916 | 2 days ago | | | 0 | 2.2310847e-7 | |
| 22661402 | 2 days ago | | | 0 | 7.8228620e-7 |
ABI
ABI objects
Getter at block 22730692 allPools() view returns (struct Pool[] pools)
bridgeTokens() view returns (address[] tokens)
[0x432036208d2717394d2614d6697c46DF3Ed69540, 0xb554A55358fF0382Fb21F0a478C3546d1106Be8c, 0x6B4712AE9797C199edd44F897cA09BC57628a1CF, 0x96419929d7949D6A801A6909c145C8EEf6A40431]
bridgeTokensAmount() view returns (uint256 amount)
4
owner() view returns (address)
0x0fea3e5840334fc758a3decf14546bfdfbef5cd3
poolsAmount() view returns (uint256 amount)
2
swapQuoter() view returns (address)
0x9fbff54b967654b0c76b174d2b95614060dd6b07
synapseBridge() view returns (address)
0xf07d1c752fab503e47fef309bf14fbdd3e867089
Read-only
calculateAddLiquidity(address pool, uint256[] amounts) view returns (uint256)
calculateBridgeFee(address token, uint256 amount) view returns (uint256 feeAmount)
calculateRemoveLiquidity(address pool, uint256 amount) view returns (uint256[] amountsOut)
calculateSwap(address pool, uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns (uint256 amountOut)
calculateWithdrawOneToken(address pool, uint256 tokenAmount, uint8 tokenIndex) view returns (uint256 amountOut)
config(address) view returns (uint8 tokenType, address bridgeToken)
fee(address) view returns (uint40 bridgeFee, uint104 minFee, uint112 maxFee)
getAmountOut(address tokenIn, address tokenOut, uint256 amountIn) view returns (struct SwapQuery)
getConnectedBridgeTokens(address tokenOut) view returns (struct BridgeToken[] tokens)
getDestinationAmountOut(struct DestRequest[] requests, address tokenOut) view returns (struct SwapQuery[] destQueries)
getOriginAmountOut(address tokenIn, string[] tokenSymbols, uint256 amountIn) view returns (struct SwapQuery[] originQueries)
multicallView(bytes[] data) view returns (struct MulticallViewResult[] callResults)
poolInfo(address pool) view returns (uint256, address)
poolTokens(address pool) view returns (struct PoolToken[] tokens)
symbolToToken(string) view returns (address)
tokenToSymbol(address) view returns (string)
State-modifying
Events adapterSwap(address to, address tokenIn, uint256 amountIn, address tokenOut, bytes rawParams) payable returns (uint256 amountOut)
addToken(string symbol, address token, uint8 tokenType, address bridgeToken, uint256 bridgeFee, uint256 minFee, uint256 maxFee) returns (bool wasAdded)
addTokens(struct LocalBridgeConfigBridgeTokenConfig[] tokens)
bridge(address to, uint256 chainId, address token, uint256 amount, struct SwapQuery originQuery, struct SwapQuery destQuery) payable
removeToken(address token) returns (bool wasRemoved)
removeTokens(address[] tokens)
renounceOwnership()
setAllowance(address token, address spender, uint256 amount)
setSwapQuoter(address _swapQuoter)
setTokenConfig(address token, uint8 tokenType, address bridgeToken)
setTokenFee(address token, uint256 bridgeFee, uint256 minFee, uint256 maxFee)
swap(address to, address token, uint256 amount, struct SwapQuery query) payable returns (uint256 amountOut)
transferOwnership(address newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address _synapseBridge, address owner_)
receive()
This contract contains no error objects.