Skip to content

Latest commit

 

History

History
92 lines (55 loc) · 1.59 KB

MaximalPaths.md

File metadata and controls

92 lines (55 loc) · 1.59 KB

Namespace: MaximalPaths

Table of contents

Type Aliases

Type Aliases

GraphResolver

Ƭ GraphResolver: (pairList: List, tokenList: MetadataList, source: string, initialAmount: BigNumber) => NodeList

Type declaration

▸ (pairList, tokenList, source, initialAmount): NodeList

Parameters
Name Type
pairList List
tokenList MetadataList
source string
initialAmount BigNumber
Returns

NodeList


Node

Ƭ Node: Object

Type declaration

Name Type
amountOut BigNumber
id string
path Set<string>

NodeList

Ƭ NodeList: Object

Index signature

▪ [tokenId: string]: Node


Path

Ƭ Path: Object

Type declaration

Name Type
amountOut BigNumber
path string[]

PathList

Ƭ PathList: Object

Index signature

▪ [tokenId: string]: Path


WeightList

Ƭ WeightList: Object

Index signature

▪ [tokenId: string]: BigNumber