Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@neo-one/node-vm

Package Overview
Dependencies
Maintainers
3
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo-one/node-vm - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

1

constants.d.ts
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { OpCode, SysCallName, UInt160, VMState } from '@neo-one/client-common';

@@ -4,0 +3,0 @@ import { Block, ExecutionAction, ScriptContainer, TriggerType, VMListeners, WriteBlockchain } from '@neo-one/node-core';

2

constants.js

@@ -28,2 +28,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbnN0YW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDBEQUF1RjtBQUV2RixpQ0FBMkI7QUFHZCxRQUFBLFdBQVcsR0FBRyxLQUFLLENBQUM7QUFDcEIsUUFBQSxXQUFXLEdBQUcsQ0FBQyxtQkFBVyxDQUFDO0FBQzNCLFFBQUEsb0JBQW9CLEdBQUcsRUFBRSxDQUFDO0FBQzFCLFFBQUEsY0FBYyxHQUFHLENBQUMsR0FBRyxJQUFJLENBQUM7QUFDMUIsUUFBQSxhQUFhLEdBQUcsSUFBSSxHQUFHLElBQUksQ0FBQztBQUM1QixRQUFBLHlCQUF5QixHQUFHLElBQUksQ0FBQztBQUNqQyxRQUFBLGNBQWMsR0FBRyxJQUFJLENBQUM7QUFDdEIsUUFBQSxpQkFBaUIsR0FBRyxJQUFJLFVBQUUsQ0FBQyxJQUFJLENBQUMsQ0FBQztBQUNqQyxRQUFBLGlCQUFpQixHQUFHLE9BQU8sQ0FBQztBQUM1QixRQUFBLDRCQUE0QixHQUFHLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQztBQUNwRSxNQUFNLEtBQUssR0FBRyxNQUFNLENB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mVhZG9ubHkgaW52b2NhdGlvbjogbnVtYmVyO1xuICByZWFkb25seSBmZWU6IEJOO1xuICByZWFkb25seSBpbnZva2U6IE9wSW52b2tlO1xufVxuZXhwb3J0IGludGVyZmFjZSBTeXNDYWxsIHtcbiAgcmVhZG9ubHkgbmFtZTogU3lzQ2FsbE5hbWU7XG4gIHJlYWRvbmx5IGluOiBudW1iZXI7XG4gIHJlYWRvbmx5IGluQWx0OiBudW1iZXI7XG4gIHJlYWRvbmx5IG91dDogbnVtYmVyO1xuICByZWFkb25seSBvdXRBbHQ6IG51bWJlcjtcbiAgcmVhZG9ubHkgaW52b2NhdGlvbjogbnVtYmVyO1xuICByZWFkb25seSBmZWU6IEJOO1xuICByZWFkb25seSBpbnZva2U6IE9wSW52b2tlO1xuICByZWFkb25seSBjb250ZXh0OiBFeGVjdXRpb25Db250ZXh0O1xufVxuIl19
//# sourceMappingURL=constants.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import BN from 'bn.js';

@@ -4,0 +3,0 @@ import { ExecutionContext } from './constants';

@@ -76,2 +76,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVycm9ycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDBEQUF3RDtBQUN4RCxrREFBeUQ7QUFDekQsMENBQW1EO0FBSW5ELE1BQU0sT0FBTyxHQUFHLENBQUMsT0FBeUIsRUFBVSxFQUFFO0lBQ3BELElBQUk7UUFDRixNQUFNLFFBQVEsR0FBRywrQkFBbUIsQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLENBQUM7UUFFbkQsTUFBTSxNQUFNLEdBQUcsQ0FBQyxHQUFHLFFBQVEsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsR0FBRyxFQUFFLEVBQUUsRUFBRSxFQUFFLENBQUMsRUFBRSxFQUFFLEN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EZvdW5kICR7Zm91bmR9LCBleHBlY3RlZCAke2V4cGVjdGVkfWApLFxuKTtcbmV4cG9ydCBjb25zdCBUZW1wbGF0ZVZNRXJyb3IgPSBtYWtlRXJyb3JXaXRoQ29kZSgnVk1fRVJST1InLCBnZXRNZXNzYWdlKTtcbmV4cG9ydCBjb25zdCBDb25zdGFudFN0b3JhZ2VFcnJvciA9IG1ha2VFcnJvcldpdGhDb2RlKCdWTV9FUlJPUicsIChjb250ZXh0OiBFeGVjdXRpb25Db250ZXh0LCBrZXk6IEJ1ZmZlcikgPT5cbiAgZ2V0TWVzc2FnZShjb250ZXh0LCBgU3RvcmFnZSBhdCAke2tleS50b1N0cmluZygnaGV4Jyl9IGlzIHJlYWQgb25seWApLFxuKTtcbmV4cG9ydCBjb25zdCBJbnZhbGlkVmVyaWZ5U3lzY2FsbEVycm9yID0gbWFrZUVycm9yV2l0aENvZGUoXG4gICdJTlZBTElEX1ZFUklGWV9TWVNDQUxMX0VSUk9SJyxcbiAgKGNvbnRleHQ6IEV4ZWN1dGlvbkNvbnRleHQsIHN5c2NhbGw6IHN0cmluZykgPT5cbiAgICBnZXRNZXNzYWdlKGNvbnRleHQsIGBTeXNjYWxsICR7c3lzY2FsbH0gaXMgbm90IGFsbG93ZWQgZHVyaW5nIHZlcmlmaWNhdGlvbmApLFxuKTtcbiJdfQ==
//# sourceMappingURL=errors.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { Block, ExecuteScriptsResult, ExecutionAction, Script, ScriptContainer, TriggerType, VMListeners, WriteBlockchain } from '@neo-one/node-core';

@@ -4,0 +3,0 @@ import BN from 'bn.js';

@@ -226,2 +226,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImV4ZWN1dGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMERBQWdFO0FBQ2hFLGtEQVU0QjtBQUU1Qiw0REFBdUI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iAgICBnYXNDb25zdW1lZCxcbiAgICBnYXNDb3N0LFxuICAgIGVycm9yTWVzc2FnZTogZXJyb3JNZXNzYWdlID09PSB1bmRlZmluZWQgPyBmaW5hbENvbnRleHQuZXJyb3JNZXNzYWdlIDogZXJyb3JNZXNzYWdlLFxuICB9O1xufTtcbiJdfQ==
//# sourceMappingURL=execute.js.map

