Socket
Socket
Sign inDemoInstall

@neo-one/smart-contract

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo-one/smart-contract - npm Package Compare versions

Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.9

4

package.json
{
"name": "@neo-one/smart-contract",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.9",
"keywords": [

@@ -30,3 +30,3 @@ "neo",

"engines": {
"node": ">=10.4.1"
"node": ">=10.6.0"
},

@@ -33,0 +33,0 @@ "publishConfig": {

@@ -47,2 +47,5 @@ declare global {

}
interface StorageContextReadOnlyBase {
__brand: 'StorageContextReadOnlyBase';
}
interface StorageIteratorBase {

@@ -53,3 +56,3 @@ __brand: 'StorageIteratorBase';

function syscall(name: 'Neo.Runtime.CheckWitness', witness: Buffer): boolean;
function syscall(name: 'Neo.Runtime.Notify', ...args: Array<Buffer | number | string | boolean>): void;
function syscall(name: 'Neo.Runtime.Notify', ...args: Array<Buffer | number | string | boolean | undefined>): void;
function syscall(name: 'Neo.Runtime.Log', value: string): void;

@@ -63,2 +66,3 @@ function syscall(name: 'Neo.Runtime.GetTime'): number;

function syscall(name: 'Neo.Blockchain.GetTransaction', hash: Buffer): TransactionBase;
function syscall(name: 'Neo.Blockchain.GetTransactionHeight', hash: Buffer): number;
function syscall(name: 'Neo.Blockchain.GetAccount', hash: Buffer): AccountBase;

@@ -107,7 +111,17 @@ function syscall(name: 'Neo.Blockchain.GetValidators'): Array<Buffer>;

function syscall(name: 'Neo.Storage.GetContext'): StorageContextBase;
function syscall(name: 'Neo.Storage.Get', context: StorageContextBase, key: Buffer | string): SerializableValue;
function syscall(name: 'Neo.Storage.Find', context: StorageContextBase, prefix: Buffer | string): StorageIteratorBase;
function syscall(name: 'Neo.Iterator.Next', iterator: StorageIteratorBase): boolean;
function syscall(name: 'Neo.Storage.GetReadOnlyContext'): StorageContextReadOnlyBase;
function syscall(name: 'Neo.StorageContext.AsReadOnly', context: StorageContextBase): StorageContextReadOnlyBase;
function syscall(
name: 'Neo.Storage.Get',
context: StorageContextBase | StorageContextReadOnlyBase,
key: Buffer | string,
): SerializableValue;
function syscall(
name: 'Neo.Storage.Find',
context: StorageContextBase | StorageContextReadOnlyBase,
prefix: Buffer | string,
): StorageIteratorBase;
function syscall(name: 'Neo.Enumerator.Next', iterator: StorageIteratorBase): boolean;
function syscall(name: 'Neo.Iterator.Key', iterator: StorageIteratorBase): Buffer | string;
function syscall(name: 'Neo.Iterator.Value', iterator: StorageIteratorBase): Buffer | number | string | boolean;
function syscall(name: 'Neo.Enumerator.Value', iterator: StorageIteratorBase): Buffer | number | string | boolean;
function syscall(name: 'Neo.Account.SetVotes', account: AccountBase, votes: Array<Buffer>): void;

@@ -114,0 +128,0 @@ function syscall(name: 'Neo.Validator.Register', publicKey: Buffer): ValidatorBase;

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