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

@streamr/network-contracts

Package Overview
Dependencies
Maintainers
12
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@streamr/network-contracts - npm Package Compare versions

Comparing version 4.0.2 to 4.1.0

11

dist/src/StreamrEnvDeployer.d.ts
import { Contract, Wallet, providers } from "ethers";
import { DefaultDelegationPolicy, DefaultLeavePolicy, DefaultPoolYieldPolicy, DefaultUndelegationPolicy, ENSCacheV2, MaxOperatorsJoinPolicy, NodeRegistry, Operator, OperatorContractOnlyJoinPolicy, OperatorFactory, Sponsorship, SponsorshipFactory, StakeWeightedAllocationPolicy, StreamRegistry, StreamStorageRegistry, StreamrConfig, TestToken, VoteKickPolicy } from "./exports";
export type EnvContracAddresses = {
export type StreamrContractAddresses = {
"DATA": string;

@@ -31,3 +31,4 @@ "ENS": string;

};
export type EnvContracts = {
export type EnvContracAddresses = StreamrContractAddresses;
export type StreamrContracts = {
"DATA": TestToken;

@@ -60,6 +61,7 @@ "ENS": Contract;

};
export type EnvContracts = StreamrContracts;
export declare class StreamrEnvDeployer {
readonly adminWallet: Wallet;
readonly addresses: EnvContracAddresses;
readonly contracts: EnvContracts;
readonly addresses: StreamrContractAddresses;
readonly contracts: StreamrContracts;
streamId: string;

@@ -72,2 +74,3 @@ sponsorshipAddress: any;

constructor(key: string, chainEndpointUrl: string);
deployEnvironment(): Promise<void>;
deployEvironment(): Promise<void>;

@@ -74,0 +77,0 @@ createFundStakeSponsorshipAndOperator(): Promise<void>;

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

}
async deployEvironment() {
async deployEnvironment() {
await this.deployStreamRegistry();

@@ -25,2 +25,6 @@ await this.deploySponsorshipFactory();

}
// TODO: remove
async deployEvironment() {
return this.deployEnvironment();
}
async createFundStakeSponsorshipAndOperator() {

@@ -27,0 +31,0 @@ await this.createStream();

{
"name": "@streamr/network-contracts",
"version": "4.0.2",
"version": "4.1.0",
"description": "Smart contracts for Streamr Network",

@@ -5,0 +5,0 @@ "author": "Streamr Network AG",

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