platform

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AirblocDependencies = map[string]string{
	"logger":  "github.com/airbloc/logger",
	"ablbind": "github.com/airbloc/airbloc-go/bind",
	"types":   "github.com/airbloc/airbloc-go/bind/types",
}
View Source
var EthereumDependencies = map[string]string{
	"platform":   "github.com/ethereum/go-ethereum",
	"abi":        "github.com/ethereum/go-ethereum/accounts/abi",
	"bind":       "github.com/ethereum/go-ethereum/accounts/abi/bind",
	"common":     "github.com/ethereum/go-ethereum/common",
	"chainTypes": "github.com/ethereum/go-ethereum/core/types",
	"event":      "github.com/ethereum/go-ethereum/event",
}
View Source
var KlaytnDependencies = map[string]string{
	"platform":   "github.com/klaytn/klaytn",
	"abi":        "github.com/klaytn/klaytn/accounts/abi",
	"bind":       "github.com/klaytn/klaytn/accounts/abi/bind",
	"common":     "github.com/klaytn/klaytn/common",
	"chainTypes": "github.com/klaytn/klaytn/blockchain/types",
	"event":      "github.com/klaytn/klaytn/event",
}

Functions

func ManagerImports

func ManagerImports(plat Platform) map[string]string

func MergeImports

func MergeImports(imports ...map[string]string) map[string]string

Types

type Platform

type Platform string
const (
	Ethereum Platform = "ethereum"
	Klaytn   Platform = "klaytn"
)

Jump to

Keyboard shortcuts

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