gridnetworks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package gridnetworks is a separate package to avoid import cycles due to a wild global config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GridNetwork

type GridNetwork string

GridNetwork type

var (
	// GridNetworkMainnet is the grid mainnet
	GridNetworkMainnet GridNetwork = "mainnet"
	// GridNetworkTestnet is the grid testnet
	GridNetworkTestnet GridNetwork = "testnet"
	// GridNetworkDevnet is the grid devnet
	GridNetworkDevnet GridNetwork = "devnet"
)

func (GridNetwork) Divisor

func (g GridNetwork) Divisor() (int64, error)

Divisor gets a divisor for the fee to be paid based on the current grid network

func (GridNetwork) Valid

func (g GridNetwork) Valid() error

Valid checks if the GridNetwork is known

Jump to

Keyboard shortcuts

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