blockchain

package
v0.0.0-...-9cb7876 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MainnetEth     uint = 1
	MainnetPolygon uint = 137
	TestnetGoerli  uint = 5
	TestnetWallaby uint = 31415
	TestnetMumbai  uint = 80001
)

Variables

View Source
var (
	OwnershipEvent         = "OwnershipTransferred(address,address)"
	OwnershipEventTopicLen = 3
	ClientList             map[uint]*ethclient.Client
)

Functions

func CheckAddr

func CheckAddr(addr, signature, signData string) bool

func GetOwnershipTransferredEvent

func GetOwnershipTransferredEvent(addr string, network uint) ([]models.ContractHistory, error)

func GetProxyOwner

func GetProxyOwner(addr string, network uint) (string, error)

func Init

func Init()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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