@@ -10,2 +10,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsdUNBQW9DO0FBR3ZCLFFBQUEsRUFBRSxHQUFHO0lBQ2hCLGNBQWMsRUFBRSxpQkFBTztDQUN4QixDQUFDO0FBR0YseUNBQThEO0FBQTFDLDJDQUFBLG9CQUFvQixDQUFBIiwiZmlsZSI6Im5lby1vbmUtbm9kZS12bS9zcmMvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBleGVjdXRlIH0gZnJvbSAnLi9leGVjdXRlJztcblxuLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lIGV4cG9ydC1uYW1lXG5leHBvcnQgY29uc3Qgdm0gPSB7XG4gIGV4ZWN1dGVTY3JpcHRzOiBleGVjdXRlLFxufTtcblxuLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lIGV4cG9ydC1uYW1lXG5leHBvcnQgeyBTdGFja0l0ZW0sIGRlc2VyaWFsaXplU3RhY2tJdGVtIH0gZnJvbSAnLi9zdGFja0l0ZW0nO1xuIl19
//# sourceMappingURL=index.js.map
{
"name": "@neo-one/node-vm",
"version": "2.3.0",
"version": "2.4.0",
"author": "Alex DiCarlo <alexdicarlo@gmail.com>",

@@ -22,11 +22,12 @@ "description": "NEO•ONE NEO VM.",

"dependencies": {
"@neo-one/client-common": "^2.3.0",
"@neo-one/client-full-common": "^2.3.0",
"@neo-one/node-core": "^2.3.0",
"@neo-one/utils": "^2.3.0",
"@neo-one/client-common": "^2.4.0",
"@neo-one/client-full-common": "^2.4.0",
"@neo-one/node-core": "^2.4.0",
"@neo-one/utils": "^2.4.0",
"@reactivex/ix-es2015-cjs": "^2.5.3",
"@reactivex/ix-esnext-esm": "^2.5.3",
"bitwise": "^2.0.3",
"bn.js": "^5.0.0",
"lodash": "^4.17.15",
"rxjs": "^6.5.2",
"rxjs": "^6.5.3",
"tslib": "^1.10.0"

@@ -33,0 +34,0 @@ },

@@ -11,2 +11,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY291bnRTdGFja0l0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxtRUFBZ0U7QUFFaEUsTUFBYSxnQkFBaUIsU0FBUSw2Q0FBOEI7SUFDM0QsU0FBUztRQUNkLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQztJQUNwQixDQUFDO0NBQ0Y7QUFKRCw0Q0FJQyIsImZpbGUiOiJuZW8tb25lLW5vZGUtdm0vc3JjL3N0YWNrSXRlbS9BY2NvdW50U3RhY2tJdGVtLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQWNjb3VudCB9IGZyb20gJ0BuZW8tb25lL25vZGUtY29yZSc7XG5pbXBvcnQgeyBFcXVhdGFibGVLZXlTdGFja0l0ZW0gfSBmcm9tICcuL0VxdWF0YWJsZUtleVN0YWNrSXRlbSc7XG5cbmV4cG9ydCBjbGFzcyBBY2NvdW50U3RhY2tJdGVtIGV4dGVuZHMgRXF1YXRhYmxlS2V5U3RhY2tJdGVtPEFjY291bnQ+IHtcbiAgcHVibGljIGFzQWNjb3VudCgpOiBBY2NvdW50IHtcbiAgICByZXR1cm4gdGhpcy52YWx1ZTtcbiAgfVxufVxuIl19
//# sourceMappingURL=AccountStackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { ContractParameter } from '@neo-one/node-core';

@@ -16,3 +15,3 @@ import { StackItem } from './StackItem';

toContractParameter(seen?: Set<StackItemBase>): ContractParameter;
readonly size: number;
get size(): number;
protected incrementInternal(seen: Set<StackItemBase>): number;

@@ -19,0 +18,0 @@ protected decrementInternal(seen: Set<StackItemBase>): number;

@@ -56,2 +56,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFycmF5TGlrZVN0YWNrSXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLDBEQUFzRDtBQUN0RCxrREFBK0U7QUFDL0UscUNBQTJFO0FBRTNFLG1EQUFnRDtBQUdoRCxNQUFhLGtCQUFtQixTQUFRLDZCQUFhO0lBSW5ELFlBQW1CLEtBQWtCO1FBQ25DLEtBQUssRUFBRSxDQUFDO1FBQ1IsSUFBSSxDQUFDLEtBQUssR0FBRyxLQUFLLENBQUM7SUFDckIsQ0FBQztJQUVNLE9BQU87UUFDWixPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7SUFFTSxPQUFPO1FBQ1osT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDO0lBQ3BCLENBQUM7SUFFTSxTQUFTO1FBQ2QsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0lBRU0sUUFBUTtRQUNiLE1BQU0sSUFBSSxnQ0FBdUIsRUFBRSxDQUFDO0lBQ3RDLENBQUM7SUFFTSxtQkFBbUIsQ0FBQyxPQUEyQixJQUFJLEdBQUcsRUFBRTtRQUM3RCxJQUFJLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLEVBQUU7WUFDbEIsTUFBTSxJQUFJLCtCQUFzQixFQUFFLENBQUM7U0FDcEM7UUFDRCxNQUFNLE9BQU8sR0FBRyxJQUFJLEdBQUcsQ0FBQyxDQUFDLEdBQUcsSUFBSSxDQUFDLENBQUMsQ0FBQztRQUNuQyxPQUFP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CYXNlPik6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMuaW5jcmVtZW50SW50ZXJuYWxBcnJheSh0aGlzLnZhbHVlLCBzZWVuKTtcbiAgfVxuXG4gIHByb3RlY3RlZCBkZWNyZW1lbnRJbnRlcm5hbChzZWVuOiBTZXQ8U3RhY2tJdGVtQmFzZT4pOiBudW1iZXIge1xuICAgIHJldHVybiB0aGlzLmRlY3JlbWVudEludGVybmFsQXJyYXkodGhpcy52YWx1ZSwgc2Vlbik7XG4gIH1cblxuICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmUgbm8tYW55XG4gIHByb3RlY3RlZCBjb252ZXJ0SlNPTkludGVybmFsKHNlZW46IFNldDxTdGFja0l0ZW1CYXNlPik6IGFueSB7XG4gICAgcmV0dXJuIHRoaXMudmFsdWUubWFwKCh2YWwpID0+IHZhbC5jb252ZXJ0SlNPTihzZWVuKSk7XG4gIH1cblxuICBwcm90ZWN0ZWQgc2VyaWFsaXplSW50ZXJuYWwoc2VlbjogU2V0PFN0YWNrSXRlbUJhc2U+KTogQnVmZmVyIHtcbiAgICBjb25zdCB3cml0ZXIgPSBuZXcgQmluYXJ5V3JpdGVyKCk7XG4gICAgd3JpdGVyLndyaXRlVUludDgoKHRoaXMuY29uc3RydWN0b3IgYXMgdHlwZW9mIEFycmF5TGlrZVN0YWNrSXRlbSkudHlwZSk7XG4gICAgd3JpdGVyLndyaXRlVmFyVUludExFKHRoaXMudmFsdWUubGVuZ3RoKTtcbiAgICB0aGlzLnZhbHVlLmZvckVhY2goKGl0ZW0pID0+IHtcbiAgICAgIHdyaXRlci53cml0ZUJ5dGVzKGl0ZW0uc2VyaWFsaXplKHNlZW4pKTtcbiAgICB9KTtcblxuICAgIHJldHVybiB3cml0ZXIudG9CdWZmZXIoKTtcbiAgfVxufVxuIl19
//# sourceMappingURL=ArrayLikeStackItem.js.map

@@ -21,2 +21,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,ey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xuICAgIHJldHVybiBgJHt0aGlzLnJlZmVyZW5jZUlEfWA7XG4gIH1cbiAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lIG5vLWFueVxuICBwdWJsaWMgZXF1YWxzKG90aGVyOiBhbnkpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcyA9PT0gb3RoZXI7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=ArrayStackItem.js.map

@@ -11,2 +11,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFzc2V0U3RhY2tJdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsbUVBQWdFO0FBRWhFLE1BQWEsY0FBZSxTQUFRLDZDQUE0QjtJQUN2RCxPQUFPO1FBQ1osT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDO0lBQ3BCLENBQUM7Q0FDRjtBQUpELHdDQUlDIiwiZmlsZSI6Im5lby1vbmUtbm9kZS12bS9zcmMvc3RhY2tJdGVtL0Fzc2V0U3RhY2tJdGVtLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQXNzZXQgfSBmcm9tICdAbmVvLW9uZS9ub2RlLWNvcmUnO1xuaW1wb3J0IHsgRXF1YXRhYmxlS2V5U3RhY2tJdGVtIH0gZnJvbSAnLi9FcXVhdGFibGVLZXlTdGFja0l0ZW0nO1xuXG5leHBvcnQgY2xhc3MgQXNzZXRTdGFja0l0ZW0gZXh0ZW5kcyBFcXVhdGFibGVLZXlTdGFja0l0ZW08QXNzZXQ+IHtcbiAgcHVibGljIGFzQXNzZXQoKTogQXNzZXQge1xuICAgIHJldHVybiB0aGlzLnZhbHVlO1xuICB9XG59XG4iXX0=
//# sourceMappingURL=AssetStackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { ECPoint, UInt160, UInt256 } from '@neo-one/client-common';

@@ -4,0 +3,0 @@ import { Attribute, ContractParameter } from '@neo-one/node-core';

@@ -47,2 +47,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkF0dHJpYnV0ZVN0YWNrSXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLGtEQUF3SDtBQUN4SCx1REFBb0Q7QUFDcEQseURBQXNEO0FBQ3RELG1FQUFnRTtBQUdoRSx5REFBc0Q7QUFDdEQseURBQXNEO0FBRXRELE1BQWEsa0JBQW1CLFNBQVEsNkNBQWdDO0lBQy9ELFdBQVc7UUFDaEIsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDO0lBQ3BCLENBQUM7SUFFTSxTQUFTO1FBQ2QsT0FBTyxJQUFJLENBQUMsZ0JBQWdCLEVBQUUsQ0FBQyxTQUFTLEVBQUUsQ0FBQztJQUM3QyxDQUFDO0lBRU0sU0FBUztRQUNkLE9BQU8sSUFBSSxDQUFDLGdCQUFnQixFQUFFLENBQUMsU0FBUyxFQUFFLENBQUM7SUFDN0MsQ0FBQztJQUVNLFNBQVM7UUFDZCxPQUFPLElBQUksQ0FBQyxnQkFBZ0IsRUFBRSxDQUFDLFNBQVMsRUFBRSxDQUFDO0lBQzdDLENBQUM7SUFFTSxRQUFRO1FBQ2IsT0FBTyxJQUFJLENBQUMsZ0JBQWdCLEVBQUUsQ0FBQyxRQUFRLEVBQUUsQ0FBQztJQUM1QyxDQUFDO0lBRU0sZ0JBQWdCO1FBQ3JCLE1BQU0sRUFBRSxLQUFLLEVBQUUsR0FBRyxJQUFJLENBQUM7UUFDdkIsSUFBSSxLQUFLLFlBQVksNEJBQWdCLEVBQUU7WUFDckMsT0FBTyxJQUFJLG1DQUFnQixDQUFDLEtBQUssQ0FBQyxLQUFLLENBQUMsQ0FBQztTQUMxQztRQUVELElBQUksS0FBSyxZQUFZLDRCQUFnQixFQUFFO1lBQ3JDLE9BQU8sSUFBSSxt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dGFuY2VvZiBFQ1BvaW50QXR0cmlidXRlKSB7XG4gICAgICByZXR1cm4gbmV3IEVDUG9pbnRTdGFja0l0ZW0odmFsdWUudmFsdWUpO1xuICAgIH1cblxuICAgIGlmICh2YWx1ZSBpbnN0YW5jZW9mIFVJbnQxNjBBdHRyaWJ1dGUpIHtcbiAgICAgIHJldHVybiBuZXcgVUludDE2MFN0YWNrSXRlbSh2YWx1ZS52YWx1ZSk7XG4gICAgfVxuXG4gICAgaWYgKHZhbHVlIGluc3RhbmNlb2YgVUludDI1NkF0dHJpYnV0ZSkge1xuICAgICAgcmV0dXJuIG5ldyBVSW50MjU2U3RhY2tJdGVtKHZhbHVlLnZhbHVlKTtcbiAgICB9XG5cbiAgICByZXR1cm4gbmV3IEJ1ZmZlclN0YWNrSXRlbSh2YWx1ZS52YWx1ZSk7XG4gIH1cblxuICBwdWJsaWMgdG9Db250cmFjdFBhcmFtZXRlcihfc2VlbjogU2V0PFN0YWNrSXRlbUJhc2U+ID0gbmV3IFNldCgpKTogQ29udHJhY3RQYXJhbWV0ZXIge1xuICAgIHJldHVybiB0aGlzLnRvVmFsdWVTdGFja0l0ZW0oKS50b0NvbnRyYWN0UGFyYW1ldGVyKCk7XG4gIH1cblxuICBwdWJsaWMgYXNBdHRyaWJ1dGVTdGFja0l0ZW0oKTogQXR0cmlidXRlU3RhY2tJdGVtIHtcbiAgICByZXR1cm4gdGhpcztcbiAgfVxufVxuIl19
//# sourceMappingURL=AttributeStackItem.js.map

@@ -17,2 +17,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJsb2NrU3RhY2tJdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsbUVBQWdFO0FBRWhFLE1BQWEsY0FBZSxTQUFRLDZDQUE0QjtJQUN2RCxPQUFPO1FBQ1osT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDO0lBQ3BCLENBQUM7SUFFTSxRQUFRO1FBQ2IsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLE1BQU0sQ0FBQztJQUMzQixDQUFDO0lBRU0sV0FBVztRQUNoQixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUM7SUFDcEIsQ0FBQztDQUNGO0FBWkQsd0NBWUMiLCJmaWxlIjoibmVvLW9uZS1ub2RlLXZtL3NyYy9zdGFja0l0ZW0vQmxvY2tTdGFja0l0ZW0uanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBCbG9jaywgQmxvY2tCYXNlLCBIZWFkZXIgfSBmcm9tICdAbmVvLW9uZS9ub2RlLWNvcmUnO1xuaW1wb3J0IHsgRXF1YXRhYmxlS2V5U3RhY2tJdGVtIH0gZnJvbSAnLi9FcXVhdGFibGVLZXlTdGFja0l0ZW0nO1xuXG5leHBvcnQgY2xhc3MgQmxvY2tTdGFja0l0ZW0gZXh0ZW5kcyBFcXVhdGFibGVLZXlTdGFja0l0ZW08QmxvY2s+IHtcbiAgcHVibGljIGFzQmxvY2soKTogQmxvY2sge1xuICAgIHJldHVybiB0aGlzLnZhbHVlO1xuICB9XG5cbiAgcHVibGljIGFzSGVhZGVyKCk6IEhlYWRlciB7XG4gICAgcmV0dXJuIHRoaXMudmFsdWUuaGVhZGVyO1xuICB9XG5cbiAgcHVibGljIGFzQmxvY2tCYXNlKCk6IEJsb2NrQmFzZSB7XG4gICAgcmV0dXJuIHRoaXMudmFsdWU7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=BlockStackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { ContractParameter } from '@neo-one/node-core';

@@ -4,0 +3,0 @@ import BN from 'bn.js';

@@ -35,2 +35,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJvb2xlYW5TdGFja0l0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5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V0aWxzLlpFUk87XG4gIH1cblxuICBwdWJsaWMgYXNCb29sZWFuKCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLnZhbHVlO1xuICB9XG5cbiAgcHVibGljIGFzQnVmZmVyKCk6IEJ1ZmZlciB7XG4gICAgcmV0dXJuIHRoaXMudmFsdWUgPyBCb29sZWFuU3RhY2tJdGVtLlRSVUUgOiBCb29sZWFuU3RhY2tJdGVtLkZBTFNFO1xuICB9XG5cbiAgcHVibGljIHRvQ29udHJhY3RQYXJhbWV0ZXIoX3NlZW46IFNldDxTdGFja0l0ZW1CYXNlPiA9IG5ldyBTZXQoKSk6IENvbnRyYWN0UGFyYW1ldGVyIHtcbiAgICByZXR1cm4gbmV3IEJvb2xlYW5Db250cmFjdFBhcmFtZXRlcih0aGlzLnZhbHVlKTtcbiAgfVxuXG4gIHByb3RlY3RlZCBzZXJpYWxpemVJbnRlcm5hbCgpOiBCdWZmZXIge1xuICAgIGNvbnN0IHdyaXRlciA9IG5ldyBCaW5hcnlXcml0ZXIoKTtcbiAgICB3cml0ZXIud3JpdGVVSW50OChTdGFja0l0ZW1UeXBlLkJvb2xlYW4pO1xuICAgIHdyaXRlci53cml0ZUJvb2xlYW4odGhpcy52YWx1ZSk7XG5cbiAgICByZXR1cm4gd3JpdGVyLnRvQnVmZmVyKCk7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=BooleanStackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { ContractParameter } from '@neo-one/node-core';

@@ -4,0 +3,0 @@ import { StackItemBase } from './StackItemBase';

@@ -19,2 +19,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJ1ZmZlclN0YWNrSXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGtEQUFtRjtBQUNuRixtREFBZ0Q7QUFFaEQsTUFBYSxlQUFnQixTQUFRLDZC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yIHtcbiAgICByZXR1cm4gbmV3IEJ5dGVBcnJheUNvbnRyYWN0UGFyYW1ldGVyKHRoaXMudmFsdWUpO1xuICB9XG59XG4iXX0=
//# sourceMappingURL=BufferStackItem.js.map

@@ -11,2 +11,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnNlbnN1c1BheWxvYWRTdGFja0l0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxtRUFBZ0U7QUFFaEUsTUFBYSx5QkFBMEIsU0FBUSw2Q0FBdUM7SUFDN0Usa0JBQWtCO1FBQ3ZCLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQztJQUNwQixDQUFDO0NBQ0Y7QUFKRCw4REFJQyIsImZpbGUiOiJuZW8tb25lLW5vZGUtdm0vc3JjL3N0YWNrSXRlbS9Db25zZW5zdXNQYXlsb2FkU3RhY2tJdGVtLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29uc2Vuc3VzUGF5bG9hZCB9IGZyb20gJ0BuZW8tb25lL25vZGUtY29yZSc7XG5pbXBvcnQgeyBFcXVhdGFibGVLZXlTdGFja0l0ZW0gfSBmcm9tICcuL0VxdWF0YWJsZUtleVN0YWNrSXRlbSc7XG5cbmV4cG9ydCBjbGFzcyBDb25zZW5zdXNQYXlsb2FkU3RhY2tJdGVtIGV4dGVuZHMgRXF1YXRhYmxlS2V5U3RhY2tJdGVtPENvbnNlbnN1c1BheWxvYWQ+IHtcbiAgcHVibGljIGFzQ29uc2Vuc3VzUGF5bG9hZCgpOiBDb25zZW5zdXNQYXlsb2FkIHtcbiAgICByZXR1cm4gdGhpcy52YWx1ZTtcbiAgfVxufVxuIl19
//# sourceMappingURL=ConsensusPayloadStackItem.js.map

@@ -11,2 +11,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRyYWN0U3RhY2tJdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsbUVBQWdFO0FBRWhFLE1BQWEsaUJBQWtCLFNBQVEsNkNBQStCO0lBQzdELFVBQVU7UUFDZixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUM7SUFDcEIsQ0FBQztDQUNGO0FBSkQsOENBSUMiLCJmaWxlIjoibmVvLW9uZS1ub2RlLXZtL3NyYy9zdGFja0l0ZW0vQ29udHJhY3RTdGFja0l0ZW0uanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb250cmFjdCB9IGZyb20gJ0BuZW8tb25lL25vZGUtY29yZSc7XG5pbXBvcnQgeyBFcXVhdGFibGVLZXlTdGFja0l0ZW0gfSBmcm9tICcuL0VxdWF0YWJsZUtleVN0YWNrSXRlbSc7XG5cbmV4cG9ydCBjbGFzcyBDb250cmFjdFN0YWNrSXRlbSBleHRlbmRzIEVxdWF0YWJsZUtleVN0YWNrSXRlbTxDb250cmFjdD4ge1xuICBwdWJsaWMgYXNDb250cmFjdCgpOiBDb250cmFjdCB7XG4gICAgcmV0dXJuIHRoaXMudmFsdWU7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=ContractStackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { StackItem } from './StackItem';
export declare const deserializeStackItem: (value: Buffer) => StackItem;

@@ -53,2 +53,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRlc2VyaWFsaXplU3RhY2tJdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLGtEQUF5RDtBQUN6RCwwQ0FBc0Q7QUFDdEQsNERBQXVCO0FBQ3ZCLDRDQUFpRDtBQUNqRCxxREFBa0Q7QUFDbEQseURBQXNEO0FBQ3RELHVEQUFvRDtBQUNwRCxxQ0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2YWx1ZSk7XG4gICAgICB9KTtcblxuICAgICAgcmV0dXJuIG5ldyBNYXBTdGFja0l0ZW0oeyByZWZlcmVuY2VLZXlzLCByZWZlcmVuY2VWYWx1ZXMgfSk7XG4gICAgfVxuICAgIC8qIGlzdGFuYnVsIGlnbm9yZSBuZXh0ICovXG4gICAgZGVmYXVsdDpcbiAgICAgIGNvbW1vblV0aWxzLmFzc2VydE5ldmVyKHR5cGUpO1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdGb3IgVFMnKTtcbiAgfVxufTtcblxuZXhwb3J0IGNvbnN0IGRlc2VyaWFsaXplU3RhY2tJdGVtID0gKHZhbHVlOiBCdWZmZXIpOiBTdGFja0l0ZW0gPT4gZGVzZXJpYWxpemVTdGFja0l0ZW1CYXNlKG5ldyBCaW5hcnlSZWFkZXIodmFsdWUpKTtcbiJdfQ==
//# sourceMappingURL=deserializeStackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { ECPoint } from '@neo-one/client-common';

@@ -4,0 +3,0 @@ import { ContractParameter } from '@neo-one/node-core';

@@ -23,2 +23,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkVDUG9pbnRTdGFja0l0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwREFBeUQ7QUFDekQsa0RBQW1GO0FBQ25GLG1EQUFnRDtBQUVoRCxNQUFhLGdCQUFpQixTQUFRLDZCQUFhO0lBR2pELFlBQW1CLEtBQWM7UUFDL0IsS0FBSyxFQUFFLENBQUM7UUFDUixJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQztJQUNyQixDQUFDO0lBRU0sU0FBUztRQUNkLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQztJQUNwQixDQUFDO0lBRU0sUUFBUTtRQUNiLE9BQU8sc0JBQU0sQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUF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RW51bWVyYXRvciB9IGZyb20gJy4vU3RhY2tJdGVtRW51bWVyYXRvcic7XG5cbmV4cG9ydCBjbGFzcyBFbnVtZXJhdG9yU3RhY2tJdGVtPFxuICBUIGV4dGVuZHMgeyByZWFkb25seSB2YWx1ZTogU3RhY2tJdGVtQmFzZSB9ID0geyByZWFkb25seSB2YWx1ZTogU3RhY2tJdGVtQmFzZSB9LFxuICBURW51bWVyYXRvciBleHRlbmRzIFN0YWNrSXRlbUVudW1lcmF0b3I8VD4gPSBTdGFja0l0ZW1FbnVtZXJhdG9yPFQ+XG4+IGV4dGVuZHMgT2JqZWN0U3RhY2tJdGVtPFRFbnVtZXJhdG9yPiB7XG4gIHByaXZhdGUgcmVhZG9ubHkgcmVmZXJlbmNlSUQgPSBnZXROZXh0SUQoKTtcblxuICBwdWJsaWMgdG9TdHJ1Y3R1cmFsS2V5KCk6IHN0cmluZyB7XG4gICAgcmV0dXJuIGAke3RoaXMucmVmZXJlbmNlSUR9YDtcbiAgfVxuICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmUgbm8tYW55XG4gIHB1YmxpYyBlcXVhbHMob3RoZXI6IGFueSk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzID09PSBvdGhlcjtcbiAgfVxuXG4gIHB1YmxpYyBhc0VudW1lcmF0b3IoKTogU3RhY2tJdGVtRW51bWVyYXRvciB7XG4gICAgcmV0dXJuIHRoaXMudmFsdWU7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=EnumeratorStackItem.js.map

@@ -20,2 +20,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkVxdWF0YWJsZUtleVN0YWNrSXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLHVEQUFvRDtBQUVwRCxNQUFhLHFCQUFrRCxTQUFRLGlDQUFzQjtJQUNwRixlQUFlO1FBQ3BCLE9B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G5cbiAgICBpZiAodGhpcyA9PT0gb3RoZXIpIHtcbiAgICAgIHJldHVybiB0cnVlO1xuICAgIH1cblxuICAgIHJldHVybiBvdGhlciBpbnN0YW5jZW9mIEVxdWF0YWJsZUtleVN0YWNrSXRlbSAmJiB0aGlzLnZhbHVlLmVxdWFscyhvdGhlci52YWx1ZSk7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=EquatableKeyStackItem.js.map

@@ -31,2 +31,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVycm9ycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDBDQUFtRDtBQUV0QyxRQUFBLHNCQUFzQixHQUFHLHlCQUFpQixDQUFDLHFCQUFxQixFQUFFLEdBQUcsRUFBRSxDQUFDLCtCQUErQixDQUFDLENBQUM7QUFDekcsUUFBQSxzQkFBc0IsR0FBRyx5QkFBaUIsQ0FBQywwQkFBMEIsRUFBRSxHQUFHLEVBQUUsQ0FBQywwQkFBMEIsQ0FBQyxDQUFDO0FBQ3pHLFFBQUEsdUJBQXVCLEdBQUcseUJBQWlCLENBQ3RELHNCQUFzQixFQUN0QixHQUFHLEVBQUUsQ0FBQyxnQ0FBZ0MsQ0FDdkMsQ0FBQztBQUNXLFFBQUEsMkJBQTJCLEdBQUcseUJBQWlCLENBQzFELDBCQUEwQixFQUMxQixHQUFHLEVBQUUsQ0FBQyxvQ0FBb0MsQ0FDM0MsQ0FBQztBQUNXLFFBQUEsdUJBQXVCLEdBQUcseUJBQWlCLENBQ3RELHNCQUFzQixFQUN0QixHQUFHLEVBQUUsQ0FBQyxnQ0FBZ0MsQ0FDdkMsQ0FBQztBQUNXLFFBQUEsc0JBQXNCLEdBQUcseUJBQWlCLENBQUMscUJBQXFCLEVBQUUsR0FBRyxFQUFFLENBQUMsK0JBQStCLENBQUMsQ0FBQztBQUN6RyxRQUFBLDBCQUEwQixHQUFH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;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhlYWRlclN0YWNrSXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLG1FQUFnRTtBQUVoRSxNQUFhLGVBQWdCLFNBQVEsNkNBQTZCO0lBQ3pELFFBQVE7UUFDYixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUM7SUFDcEIsQ0FBQztJQUVNLFdBQVc7UUFDaEIsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDO0lBQ3BCLENBQUM7Q0FDRjtBQVJELDBDQVFDIiwiZmlsZSI6Im5lby1vbmUtbm9kZS12bS9zcmMvc3RhY2tJdGVtL0hlYWRlclN0YWNrSXRlbS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJsb2NrQmFzZSwgSGVhZGVyIH0gZnJvbSAnQG5lby1vbmUvbm9kZS1jb3JlJztcbmltcG9ydCB7IEVxdWF0YWJsZUtleVN0YWNrSXRlbSB9IGZyb20gJy4vRXF1YXRhYmxlS2V5U3RhY2tJdGVtJztcblxuZXhwb3J0IGNsYXNzIEhlYWRlclN0YWNrSXRlbSBleHRlbmRzIEVxdWF0YWJsZUtleVN0YWNrSXRlbTxIZWFkZXI+IHtcbiAgcHVibGljIGFzSGVhZGVyKCk6IEhlYWRlciB7XG4gICAgcmV0dXJuIHRoaXMudmFsdWU7XG4gIH1cblxuICBwdWJsaWMgYXNCbG9ja0Jhc2UoKTogQmxvY2tCYXNlIHtcbiAgICByZXR1cm4gdGhpcy52YWx1ZTtcbiAgfVxufVxuIl19
//# sourceMappingURL=HeaderStackItem.js.map

@@ -60,2 +60,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLG1EQUFrRDtBQUF6QywwQ0FBQSxjQUFjLENBQUE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HtcbiAgcHVibGljIGFzSW5wdXQoKTogSW5wdXQge1xuICAgIHJldHVybiB0aGlzLnZhbHVlO1xuICB9XG59XG4iXX0=
//# sourceMappingURL=InputStackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { ContractParameter } from '@neo-one/node-core';

@@ -4,0 +3,0 @@ import BN from 'bn.js';

@@ -61,2 +61,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkludGVnZXJTdGFja0l0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwREFBNkQ7QUFDN0Qsa0RBQWlGO0FBRWpGLDRDQUFvRDtBQUNwRCxxQ0FBMEY7QUFDMUYsbURBQWtGO0FBQ2xGLG1EQUFnRDtBQUNoRCx1RUFBb0U7QUFFcEUsTUFBYSxnQkFBaUIsU0FBUSw2QkFBYTtJQUdqRCxZQUFtQixLQUFTLEVBQUUsSUFBSSxHQUFHLElBQUk7UUFDdkMsS0FBSyxFQUFFLENBQUM7UUFDUixJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQztRQUVuQixJQUFJLElBQUksSUFBSSxJQUFJLENBQUMsUUFBUSxFQUFFLENBQUMsTUFBTSxHQUFHLGdDQUFvQixFQUFFO1lBQ3pELE1BQU0sSUFBSSw2QkFBb0IsRUFBRSxDQUFDO1NBQ2xDO0lBQ0gsQ0FBQztJQUVNLFlBQVk7UUFDakIsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDO0lBQ3BCLENBQUM7SUFFTSxTQUFTO1FBQ2QsT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxFQUFFLENBQUM7SUFDOUIsQ0FBQztJQUVNLFFBQVE7UUFDYixPQUFPLHFCQUFLLENBQUMsY0FBYyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQztJQUMxQyxDQUFDO0lBSU0seUJB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U7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=IteratorStackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { ContractParameter } from '@neo-one/node-core';

@@ -21,3 +20,3 @@ import { ArrayStackItem } from './ArrayStackItem';

toContractParameter(seen?: Set<StackItemBase>): ContractParameter;
readonly size: number;
get size(): number;
has(item: StackItem): boolean;

@@ -24,0 +23,0 @@ get(item: StackItem): StackItem;

@@ -107,2 +107,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIk1hcFN0YWNrSXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFDQSwwREFBc0Q7QUFDdEQsa0RBQTZFO0FBQzdFLDBDQUF1QztBQUN2Qyw0REFBdUI7QUFDdkIscURBQWtEO0FBQ2xELHFDQUFxRztBQUNyRyx5REFBK0M7QUFFL0MsbURBQWdEO0FBQ2hELG1EQUFnRDtBQUVoRCxNQUFhLFlBQWEsU0FBUSw2QkFBYTtJQUs3QyxZQUFtQixFQUNqQixhQUFhLEdBQUcsSUFBSSxHQUFHLEVBQUUsRUFDekIsZUFBZSxHQUFHLElBQUksR0FBRyxFQUFFLE1BSXpCLEVBQUU7UUFDSixLQUFLLEVBQUUsQ0FBQztRQVRPLGdCQUFXLEdBQUcsNEJBQVMsRUFBRSxDQUFDO1FBVXpDLElBQUksQ0FBQyxhQUFhLEdBQUcsYUFBYSxDQUFDO1FBQ25DLElBQUksQ0FBQyxlQUFlLEdBQUcsZUFBZSxDQUFDO0lBQ3pDLENBQUM7SUFFTSxlQUFlO1FBQ3BCLE9BQU8sR0FBRyxJQUFJLENBQUMsV0FBVyxFQUFFLENBQUM7SUFDL0IsQ0FBQztJQUdNLE1BQU0sQ0FBQyxLQUFVO1FBQ3RCLE9BQU8sSUFBSSxLQUFLLEtBQUssQ0FBQztJQUN4QixDQUFDO0lBRU0sS0FBSztRQUNWLE9BQU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pdGVyLndyaXRlQnl0ZXModGhpcy5nZXQoa2V5KS5zZXJpYWxpemUoc2VlbikpO1xuICAgIH0pO1xuXG4gICAgcmV0dXJuIHdyaXRlci50b0J1ZmZlcigpO1xuICB9XG59XG4iXX0=
//# sourceMappingURL=MapStackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { ContractParameter } from '@neo-one/node-core';

@@ -4,0 +3,0 @@ import { StackItemBase } from './StackItemBase';

@@ -29,2 +29,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIk9iamVjdFN0YWNrSXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGtEQUEwRjtBQUMxRixxQ0FBbUY7QUFDbkYsbURBQWdEO0FBRWhELE1BQWEsZUFBdUIsU0FBUSw2QkFBYTtJQUd2RCxZQUFtQixLQUFZO1FBQzdCLEtBQUssRUFBRSxDQUFDO1FBQ1IsSUFBSSxDQUFDLEtBQUssR0FBRyxLQUFLLENBQUM7SUFDckIsQ0FBQztJQUVNLFNBQVM7UUFDZCxPQUFPLElBQUksQ0FBQyxLQUFLLEtBQUssU0FBUyxDQUFDO0lBQ2xDLENBQUM7SUFFTSxRQUFRO1FBQ2IsTUFBTSxJQUFJLGdDQUF1QixFQUFFLENBQUM7SUFDdEMsQ0FBQztJQUVNLG1CQUFtQixDQUFDLFFBQTRCLElBQUksR0FBRyxFQUFFO1FBQzlELE9BQU8sSUFBSSw2Q0FBaUMsRUFBRSxDQUFDO0lBQ2pELENBQUM7SUFHUyxjQUFjO1FBRXRCLE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDcEMsQ0FBQztJQUVTLGlCQUFpQjtRQUN6QixNQUFNLElBQUksdUNBQThCLEVBQUUsQ0FBQztJQUM3QyxDQUFDO0NBQ0Y7QUE3QkQsMENBNkJDIiwi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aW50OmRpc2FibGUtbmV4dC1saW5lIG5vLWFueVxuICBwcm90ZWN0ZWQgdG9KU09OSW50ZXJuYWwoKTogYW55IHtcbiAgICAvKiBpc3RhbmJ1bCBpZ25vcmUgbmV4dCAqL1xuICAgIHJldHVybiBKU09OLnN0cmluZ2lmeSh0aGlzLnZhbHVlKTtcbiAgfVxuXG4gIHByb3RlY3RlZCBzZXJpYWxpemVJbnRlcm5hbCgpOiBCdWZmZXIge1xuICAgIHRocm93IG5ldyBVbnN1cHBvcnRlZFN0YWNrSXRlbVNlcmRlRXJyb3IoKTtcbiAgfVxufVxuIl19
//# sourceMappingURL=ObjectStackItem.js.map

@@ -11,2 +11,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIk91dHB1dFN0YWNrSXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLG1FQUFnRTtBQUVoRSxNQUFhLGVBQWdCLFNBQVEsNkNBQTZCO0lBQ3pELFFBQVE7UUFDYixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUM7SUFDcEIsQ0FBQztDQUNGO0FBSkQsMENBSUMiLCJmaWxlIjoibmVvLW9uZS1ub2RlLXZtL3NyYy9zdGFja0l0ZW0vT3V0cHV0U3RhY2tJdGVtLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgT3V0cHV0IH0gZnJvbSAnQG5lby1vbmUvbm9kZS1jb3JlJztcbmltcG9ydCB7IEVxdWF0YWJsZUtleVN0YWNrSXRlbSB9IGZyb20gJy4vRXF1YXRhYmxlS2V5U3RhY2tJdGVtJztcblxuZXhwb3J0IGNsYXNzIE91dHB1dFN0YWNrSXRlbSBleHRlbmRzIEVxdWF0YWJsZUtleVN0YWNrSXRlbTxPdXRwdXQ+IHtcbiAgcHVibGljIGFzT3V0cHV0KCk6IE91dHB1dCB7XG4gICAgcmV0dXJuIHRoaXMudmFsdWU7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=OutputStackItem.js.map

@@ -12,2 +12,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlZmVyZW5jZUNvdW50ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxJQUFJLEVBQUUsR0FBRyxDQUFDLENBQUM7QUFFRSxRQUFBLFNBQVMsR0FBRyxHQUFHLEVBQUU7SUFDNUIsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUVSLElBQUksRUFBRSxLQUFLLE1BQU0sQ0FBQyxnQkFBZ0IsRUFBRTtRQUNsQyxFQUFFLEdBQUcsQ0FBQyxDQUFDO0tBQ1I7SUFFRCxPQUFPLEVBQUUsQ0FBQztBQUNaLENBQUMsQ0FBQyIsImZpbGUiOiJuZW8tb25lLW5vZGUtdm0vc3JjL3N0YWNrSXRlbS9yZWZlcmVuY2VDb3VudGVyLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lIG5vLWxldFxubGV0IGlkID0gMDtcbi8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZSBleHBvcnQtbmFtZVxuZXhwb3J0IGNvbnN0IGdldE5leHRJRCA9ICgpID0+IHtcbiAgaWQgKz0gMTtcbiAgLyogaXN0YW5idWwgaWdub3JlIG5leHQgKi9cbiAgaWYgKGlkID09PSBOdW1iZXIuTUFYX1NBRkVfSU5URUdFUikge1xuICAgIGlkID0gMDtcbiAgfVxuXG4gIHJldHVybiBpZDtcbn07XG4iXX0=
//# sourceMappingURL=referenceCounter.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlN0YWNrSXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwiZmlsZSI6Im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YWNrSXRlbVxuICB8IFVJbnQyNTZTdGFja0l0ZW1cbiAgfCBJbnRlZ2VyU3RhY2tJdGVtXG4gIHwgSGVhZGVyU3RhY2tJdGVtXG4gIHwgQmxvY2tTdGFja0l0ZW1cbiAgfCBDb250cmFjdFN0YWNrSXRlbVxuICB8IFRyYW5zYWN0aW9uU3RhY2tJdGVtXG4gIHwgQWNjb3VudFN0YWNrSXRlbVxuICB8IEFzc2V0U3RhY2tJdGVtXG4gIHwgQXR0cmlidXRlU3RhY2tJdGVtXG4gIHwgSW5wdXRTdGFja0l0ZW1cbiAgfCBJdGVyYXRvclN0YWNrSXRlbVxuICB8IE1hcFN0YWNrSXRlbVxuICB8IE91dHB1dFN0YWNrSXRlbVxuICB8IFZhbGlkYXRvclN0YWNrSXRlbVxuICB8IFN0b3JhZ2VDb250ZXh0U3RhY2tJdGVtXG4gIHwgRUNQb2ludFN0YWNrSXRlbVxuICB8IFN0cnVjdFN0YWNrSXRlbVxuICB8IFdpdG5lc3NTdGFja0l0ZW07XG4iXX0=
//# sourceMappingURL=StackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { ECPoint, UInt160, UInt256 } from '@neo-one/client-common';

@@ -21,3 +20,3 @@ import { Account, Asset, Attribute, Block, BlockBase, Contract, ContractParameter, Equatable, Input, Output, Transaction, Validator, VMSettings, Witness } from '@neo-one/node-core';

private mutableCount;
readonly referenceCount: number;
get referenceCount(): number;
increment(seen?: Set<StackItemBase>): number;

@@ -61,3 +60,3 @@ decrement(seen?: Set<StackItemBase>): number;

toContractParameter(): ContractParameter;
readonly size: number;
get size(): number;
toString(): string;

@@ -64,0 +63,0 @@ convertJSON(seen?: Set<StackItemBase>): any;

@@ -231,2 +231,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlN0YWNrSXRlbUJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw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bmV4dC1saW5lIG5vLWFueVxuICBwcm90ZWN0ZWQgY29udmVydEpTT05JbnRlcm5hbChfc2VlbjogU2V0PFN0YWNrSXRlbUJhc2U+KTogYW55IHtcbiAgICB0cnkge1xuICAgICAgcmV0dXJuIHRoaXMuYXNCdWZmZXIoKS50b1N0cmluZygnaGV4Jyk7XG4gICAgfSBjYXRjaCB7XG4gICAgICByZXR1cm4gJ1VOS05PV04nO1xuICAgIH1cbiAgfVxufVxuIl19
//# sourceMappingURL=StackItemBase.js.map

@@ -12,3 +12,3 @@ import { Equatable } from '@neo-one/node-core';

constructor(enumerator: AsyncIterator<T>);
readonly done: boolean;
get done(): boolean;
equals(other: {}): boolean;

@@ -15,0 +15,0 @@ next(): Promise<boolean>;

@@ -43,2 +43,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlN0YWNrSXRlbUVudW1lcmF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSwwRkFBdUY7QUFDdkYsMEVBQXVFO0FBQ3ZFLHFDQUFrRTtBQUdsRSxNQUFhLG1CQUFtQjtJQU05QixZQUFtQixVQUE0QjtRQUM3QyxJQUFJLENBQUMsVUFBVSxHQUFHLFVBQVUsQ0FBQztRQUM3QixJQUFJLENBQUMsV0FBVyxHQUFHLEtBQUssQ0FBQztJQUMzQixDQUFDO0lBRUQsSUFBVyxJQUFJO1FBQ2IsT0FBTyxJQUFJLENBQUMsV0FBVyxDQUFDO0lBQzFCLENBQUM7SUFFTSxNQUFNLENBQUMsS0FBUztRQUNyQixPQUFPLElBQUksS0FBSyxLQUFLLENBQUM7SUFDeEIsQ0FBQztJQUVNLEtBQUssQ0FBQyxJQUFJO1FBQ2YsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLEVBQUU7WUFDckIsTUFBTSxNQUFNLEdBQUcsTUFBTSxJQUFJLENBQUMsVUFBVSxDQUFDLElBQUksR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1cm4gdmFsdWU7XG4gIH1cblxuICB0aHJvdyBuZXcgSW52YWxpZFN0YWNrSXRlbVR5cGVFcnJvcih2YWx1ZSk7XG59O1xuIl19
//# sourceMappingURL=StackItemType.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { UInt160 } from '@neo-one/client-common';

@@ -4,0 +3,0 @@ import { ContractParameter } from '@neo-one/node-core';

@@ -33,2 +33,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlN0b3JhZ2VDb250ZXh0U3RhY2tJdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsMERBQXlEO0FBQ3pELGtEQUFpRjtBQUNqRixtREFBa0Y7QUFFbEYsTUFBYSx1QkFBd0IsU0FBUSw2QkFBYTtJQUl4RCxZQUFtQixLQUFjLEVBQUUsVUFBVSxHQUFHLEtBQUs7UUFDbkQsS0FBSyxFQUFFLENBQUM7UUFDUixJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQztRQUNuQixJQUFJLENBQUMsVUFBVSxHQUFHLFVBQVUsQ0FBQztJQUMvQixDQUFDO0lBRU0sU0FBUztRQUNkLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQztJQUNwQixDQUFDO0lBRU0sU0FBUztRQUNkLE9BQVEsSUFBSSxDQUFDLEtBQTZCLEtBQUssU0FBUyxDQUFDO0lBQzNELENBQUM7SUFFTSxRQUFRO1FBQ2IsT0FBTyxzQkFBTSxDQUFDLGVBQWUsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDNUMsQ0FBQztJQUVNLHlCQUF5QixDQUFDLFFBQTBDO1FBQ3pFLE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQztJQUVNLFVBQVU7UUFDZixPQUFPLElBQUksdUJBQXVCLENBQUMsSUFBSSxDQUFDLEtBQUssRUFBRSxJQUFJLENBQUMs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Bhc0Jvb2xlYW4oKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuICh0aGlzLnZhbHVlIGFzIFVJbnQxNjAgfCB1bmRlZmluZWQpICE9PSB1bmRlZmluZWQ7XG4gIH1cblxuICBwdWJsaWMgYXNCdWZmZXIoKTogQnVmZmVyIHtcbiAgICByZXR1cm4gY29tbW9uLnVJbnQxNjBUb0J1ZmZlcih0aGlzLnZhbHVlKTtcbiAgfVxuXG4gIHB1YmxpYyBhc1N0b3JhZ2VDb250ZXh0U3RhY2tJdGVtKF9vcHRpb25zOiBBc1N0b3JhZ2VDb250ZXh0U3RhY2tJdGVtT3B0aW9ucyk6IFN0b3JhZ2VDb250ZXh0U3RhY2tJdGVtIHtcbiAgICByZXR1cm4gdGhpcztcbiAgfVxuXG4gIHB1YmxpYyBhc1JlYWRPbmx5KCk6IFN0b3JhZ2VDb250ZXh0U3RhY2tJdGVtIHtcbiAgICByZXR1cm4gbmV3IFN0b3JhZ2VDb250ZXh0U3RhY2tJdGVtKHRoaXMudmFsdWUsIHRydWUpO1xuICB9XG5cbiAgcHVibGljIHRvQ29udHJhY3RQYXJhbWV0ZXIoX3NlZW46IFNldDxTdGFja0l0ZW1CYXNlPiA9IG5ldyBTZXQoKSk6IENvbnRyYWN0UGFyYW1ldGVyIHtcbiAgICByZXR1cm4gbmV3IEhhc2gxNjBDb250cmFjdFBhcmFtZXRlcih0aGlzLnZhbHVlKTtcbiAgfVxufVxuIl19
//# sourceMappingURL=StorageContextStackItem.js.map

@@ -32,2 +32,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlN0cnVjdFN0YWNrSXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDBDQUF1QztBQUN2Qyw2REFBMEQ7QUFDMUQsbURBQWdEO0FBRWhELE1BQWEsZUFBZ0IsU0FBUSx1Q0FBa0I7SUFHOUMsS0FBSztRQUNWL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gIC8vIEluc3RlYWQsIHVzZSBlcXVhbHMgZm9yIGVmZmljaWVuY3kgYW5kIHNpbmNlIGl0J3MgZXF1aXZhbGVudFxuICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmUgbm8tYW55XG4gIHB1YmxpYyBlcXVhbHMob3RoZXI6IGFueSk6IGJvb2xlYW4ge1xuICAgIGlmIChvdGhlciA9PT0gdW5kZWZpbmVkKSB7XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgaWYgKHRoaXMgPT09IG90aGVyKSB7XG4gICAgICByZXR1cm4gdHJ1ZTtcbiAgICB9XG5cbiAgICBpZiAob3RoZXIgaW5zdGFuY2VvZiBTdHJ1Y3RTdGFja0l0ZW0pIHtcbiAgICAgIGlmICh0aGlzLnZhbHVlLmxlbmd0aCAhPT0gb3RoZXIudmFsdWUubGVuZ3RoKSB7XG4gICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIHV0aWxzLnppcCh0aGlzLnZhbHVlLCBvdGhlci52YWx1ZSkuZXZlcnkoKFthLCBiXSkgPT4gYS5lcXVhbHMoYikpO1xuICAgIH1cblxuICAgIHJldHVybiB0aGlzID09PSBvdGhlcjtcbiAgfVxufVxuIl19
//# sourceMappingURL=StructStackItem.js.map

@@ -11,2 +11,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRyYW5zYWN0aW9uU3RhY2tJdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsbUVBQWdFO0FBRWhFLE1BQWEsb0JBQXFCLFNBQVEsNkNBQWtDO0lBQ25FLGFBQWE7UUFDbEIsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDO0lBQ3BCLENBQUM7Q0FDRjtBQUpELG9EQUlDIiwiZmlsZSI6Im5lby1vbmUtbm9kZS12bS9zcmMvc3RhY2tJdGVtL1RyYW5zYWN0aW9uU3RhY2tJdGVtLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVHJhbnNhY3Rpb24gfSBmcm9tICdAbmVvLW9uZS9ub2RlLWNvcmUnO1xuaW1wb3J0IHsgRXF1YXRhYmxlS2V5U3RhY2tJdGVtIH0gZnJvbSAnLi9FcXVhdGFibGVLZXlTdGFja0l0ZW0nO1xuXG5leHBvcnQgY2xhc3MgVHJhbnNhY3Rpb25TdGFja0l0ZW0gZXh0ZW5kcyBFcXVhdGFibGVLZXlTdGFja0l0ZW08VHJhbnNhY3Rpb24+IHtcbiAgcHVibGljIGFzVHJhbnNhY3Rpb24oKTogVHJhbnNhY3Rpb24ge1xuICAgIHJldHVybiB0aGlzLnZhbHVlO1xuICB9XG59XG4iXX0=
//# sourceMappingURL=TransactionStackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { UInt160 } from '@neo-one/client-common';

@@ -4,0 +3,0 @@ import { ContractParameter } from '@neo-one/node-core';

@@ -23,2 +23,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlVJbnQxNjBTdGFja0l0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwREFBeUQ7QUFDekQsa0RBQWlGO0FBQ2pGLG1EQUFnRDtBQUVoRCxNQUFhLGdCQUFpQixTQUFRLDZCQUFhO0lBR2pELFlBQW1CLEtBQWM7UUFDL0IsS0FBSyxFQUFFLENBQUM7UUFDUixJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQztJQUNyQixDQUFDO0lBRU0sU0FBUztRQUNkLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQztJQUNwQixDQUFDO0lBRU0sUUFBUTtRQUNiLE9BQU8sc0JBQU0sQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDO0l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FyYW1ldGVyIHtcbiAgICByZXR1cm4gbmV3IEhhc2gxNjBDb250cmFjdFBhcmFtZXRlcih0aGlzLnZhbHVlKTtcbiAgfVxufVxuIl19
//# sourceMappingURL=UInt160StackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { UInt256 } from '@neo-one/client-common';

@@ -4,0 +3,0 @@ import { ContractParameter } from '@neo-one/node-core';

@@ -23,2 +23,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlVJbnQyNTZTdGFja0l0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwREFBeUQ7QUFDekQsa0RBQWlGO0FBQ2pGLG1EQUFnRDtBQUVoRCxNQUFhLGdCQUFpQixTQUFRLDZCQUFhO0lBR2pELFlBQW1CLEtBQWM7UUFDL0IsS0FBSyxFQUFFLENBQUM7UUFDUixJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQztJQUNyQixDQUFDO0lBRU0sU0FBUztRQUNkLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQztJQUNwQixDQUFDO0lBRU0sUUFBUTtRQUNiLE9BQU8sc0JBQU0sQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQzVDLENBQUM7SUFFTSxtQkFBbUIsQ0FBQyxRQUE0QixJQUFJLEdBQUcsRUFBRTtRQUM5RCxPQUFPLElBQUksb0NBQXdCLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQ2xELENBQUM7Q0FDRjtBQW5CRCw0Q0FtQkMiLCJmaWxlIjoibmVvLW9uZS1ub2RlLXZtL3NyYy9zdGFja0l0ZW0vVUludDI1NlN0YWNrSXRlbS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNvbW1vbiwgVUludDI1NiB9IGZyb20gJ0BuZW8tb25lL2NsaWVudC1jb21tb24nO1xuaW1wb3J0IHsgQ29udHJhY3RQYXJhbWV0ZXIsIEhhc2gyNTZDb250cmFjdFBhcmFtZXRlciB9IGZyb20gJ0BuZW8tb25lL25vZGUtY29yZSc7XG5pbXBvcnQgeyBTdGFja0l0ZW1CYXNlIH0gZnJvbSAnLi9TdGFja0l0ZW1CYXNlJztcblxuZXhwb3J0IGNsYXNzIFVJbnQyNTZTdGFja0l0ZW0gZXh0ZW5kcyBTdGFja0l0ZW1CYXNlIHtcbiAgcHVibGljIHJlYWRvbmx5IHZhbHVlOiBVSW50MjU2O1xuXG4gIHB1YmxpYyBjb25zdHJ1Y3Rvcih2YWx1ZTogVUludDI1Nikge1xuICAgIHN1cGVyKCk7XG4gICAgdGhpcy52YWx1ZSA9IHZhbHVlO1xuICB9XG5cbiAgcHVibGljIGFzVUludDI1NigpOiBVSW50MjU2IHtcbiAgICByZXR1cm4gdGhpcy52YWx1ZTtcbiAgfVxuXG4gIHB1YmxpYyBhc0J1ZmZlcigpOiBCdWZmZXIge1xuICAgIHJldHVybiBjb21tb24udUludDI1NlRvQnVmZmVyKHRoaXMudmFsdWUpO1xuICB9XG5cbiAgcHVibGljIHRvQ29udHJhY3RQYXJhbWV0ZXIoX3NlZW46IFNldDxTdGFja0l0ZW1CYXNlPiA9IG5ldyBTZXQoKSk6IENvbnRyYWN0UGFyYW1ldGVyIHtcbiAgICByZXR1cm4gbmV3IEhhc2gyNTZDb250cmFjdFBhcmFtZXRlcih0aGlzLnZhbHVlKTtcbiAgfVxufVxuIl19
//# sourceMappingURL=UInt256StackItem.js.map

@@ -11,2 +11,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlZhbGlkYXRvclN0YWNrSXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLG1FQUFnRTtBQUVoRSxNQUFhLGtCQUFtQixTQUFRLDZDQUFnQztJQUMvR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cXVhdGFibGVLZXlTdGFja0l0ZW0gfSBmcm9tICcuL0VxdWF0YWJsZUtleVN0YWNrSXRlbSc7XG5cbmV4cG9ydCBjbGFzcyBXaXRuZXNzU3RhY2tJdGVtIGV4dGVuZHMgRXF1YXRhYmxlS2V5U3RhY2tJdGVtPFdpdG5lc3M+IHtcbiAgcHVibGljIGFzV2l0bmVzcygpOiBXaXRuZXNzIHtcbiAgICByZXR1cm4gdGhpcy52YWx1ZTtcbiAgfVxufVxuIl19
//# sourceMappingURL=WitnessStackItem.js.map
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import BN from 'bn.js';

@@ -4,0 +3,0 @@ import { ExecutionContext } from './constants';

@@ -76,2 +76,2 @@ "use strict";

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInZtVXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMERBQStDO0FBRS9DLDhEQUE4QjtBQUc5QixpQ0FBMkI7QUFDM0IsNERBQXVCO0FBRXZCLHFDQUE0RTtBQUc1RSxNQUFNLFFBQVEsR0FBRyxDQUFDLE9BQXlCLEVBQUUsS0FBUyxFQUFVLEVBQUU7SUFDaEUsSUFBSTtRQUNGLE9BQU8sS0FBSyxDQUFDLFFBQVEsRUFBRSxDQUFDO0tBQ3pCO0lBQUMsV0FBTTtRQUNOLE1BQU0sSUFBSSw0QkFBbUIsQ0FBQyxPQUFPLEVBQUUsS0FBSyxDQUFDLENBQUM7S0FDL0M7QUFDSCxDQUFDLENBQUM7QUFFRixNQUFNLFNBQVMsR0FBRyxDQUFDLEtBQVMsRUFBRSxLQUFTLEVBQU0sRUFBRSxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMscUJBQUssQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUM7QUFFaEYsTUFBTSxVQUFVLEdBQUcsQ0FBQyxLQUFTLEVBQ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mVyID0gbGVmdFBhZChhQnVmZmVyLCBiQnVmZmVyLmxlbmd0aCk7XG4gIH0gZWxzZSBpZiAoYUJ1ZmZlci5sZW5ndGggPiBiQnVmZmVyLmxlbmd0aCkge1xuICAgIGJCdWZmZXIgPSBsZWZ0UGFkKGJCdWZmZXIsIGFCdWZmZXIubGVuZ3RoKTtcbiAgfVxuXG4gIHJldHVybiB1dGlscy5mcm9tU2lnbmVkQnVmZmVyKGZ1bmMoYUJ1ZmZlciwgYkJ1ZmZlcikpO1xufTtcblxuZXhwb3J0IGNvbnN0IHZtVXRpbHMgPSB7XG4gIHRvTnVtYmVyLFxuICB0b1N0b3JhZ2VDb250ZXh0LFxuICBzaGlmdExlZnQsXG4gIHNoaWZ0UmlnaHQsXG4gIGJpdHdpc2VPcCxcbn07XG4iXX0=
//# sourceMappingURL=vmUtils.js.map

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc