@neo-one/smart-contract
Advanced tools
Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.9
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21778
597