ContractOperation
For the complete documentation index, see llms.txt
@midnight-ntwrk/compact-runtime v0.16.0
@midnight-ntwrk/compact-runtime / ContractOperation
Class: ContractOperation
컨트랙트의 개별 연산 또는 진입점으로, 주로 ZK 검증자 키로 구성되며 증명 시스템의 여러 버전을 지원할 수 있습니다.
이 API에는 최신 버전만 노출됩니다.
키의 직렬화된 형태는 초기화 시 검증됩니다
Constructors
Constructor
new ContractOperation(): ContractOperation;
Returns
ContractOperation
Properties
verifierKey
verifierKey: Uint8Array;
Methods
serialize()
serialize(): Uint8Array;
Returns
Uint8Array
toString()
toString(compact?): string;
Parameters
compact?
boolean
Returns
string
deserialize()
static deserialize(raw): ContractOperation;
Parameters
raw
Uint8Array
Returns
ContractOperation