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.23 to 1.0.0-alpha.24

2

package.json
{
"name": "@neo-one/smart-contract",
"version": "1.0.0-alpha.23",
"version": "1.0.0-alpha.24",
"author": "Alex DiCarlo <alexdicarlo@gmail.com>",

@@ -5,0 +5,0 @@ "description": "NEO•ONE smart contract apis.",

@@ -822,2 +822,20 @@ // tslint:disable

export interface DeployConstructor {
/**
* Use the sender `Address` for the constructor parameter.
*
* @example
* import { Address, Deploy, SmartContract } from '@neo-one/smart-contract';
*
* class Token implements SmartContract {
* public constructor(public readonly owner: Address = Deploy.senderAddress) {}
* }
*/
readonly senderAddress: Address;
}
/**
* Injects values at deployment time. Can only be used for default constructor parameters.
*/
export const Deploy: DeployConstructor;
export interface SmartContractValueArray extends Array<SmartContractValue> {}

@@ -824,0 +842,0 @@ type SmartContractValue =

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