config

package
v0.0.0-...-ad1f59c Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

func New

func New(getter kv.Getter) Config

type MockedPlatform

type MockedPlatform struct {
	Id               string `fig:"id,required"`
	ChainId          int32  `fig:"chain_id,required"`
	Name             string `fig:"name,required"`
	ShortName        string `fig:"short_name,required"`
	PricePerOneToken string `fig:"price_per_one_token,required"`
	PricePerOneNft   string `fig:"price_per_one_nft,required"`
}

type MockedStructures

type MockedStructures struct {
	Tokens    map[string]string
	Nfts      map[string]string
	Platforms map[string]MockedPlatform
}

type MockedToken

type MockedToken struct {
	ActualAddress    string `fig:"actual_address,required"`
	CoingeckoAddress string `fig:"coingecko_address,required"`
}

Jump to

Keyboard shortcuts

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