UNPKG

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