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
Click to show internal directories.
Click to hide internal directories.