Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDT | ERC-20 | 0.000001 | $0.999903 |
$0 | |
USDC | ERC-20 | 0.000001 | $0.99847 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18521830 | a year ago | | | 0 | 0.0080564735 | |
| 18521830 | a year ago | | | 0 | 0.0087298777 | |
| 18521830 | a year ago | | | 0 | 0.0087298777 | |
| 18521830 | a year ago | | | 0 | 0.0080564735 | |
| 18521830 | a year ago | | | 0 | 0.0080564735 | |
| 18521830 | a year ago | | | 0 | 0.0090818593 | |
| 18521830 | a year ago | | | 0 | 0.0092747443 | |
| 18521830 | a year ago | | | 0 | 0.018309426 |
ABI
ABI objects
Getter at block 21317273
owner() view returns (address)
0x0fea3e5840334fc758a3decf14546bfdfbef5cd3
tokenNodesAmount() view returns (uint256)
11
Read-only
areConnectedTokens(address tokenIn, address tokenOut) view returns (bool areConnected)
calculateSwap(uint8 nodeIndexFrom, uint8 nodeIndexTo, uint256 dx) view returns (uint256 amountOut)
findBestPath(address tokenIn, address tokenOut, uint256 amountIn) view returns (uint8 nodeIndexFromBest, uint8 nodeIndexToBest, uint256 amountOutBest)
getAttachedPools(uint8 index) view returns (address[] pools)
getNodeParent(uint256 nodeIndex) view returns (uint256 parentIndex, address parentPool)
getPoolModule(address pool) view returns (address)
getToken(uint8 index) view returns (address token)
getTokenIndexes(address token) view returns (uint256[] nodes)
tokenIndexes(address, address) view returns (uint8)
State-modifying
Events addPool(uint256 nodeIndex, address pool, address poolModule)
renounceOwnership()
swap(uint8 nodeIndexFrom, uint8 nodeIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns (uint256 amountOut)
transferOwnership(address newOwner)
updatePoolModule(address pool, address newPoolModule)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PoolAdded(uint256 parentIndex, address pool, address poolModule)
PoolModuleUpdated(address pool, address oldPoolModule, address newPoolModule)
TokenNodeAdded(uint256 childIndex, address token, address parentPool)
TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
constructor(address bridgeToken, address owner_)
This contract contains no fallback and receive objects.
LinkedPool__DeadlineExceeded(uint256 timestamp, uint256 deadline)
LinkedPool__EmptyPoolAddress()
LinkedPool__EqualSwapIndexes(uint8 index)
LinkedPool__MinDyNotMet(uint256 amountOut, uint256 minDy)
TokenTree__DifferentTokenLists()
TokenTree__IndexOutOfRange(uint256 index)
TokenTree__NodeTokenNotInPool()
TokenTree__PoolAlreadyAttached()
TokenTree__PoolAlreadyOnRootPath()
TokenTree__SwapPoolUsedTwice(address pool)
TokenTree__TooManyNodes()
TokenTree__TooManyPools()
TokenTree__UnknownPool()