jsonresult

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PdexParams

type PdexParams struct {
	DefaultFeeRateBPS        uint
	FeeRateBPS               map[string]uint
	PRVDiscountPercent       uint
	MinPRVReserveTradingRate uint64
}

type PdexState

type PdexState struct {
	Params    PdexParams
	PoolPairs map[string]*PoolPair
}

type PoolPair

type PoolPair struct {
	State PoolPairState
}

type PoolPairState

type PoolPairState struct {
	Token0ID            string
	Token1ID            string
	Token0VirtualAmount *big.Int
	Token1VirtualAmount *big.Int
	Amplifier           uint
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL