ABIEntity
scrypt-ts-opcat / ABIEntity
Interface: ABIEntity
Defined in: packages/scrypt-ts-opcat/src/smart-contract/types/artifact.ts:86
Represents an ABI (Application Binary Interface) entity in a smart contract. A JSON array defining how to interact with the contract (e.g., functions, events, parameters). Used by clients (like dApps) to encode/decode transactions and calls.
Properties
index?
optional
index:number
Defined in: packages/scrypt-ts-opcat/src/smart-contract/types/artifact.ts:90
Optional index, typically used for event parameters.
name?
optional
name:string
Defined in: packages/scrypt-ts-opcat/src/smart-contract/types/artifact.ts:88
Optional name of the ABI entity.
params
params:
ParamEntity
[]
Defined in: packages/scrypt-ts-opcat/src/smart-contract/types/artifact.ts:89
Array of parameter entities for the ABI.
type
type:
string
Defined in: packages/scrypt-ts-opcat/src/smart-contract/types/artifact.ts:87
The type of the ABI entity (e.g., "function", "event").