UNPKG

@btc-vision/transaction

Version:

OPNet transaction library allows you to create and sign transactions for the OPNet network.

25 lines 1.01 kB
import { Address } from '../keypair/Address.js'; /** * A map implementation using Address with both MLDSA and tweaked keys. * Uses the tweaked public key for lookup/indexing, but stores the full Address. */ export declare class ExtendedAddressMap<V> implements Disposable { private indexMap; private _keys; private _values; constructor(iterable?: ReadonlyArray<readonly [Address, V]> | null); get size(): number; set(key: Address, value: V): this; get(key: Address): V | undefined; has(key: Address): boolean; delete(key: Address): boolean; clear(): void; [Symbol.dispose](): void; indexOf(address: Address): number; entries(): IterableIterator<[Address, V]>; keys(): IterableIterator<Address>; values(): IterableIterator<V>; forEach(callback: (value: V, key: Address, map: ExtendedAddressMap<V>) => void, thisArg?: unknown): void; [Symbol.iterator](): IterableIterator<[Address, V]>; } //# sourceMappingURL=ExtendedAddressMap.d.ts.map