Type aliases
ArTransfer
ArTransfer: { target: string; winstonQty: string }
Type declaration
-
target: string
-
winstonQty: string
ArWallet
ArWallet: JWKInterface | "use_wallet"
ContractDefinition
ContractDefinition<State>: { initState: State; minFee: string; owner: string; src: string; srcTxId: string; txId: string }
Type parameters
Type declaration
-
initState: State
-
minFee: string
-
owner: string
-
src: string
-
srcTxId: string
-
txId: string
ContractInteraction
ContractInteraction<Input>: { caller: string; input: Input }
Type parameters
Type declaration
-
caller: string
-
input: Input
ExecutionContext
Type parameters
Type declaration
-
blockHeight: number
-
Optional caller?: string
-
contract: Contract<State>
-
-
Optional currentBlockData?: BlockData
-
Optional currentNetworkInfo?: NetworkInfoInterface
-
-
handler: Api
-
-
-
HandlerFunction
Type parameters
HandlerResult
HandlerResult<State, Result>: { result: Result; state: State }
Type parameters
Type declaration
-
result: Result
-
state: State
InteractionResult
Interaction
Result<State, Result>: HandlerResult<State, Result> & { errorMessage?: string; type: "ok" | "error" | "exception" }
Type parameters
LogLevel
LogLevel: "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silly"
Tags
Tags: { name: string; value: string }[]
contains all data and meta-data of the given contact.