UNPKG

971 BTypeScriptView Raw
1/// <reference types="node" />
2/// <reference types="pouchdb-core" />
3import { BinaryWriter, Hash256ContractParameterJSON, UInt256 } from '@neo-one/client-common';
4import { DeserializeWireBaseOptions, SerializeJSONContext } from '../Serializable';
5import { ContractParameterBase } from './ContractParameterBase';
6import { ContractParameterType } from './ContractParameterType';
7export declare class Hash256ContractParameter extends ContractParameterBase<Hash256ContractParameter, Hash256ContractParameterJSON, ContractParameterType.Hash256> {
8 static deserializeWireBase(options: DeserializeWireBaseOptions): Hash256ContractParameter;
9 readonly type = ContractParameterType.Hash256;
10 readonly value: UInt256;
11 private readonly sizeInternal;
12 constructor(value: UInt256);
13 readonly size: number;
14 asBuffer(): Buffer;
15 serializeWireBase(writer: BinaryWriter): void;
16 serializeJSON(_context: SerializeJSONContext): Hash256ContractParameterJSON;
17}