common

package
v0.0.0-...-e920dd0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrefixSmartContract = 0x1c
)

Variables

This section is empty.

Functions

func BytesToInt

func BytesToInt(b []byte) int64

func BytesToUInt

func BytesToUInt(b []byte) uint32

func IntToBytes

func IntToBytes(n int64) []byte

func StringToInvokeHash

func StringToInvokeHash(method []byte) uint32

func ToCodeHash

func ToCodeHash(code []byte) (*common.Uint168, error)

func ToProgramHash

func ToProgramHash(code []byte) (*common.Uint168, error)

func UInt168ToUInt160

func UInt168ToUInt160(hash *common.Uint168) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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