Ƭ GraphResolver: (pairList: List, tokenList: MetadataList, source: string, initialAmount: BigNumber) => NodeList
▸ (pairList, tokenList, source, initialAmount): NodeList
| Name | Type |
|---|---|
pairList |
List |
tokenList |
MetadataList |
source |
string |
initialAmount |
BigNumber |
Ƭ Node: Object
| Name | Type |
|---|---|
amountOut |
BigNumber |
id |
string |
path |
Set<string> |
Ƭ NodeList: Object
▪ [tokenId: string]: Node
Ƭ Path: Object
| Name | Type |
|---|---|
amountOut |
BigNumber |
path |
string[] |
Ƭ PathList: Object
▪ [tokenId: string]: Path
Ƭ WeightList: Object
▪ [tokenId: string]: BigNumber