Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Injector ¶
type Injector interface { Error(code uint32, msg string) Log(msg string) RequireAuth(name string) error RecordStaminaFee(caller string, spent uint64) GetVmRemainCpuStamina(name string) uint64 // only panic, no error return TransferFromContractToUser(contract, owner, to string, amount uint64) TransferFromContractToUserVest(contract, owner, to string, amount uint64) TransferFromUserToContract(from, contract, owner string, amount uint64) TransferFromContractToContract(fromContract, fromOwner, toContract, toOwner string, amount uint64) ContractCall(caller, fromOwner, fromContract, fromMethod, toOwner, toContract, toMethod string, params []byte, coins, remainGas uint64, preVm *exec.VM) ContractABI(owner, contract string) string GetBlockProducers() []string DiscardAccountCache(name string) VmCache() *vmcache.VmCache StateChangeContext() *blocklog.StateChangeContext NewRecordID() uint64 CurrentRecordID() uint64 }
Click to show internal directories.
Click to hide internal directories.