nooschain / contracts/host-api / ContractExecutionContext
Interface: ContractExecutionContext
Defined in: contracts/host-api.ts:33
Properties
blockHeight
blockHeight:
string
Defined in: contracts/host-api.ts:40
callDepth?
optionalcallDepth?:number
Defined in: contracts/host-api.ts:44
caller
caller:
ContractActor|ResolvedTransactionActor
Defined in: contracts/host-api.ts:35
callStack?
optionalcallStack?:object[]
Defined in: contracts/host-api.ts:45
contractId
contractId:
string
method
method:
string
contract
contract:
ContractActor
Defined in: contracts/host-api.ts:36
contractId
contractId:
string
Defined in: contracts/host-api.ts:37
database
database:
ChainDatabase
Defined in: contracts/host-api.ts:34
manifestMethod
manifestMethod:
object
Defined in: contracts/host-api.ts:41
abi?
optionalabi?:object
abi.description?
optionaldescription?:string
abi.events
events:
object[]
abi.input?
optionalinput?:ContractAbiValue
abi.output?
optionaloutput?:ContractAbiValue
buckets
buckets:
object[]
entrypoint
entrypoint:
string=contractMethodNameSchema
invoke
invoke:
object=contractMethodInvokePolicySchema
invoke.allow
allow: ({
principalType:"anyUser"; } | {principalType:"anyContract"; } | {principalType:"any"; } | {principalType:"system"; } | {principalId:string;principalType:"user"; } | {principalId:string;principalType:"organization"; } | {principalId:string;principalType:"contract"; })[]
maxFuel?
optionalmaxFuel?:number
method
method:
string
Defined in: contracts/host-api.ts:38
protocolContext
protocolContext:
ProtocolExecutionContext
Defined in: contracts/host-api.ts:42
rootCaller?
optionalrootCaller?:ResolvedTransactionActor
Defined in: contracts/host-api.ts:43
transactionHash
transactionHash:
string
Defined in: contracts/host-api.ts:39