nemo

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressCollection

type AddressCollection []common.Address

func (*AddressCollection) Contains

func (ac *AddressCollection) Contains(address common.Address) bool

Contains returns true if the given string is in the slice.

type BuyRule

type BuyRule struct {
	ID          int
	Name        string  `mapstructure:"name"`
	PrivateKey  string  `mapstructure:"private_key"`
	Threshold   float64 `mapstructure:"threshold"`
	MaxPrice    float64 `mapstructure:"max_price"`
	MinSales    uint64  `mapstructure:"min_sales"`
	MinListings uint64  `mapstructure:"min_listings"`
}

type BuyRules

type BuyRules struct {
	Rules map[common.Address]*BuyRule
}

type CollectionMetadata

type CollectionMetadata struct {
	ContractName string `json:"contractName"`
	Symbol       string `json:"symbol"`
	TotalSupply  uint64 `json:"total_supply"`
	TokenURI     string `json:"token_uri"`
}

type GasInfo

type GasInfo struct {
	LastBlock         uint64   `json:"lastBlock"`
	LastBlockGasLimit uint64   `json:"lastBlockGasLimit"`
	GasPriceWei       *big.Int `json:"gasPrice"`
	GasTipWei         *big.Int `json:"gasTip"`
}

type MetadataERC721

type MetadataERC721 struct {
	Image string `json:"image"`
}

Jump to

Keyboard shortcuts

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