common

package
v0.7.25 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONOrDefault

func JSONOrDefault(j null.JSON) json.RawMessage

func PrependFormulaTypeDefault added in v0.6.2

func PrependFormulaTypeDefault(formula string) string

func RemoveSpecialCharacter added in v0.6.9

func RemoveSpecialCharacter(input string) string

func ResolveEtherumAddressFromString added in v0.6.2

func ResolveEtherumAddressFromString(etherumAddress string) ([]byte, error)

Types

type FormulaType added in v0.6.2

type FormulaType string
const (
	DBCFormulaType    FormulaType = "dbc"
	CustomFormulaType FormulaType = "custom"
)

func (FormulaType) String added in v0.6.2

func (t FormulaType) String() string

Jump to

Keyboard shortcuts

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