bcd

package
v0.0.0-...-0c7631f Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SymLinkAlpha   = "alpha"
	SymLinkBabylon = "babylon"
	SymLinkJakarta = "jakarta"
)

Symbolic links

Variables

View Source
var ChainID = map[string]string{
	"NetXdQprcVkpaWU": "mainnet",
	"NetXZSsxBpMQeAT": "hangzhou2net",
	"NetXnHfVqm9iesp": "ithacanet",
	"NetXLH1uAxK7CCh": "jakarta",
	"NetXi2ZagzEsXbZ": "kathmandunet",
	"NetXizpkH94bocH": "limanet",
	"NetXQw6nWSnrJ5t": "mumbainet",
	"NetXyuzvDo2Ugzb": "nairobinet",
	"NetXxWsskGahzQB": "oxfordnet",
	"NetXo8SqH1c38SS": "parisnet",
}

Functions

func GetCurrentProtocol

func GetCurrentProtocol() string

GetCurrentProtocol - returns last supported protocol

func GetProtoSymLink(protocol string) (string, error)

GetProtoSymLink -

func IsAddress

func IsAddress(str string) bool

IsAddress -

func IsAddressLazy

func IsAddressLazy(address string) bool

IsAddressLazy -

func IsBakerHash

func IsBakerHash(str string) bool

IsBakerHash -

func IsContract

func IsContract(str string) bool

IsContract -

func IsContractLazy

func IsContractLazy(str string) bool

IsContractLazy -

func IsLiteral

func IsLiteral(prim string) bool

IsLiteral -

func IsOperationHash

func IsOperationHash(str string) bool

IsOperationHash -

func IsRollupAddressLazy

func IsRollupAddressLazy(address string) bool

IsRollupAddressLazy -

func IsSmartRollupAddressLazy

func IsSmartRollupAddressLazy(address string) bool

IsRollupAddressLazy -

func IsSmartRollupHash

func IsSmartRollupHash(str string) bool

IsSmartRollupHash -

func SymLink() (string, error)

SymLink - returns last sym link

Types

type RawScript

type RawScript struct {
	Code      []byte `json:"-"`
	Parameter []byte `json:"-"`
	Storage   []byte `json:"-"`
	Views     []byte `json:"-"`
}

RawScript -

func (*RawScript) UnmarshalJSON

func (s *RawScript) UnmarshalJSON(data []byte) error

UnmarshalJSON -

Directories

Path Synopsis
ast

Jump to

Keyboard shortcuts

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