defilama

package
v0.0.0-...-17556fd Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tvl

type Tvl struct {
	ApiBasePath string
}

func DefaultTvl

func DefaultTvl() *Tvl

func (*Tvl) Chains

func (tvl *Tvl) Chains() ([]types.ChainTvlNow, error)

func (*Tvl) Chart

func (tvl *Tvl) Chart() ([]types.Tvl, error)

func (*Tvl) ChartChain

func (tvl *Tvl) ChartChain(chain string) ([]types.Tvl, error)

func (*Tvl) GetAllProtocol

func (tvl *Tvl) GetAllProtocol() ([]types.Protocol, error)

func (*Tvl) Protocol

func (tvl *Tvl) Protocol(protolcol string) (*types.ProtocolDetail, error)

Jump to

Keyboard shortcuts

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