@streamr/network-contracts
Advanced tools
Comparing version 4.0.2 to 4.1.0
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", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2978331
39062
0