Socket
Socket
Sign inDemoInstall

@neo-one/smart-contract

Package Overview
Dependencies
0
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.5.1-rc3 to 3.5.3-rc3

19

CHANGELOG.json

@@ -5,20 +5,9 @@ {

{
"version": "3.5.1",
"tag": "@neo-one/smart-contract_v3.5.1",
"date": "Fri, 04 Jun 2021 00:05:29 GMT",
"comments": {}
},
{
"version": "3.5.0",
"tag": "@neo-one/smart-contract_v3.5.0",
"date": "Thu, 03 Jun 2021 23:57:28 GMT",
"version": "3.5.3",
"tag": "@neo-one/smart-contract_v3.5.3",
"date": "Fri, 02 Jul 2021 23:18:53 GMT",
"comments": {
"minor": [
{
"comment": "Updates for Preview5"
}
],
"none": [
{
"comment": "Update packages for RC3"
"comment": "Update package versions for RC3"
}

@@ -25,0 +14,0 @@ ]

# Change Log - @neo-one/smart-contract
This log was last generated on Fri, 04 Jun 2021 00:05:29 GMT and should not be manually modified.
This log was last generated on Fri, 02 Jul 2021 23:18:53 GMT and should not be manually modified.
## 3.5.1
Fri, 04 Jun 2021 00:05:29 GMT
## 3.5.3
Fri, 02 Jul 2021 23:18:53 GMT
*Version update only*
## 3.5.0
Thu, 03 Jun 2021 23:57:28 GMT
### Minor changes
- Updates for Preview5
### Updates
- Update packages for RC3
- Update package versions for RC3

@@ -21,0 +12,0 @@ ## 3.1.0

{
"name": "@neo-one/smart-contract",
"version": "3.5.1-rc3",
"version": "3.5.3-rc3",
"description": "NEO•ONE smart contract apis.",

@@ -5,0 +5,0 @@ "main": "./src/index.d.ts",

@@ -80,2 +80,26 @@ // tslint:disable

readonly Policy: Address;
/**
* `Address` of the ContractManagement `Contract`.
*/
readonly ContractManagement: Address;
/**
* `Address` of the StdLib `Contract`.
*/
readonly StdLib: Address;
/**
* `Address` of the CryptoLib `Contract`.
*/
readonly CryptoLib: Address;
/**
* `Address` of the Ledger `Contract`.
*/
readonly Ledger: Address;
/**
* `Address` of the RoleManagement `Contract`.
*/
readonly RoleManagement: Address;
/**
* `Address` of the Oracle `Contract`.
*/
readonly Oracle: Address;
readonly [OpaqueTagSymbol0]: unique symbol;

@@ -300,9 +324,5 @@ }

/**
* Code that was executed in NEO VM.
* Code that was executed in the NeoVM.
*/
readonly script: Buffer;
/**
* `Notification`s emitted by the `Transaction`.
*/
// readonly notifications: Notification[];
readonly [OpaqueTagSymbol0]: unique symbol;

@@ -563,44 +583,2 @@ }

// export enum StackItemType {
// Any = 0x00,
// Pointer = 0x10,
// Boolean = 0x20,
// Integer = 0x21,
// ByteString = 0x28,
// Buffer = 0x30,
// Array = 0x40,
// Struct = 0x41,
// Map = 0x48,
// InteropInterface = 0x60,
// }
// export interface StackItemBase {
// readonly type: StackItemType;
// }
// export interface BufferStackItem extends StackItemBase {
// readonly type: StackItemType.Buffer;
// readonly value: Buffer;
// }
// export type StackItem = BufferStackItem;
// /**
// *
// */
// export interface Notification {
// /**
// *
// */
// readonly scriptHash: Address;
// /**
// * The name of the notification event. \"Transfer\" in the event of a transfer.
// */
// readonly eventName: string;
// /**
// *
// */
// readonly state: StackItem[];
// }
/**

@@ -950,2 +928,10 @@ * Attributes of a `Block` persisted to the blockchain.

readonly currentCallerContract: Address | undefined;
/**
* An array of recent NEO `Transfer`s.
*/
readonly currentNEOTransfers: readonly Transfer[];
/**
* An array of recent GAS `Transfer`s.
*/
readonly currentGASTransfers: readonly Transfer[];
readonly [OpaqueTagSymbol0]: unique symbol;

@@ -1335,3 +1321,3 @@ }

/**
* Types that can be hashed the various `crypto` functions.
* Types that can be hashed by the various `crypto` functions.
*

@@ -1368,4 +1354,5 @@ * @see crypto

/**
* Represents a native `Asset` transfer.
* Represents an asset transfer.
*/
export const Transfer: TransferConstructor;
export interface Transfer {

@@ -1377,10 +1364,18 @@ /**

/**
* The `Hash256` of the `Asset` transferred.
* The `UInt160` hash of the contract.
*/
readonly asset: Hash256;
readonly asset: Address;
/**
* The desination `Address` of the transfer.
*/
readonly to: Address;
readonly to?: Address;
/**
* The `Address` of the source of the transfer.
*/
readonly from?: Address;
readonly [OpaqueTagSymbol0]: unique symbol;
}
export interface TransferConstructor {
readonly [OpaqueTagSymbol0]: unique symbol;
}

@@ -1387,0 +1382,0 @@ /**

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc