Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractType ¶
type ContractType string
const ( ContractTypePool ContractType = "pool" ContractTypeToken ContractType = "token" ContractTypeGauge ContractType = "gauge" )
Contract types.
type GetPoolData ¶
type GetPoolData struct {
PoolData []Pool `json:"poolData"`
}
type Pool ¶
type Pool struct {
Network filter.Network `json:"-"`
Name string `json:"name"`
Address common.Address `json:"address"`
LiquidityProviderTokenAddress common.Address `json:"lpTokenAddress"`
GaugeAddress common.Address `json:"gaugeAddress"`
}
Pool is a curve pool.
Click to show internal directories.
Click to hide internal directories.