Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Params = ¶msContract{mustLoadContract("Params")} Meter = &erc20Contract{mustLoadContract("Meter")} // erc20 contract 0x0000000000000000000000000000004d65746572 MeterGov = &erc20Contract{mustLoadContract("MeterGov")} // erc20 contract 0x0000000000000000000000004d65746572476f76 MeterTracker = &meterTrackerContract{mustLoadContract("MeterNative")} // native call contract 0x0000000000000000004d657465724e6174697665 Executor = &executorContract{mustLoadContractAddress("Executor", meter.InitialExecutorAccount)} //set the excutor address Prototype = &prototypeContract{mustLoadContract("Prototype")} Extension = &extensionContract{mustLoadContract("Extension")} Measure = mustLoadContract("Measure") )
Builtin contracts binding.
Functions ¶
func FindNativeCall ¶
func FindNativeCall(to meter.Address, input []byte) (*abi.Method, func(*xenv.Environment) []interface{}, bool)
FindNativeCall find native calls.
func GetContractABI ¶
func GetContractABIForNewMeterNative ¶ added in v1.2.0
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.