SynapseRouter
Verified contract
Active on
Base with 32,350 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.01
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 0.000005 | $2,639.91 |
$0.01 | |
USDbC | ERC-20 | 1 | $1.00 |
$1 | |
USA | ERC-20 | 1 | $0.001794 |
$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) |
---|---|---|---|---|---|---|---|
| 21724882 | 6 hours ago | | | 0.2 | 0.0000014345631 | |
| 21721124 | 8 hours ago | | | 0.2255 | 0.0000013716281 | |
| 21718260 | 10 hours ago | | | 0 | 0.0000013191996 | |
| 21718222 | 10 hours ago | | | 0.009 | 0.0000012880953 | |
| 21715949 | 11 hours ago | | | 0.005 | 0.0000014149166 | |
| 21715068 | 12 hours ago | | | 0 | 0.0000013180796 | |
| 21715019 | 12 hours ago | | | 0.006 | 0.0000012839051 | |
| 21712565 | 13 hours ago | | | 5.624 | 0.0000013796132 | |
| 21712407 | 13 hours ago | | | 0.5 | 0.0000011886466 | |
| 21703331 | 18 hours ago | | | 9 | 0.0000013733244 |
ABI
ABI objects
Getter at block 21736391 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.