@streamr/network-contracts
Advanced tools
Comparing version 8.1.0 to 8.2.0
@@ -51,25 +51,1 @@ export { abi as operatorABI, bytecode as operatorBytecode } from "../artifacts/contracts/OperatorTokenomics/Operator.sol/Operator.json"; | ||
export type { StakeModule } from "../typechain/contracts/OperatorTokenomics/OperatorPolicies/StakeModule"; | ||
export declare const operatorCodehash: string; | ||
export declare const sponsorshipCodehash: string; | ||
export declare const operatorFactoryCodehash: string; | ||
export declare const sponsorshipFactoryCodehash: string; | ||
export declare const streamrConfigCodehash: string; | ||
export declare const streamRegistryCodehash: string; | ||
export declare const streamStorageRegistryCodehash: string; | ||
export declare const ENSCacheV2Codehash: string; | ||
export declare const nodeRegistryCodehash: string; | ||
export declare const tokenCodehash: string; | ||
export declare const maxOperatorsJoinPolicyCodehash: string; | ||
export declare const stakeWeightedAllocationPolicyCodehash: string; | ||
export declare const defaultLeavePolicyCodehash: string; | ||
export declare const voteKickPolicyCodehash: string; | ||
export declare const defaultDelegationPolicyCodehash: string; | ||
export declare const defaultExchangeRatePolicyCodehash: string; | ||
export declare const defaultUndelegationPolicyCodehash: string; | ||
export declare const operatorContractOnlyJoinPolicyCodehash: string; | ||
export declare const ensRegistryCodehash: string; | ||
export declare const fifsRegistrarCodehash: string; | ||
export declare const publicResolverCodehash: string; | ||
export declare const nodeModuleCodehash: string; | ||
export declare const queueModuleCodehash: string; | ||
export declare const stakeModuleCodehash: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.operatorCodehash = exports.stakeModuleBytecode = exports.stakeModuleABI = exports.queueModuleBytecode = exports.queueModuleABI = exports.nodeModuleBytecode = exports.nodeModuleABI = exports.publicResolverBytecode = exports.publicResolverABI = exports.fifsRegistrarBytecode = exports.fifsRegistrarABI = exports.ensRegistryBytecode = exports.ensRegistryABI = exports.ERC677ABI = exports.operatorContractOnlyJoinPolicyBytecode = exports.operatorContractOnlyJoinPolicyABI = exports.defaultUndelegationPolicyBytecode = exports.defaultUndelegationPolicyABI = exports.defaultExchangeRatePolicyBytecode = exports.defaultExchangeRatePolicyABI = exports.defaultDelegationPolicyBytecode = exports.defaultDelegationPolicyABI = exports.voteKickPolicyBytecode = exports.voteKickPolicyABI = exports.defaultLeavePolicyBytecode = exports.defaultLeavePolicyABI = exports.stakeWeightedAllocationPolicyBytecode = exports.stakeWeightedAllocationPolicyABI = exports.maxOperatorsJoinPolicyBytecode = exports.maxOperatorsJoinPolicyABI = exports.tokenBytecode = exports.tokenABI = exports.nodeRegistryBytecode = exports.nodeRegistryABI = exports.ENSCacheV2Bytecode = exports.ENSCacheV2ABI = exports.streamStorageRegistryBytecode = exports.streamStorageRegistryABI = exports.streamRegistryBytecode = exports.streamRegistryABI = exports.streamrConfigBytecode = exports.streamrConfigABI = exports.sponsorshipFactoryBytecode = exports.sponsorshipFactoryABI = exports.operatorFactoryBytecode = exports.operatorFactoryABI = exports.sponsorshipBytecode = exports.sponsorshipABI = exports.operatorBytecode = exports.operatorABI = void 0; | ||
exports.stakeModuleCodehash = exports.queueModuleCodehash = exports.nodeModuleCodehash = exports.publicResolverCodehash = exports.fifsRegistrarCodehash = exports.ensRegistryCodehash = exports.operatorContractOnlyJoinPolicyCodehash = exports.defaultUndelegationPolicyCodehash = exports.defaultExchangeRatePolicyCodehash = exports.defaultDelegationPolicyCodehash = exports.voteKickPolicyCodehash = exports.defaultLeavePolicyCodehash = exports.stakeWeightedAllocationPolicyCodehash = exports.maxOperatorsJoinPolicyCodehash = exports.tokenCodehash = exports.nodeRegistryCodehash = exports.ENSCacheV2Codehash = exports.streamStorageRegistryCodehash = exports.streamRegistryCodehash = exports.streamrConfigCodehash = exports.sponsorshipFactoryCodehash = exports.operatorFactoryCodehash = exports.sponsorshipCodehash = void 0; | ||
exports.stakeModuleBytecode = exports.stakeModuleABI = exports.queueModuleBytecode = exports.queueModuleABI = exports.nodeModuleBytecode = exports.nodeModuleABI = exports.publicResolverBytecode = exports.publicResolverABI = exports.fifsRegistrarBytecode = exports.fifsRegistrarABI = exports.ensRegistryBytecode = exports.ensRegistryABI = exports.ERC677ABI = exports.operatorContractOnlyJoinPolicyBytecode = exports.operatorContractOnlyJoinPolicyABI = exports.defaultUndelegationPolicyBytecode = exports.defaultUndelegationPolicyABI = exports.defaultExchangeRatePolicyBytecode = exports.defaultExchangeRatePolicyABI = exports.defaultDelegationPolicyBytecode = exports.defaultDelegationPolicyABI = exports.voteKickPolicyBytecode = exports.voteKickPolicyABI = exports.defaultLeavePolicyBytecode = exports.defaultLeavePolicyABI = exports.stakeWeightedAllocationPolicyBytecode = exports.stakeWeightedAllocationPolicyABI = exports.maxOperatorsJoinPolicyBytecode = exports.maxOperatorsJoinPolicyABI = exports.tokenBytecode = exports.tokenABI = exports.nodeRegistryBytecode = exports.nodeRegistryABI = exports.ENSCacheV2Bytecode = exports.ENSCacheV2ABI = exports.streamStorageRegistryBytecode = exports.streamStorageRegistryABI = exports.streamRegistryBytecode = exports.streamRegistryABI = exports.streamrConfigBytecode = exports.streamrConfigABI = exports.sponsorshipFactoryBytecode = exports.sponsorshipFactoryABI = exports.operatorFactoryBytecode = exports.operatorFactoryABI = exports.sponsorshipBytecode = exports.sponsorshipABI = exports.operatorBytecode = exports.operatorABI = void 0; | ||
var Operator_json_1 = require("../artifacts/contracts/OperatorTokenomics/Operator.sol/Operator.json"); | ||
@@ -79,54 +78,2 @@ Object.defineProperty(exports, "operatorABI", { enumerable: true, get: function () { return Operator_json_1.abi; } }); | ||
Object.defineProperty(exports, "stakeModuleBytecode", { enumerable: true, get: function () { return StakeModule_json_1.bytecode; } }); | ||
/* eslint-disable max-len */ | ||
const Operator_json_2 = require("../artifacts/contracts/OperatorTokenomics/Operator.sol/Operator.json"); | ||
const Sponsorship_json_2 = require("../artifacts/contracts/OperatorTokenomics/Sponsorship.sol/Sponsorship.json"); | ||
const OperatorFactory_json_2 = require("../artifacts/contracts/OperatorTokenomics/OperatorFactory.sol/OperatorFactory.json"); | ||
const SponsorshipFactory_json_2 = require("../artifacts/contracts/OperatorTokenomics/SponsorshipFactory.sol/SponsorshipFactory.json"); | ||
const StreamrConfig_json_1 = require("../artifacts/contracts/OperatorTokenomics/StreamrConfig.sol/StreamrConfig.json"); | ||
const StreamRegistryV5_json_2 = require("../artifacts/contracts/StreamRegistry/StreamRegistryV5.sol/StreamRegistryV5.json"); | ||
const StreamStorageRegistry_json_1 = require("../artifacts/contracts/StreamStorageRegistry/StreamStorageRegistry.sol/StreamStorageRegistry.json"); | ||
const ENSCacheV2Streamr_json_2 = require("../artifacts/contracts/chainlinkClient/ENSCacheV2Streamr.sol/ENSCacheV2Streamr.json"); | ||
const NodeRegistry_json_2 = require("../artifacts/contracts/NodeRegistry/NodeRegistry.sol/NodeRegistry.json"); | ||
const TestToken_json_2 = require("../artifacts/contracts/OperatorTokenomics/testcontracts/TestToken.sol/TestToken.json"); | ||
const MaxOperatorsJoinPolicy_json_2 = require("../artifacts/contracts/OperatorTokenomics/SponsorshipPolicies/MaxOperatorsJoinPolicy.sol/MaxOperatorsJoinPolicy.json"); | ||
const StakeWeightedAllocationPolicy_json_2 = require("../artifacts/contracts/OperatorTokenomics/SponsorshipPolicies/StakeWeightedAllocationPolicy.sol/StakeWeightedAllocationPolicy.json"); | ||
const DefaultLeavePolicy_json_2 = require("../artifacts/contracts/OperatorTokenomics/SponsorshipPolicies/DefaultLeavePolicy.sol/DefaultLeavePolicy.json"); | ||
const VoteKickPolicy_json_2 = require("../artifacts/contracts/OperatorTokenomics/SponsorshipPolicies/VoteKickPolicy.sol/VoteKickPolicy.json"); | ||
const DefaultDelegationPolicy_json_2 = require("../artifacts/contracts/OperatorTokenomics/OperatorPolicies/DefaultDelegationPolicy.sol/DefaultDelegationPolicy.json"); | ||
const DefaultExchangeRatePolicy_json_2 = require("../artifacts/contracts/OperatorTokenomics/OperatorPolicies/DefaultExchangeRatePolicy.sol/DefaultExchangeRatePolicy.json"); | ||
const DefaultUndelegationPolicy_json_2 = require("../artifacts/contracts/OperatorTokenomics/OperatorPolicies/DefaultUndelegationPolicy.sol/DefaultUndelegationPolicy.json"); | ||
const OperatorContractOnlyJoinPolicy_json_2 = require("../artifacts/contracts/OperatorTokenomics/SponsorshipPolicies/OperatorContractOnlyJoinPolicy.sol/OperatorContractOnlyJoinPolicy.json"); | ||
const ENSRegistry_json_2 = require("../artifacts/@ensdomains/ens-contracts/contracts/registry/ENSRegistry.sol/ENSRegistry.json"); | ||
const FIFSRegistrar_json_2 = require("../artifacts/@ensdomains/ens-contracts/contracts/registry/FIFSRegistrar.sol/FIFSRegistrar.json"); | ||
const PublicResolver_mainnet_9412610_json_2 = require("../artifacts/PublicResolver_mainnet_9412610.json"); | ||
const NodeModule_json_2 = require("../artifacts/contracts/OperatorTokenomics/OperatorPolicies/NodeModule.sol/NodeModule.json"); | ||
const QueueModule_json_2 = require("../artifacts/contracts/OperatorTokenomics/OperatorPolicies/QueueModule.sol/QueueModule.json"); | ||
const StakeModule_json_2 = require("../artifacts/contracts/OperatorTokenomics/OperatorPolicies/StakeModule.sol/StakeModule.json"); | ||
/* eslint-enable max-len */ | ||
// generate extcodehash for each contract | ||
const keccak256_1 = require("@ethersproject/keccak256"); | ||
exports.operatorCodehash = (0, keccak256_1.keccak256)(Operator_json_2.deployedBytecode); | ||
exports.sponsorshipCodehash = (0, keccak256_1.keccak256)(Sponsorship_json_2.deployedBytecode); | ||
exports.operatorFactoryCodehash = (0, keccak256_1.keccak256)(OperatorFactory_json_2.deployedBytecode); | ||
exports.sponsorshipFactoryCodehash = (0, keccak256_1.keccak256)(SponsorshipFactory_json_2.deployedBytecode); | ||
exports.streamrConfigCodehash = (0, keccak256_1.keccak256)(StreamrConfig_json_1.deployedBytecode); | ||
exports.streamRegistryCodehash = (0, keccak256_1.keccak256)(StreamRegistryV5_json_2.deployedBytecode); | ||
exports.streamStorageRegistryCodehash = (0, keccak256_1.keccak256)(StreamStorageRegistry_json_1.deployedBytecode); | ||
exports.ENSCacheV2Codehash = (0, keccak256_1.keccak256)(ENSCacheV2Streamr_json_2.deployedBytecode); | ||
exports.nodeRegistryCodehash = (0, keccak256_1.keccak256)(NodeRegistry_json_2.deployedBytecode); | ||
exports.tokenCodehash = (0, keccak256_1.keccak256)(TestToken_json_2.deployedBytecode); | ||
exports.maxOperatorsJoinPolicyCodehash = (0, keccak256_1.keccak256)(MaxOperatorsJoinPolicy_json_2.deployedBytecode); | ||
exports.stakeWeightedAllocationPolicyCodehash = (0, keccak256_1.keccak256)(StakeWeightedAllocationPolicy_json_2.deployedBytecode); | ||
exports.defaultLeavePolicyCodehash = (0, keccak256_1.keccak256)(DefaultLeavePolicy_json_2.deployedBytecode); | ||
exports.voteKickPolicyCodehash = (0, keccak256_1.keccak256)(VoteKickPolicy_json_2.deployedBytecode); | ||
exports.defaultDelegationPolicyCodehash = (0, keccak256_1.keccak256)(DefaultDelegationPolicy_json_2.deployedBytecode); | ||
exports.defaultExchangeRatePolicyCodehash = (0, keccak256_1.keccak256)(DefaultExchangeRatePolicy_json_2.deployedBytecode); | ||
exports.defaultUndelegationPolicyCodehash = (0, keccak256_1.keccak256)(DefaultUndelegationPolicy_json_2.deployedBytecode); | ||
exports.operatorContractOnlyJoinPolicyCodehash = (0, keccak256_1.keccak256)(OperatorContractOnlyJoinPolicy_json_2.deployedBytecode); | ||
exports.ensRegistryCodehash = (0, keccak256_1.keccak256)(ENSRegistry_json_2.deployedBytecode); | ||
exports.fifsRegistrarCodehash = (0, keccak256_1.keccak256)(FIFSRegistrar_json_2.deployedBytecode); | ||
exports.publicResolverCodehash = (0, keccak256_1.keccak256)(PublicResolver_mainnet_9412610_json_2.deployedBytecode); | ||
exports.nodeModuleCodehash = (0, keccak256_1.keccak256)(NodeModule_json_2.deployedBytecode); | ||
exports.queueModuleCodehash = (0, keccak256_1.keccak256)(QueueModule_json_2.deployedBytecode); | ||
exports.stakeModuleCodehash = (0, keccak256_1.keccak256)(StakeModule_json_2.deployedBytecode); | ||
// export * from "./StreamrEnvDeployer" |
{ | ||
"name": "@streamr/network-contracts", | ||
"version": "8.1.0", | ||
"version": "8.2.0", | ||
"description": "Smart contracts for Streamr Network", | ||
@@ -5,0 +5,0 @@ "author": "Streamr Network AG <contact@streamr.network>", |
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
3542746
148
53872