Skip to main content

Functions

hasMultiplePools

Returns true iff the path contains two or more pools

Parameters:

Return Values:

decodeFirstPool

Decodes the first pool in path

Parameters:

Return Values:

getFirstPool

Gets the segment corresponding to the first pool in the path

Parameters:

Return Values:

skipToken

Skips a token + fee element from the buffer and returns the remainder

Parameters:

Return Values: