From 8326b3033a9d5faa7467be7506134eae585a65b8 Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Wed, 24 Jul 2024 13:03:33 -0400 Subject: [PATCH 01/15] Move deprecation to the colonies --- contracts/colony/Colony.sol | 15 +++++++-- contracts/colony/ColonyDataTypes.sol | 2 ++ contracts/colony/ColonyDomains.sol | 12 ++++--- contracts/colony/ColonyStorage.sol | 20 ++++++++---- .../colonyNetwork/ColonyNetworkDataTypes.sol | 4 +-- .../colonyNetwork/ColonyNetworkSkills.sol | 18 ----------- contracts/colonyNetwork/IColonyNetwork.sol | 13 -------- contracts/testHelpers/NoLimitSubdomains.sol | 6 +++- docs/interfaces/icolonynetwork.md | 32 ------------------- .../colony-network-recovery.js | 2 -- test/contracts-network/colony.js | 12 ++----- 11 files changed, 45 insertions(+), 91 deletions(-) diff --git a/contracts/colony/Colony.sol b/contracts/colony/Colony.sol index 63c5cd90b9..30f52ef45b 100755 --- a/contracts/colony/Colony.sol +++ b/contracts/colony/Colony.sol @@ -233,13 +233,24 @@ contract Colony is BasicMetaTransaction, Multicall, ColonyStorage, PatriciaTreeP require(rootLocalSkill != 0, "colony-local-skill-tree-not-initialised"); uint256 newLocalSkill = IColonyNetwork(colonyNetworkAddress).addSkill(rootLocalSkill); - localSkills[newLocalSkill] = true; + localSkills[newLocalSkill] = LocalSkill({ exists: true, deprecated: false }); emit LocalSkillAdded(msgSender(), newLocalSkill); } function deprecateLocalSkill(uint256 _localSkillId, bool _deprecated) public stoppable auth { - if (IColonyNetwork(colonyNetworkAddress).deprecateSkill(_localSkillId, _deprecated)) { + LocalSkill storage localSkill = localSkills[_localSkillId]; + if (localSkill.exists && localSkill.deprecated != _deprecated) { + localSkill.deprecated = _deprecated; + + emit LocalSkillDeprecated(msgSender(), _localSkillId, _deprecated); + } + + // Handle local skills created prior to colonyNetwork#1280 + if (DEPRECATED_localSkills[_localSkillId] && _deprecated) { + localSkills[_localSkillId] = LocalSkill({ exists: true, deprecated: _deprecated }); + delete DEPRECATED_localSkills[_localSkillId]; + emit LocalSkillDeprecated(msgSender(), _localSkillId, _deprecated); } } diff --git a/contracts/colony/ColonyDataTypes.sol b/contracts/colony/ColonyDataTypes.sol index eec16d6ef3..5afb227e68 100755 --- a/contracts/colony/ColonyDataTypes.sol +++ b/contracts/colony/ColonyDataTypes.sol @@ -318,10 +318,12 @@ interface ColonyDataTypes { struct Domain { uint256 skillId; uint256 fundingPotId; + bool deprecated; } struct LocalSkill { bool exists; + bool deprecated; } // Deprecated Task and Payment events diff --git a/contracts/colony/ColonyDomains.sol b/contracts/colony/ColonyDomains.sol index 29789c53fd..fa6518fef5 100644 --- a/contracts/colony/ColonyDomains.sol +++ b/contracts/colony/ColonyDomains.sol @@ -101,9 +101,9 @@ contract ColonyDomains is ColonyStorage { uint256 _domainId, bool _deprecated ) public stoppable authDomain(_permissionDomainId, _childSkillIndex, _domainId) { - if ( - IColonyNetwork(colonyNetworkAddress).deprecateSkill(domains[_domainId].skillId, _deprecated) - ) { + if (domains[_domainId].deprecated != _deprecated) { + domains[_domainId].deprecated = _deprecated; + emit DomainDeprecated(msgSender(), _domainId, _deprecated); } } @@ -132,7 +132,11 @@ contract ColonyDomains is ColonyStorage { fundingPots[fundingPotCount].associatedTypeId = domainCount; // Create a new domain with the given skill and new funding pot - domains[domainCount] = Domain({ skillId: _skillId, fundingPotId: fundingPotCount }); + domains[domainCount] = Domain({ + skillId: _skillId, + fundingPotId: fundingPotCount, + deprecated: false + }); emit DomainAdded(msgSender(), domainCount); emit FundingPotAdded(fundingPotCount); diff --git a/contracts/colony/ColonyStorage.sol b/contracts/colony/ColonyStorage.sol index 2eb80e3bee..850d8c653e 100755 --- a/contracts/colony/ColonyStorage.sol +++ b/contracts/colony/ColonyStorage.sol @@ -111,7 +111,8 @@ contract ColonyStorage is ColonyDataTypes, ColonyNetworkDataTypes, DSMath, Commo mapping(address => uint256) metatransactionNonces; // Storage slot 35 uint256 rootLocalSkill; // Storage slot 36 - mapping(uint256 => bool) localSkills; // Storage slot 37 + mapping(uint256 => bool) DEPRECATED_localSkills; // Storage slot 37 + mapping(uint256 => LocalSkill) localSkills; // Storage slot 38 // Constants @@ -124,10 +125,7 @@ contract ColonyStorage is ColonyDataTypes, ColonyNetworkDataTypes, DSMath, Commo // Modifiers modifier domainNotDeprecated(uint256 _id) { - require( - !IColonyNetwork(colonyNetworkAddress).getSkill(domains[_id].skillId).deprecated, - "colony-domain-deprecated" - ); + require(!domains[_id].deprecated, "colony-domain-deprecated"); _; } @@ -299,8 +297,16 @@ contract ColonyStorage is ColonyDataTypes, ColonyNetworkDataTypes, DSMath, Commo } function isValidLocalSkill(uint256 skillId) internal view returns (bool) { - Skill memory skill = IColonyNetwork(colonyNetworkAddress).getSkill(skillId); - return localSkills[skillId] && !skill.deprecated && !skill.DEPRECATED_globalSkill; + if (localSkills[skillId].exists) { + return !localSkills[skillId].deprecated; + } + + if (DEPRECATED_localSkills[skillId]) { + Skill memory skill = IColonyNetwork(colonyNetworkAddress).getSkill(skillId); + return (!skill.DEPRECATED_deprecated && !skill.DEPRECATED_globalSkill); + } + + return false; } function domainExists(uint256 domainId) internal view returns (bool) { diff --git a/contracts/colonyNetwork/ColonyNetworkDataTypes.sol b/contracts/colonyNetwork/ColonyNetworkDataTypes.sol index e51e9259b9..942a9045fd 100755 --- a/contracts/colonyNetwork/ColonyNetworkDataTypes.sol +++ b/contracts/colonyNetwork/ColonyNetworkDataTypes.sol @@ -198,8 +198,8 @@ interface ColonyNetworkDataTypes { uint256[] children; // `true` for a global skill reused across colonies or `false` for a skill mapped to a single colony's domain bool DEPRECATED_globalSkill; - // `true` for a global skill that is deprecated - bool deprecated; + // `true` for a skill that is deprecated NB: deprecation is now stored locally on colonies + bool DEPRECATED_deprecated; } struct ENSRecord { diff --git a/contracts/colonyNetwork/ColonyNetworkSkills.sol b/contracts/colonyNetwork/ColonyNetworkSkills.sol index d8b3f7ea40..c166f91d9c 100644 --- a/contracts/colonyNetwork/ColonyNetworkSkills.sol +++ b/contracts/colonyNetwork/ColonyNetworkSkills.sol @@ -38,24 +38,6 @@ contract ColonyNetworkSkills is ColonyNetworkStorage, Multicall, CallWithGuards return skillCount; } - function deprecateSkill( - uint256 _skillId, - bool _deprecated - ) public stoppable allowedToAddSkill returns (bool) { - require( - skills[_skillId].nParents == 0, - "colony-network-deprecate-local-skills-temporarily-disabled" - ); - bool changed = skills[_skillId].deprecated != _deprecated; - skills[_skillId].deprecated = _deprecated; - return changed; - } - - /// @notice @deprecated - function deprecateSkill(uint256 _skillId) public stoppable { - deprecateSkill(_skillId, true); - } - function initialiseRootLocalSkill() public stoppable calledByColony returns (uint256) { skillCount += 1; // If we're not mining chain, then bridge the skill diff --git a/contracts/colonyNetwork/IColonyNetwork.sol b/contracts/colonyNetwork/IColonyNetwork.sol index 98d79843b3..fb54c536e3 100644 --- a/contracts/colonyNetwork/IColonyNetwork.sol +++ b/contracts/colonyNetwork/IColonyNetwork.sol @@ -97,19 +97,6 @@ interface IColonyNetwork is ColonyNetworkDataTypes, IRecovery, IBasicMetaTransac /// @return _skill The Skill struct function getSkill(uint256 _skillId) external view returns (Skill memory _skill); - /// @notice Set deprecation status for a skill - /// @param _skillId Id of the skill - /// @param _deprecated Deprecation status - /// @dev Currently disabled, and will error if called even by a colony - /// @return _changed Whether the deprecated state was changed - function deprecateSkill(uint256 _skillId, bool _deprecated) external returns (bool _changed); - - /// @notice Mark a skill as deprecated which stops new tasks and payments from using it. - /// @dev This function is deprecated and will be removed in a future release - /// @dev Currently disabled, and will error if called even by a colony - /// @param _skillId Id of the skill - function deprecateSkill(uint256 _skillId) external; - /// @notice Initialise the local skills tree for a colony /// @return _rootLocalSkillId The root local skill function initialiseRootLocalSkill() external returns (uint256 _rootLocalSkillId); diff --git a/contracts/testHelpers/NoLimitSubdomains.sol b/contracts/testHelpers/NoLimitSubdomains.sol index ac3208e302..0b165a9863 100644 --- a/contracts/testHelpers/NoLimitSubdomains.sol +++ b/contracts/testHelpers/NoLimitSubdomains.sol @@ -46,7 +46,11 @@ contract NoLimitSubdomains is ColonyStorage { fundingPots[fundingPotCount].associatedTypeId = domainCount; // Create a new domain with the given skill and new funding pot - domains[domainCount] = Domain({ skillId: _skillId, fundingPotId: fundingPotCount }); + domains[domainCount] = Domain({ + skillId: _skillId, + fundingPotId: fundingPotCount, + deprecated: false + }); emit DomainAdded(msg.sender, domainCount); emit FundingPotAdded(fundingPotCount); diff --git a/docs/interfaces/icolonynetwork.md b/docs/interfaces/icolonynetwork.md index b803d3ee0c..16fae08a8e 100644 --- a/docs/interfaces/icolonynetwork.md +++ b/docs/interfaces/icolonynetwork.md @@ -393,38 +393,6 @@ Set the deprecation of an extension in a colony. Can only be called by a Colony. |_deprecated|bool|Whether to deprecate the extension or not -### ▸ `deprecateSkill(uint256 _skillId)` - -Mark a skill as deprecated which stops new tasks and payments from using it. - -*Note: This function is deprecated and will be removed in a future release* - -**Parameters** - -|Name|Type|Description| -|---|---|---| -|_skillId|uint256|Id of the skill - - -### ▸ `deprecateSkill(uint256 _skillId, bool _deprecated):bool _changed` - -Set deprecation status for a skill - -*Note: Currently disabled, and will error if called even by a colony* - -**Parameters** - -|Name|Type|Description| -|---|---|---| -|_skillId|uint256|Id of the skill -|_deprecated|bool|Deprecation status - -**Return Parameters** - -|Name|Type|Description| -|---|---|---| -|_changed|bool|Whether the deprecated state was changed - ### ▸ `getBridgedReputationUpdateCount(uint256 _chainId, address _colony):uint256 bridgedReputationCount` Get the (currently bridged) reputation update count of a chain diff --git a/test/contracts-network/colony-network-recovery.js b/test/contracts-network/colony-network-recovery.js index f86fd8d2d1..def69f8489 100644 --- a/test/contracts-network/colony-network-recovery.js +++ b/test/contracts-network/colony-network-recovery.js @@ -188,8 +188,6 @@ contract("Colony Network Recovery", (accounts) => { await checkErrorRevert(colonyNetwork.setMiningResolver(ADDRESS_ZERO), "colony-in-recovery-mode"); await checkErrorRevert(colonyNetwork.initialise(ADDRESS_ZERO, 1), "colony-in-recovery-mode"); await checkErrorRevert(colonyNetwork.addSkill(1), "colony-in-recovery-mode"); - await checkErrorRevert(colonyNetwork.deprecateSkill(1, true), "colony-in-recovery-mode"); - await checkErrorRevert(colonyNetwork.deprecateSkill(1), "colony-in-recovery-mode"); await checkErrorRevert(colonyNetwork.setFeeInverse(1), "colony-in-recovery-mode"); await checkErrorRevert(colonyNetwork.setPayoutWhitelist(ADDRESS_ZERO, true), "colony-in-recovery-mode"); await checkErrorRevert(colonyNetwork.claimMiningReward(ADDRESS_ZERO), "colony-in-recovery-mode"); diff --git a/test/contracts-network/colony.js b/test/contracts-network/colony.js index 176f6bd4e5..cfc0588eac 100755 --- a/test/contracts-network/colony.js +++ b/test/contracts-network/colony.js @@ -183,21 +183,13 @@ contract("Colony", (accounts) => { await expectEvent(tx, "LocalSkillAdded", [accounts[0], skillCount]); }); - it.skip("should allow root users to deprecate local skills", async () => { + it("should allow root users to deprecate local skills", async () => { await colony.addLocalSkill(); const skillCount = await colonyNetwork.getSkillCount(); const tx = await colony.deprecateLocalSkill(skillCount, true); await expectEvent(tx, "LocalSkillDeprecated", [accounts[0], skillCount, true]); }); - - it("should revert when trying to deprecate a local skill", async () => { - await colony.addLocalSkill(); - const skillCount = await colonyNetwork.getSkillCount(); - - const tx = colony.deprecateLocalSkill(skillCount, false); - await checkErrorRevert(tx, "colony-network-deprecate-local-skills-temporarily-disabled"); - }); }); describe("when adding domains", () => { @@ -231,7 +223,7 @@ contract("Colony", (accounts) => { }); }); - describe.skip("when deprecating domains", () => { + describe("when deprecating domains", () => { it("should log the DomainDeprecated event", async () => { await colony.addDomain(1, UINT256_MAX, 1); await expectEvent(colony.deprecateDomain(1, 0, 2, true), "DomainDeprecated", [USER0, 2, true]); From 377065f818157dadac6d46874d625f83fc2b507e Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Thu, 25 Jul 2024 12:12:54 -0400 Subject: [PATCH 02/15] Test deprecation of 'old' local skills --- contracts/colony/Colony.sol | 4 ++ contracts/colony/IColony.sol | 5 ++ docs/interfaces/icolony.md | 17 +++++++ test/contracts-network/colony-expenditure.js | 52 +++++++++++++++++++- 4 files changed, 77 insertions(+), 1 deletion(-) diff --git a/contracts/colony/Colony.sol b/contracts/colony/Colony.sol index 30f52ef45b..020bfc0d5a 100755 --- a/contracts/colony/Colony.sol +++ b/contracts/colony/Colony.sol @@ -259,6 +259,10 @@ contract Colony is BasicMetaTransaction, Multicall, ColonyStorage, PatriciaTreeP return rootLocalSkill; } + function getLocalSkill(uint256 _localSkillId) public view returns (LocalSkill memory localSkill) { + localSkill = localSkills[_localSkillId]; + } + function verifyReputationProof( bytes memory key, bytes memory value, diff --git a/contracts/colony/IColony.sol b/contracts/colony/IColony.sol index ffd4e774e0..8d5cf44b2e 100644 --- a/contracts/colony/IColony.sol +++ b/contracts/colony/IColony.sol @@ -349,6 +349,11 @@ interface IColony is ColonyDataTypes, IRecovery, IBasicMetaTransaction, IMultica /// @return rootLocalSkill The root local skill id function getRootLocalSkill() external view returns (uint256 rootLocalSkill); + /// @notice Get the local skill + /// @param localSkillId Id for the local skill + /// @return localSkill The local skill + function getLocalSkill(uint256 localSkillId) external view returns (LocalSkill memory localSkill); + /// @notice Add a colony domain, and its respective local skill under skill with id `_parentSkillId`. /// New funding pot is created and associated with the domain here. /// @param _permissionDomainId The domainId in which I have the permission to take this action diff --git a/docs/interfaces/icolony.md b/docs/interfaces/icolony.md index 7531146bab..5cd4211ed1 100644 --- a/docs/interfaces/icolony.md +++ b/docs/interfaces/icolony.md @@ -612,6 +612,23 @@ Get the assigned `_token` payouts of pot with id `_potId`. |---|---|---| |payout|uint256|Funding pot payout amount +### ▸ `getLocalSkill(uint256 localSkillId):LocalSkill localSkill` + +Get the local skill + + +**Parameters** + +|Name|Type|Description| +|---|---|---| +|localSkillId|uint256|Id for the local skill + +**Return Parameters** + +|Name|Type|Description| +|---|---|---| +|localSkill|LocalSkill|The local skill + ### ▸ `getNonRewardPotsTotal(address _token):uint256 amount` Get the total amount of tokens `_token` minus amount reserved to be paid to the reputation and token holders as rewards. diff --git a/test/contracts-network/colony-expenditure.js b/test/contracts-network/colony-expenditure.js index 4d053b032f..a9ed4ae5cf 100644 --- a/test/contracts-network/colony-expenditure.js +++ b/test/contracts-network/colony-expenditure.js @@ -314,7 +314,7 @@ contract("Colony Expenditure", (accounts) => { ); }); - it.skip("should not allow owners to update a slot skill with a deprecated local skill", async () => { + it("should not allow owners to update a slot skill with a deprecated local skill", async () => { await colony.deprecateLocalSkill(localSkillId, true); await checkErrorRevert(colony.setExpenditureSkills(expenditureId, [SLOT0], [localSkillId], { from: ADMIN }), "colony-not-valid-local-skill"); @@ -324,6 +324,56 @@ contract("Colony Expenditure", (accounts) => { await checkErrorRevert(colony.setExpenditureSkills(expenditureId, [SLOT0], [100], { from: ADMIN }), "colony-not-valid-local-skill"); }); + it("should allow colonies to deprecate 'old' local skills", async () => { + const { OldInterface } = await deployColonyVersionGLWSS4(colonyNetwork); + await deployColonyVersionHMWSS(colonyNetwork); + await downgradeColony(colonyNetwork, colony, "glwss4"); + + // Make the colonyNetwork the old version + await deployColonyNetworkVersionGLWSS4(); + + const colonyNetworkAsEtherRouter = await EtherRouter.at(colonyNetwork.address); + const latestResolver = await colonyNetworkAsEtherRouter.resolver(); + + await downgradeColonyNetwork(colonyNetwork, "glwss4"); + + // Add two local skills + const oldColony = await OldInterface.at(colony.address); + await oldColony.addLocalSkill(); + const localSkillId2 = await colonyNetwork.getSkillCount(); + await oldColony.addLocalSkill(); + const localSkillId3 = await colonyNetwork.getSkillCount(); + + // Deprecate localSkillId2 in the old way + await colony.deprecateLocalSkill(localSkillId2, true); + + // Upgrade to current version + await colonyNetworkAsEtherRouter.setResolver(latestResolver); + await upgradeColonyOnceThenToLatest(colony); + + // Deprecate localSkillId3 in the new way + await colony.deprecateLocalSkill(localSkillId3, true); + + const localSkill = await colony.getLocalSkill(localSkillId3); + expect(localSkill.exists).to.be.true; + expect(localSkill.deprecated).to.be.true; + + // Both are deprecated + await colony.makeExpenditure(1, UINT256_MAX, 1); + expenditureId = await colony.getExpenditureCount(); + + await checkErrorRevert(colony.setExpenditureSkills(expenditureId, [SLOT0], [localSkillId2]), "colony-not-valid-local-skill"); + await checkErrorRevert(colony.setExpenditureSkills(expenditureId, [SLOT0], [localSkillId3]), "colony-not-valid-local-skill"); + + // A skill that doesn't exist cannot be deprecated + const fakeLocalSkillId = 10000; + await colony.deprecateLocalSkill(fakeLocalSkillId, true); + + const fakeLocalSkill = await colony.getLocalSkill(fakeLocalSkillId); + expect(fakeLocalSkill.exists).to.be.false; + expect(fakeLocalSkill.deprecated).to.be.false; + }); + it("should not allow owners to set a (now defunct) global skill, either deprecated or undeprecated", async () => { const { OldInterface } = await deployColonyVersionGLWSS4(colonyNetwork); await deployColonyVersionHMWSS(colonyNetwork); From 6cfe4119bbe6c7694db47121c327af9ac30de71d Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Wed, 24 Jul 2024 15:22:08 -0400 Subject: [PATCH 03/15] Update storage layouts to accomodate localSkills renaming --- .../contracts/colony/Colony.sol:Colony.json | 60 +- ...action.sol:ColonyArbitraryTransaction.json | 60 +- .../ColonyDomains.sol:ColonyDomains.json | 60 +- ...lonyExpenditure.sol:ColonyExpenditure.json | 60 +- .../ColonyFunding.sol:ColonyFunding.json | 60 +- .../ColonyRewards.sol:ColonyRewards.json | 60 +- .../colony/ColonyRoles.sol:ColonyRoles.json | 60 +- .../ColonyStorage.sol:ColonyStorage.json | 60 +- .../ColonyNetwork.sol:ColonyNetwork.json | 2 +- ...tworkAuction.sol:ColonyNetworkAuction.json | 2 +- ...orkDeployer.sol:ColonyNetworkDeployer.json | 2 +- ...ColonyNetworkENS.sol:ColonyNetworkENS.json | 2 +- ...xtensions.sol:ColonyNetworkExtensions.json | 2 +- ...NetworkMining.sol:ColonyNetworkMining.json | 2 +- ...NetworkSkills.sol:ColonyNetworkSkills.json | 2 +- ...tworkStorage.sol:ColonyNetworkStorage.json | 2 +- ...ony.sol:FunctionsNotAvailableOnColony.json | 60 +- ...LimitSubdomains.sol:NoLimitSubdomains.json | 60 +- ...stExtensionBase.sol:TestExtensionBase.json | 432 ------- ...ForColony.sol:WormholeBridgeForColony.json | 93 ++ .../contracts/colony/Colony.sol:Colony.json | 1051 +++++++++++++++++ ...action.sol:ColonyArbitraryTransaction.json | 1051 +++++++++++++++++ .../ColonyAuthority.sol:ColonyAuthority.json | 156 +++ .../ColonyDomains.sol:ColonyDomains.json | 1051 +++++++++++++++++ ...lonyExpenditure.sol:ColonyExpenditure.json | 1051 +++++++++++++++++ .../ColonyFunding.sol:ColonyFunding.json | 1051 +++++++++++++++++ .../ColonyRewards.sol:ColonyRewards.json | 1051 +++++++++++++++++ .../colony/ColonyRoles.sol:ColonyRoles.json | 1051 +++++++++++++++++ .../ColonyStorage.sol:ColonyStorage.json | 1051 +++++++++++++++++ .../ColonyNetwork.sol:ColonyNetwork.json | 814 +++++++++++++ ...tworkAuction.sol:ColonyNetworkAuction.json | 814 +++++++++++++ ...ColonyNetworkAuction.sol:DutchAuction.json | 124 ++ ...kAuthority.sol:ColonyNetworkAuthority.json | 148 +++ ...orkDeployer.sol:ColonyNetworkDeployer.json | 814 +++++++++++++ ...ColonyNetworkENS.sol:ColonyNetworkENS.json | 814 +++++++++++++ ...xtensions.sol:ColonyNetworkExtensions.json | 814 +++++++++++++ ...NetworkMining.sol:ColonyNetworkMining.json | 814 +++++++++++++ ...NetworkSkills.sol:ColonyNetworkSkills.json | 814 +++++++++++++ ...tworkStorage.sol:ColonyNetworkStorage.json | 814 +++++++++++++ .../CommonAuthority.sol:CommonAuthority.json | 148 +++ .../CommonStorage.sol:CommonStorage.json | 102 ++ ...ContractRecovery.sol:ContractRecovery.json | 102 ++ .../common/DomainRoles.sol:DomainRoles.json | 148 +++ .../common/EtherRouter.sol:EtherRouter.json | 45 + ...rRouterCreate3.sol:EtherRouterCreate3.json | 45 + .../common/Resolver.sol:Resolver.json | 52 + .../TokenAuthority.sol:TokenAuthority.json | 43 + .../ens/ENSRegistry.sol:ENSRegistry.json | 67 ++ .../CoinMachine.sol:CoinMachine.json | 230 ++++ .../ColonyExtension.sol:ColonyExtension.json | 66 ++ ...ExtensionMeta.sol:ColonyExtensionMeta.json | 342 ++++++ ...dExpenditure.sol:EvaluatedExpenditure.json | 86 ++ .../FundingQueue.sol:FundingQueue.json | 289 +++++ .../OneTxPayment.sol:OneTxPayment.json | 86 ++ ...otstrapper.sol:ReputationBootstrapper.json | 447 +++++++ ...agedExpenditure.sol:StagedExpenditure.json | 357 ++++++ ...akedExpenditure.sol:StakedExpenditure.json | 388 ++++++ ...reamingPayments.sol:StreamingPayments.json | 449 +++++++ .../TokenSupplier.sol:TokenSupplier.json | 126 ++ .../extensions/Whitelist.sol:Whitelist.json | 130 ++ ...VotingReputation.sol:VotingReputation.json | 477 ++++++++ ...ol:VotingReputationMisalignedRecovery.json | 453 +++++++ ...onStaking.sol:VotingReputationStaking.json | 477 ++++++++ ...onStorage.sol:VotingReputationStorage.json | 477 ++++++++ .../DSAuthMeta.sol:DSAuthMeta.json | 32 + .../DSTokenBaseMeta.sol:DSTokenBaseMeta.json | 54 + .../MetaTxToken.sol:MetaTxToken.json | 117 ++ .../PatriciaTree.sol:PatriciaTree.json | 129 ++ ...PatriciaTreeBase.sol:PatriciaTreeBase.json | 129 ++ ...iciaTreeNoHash.sol:PatriciaTreeNoHash.json | 129 ++ ...MiningCycle.sol:ReputationMiningCycle.json | 468 ++++++++ ...sol:ReputationMiningCycleBinarySearch.json | 468 ++++++++ ...ommon.sol:ReputationMiningCycleCommon.json | 468 ++++++++ ...pond.sol:ReputationMiningCycleRespond.json | 468 ++++++++ ...rage.sol:ReputationMiningCycleStorage.json | 468 ++++++++ .../BridgeMock.sol:BridgeMock.json | 32 + .../ERC721Mock.sol:ERC721Mock.json | 73 ++ ...ony.sol:FunctionsNotAvailableOnColony.json | 1051 +++++++++++++++++ .../GasGuzzler.sol:GasGuzzler.json | 350 ++++++ ...LimitSubdomains.sol:NoLimitSubdomains.json | 1051 +++++++++++++++++ .../ToggleableToken.sol:ToggleableToken.json | 67 ++ ...ligned.sol:VotingReputationMisaligned.json | 440 +++++++ .../WormholeMock.sol:WormholeMock.json | 53 + ...ModuleMock.sol:ZodiacBridgeModuleMock.json | 19 + .../TestExtension0.sol:TestExtension0.json | 342 ++++++ .../TestExtension1.sol:TestExtension1.json | 342 ++++++ .../TestExtension2.sol:TestExtension2.json | 342 ++++++ .../TestExtension3.sol:TestExtension3.json | 342 ++++++ .../TestVotingToken.sol:TestVotingToken.json | 342 ++++++ .../TokenLocking.sol:TokenLocking.json | 197 +++ ...ockingStorage.sol:TokenLockingStorage.json | 197 +++ 91 files changed, 29831 insertions(+), 460 deletions(-) delete mode 100644 .storage-layouts-normalized/contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase.json create mode 100644 .storage-layouts/contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony.json create mode 100644 .storage-layouts/contracts/colony/Colony.sol:Colony.json create mode 100644 .storage-layouts/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json create mode 100644 .storage-layouts/contracts/colony/ColonyAuthority.sol:ColonyAuthority.json create mode 100644 .storage-layouts/contracts/colony/ColonyDomains.sol:ColonyDomains.json create mode 100644 .storage-layouts/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json create mode 100644 .storage-layouts/contracts/colony/ColonyFunding.sol:ColonyFunding.json create mode 100644 .storage-layouts/contracts/colony/ColonyRewards.sol:ColonyRewards.json create mode 100644 .storage-layouts/contracts/colony/ColonyRoles.sol:ColonyRoles.json create mode 100644 .storage-layouts/contracts/colony/ColonyStorage.sol:ColonyStorage.json create mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json create mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json create mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction.json create mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority.json create mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json create mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json create mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json create mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json create mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json create mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json create mode 100644 .storage-layouts/contracts/common/CommonAuthority.sol:CommonAuthority.json create mode 100644 .storage-layouts/contracts/common/CommonStorage.sol:CommonStorage.json create mode 100644 .storage-layouts/contracts/common/ContractRecovery.sol:ContractRecovery.json create mode 100644 .storage-layouts/contracts/common/DomainRoles.sol:DomainRoles.json create mode 100644 .storage-layouts/contracts/common/EtherRouter.sol:EtherRouter.json create mode 100644 .storage-layouts/contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3.json create mode 100644 .storage-layouts/contracts/common/Resolver.sol:Resolver.json create mode 100644 .storage-layouts/contracts/common/TokenAuthority.sol:TokenAuthority.json create mode 100644 .storage-layouts/contracts/ens/ENSRegistry.sol:ENSRegistry.json create mode 100644 .storage-layouts/contracts/extensions/CoinMachine.sol:CoinMachine.json create mode 100644 .storage-layouts/contracts/extensions/ColonyExtension.sol:ColonyExtension.json create mode 100644 .storage-layouts/contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta.json create mode 100644 .storage-layouts/contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure.json create mode 100644 .storage-layouts/contracts/extensions/FundingQueue.sol:FundingQueue.json create mode 100644 .storage-layouts/contracts/extensions/OneTxPayment.sol:OneTxPayment.json create mode 100644 .storage-layouts/contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper.json create mode 100644 .storage-layouts/contracts/extensions/StagedExpenditure.sol:StagedExpenditure.json create mode 100644 .storage-layouts/contracts/extensions/StakedExpenditure.sol:StakedExpenditure.json create mode 100644 .storage-layouts/contracts/extensions/StreamingPayments.sol:StreamingPayments.json create mode 100644 .storage-layouts/contracts/extensions/TokenSupplier.sol:TokenSupplier.json create mode 100644 .storage-layouts/contracts/extensions/Whitelist.sol:Whitelist.json create mode 100644 .storage-layouts/contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation.json create mode 100644 .storage-layouts/contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery.json create mode 100644 .storage-layouts/contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking.json create mode 100644 .storage-layouts/contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage.json create mode 100644 .storage-layouts/contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta.json create mode 100644 .storage-layouts/contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta.json create mode 100644 .storage-layouts/contracts/metaTxToken/MetaTxToken.sol:MetaTxToken.json create mode 100644 .storage-layouts/contracts/patriciaTree/PatriciaTree.sol:PatriciaTree.json create mode 100644 .storage-layouts/contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase.json create mode 100644 .storage-layouts/contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash.json create mode 100644 .storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle.json create mode 100644 .storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch.json create mode 100644 .storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon.json create mode 100644 .storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond.json create mode 100644 .storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage.json create mode 100644 .storage-layouts/contracts/testHelpers/BridgeMock.sol:BridgeMock.json create mode 100644 .storage-layouts/contracts/testHelpers/ERC721Mock.sol:ERC721Mock.json create mode 100644 .storage-layouts/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json create mode 100644 .storage-layouts/contracts/testHelpers/GasGuzzler.sol:GasGuzzler.json create mode 100644 .storage-layouts/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json create mode 100644 .storage-layouts/contracts/testHelpers/ToggleableToken.sol:ToggleableToken.json create mode 100644 .storage-layouts/contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned.json create mode 100644 .storage-layouts/contracts/testHelpers/WormholeMock.sol:WormholeMock.json create mode 100644 .storage-layouts/contracts/testHelpers/ZodiacBridgeModuleMock.sol:ZodiacBridgeModuleMock.json create mode 100644 .storage-layouts/contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0.json create mode 100644 .storage-layouts/contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1.json create mode 100644 .storage-layouts/contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2.json create mode 100644 .storage-layouts/contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3.json create mode 100644 .storage-layouts/contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken.json create mode 100644 .storage-layouts/contracts/tokenLocking/TokenLocking.sol:TokenLocking.json create mode 100644 .storage-layouts/contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage.json diff --git a/.storage-layouts-normalized/contracts/colony/Colony.sol:Colony.json b/.storage-layouts-normalized/contracts/colony/Colony.sol:Colony.json index 48766fa83c..b22d40a278 100644 --- a/.storage-layouts-normalized/contracts/colony/Colony.sol:Colony.json +++ b/.storage-layouts-normalized/contracts/colony/Colony.sol:Colony.json @@ -770,9 +770,20 @@ "label": "uint256", "numberOfBytes": "32" } + }, + { + "contract": "contracts/colony/Colony.sol:Colony", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } } ], - "numberOfBytes": "64" + "numberOfBytes": "96" } } }, @@ -1335,7 +1346,7 @@ }, { "contract": "contracts/colony/Colony.sol:Colony", - "label": "localSkills", + "label": "DEPRECATED_localSkills", "offset": 0, "slot": "37", "type": { @@ -1353,6 +1364,51 @@ "numberOfBytes": "1" } } + }, + { + "contract": "contracts/colony/Colony.sol:Colony", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": { + "encoding": "mapping", + "key": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "contract": "contracts/colony/Colony.sol:Colony", + "label": "exists", + "offset": 0, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + }, + { + "contract": "contracts/colony/Colony.sol:Colony", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + } + ], + "numberOfBytes": "32" + } + } } ] } \ No newline at end of file diff --git a/.storage-layouts-normalized/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json b/.storage-layouts-normalized/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json index cecaf0fb53..4ff8a22299 100644 --- a/.storage-layouts-normalized/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json +++ b/.storage-layouts-normalized/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json @@ -770,9 +770,20 @@ "label": "uint256", "numberOfBytes": "32" } + }, + { + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } } ], - "numberOfBytes": "64" + "numberOfBytes": "96" } } }, @@ -1335,7 +1346,7 @@ }, { "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "localSkills", + "label": "DEPRECATED_localSkills", "offset": 0, "slot": "37", "type": { @@ -1353,6 +1364,51 @@ "numberOfBytes": "1" } } + }, + { + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": { + "encoding": "mapping", + "key": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "exists", + "offset": 0, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + }, + { + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + } + ], + "numberOfBytes": "32" + } + } } ] } \ No newline at end of file diff --git a/.storage-layouts-normalized/contracts/colony/ColonyDomains.sol:ColonyDomains.json b/.storage-layouts-normalized/contracts/colony/ColonyDomains.sol:ColonyDomains.json index b4810fb556..d3bf27e9dc 100644 --- a/.storage-layouts-normalized/contracts/colony/ColonyDomains.sol:ColonyDomains.json +++ b/.storage-layouts-normalized/contracts/colony/ColonyDomains.sol:ColonyDomains.json @@ -770,9 +770,20 @@ "label": "uint256", "numberOfBytes": "32" } + }, + { + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } } ], - "numberOfBytes": "64" + "numberOfBytes": "96" } } }, @@ -1335,7 +1346,7 @@ }, { "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "localSkills", + "label": "DEPRECATED_localSkills", "offset": 0, "slot": "37", "type": { @@ -1353,6 +1364,51 @@ "numberOfBytes": "1" } } + }, + { + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": { + "encoding": "mapping", + "key": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "exists", + "offset": 0, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + }, + { + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + } + ], + "numberOfBytes": "32" + } + } } ] } \ No newline at end of file diff --git a/.storage-layouts-normalized/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json b/.storage-layouts-normalized/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json index e67c83a8db..8dee3d7dd0 100644 --- a/.storage-layouts-normalized/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json +++ b/.storage-layouts-normalized/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json @@ -770,9 +770,20 @@ "label": "uint256", "numberOfBytes": "32" } + }, + { + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } } ], - "numberOfBytes": "64" + "numberOfBytes": "96" } } }, @@ -1335,7 +1346,7 @@ }, { "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "localSkills", + "label": "DEPRECATED_localSkills", "offset": 0, "slot": "37", "type": { @@ -1353,6 +1364,51 @@ "numberOfBytes": "1" } } + }, + { + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": { + "encoding": "mapping", + "key": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "exists", + "offset": 0, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + }, + { + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + } + ], + "numberOfBytes": "32" + } + } } ] } \ No newline at end of file diff --git a/.storage-layouts-normalized/contracts/colony/ColonyFunding.sol:ColonyFunding.json b/.storage-layouts-normalized/contracts/colony/ColonyFunding.sol:ColonyFunding.json index 0124a6e3d4..2ba1c31e74 100644 --- a/.storage-layouts-normalized/contracts/colony/ColonyFunding.sol:ColonyFunding.json +++ b/.storage-layouts-normalized/contracts/colony/ColonyFunding.sol:ColonyFunding.json @@ -770,9 +770,20 @@ "label": "uint256", "numberOfBytes": "32" } + }, + { + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } } ], - "numberOfBytes": "64" + "numberOfBytes": "96" } } }, @@ -1335,7 +1346,7 @@ }, { "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "localSkills", + "label": "DEPRECATED_localSkills", "offset": 0, "slot": "37", "type": { @@ -1353,6 +1364,51 @@ "numberOfBytes": "1" } } + }, + { + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": { + "encoding": "mapping", + "key": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "exists", + "offset": 0, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + }, + { + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + } + ], + "numberOfBytes": "32" + } + } } ] } \ No newline at end of file diff --git a/.storage-layouts-normalized/contracts/colony/ColonyRewards.sol:ColonyRewards.json b/.storage-layouts-normalized/contracts/colony/ColonyRewards.sol:ColonyRewards.json index 8ea84d7908..bc29e4ae55 100644 --- a/.storage-layouts-normalized/contracts/colony/ColonyRewards.sol:ColonyRewards.json +++ b/.storage-layouts-normalized/contracts/colony/ColonyRewards.sol:ColonyRewards.json @@ -770,9 +770,20 @@ "label": "uint256", "numberOfBytes": "32" } + }, + { + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } } ], - "numberOfBytes": "64" + "numberOfBytes": "96" } } }, @@ -1335,7 +1346,7 @@ }, { "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "localSkills", + "label": "DEPRECATED_localSkills", "offset": 0, "slot": "37", "type": { @@ -1353,6 +1364,51 @@ "numberOfBytes": "1" } } + }, + { + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": { + "encoding": "mapping", + "key": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "exists", + "offset": 0, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + }, + { + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + } + ], + "numberOfBytes": "32" + } + } } ] } \ No newline at end of file diff --git a/.storage-layouts-normalized/contracts/colony/ColonyRoles.sol:ColonyRoles.json b/.storage-layouts-normalized/contracts/colony/ColonyRoles.sol:ColonyRoles.json index 5aa0104c12..1704317f0d 100644 --- a/.storage-layouts-normalized/contracts/colony/ColonyRoles.sol:ColonyRoles.json +++ b/.storage-layouts-normalized/contracts/colony/ColonyRoles.sol:ColonyRoles.json @@ -770,9 +770,20 @@ "label": "uint256", "numberOfBytes": "32" } + }, + { + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } } ], - "numberOfBytes": "64" + "numberOfBytes": "96" } } }, @@ -1335,7 +1346,7 @@ }, { "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "localSkills", + "label": "DEPRECATED_localSkills", "offset": 0, "slot": "37", "type": { @@ -1353,6 +1364,51 @@ "numberOfBytes": "1" } } + }, + { + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": { + "encoding": "mapping", + "key": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "exists", + "offset": 0, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + }, + { + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + } + ], + "numberOfBytes": "32" + } + } } ] } \ No newline at end of file diff --git a/.storage-layouts-normalized/contracts/colony/ColonyStorage.sol:ColonyStorage.json b/.storage-layouts-normalized/contracts/colony/ColonyStorage.sol:ColonyStorage.json index 2fad267b5a..0e353b88a3 100644 --- a/.storage-layouts-normalized/contracts/colony/ColonyStorage.sol:ColonyStorage.json +++ b/.storage-layouts-normalized/contracts/colony/ColonyStorage.sol:ColonyStorage.json @@ -770,9 +770,20 @@ "label": "uint256", "numberOfBytes": "32" } + }, + { + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } } ], - "numberOfBytes": "64" + "numberOfBytes": "96" } } }, @@ -1335,7 +1346,7 @@ }, { "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "localSkills", + "label": "DEPRECATED_localSkills", "offset": 0, "slot": "37", "type": { @@ -1353,6 +1364,51 @@ "numberOfBytes": "1" } } + }, + { + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": { + "encoding": "mapping", + "key": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "exists", + "offset": 0, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + }, + { + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + } + ], + "numberOfBytes": "32" + } + } } ] } \ No newline at end of file diff --git a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json index dcca4403a8..43c45f5651 100644 --- a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json +++ b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json @@ -378,7 +378,7 @@ }, { "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "deprecated", + "label": "DEPRECATED_deprecated", "offset": 1, "slot": "3", "type": { diff --git a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json index 0881a97e7c..1812851e6c 100644 --- a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json +++ b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json @@ -378,7 +378,7 @@ }, { "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "deprecated", + "label": "DEPRECATED_deprecated", "offset": 1, "slot": "3", "type": { diff --git a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json index 914f22f94d..7fb79ad881 100644 --- a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json +++ b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json @@ -378,7 +378,7 @@ }, { "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "deprecated", + "label": "DEPRECATED_deprecated", "offset": 1, "slot": "3", "type": { diff --git a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json index a8fc4c27d2..75279a954a 100644 --- a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json +++ b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json @@ -378,7 +378,7 @@ }, { "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "deprecated", + "label": "DEPRECATED_deprecated", "offset": 1, "slot": "3", "type": { diff --git a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json index 8fa7c942d5..ee28e7b452 100644 --- a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json +++ b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json @@ -378,7 +378,7 @@ }, { "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "deprecated", + "label": "DEPRECATED_deprecated", "offset": 1, "slot": "3", "type": { diff --git a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json index dca38f681a..5b54957cde 100644 --- a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json +++ b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json @@ -378,7 +378,7 @@ }, { "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "deprecated", + "label": "DEPRECATED_deprecated", "offset": 1, "slot": "3", "type": { diff --git a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json index 64564306dd..50f4099485 100644 --- a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json +++ b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json @@ -378,7 +378,7 @@ }, { "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "deprecated", + "label": "DEPRECATED_deprecated", "offset": 1, "slot": "3", "type": { diff --git a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json index d1f183ad6a..3a616e1cf4 100644 --- a/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json +++ b/.storage-layouts-normalized/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json @@ -378,7 +378,7 @@ }, { "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "deprecated", + "label": "DEPRECATED_deprecated", "offset": 1, "slot": "3", "type": { diff --git a/.storage-layouts-normalized/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json b/.storage-layouts-normalized/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json index c9857d8439..24a785490f 100644 --- a/.storage-layouts-normalized/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json +++ b/.storage-layouts-normalized/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json @@ -770,9 +770,20 @@ "label": "uint256", "numberOfBytes": "32" } + }, + { + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } } ], - "numberOfBytes": "64" + "numberOfBytes": "96" } } }, @@ -1335,7 +1346,7 @@ }, { "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "localSkills", + "label": "DEPRECATED_localSkills", "offset": 0, "slot": "37", "type": { @@ -1353,6 +1364,51 @@ "numberOfBytes": "1" } } + }, + { + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": { + "encoding": "mapping", + "key": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "exists", + "offset": 0, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + }, + { + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + } + ], + "numberOfBytes": "32" + } + } } ] } \ No newline at end of file diff --git a/.storage-layouts-normalized/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json b/.storage-layouts-normalized/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json index a5d491b66e..6b1c66e44e 100644 --- a/.storage-layouts-normalized/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json +++ b/.storage-layouts-normalized/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json @@ -770,9 +770,20 @@ "label": "uint256", "numberOfBytes": "32" } + }, + { + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } } ], - "numberOfBytes": "64" + "numberOfBytes": "96" } } }, @@ -1335,7 +1346,7 @@ }, { "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "localSkills", + "label": "DEPRECATED_localSkills", "offset": 0, "slot": "37", "type": { @@ -1353,6 +1364,51 @@ "numberOfBytes": "1" } } + }, + { + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": { + "encoding": "mapping", + "key": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "exists", + "offset": 0, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + }, + { + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + } + ], + "numberOfBytes": "32" + } + } } ] } \ No newline at end of file diff --git a/.storage-layouts-normalized/contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase.json b/.storage-layouts-normalized/contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase.json deleted file mode 100644 index 7ec149a4c0..0000000000 --- a/.storage-layouts-normalized/contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase.json +++ /dev/null @@ -1,432 +0,0 @@ -{ - "storage": [ - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "authority", - "offset": 0, - "slot": "0", - "type": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "owner", - "offset": 0, - "slot": "1", - "type": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "colony", - "offset": 0, - "slot": "3", - "type": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": { - "encoding": "mapping", - "key": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - }, - { - "contract": "contracts/testHelpers/testExtensions/TestExtensionBase.sol:TestExtensionBase", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } - ] -} \ No newline at end of file diff --git a/.storage-layouts/contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony.json b/.storage-layouts/contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony.json new file mode 100644 index 0000000000..428288fb4a --- /dev/null +++ b/.storage-layouts/contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony.json @@ -0,0 +1,93 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 69, + "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", + "label": "colonyNetwork", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 72, + "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", + "label": "wormhole", + "offset": 0, + "slot": "3", + "type": "t_contract(IWormhole)46268" + }, + { + "astId": 76, + "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", + "label": "colonyBridges", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 80, + "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", + "label": "evmChainIdToWormholeChainId", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_uint256,t_uint16)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IWormhole)46268": { + "encoding": "inplace", + "label": "contract IWormhole", + "numberOfBytes": "20" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_uint256,t_uint16)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint16)", + "numberOfBytes": "32", + "value": "t_uint16" + }, + "t_uint16": { + "encoding": "inplace", + "label": "uint16", + "numberOfBytes": "2" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/colony/Colony.sol:Colony.json b/.storage-layouts/contracts/colony/Colony.sol:Colony.json new file mode 100644 index 0000000000..6f2973320d --- /dev/null +++ b/.storage-layouts/contracts/colony/Colony.sol:Colony.json @@ -0,0 +1,1051 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8102, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 8104, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "token", + "offset": 0, + "slot": "7", + "type": "t_address" + }, + { + "astId": 8106, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "rewardInverse", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 8108, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "DEPRECATED_taskCount", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 8110, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "fundingPotCount", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 8112, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "domainCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 8119, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "DEPRECATED_reviewers", + "offset": 0, + "slot": "12", + "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" + }, + { + "astId": 8123, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "DEPRECATED_roleAssignmentSigs", + "offset": 0, + "slot": "13", + "type": "t_mapping(t_bytes4,t_bool)" + }, + { + "astId": 8128, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "DEPRECATED_tasks", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" + }, + { + "astId": 8133, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "fundingPots", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" + }, + { + "astId": 8138, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "rewardPayoutCycles", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" + }, + { + "astId": 8142, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "pendingRewardPayments", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8146, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "nonRewardPotsTotal", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8151, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "DEPRECATED_taskWorkRatings", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" + }, + { + "astId": 8156, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "domains", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" + }, + { + "astId": 8160, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "DEPRECATED_taskChangeNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 8162, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "DEPRECATED_paymentCount", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 8167, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "DEPRECATED_payments", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" + }, + { + "astId": 8169, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "expenditureCount", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 8174, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "expenditures", + "offset": 0, + "slot": "25", + "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" + }, + { + "astId": 8181, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "expenditureSlots", + "offset": 0, + "slot": "26", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" + }, + { + "astId": 8189, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "expenditureSlotPayouts", + "offset": 0, + "slot": "27", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 8197, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "approvals", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8205, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "obligations", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8207, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "30", + "type": "t_address" + }, + { + "astId": 8213, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "tokenLocks", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 8219, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "tokenApprovals", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 8223, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "tokenApprovalTotals", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8225, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "defaultGlobalClaimDelay", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 8232, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "metatransactionNonces", + "offset": 0, + "slot": "35", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8234, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "rootLocalSkill", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 8238, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "DEPRECATED_localSkills", + "offset": 0, + "slot": "37", + "type": "t_mapping(t_uint256,t_bool)" + }, + { + "astId": 8243, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_enum(TaskRole)3600)2_storage": { + "base": "t_enum(TaskRole)3600", + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole[2]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_enum(ExpenditureStatus)3409": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.ExpenditureStatus", + "numberOfBytes": "1" + }, + "t_enum(FundingPotAssociatedType)3424": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.FundingPotAssociatedType", + "numberOfBytes": "1" + }, + "t_enum(TaskRatings)3596": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRatings", + "numberOfBytes": "1" + }, + "t_enum(TaskRole)3600": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole", + "numberOfBytes": "1" + }, + "t_enum(TaskStatus)3604": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskStatus", + "numberOfBytes": "1" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", + "numberOfBytes": "32", + "value": "t_array(t_enum(TaskRole)3600)2_storage" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" + }, + "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", + "numberOfBytes": "32", + "value": "t_struct(Domain)3447_storage" + }, + "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", + "numberOfBytes": "32", + "value": "t_struct(Expenditure)3394_storage" + }, + "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", + "numberOfBytes": "32", + "value": "t_struct(ExpenditureSlot)3404_storage" + }, + "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", + "numberOfBytes": "32", + "value": "t_struct(FundingPot)3440_storage" + }, + "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": "t_struct(LocalSkill)3452_storage" + }, + "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", + "numberOfBytes": "32", + "value": "t_struct(Payment)3663_storage" + }, + "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", + "numberOfBytes": "32", + "value": "t_struct(RatingSecrets)3651_storage" + }, + "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", + "numberOfBytes": "32", + "value": "t_struct(RewardPayoutCycle)3380_storage" + }, + "t_mapping(t_uint256,t_struct(Task)3634_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Task)", + "numberOfBytes": "32", + "value": "t_struct(Task)3634_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint8,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint8,t_struct(Role)3642_storage)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => struct ColonyDataTypes.Role)", + "numberOfBytes": "32", + "value": "t_struct(Role)3642_storage" + }, + "t_struct(Domain)3447_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Domain", + "members": [ + { + "astId": 3442, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "skillId", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3444, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3446, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": "t_bool" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Expenditure)3394_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Expenditure", + "members": [ + { + "astId": 3383, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "status", + "offset": 0, + "slot": "0", + "type": "t_enum(ExpenditureStatus)3409" + }, + { + "astId": 3385, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "owner", + "offset": 1, + "slot": "0", + "type": "t_address" + }, + { + "astId": 3387, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3389, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3391, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "finalizedTimestamp", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3393, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "globalClaimDelay", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ExpenditureSlot)3404_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.ExpenditureSlot", + "members": [ + { + "astId": 3396, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3398, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "claimDelay", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3400, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "payoutModifier", + "offset": 0, + "slot": "2", + "type": "t_int256" + }, + { + "astId": 3403, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(FundingPot)3440_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.FundingPot", + "members": [ + { + "astId": 3428, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "balance", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3431, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "associatedType", + "offset": 0, + "slot": "1", + "type": "t_enum(FundingPotAssociatedType)3424" + }, + { + "astId": 3433, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "associatedTypeId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3437, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "payouts", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3439, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "payoutsWeCannotMake", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(LocalSkill)3452_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "astId": 3449, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "exists", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3451, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": "t_bool" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Payment)3663_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Payment", + "members": [ + { + "astId": 3653, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3655, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "finalized", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3657, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3659, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3662, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RatingSecrets)3651_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RatingSecrets", + "members": [ + { + "astId": 3644, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "count", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3646, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3650, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "secret", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_uint8,t_bytes32)" + } + ], + "numberOfBytes": "96" + }, + "t_struct(RewardPayoutCycle)3380_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RewardPayoutCycle", + "members": [ + { + "astId": 3365, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "reputationState", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3367, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "colonyWideReputation", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3369, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "totalTokens", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3371, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "amount", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3373, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "tokenAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 3375, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "blockTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3377, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "amountRemaining", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3379, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "finalized", + "offset": 0, + "slot": "7", + "type": "t_bool" + } + ], + "numberOfBytes": "256" + }, + "t_struct(Role)3642_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Role", + "members": [ + { + "astId": 3636, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3638, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "rateFail", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3641, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "rating", + "offset": 21, + "slot": "0", + "type": "t_enum(TaskRatings)3596" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Task)3634_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Task", + "members": [ + { + "astId": 3606, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "specificationHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3608, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "deliverableHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 3611, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "status", + "offset": 0, + "slot": "2", + "type": "t_enum(TaskStatus)3604" + }, + { + "astId": 3613, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "dueDate", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3615, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "fundingPotId", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 3617, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "completionTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3619, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "domainId", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3622, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "skills", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 3627, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "roles", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" + }, + { + "astId": 3633, + "contract": "contracts/colony/Colony.sol:Colony", + "label": "payouts", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" + } + ], + "numberOfBytes": "320" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "encoding": "inplace", + "label": "uint8", + "numberOfBytes": "1" + } + } +} diff --git a/.storage-layouts/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json b/.storage-layouts/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json new file mode 100644 index 0000000000..7c0260f62f --- /dev/null +++ b/.storage-layouts/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json @@ -0,0 +1,1051 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8102, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 8104, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "token", + "offset": 0, + "slot": "7", + "type": "t_address" + }, + { + "astId": 8106, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "rewardInverse", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 8108, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "DEPRECATED_taskCount", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 8110, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "fundingPotCount", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 8112, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "domainCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 8119, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "DEPRECATED_reviewers", + "offset": 0, + "slot": "12", + "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" + }, + { + "astId": 8123, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "DEPRECATED_roleAssignmentSigs", + "offset": 0, + "slot": "13", + "type": "t_mapping(t_bytes4,t_bool)" + }, + { + "astId": 8128, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "DEPRECATED_tasks", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" + }, + { + "astId": 8133, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "fundingPots", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" + }, + { + "astId": 8138, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "rewardPayoutCycles", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" + }, + { + "astId": 8142, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "pendingRewardPayments", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8146, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "nonRewardPotsTotal", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8151, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "DEPRECATED_taskWorkRatings", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" + }, + { + "astId": 8156, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "domains", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" + }, + { + "astId": 8160, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "DEPRECATED_taskChangeNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 8162, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "DEPRECATED_paymentCount", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 8167, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "DEPRECATED_payments", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" + }, + { + "astId": 8169, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "expenditureCount", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 8174, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "expenditures", + "offset": 0, + "slot": "25", + "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" + }, + { + "astId": 8181, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "expenditureSlots", + "offset": 0, + "slot": "26", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" + }, + { + "astId": 8189, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "expenditureSlotPayouts", + "offset": 0, + "slot": "27", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 8197, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "approvals", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8205, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "obligations", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8207, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "30", + "type": "t_address" + }, + { + "astId": 8213, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "tokenLocks", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 8219, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "tokenApprovals", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 8223, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "tokenApprovalTotals", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8225, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "defaultGlobalClaimDelay", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 8232, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "metatransactionNonces", + "offset": 0, + "slot": "35", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8234, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "rootLocalSkill", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 8238, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "DEPRECATED_localSkills", + "offset": 0, + "slot": "37", + "type": "t_mapping(t_uint256,t_bool)" + }, + { + "astId": 8243, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_enum(TaskRole)3600)2_storage": { + "base": "t_enum(TaskRole)3600", + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole[2]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_enum(ExpenditureStatus)3409": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.ExpenditureStatus", + "numberOfBytes": "1" + }, + "t_enum(FundingPotAssociatedType)3424": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.FundingPotAssociatedType", + "numberOfBytes": "1" + }, + "t_enum(TaskRatings)3596": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRatings", + "numberOfBytes": "1" + }, + "t_enum(TaskRole)3600": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole", + "numberOfBytes": "1" + }, + "t_enum(TaskStatus)3604": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskStatus", + "numberOfBytes": "1" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", + "numberOfBytes": "32", + "value": "t_array(t_enum(TaskRole)3600)2_storage" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" + }, + "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", + "numberOfBytes": "32", + "value": "t_struct(Domain)3447_storage" + }, + "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", + "numberOfBytes": "32", + "value": "t_struct(Expenditure)3394_storage" + }, + "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", + "numberOfBytes": "32", + "value": "t_struct(ExpenditureSlot)3404_storage" + }, + "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", + "numberOfBytes": "32", + "value": "t_struct(FundingPot)3440_storage" + }, + "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": "t_struct(LocalSkill)3452_storage" + }, + "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", + "numberOfBytes": "32", + "value": "t_struct(Payment)3663_storage" + }, + "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", + "numberOfBytes": "32", + "value": "t_struct(RatingSecrets)3651_storage" + }, + "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", + "numberOfBytes": "32", + "value": "t_struct(RewardPayoutCycle)3380_storage" + }, + "t_mapping(t_uint256,t_struct(Task)3634_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Task)", + "numberOfBytes": "32", + "value": "t_struct(Task)3634_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint8,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint8,t_struct(Role)3642_storage)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => struct ColonyDataTypes.Role)", + "numberOfBytes": "32", + "value": "t_struct(Role)3642_storage" + }, + "t_struct(Domain)3447_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Domain", + "members": [ + { + "astId": 3442, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "skillId", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3444, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3446, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": "t_bool" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Expenditure)3394_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Expenditure", + "members": [ + { + "astId": 3383, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "status", + "offset": 0, + "slot": "0", + "type": "t_enum(ExpenditureStatus)3409" + }, + { + "astId": 3385, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "owner", + "offset": 1, + "slot": "0", + "type": "t_address" + }, + { + "astId": 3387, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3389, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3391, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "finalizedTimestamp", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3393, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "globalClaimDelay", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ExpenditureSlot)3404_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.ExpenditureSlot", + "members": [ + { + "astId": 3396, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3398, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "claimDelay", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3400, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "payoutModifier", + "offset": 0, + "slot": "2", + "type": "t_int256" + }, + { + "astId": 3403, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(FundingPot)3440_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.FundingPot", + "members": [ + { + "astId": 3428, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "balance", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3431, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "associatedType", + "offset": 0, + "slot": "1", + "type": "t_enum(FundingPotAssociatedType)3424" + }, + { + "astId": 3433, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "associatedTypeId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3437, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "payouts", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3439, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "payoutsWeCannotMake", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(LocalSkill)3452_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "astId": 3449, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "exists", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3451, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": "t_bool" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Payment)3663_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Payment", + "members": [ + { + "astId": 3653, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3655, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "finalized", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3657, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3659, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3662, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RatingSecrets)3651_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RatingSecrets", + "members": [ + { + "astId": 3644, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "count", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3646, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3650, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "secret", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_uint8,t_bytes32)" + } + ], + "numberOfBytes": "96" + }, + "t_struct(RewardPayoutCycle)3380_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RewardPayoutCycle", + "members": [ + { + "astId": 3365, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "reputationState", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3367, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "colonyWideReputation", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3369, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "totalTokens", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3371, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "amount", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3373, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "tokenAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 3375, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "blockTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3377, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "amountRemaining", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3379, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "finalized", + "offset": 0, + "slot": "7", + "type": "t_bool" + } + ], + "numberOfBytes": "256" + }, + "t_struct(Role)3642_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Role", + "members": [ + { + "astId": 3636, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3638, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "rateFail", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3641, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "rating", + "offset": 21, + "slot": "0", + "type": "t_enum(TaskRatings)3596" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Task)3634_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Task", + "members": [ + { + "astId": 3606, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "specificationHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3608, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "deliverableHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 3611, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "status", + "offset": 0, + "slot": "2", + "type": "t_enum(TaskStatus)3604" + }, + { + "astId": 3613, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "dueDate", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3615, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "fundingPotId", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 3617, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "completionTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3619, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "domainId", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3622, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "skills", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 3627, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "roles", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" + }, + { + "astId": 3633, + "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", + "label": "payouts", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" + } + ], + "numberOfBytes": "320" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "encoding": "inplace", + "label": "uint8", + "numberOfBytes": "1" + } + } +} diff --git a/.storage-layouts/contracts/colony/ColonyAuthority.sol:ColonyAuthority.json b/.storage-layouts/contracts/colony/ColonyAuthority.sol:ColonyAuthority.json new file mode 100644 index 0000000000..e964b3bf82 --- /dev/null +++ b/.storage-layouts/contracts/colony/ColonyAuthority.sol:ColonyAuthority.json @@ -0,0 +1,156 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 45605, + "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", + "label": "_root_users", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 45609, + "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", + "label": "_user_roles", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_bytes32)" + }, + { + "astId": 45615, + "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", + "label": "_capability_roles", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))" + }, + { + "astId": 45621, + "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", + "label": "_public_capabilities", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bool))" + }, + { + "astId": 18215, + "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", + "label": "userDomainRoles", + "offset": 0, + "slot": "6", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))" + }, + { + "astId": 2618, + "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", + "label": "colony", + "offset": 0, + "slot": "7", + "type": "t_address" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_bytes32)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_address,t_mapping(t_bytes4,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(bytes4 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes4,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(bytes4 => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes4,t_bytes32)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bytes32)" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes4,t_bytes32)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint256,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/colony/ColonyDomains.sol:ColonyDomains.json b/.storage-layouts/contracts/colony/ColonyDomains.sol:ColonyDomains.json new file mode 100644 index 0000000000..5c257b30ee --- /dev/null +++ b/.storage-layouts/contracts/colony/ColonyDomains.sol:ColonyDomains.json @@ -0,0 +1,1051 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8102, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 8104, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "token", + "offset": 0, + "slot": "7", + "type": "t_address" + }, + { + "astId": 8106, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "rewardInverse", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 8108, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "DEPRECATED_taskCount", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 8110, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "fundingPotCount", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 8112, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "domainCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 8119, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "DEPRECATED_reviewers", + "offset": 0, + "slot": "12", + "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" + }, + { + "astId": 8123, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "DEPRECATED_roleAssignmentSigs", + "offset": 0, + "slot": "13", + "type": "t_mapping(t_bytes4,t_bool)" + }, + { + "astId": 8128, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "DEPRECATED_tasks", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" + }, + { + "astId": 8133, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "fundingPots", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" + }, + { + "astId": 8138, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "rewardPayoutCycles", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" + }, + { + "astId": 8142, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "pendingRewardPayments", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8146, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "nonRewardPotsTotal", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8151, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "DEPRECATED_taskWorkRatings", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" + }, + { + "astId": 8156, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "domains", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" + }, + { + "astId": 8160, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "DEPRECATED_taskChangeNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 8162, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "DEPRECATED_paymentCount", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 8167, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "DEPRECATED_payments", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" + }, + { + "astId": 8169, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "expenditureCount", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 8174, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "expenditures", + "offset": 0, + "slot": "25", + "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" + }, + { + "astId": 8181, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "expenditureSlots", + "offset": 0, + "slot": "26", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" + }, + { + "astId": 8189, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "expenditureSlotPayouts", + "offset": 0, + "slot": "27", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 8197, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "approvals", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8205, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "obligations", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8207, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "30", + "type": "t_address" + }, + { + "astId": 8213, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "tokenLocks", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 8219, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "tokenApprovals", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 8223, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "tokenApprovalTotals", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8225, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "defaultGlobalClaimDelay", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 8232, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "metatransactionNonces", + "offset": 0, + "slot": "35", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8234, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "rootLocalSkill", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 8238, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "DEPRECATED_localSkills", + "offset": 0, + "slot": "37", + "type": "t_mapping(t_uint256,t_bool)" + }, + { + "astId": 8243, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_enum(TaskRole)3600)2_storage": { + "base": "t_enum(TaskRole)3600", + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole[2]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_enum(ExpenditureStatus)3409": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.ExpenditureStatus", + "numberOfBytes": "1" + }, + "t_enum(FundingPotAssociatedType)3424": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.FundingPotAssociatedType", + "numberOfBytes": "1" + }, + "t_enum(TaskRatings)3596": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRatings", + "numberOfBytes": "1" + }, + "t_enum(TaskRole)3600": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole", + "numberOfBytes": "1" + }, + "t_enum(TaskStatus)3604": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskStatus", + "numberOfBytes": "1" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", + "numberOfBytes": "32", + "value": "t_array(t_enum(TaskRole)3600)2_storage" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" + }, + "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", + "numberOfBytes": "32", + "value": "t_struct(Domain)3447_storage" + }, + "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", + "numberOfBytes": "32", + "value": "t_struct(Expenditure)3394_storage" + }, + "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", + "numberOfBytes": "32", + "value": "t_struct(ExpenditureSlot)3404_storage" + }, + "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", + "numberOfBytes": "32", + "value": "t_struct(FundingPot)3440_storage" + }, + "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": "t_struct(LocalSkill)3452_storage" + }, + "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", + "numberOfBytes": "32", + "value": "t_struct(Payment)3663_storage" + }, + "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", + "numberOfBytes": "32", + "value": "t_struct(RatingSecrets)3651_storage" + }, + "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", + "numberOfBytes": "32", + "value": "t_struct(RewardPayoutCycle)3380_storage" + }, + "t_mapping(t_uint256,t_struct(Task)3634_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Task)", + "numberOfBytes": "32", + "value": "t_struct(Task)3634_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint8,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint8,t_struct(Role)3642_storage)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => struct ColonyDataTypes.Role)", + "numberOfBytes": "32", + "value": "t_struct(Role)3642_storage" + }, + "t_struct(Domain)3447_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Domain", + "members": [ + { + "astId": 3442, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "skillId", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3444, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3446, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": "t_bool" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Expenditure)3394_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Expenditure", + "members": [ + { + "astId": 3383, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "status", + "offset": 0, + "slot": "0", + "type": "t_enum(ExpenditureStatus)3409" + }, + { + "astId": 3385, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "owner", + "offset": 1, + "slot": "0", + "type": "t_address" + }, + { + "astId": 3387, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3389, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3391, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "finalizedTimestamp", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3393, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "globalClaimDelay", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ExpenditureSlot)3404_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.ExpenditureSlot", + "members": [ + { + "astId": 3396, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3398, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "claimDelay", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3400, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "payoutModifier", + "offset": 0, + "slot": "2", + "type": "t_int256" + }, + { + "astId": 3403, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(FundingPot)3440_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.FundingPot", + "members": [ + { + "astId": 3428, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "balance", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3431, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "associatedType", + "offset": 0, + "slot": "1", + "type": "t_enum(FundingPotAssociatedType)3424" + }, + { + "astId": 3433, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "associatedTypeId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3437, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "payouts", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3439, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "payoutsWeCannotMake", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(LocalSkill)3452_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "astId": 3449, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "exists", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3451, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": "t_bool" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Payment)3663_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Payment", + "members": [ + { + "astId": 3653, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3655, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "finalized", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3657, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3659, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3662, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RatingSecrets)3651_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RatingSecrets", + "members": [ + { + "astId": 3644, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "count", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3646, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3650, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "secret", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_uint8,t_bytes32)" + } + ], + "numberOfBytes": "96" + }, + "t_struct(RewardPayoutCycle)3380_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RewardPayoutCycle", + "members": [ + { + "astId": 3365, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "reputationState", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3367, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "colonyWideReputation", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3369, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "totalTokens", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3371, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "amount", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3373, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "tokenAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 3375, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "blockTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3377, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "amountRemaining", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3379, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "finalized", + "offset": 0, + "slot": "7", + "type": "t_bool" + } + ], + "numberOfBytes": "256" + }, + "t_struct(Role)3642_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Role", + "members": [ + { + "astId": 3636, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3638, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "rateFail", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3641, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "rating", + "offset": 21, + "slot": "0", + "type": "t_enum(TaskRatings)3596" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Task)3634_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Task", + "members": [ + { + "astId": 3606, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "specificationHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3608, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "deliverableHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 3611, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "status", + "offset": 0, + "slot": "2", + "type": "t_enum(TaskStatus)3604" + }, + { + "astId": 3613, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "dueDate", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3615, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "fundingPotId", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 3617, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "completionTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3619, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "domainId", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3622, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "skills", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 3627, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "roles", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" + }, + { + "astId": 3633, + "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", + "label": "payouts", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" + } + ], + "numberOfBytes": "320" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "encoding": "inplace", + "label": "uint8", + "numberOfBytes": "1" + } + } +} diff --git a/.storage-layouts/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json b/.storage-layouts/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json new file mode 100644 index 0000000000..4ec9be6e52 --- /dev/null +++ b/.storage-layouts/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json @@ -0,0 +1,1051 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8102, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 8104, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "token", + "offset": 0, + "slot": "7", + "type": "t_address" + }, + { + "astId": 8106, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "rewardInverse", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 8108, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "DEPRECATED_taskCount", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 8110, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "fundingPotCount", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 8112, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "domainCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 8119, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "DEPRECATED_reviewers", + "offset": 0, + "slot": "12", + "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" + }, + { + "astId": 8123, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "DEPRECATED_roleAssignmentSigs", + "offset": 0, + "slot": "13", + "type": "t_mapping(t_bytes4,t_bool)" + }, + { + "astId": 8128, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "DEPRECATED_tasks", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" + }, + { + "astId": 8133, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "fundingPots", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" + }, + { + "astId": 8138, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "rewardPayoutCycles", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" + }, + { + "astId": 8142, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "pendingRewardPayments", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8146, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "nonRewardPotsTotal", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8151, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "DEPRECATED_taskWorkRatings", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" + }, + { + "astId": 8156, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "domains", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" + }, + { + "astId": 8160, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "DEPRECATED_taskChangeNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 8162, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "DEPRECATED_paymentCount", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 8167, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "DEPRECATED_payments", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" + }, + { + "astId": 8169, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "expenditureCount", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 8174, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "expenditures", + "offset": 0, + "slot": "25", + "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" + }, + { + "astId": 8181, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "expenditureSlots", + "offset": 0, + "slot": "26", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" + }, + { + "astId": 8189, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "expenditureSlotPayouts", + "offset": 0, + "slot": "27", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 8197, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "approvals", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8205, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "obligations", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8207, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "30", + "type": "t_address" + }, + { + "astId": 8213, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "tokenLocks", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 8219, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "tokenApprovals", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 8223, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "tokenApprovalTotals", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8225, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "defaultGlobalClaimDelay", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 8232, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "metatransactionNonces", + "offset": 0, + "slot": "35", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8234, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "rootLocalSkill", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 8238, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "DEPRECATED_localSkills", + "offset": 0, + "slot": "37", + "type": "t_mapping(t_uint256,t_bool)" + }, + { + "astId": 8243, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_enum(TaskRole)3600)2_storage": { + "base": "t_enum(TaskRole)3600", + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole[2]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_enum(ExpenditureStatus)3409": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.ExpenditureStatus", + "numberOfBytes": "1" + }, + "t_enum(FundingPotAssociatedType)3424": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.FundingPotAssociatedType", + "numberOfBytes": "1" + }, + "t_enum(TaskRatings)3596": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRatings", + "numberOfBytes": "1" + }, + "t_enum(TaskRole)3600": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole", + "numberOfBytes": "1" + }, + "t_enum(TaskStatus)3604": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskStatus", + "numberOfBytes": "1" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", + "numberOfBytes": "32", + "value": "t_array(t_enum(TaskRole)3600)2_storage" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" + }, + "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", + "numberOfBytes": "32", + "value": "t_struct(Domain)3447_storage" + }, + "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", + "numberOfBytes": "32", + "value": "t_struct(Expenditure)3394_storage" + }, + "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", + "numberOfBytes": "32", + "value": "t_struct(ExpenditureSlot)3404_storage" + }, + "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", + "numberOfBytes": "32", + "value": "t_struct(FundingPot)3440_storage" + }, + "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": "t_struct(LocalSkill)3452_storage" + }, + "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", + "numberOfBytes": "32", + "value": "t_struct(Payment)3663_storage" + }, + "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", + "numberOfBytes": "32", + "value": "t_struct(RatingSecrets)3651_storage" + }, + "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", + "numberOfBytes": "32", + "value": "t_struct(RewardPayoutCycle)3380_storage" + }, + "t_mapping(t_uint256,t_struct(Task)3634_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Task)", + "numberOfBytes": "32", + "value": "t_struct(Task)3634_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint8,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint8,t_struct(Role)3642_storage)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => struct ColonyDataTypes.Role)", + "numberOfBytes": "32", + "value": "t_struct(Role)3642_storage" + }, + "t_struct(Domain)3447_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Domain", + "members": [ + { + "astId": 3442, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "skillId", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3444, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3446, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": "t_bool" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Expenditure)3394_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Expenditure", + "members": [ + { + "astId": 3383, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "status", + "offset": 0, + "slot": "0", + "type": "t_enum(ExpenditureStatus)3409" + }, + { + "astId": 3385, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "owner", + "offset": 1, + "slot": "0", + "type": "t_address" + }, + { + "astId": 3387, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3389, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3391, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "finalizedTimestamp", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3393, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "globalClaimDelay", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ExpenditureSlot)3404_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.ExpenditureSlot", + "members": [ + { + "astId": 3396, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3398, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "claimDelay", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3400, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "payoutModifier", + "offset": 0, + "slot": "2", + "type": "t_int256" + }, + { + "astId": 3403, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(FundingPot)3440_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.FundingPot", + "members": [ + { + "astId": 3428, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "balance", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3431, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "associatedType", + "offset": 0, + "slot": "1", + "type": "t_enum(FundingPotAssociatedType)3424" + }, + { + "astId": 3433, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "associatedTypeId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3437, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "payouts", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3439, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "payoutsWeCannotMake", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(LocalSkill)3452_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "astId": 3449, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "exists", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3451, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": "t_bool" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Payment)3663_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Payment", + "members": [ + { + "astId": 3653, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3655, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "finalized", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3657, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3659, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3662, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RatingSecrets)3651_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RatingSecrets", + "members": [ + { + "astId": 3644, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "count", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3646, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3650, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "secret", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_uint8,t_bytes32)" + } + ], + "numberOfBytes": "96" + }, + "t_struct(RewardPayoutCycle)3380_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RewardPayoutCycle", + "members": [ + { + "astId": 3365, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "reputationState", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3367, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "colonyWideReputation", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3369, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "totalTokens", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3371, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "amount", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3373, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "tokenAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 3375, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "blockTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3377, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "amountRemaining", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3379, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "finalized", + "offset": 0, + "slot": "7", + "type": "t_bool" + } + ], + "numberOfBytes": "256" + }, + "t_struct(Role)3642_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Role", + "members": [ + { + "astId": 3636, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3638, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "rateFail", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3641, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "rating", + "offset": 21, + "slot": "0", + "type": "t_enum(TaskRatings)3596" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Task)3634_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Task", + "members": [ + { + "astId": 3606, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "specificationHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3608, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "deliverableHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 3611, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "status", + "offset": 0, + "slot": "2", + "type": "t_enum(TaskStatus)3604" + }, + { + "astId": 3613, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "dueDate", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3615, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "fundingPotId", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 3617, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "completionTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3619, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "domainId", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3622, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "skills", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 3627, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "roles", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" + }, + { + "astId": 3633, + "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", + "label": "payouts", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" + } + ], + "numberOfBytes": "320" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "encoding": "inplace", + "label": "uint8", + "numberOfBytes": "1" + } + } +} diff --git a/.storage-layouts/contracts/colony/ColonyFunding.sol:ColonyFunding.json b/.storage-layouts/contracts/colony/ColonyFunding.sol:ColonyFunding.json new file mode 100644 index 0000000000..039007a0c8 --- /dev/null +++ b/.storage-layouts/contracts/colony/ColonyFunding.sol:ColonyFunding.json @@ -0,0 +1,1051 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8102, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 8104, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "token", + "offset": 0, + "slot": "7", + "type": "t_address" + }, + { + "astId": 8106, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "rewardInverse", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 8108, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "DEPRECATED_taskCount", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 8110, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "fundingPotCount", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 8112, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "domainCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 8119, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "DEPRECATED_reviewers", + "offset": 0, + "slot": "12", + "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" + }, + { + "astId": 8123, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "DEPRECATED_roleAssignmentSigs", + "offset": 0, + "slot": "13", + "type": "t_mapping(t_bytes4,t_bool)" + }, + { + "astId": 8128, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "DEPRECATED_tasks", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" + }, + { + "astId": 8133, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "fundingPots", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" + }, + { + "astId": 8138, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "rewardPayoutCycles", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" + }, + { + "astId": 8142, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "pendingRewardPayments", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8146, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "nonRewardPotsTotal", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8151, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "DEPRECATED_taskWorkRatings", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" + }, + { + "astId": 8156, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "domains", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" + }, + { + "astId": 8160, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "DEPRECATED_taskChangeNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 8162, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "DEPRECATED_paymentCount", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 8167, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "DEPRECATED_payments", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" + }, + { + "astId": 8169, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "expenditureCount", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 8174, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "expenditures", + "offset": 0, + "slot": "25", + "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" + }, + { + "astId": 8181, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "expenditureSlots", + "offset": 0, + "slot": "26", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" + }, + { + "astId": 8189, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "expenditureSlotPayouts", + "offset": 0, + "slot": "27", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 8197, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "approvals", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8205, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "obligations", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8207, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "30", + "type": "t_address" + }, + { + "astId": 8213, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "tokenLocks", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 8219, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "tokenApprovals", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 8223, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "tokenApprovalTotals", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8225, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "defaultGlobalClaimDelay", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 8232, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "metatransactionNonces", + "offset": 0, + "slot": "35", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8234, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "rootLocalSkill", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 8238, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "DEPRECATED_localSkills", + "offset": 0, + "slot": "37", + "type": "t_mapping(t_uint256,t_bool)" + }, + { + "astId": 8243, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_enum(TaskRole)3600)2_storage": { + "base": "t_enum(TaskRole)3600", + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole[2]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_enum(ExpenditureStatus)3409": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.ExpenditureStatus", + "numberOfBytes": "1" + }, + "t_enum(FundingPotAssociatedType)3424": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.FundingPotAssociatedType", + "numberOfBytes": "1" + }, + "t_enum(TaskRatings)3596": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRatings", + "numberOfBytes": "1" + }, + "t_enum(TaskRole)3600": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole", + "numberOfBytes": "1" + }, + "t_enum(TaskStatus)3604": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskStatus", + "numberOfBytes": "1" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", + "numberOfBytes": "32", + "value": "t_array(t_enum(TaskRole)3600)2_storage" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" + }, + "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", + "numberOfBytes": "32", + "value": "t_struct(Domain)3447_storage" + }, + "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", + "numberOfBytes": "32", + "value": "t_struct(Expenditure)3394_storage" + }, + "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", + "numberOfBytes": "32", + "value": "t_struct(ExpenditureSlot)3404_storage" + }, + "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", + "numberOfBytes": "32", + "value": "t_struct(FundingPot)3440_storage" + }, + "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": "t_struct(LocalSkill)3452_storage" + }, + "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", + "numberOfBytes": "32", + "value": "t_struct(Payment)3663_storage" + }, + "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", + "numberOfBytes": "32", + "value": "t_struct(RatingSecrets)3651_storage" + }, + "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", + "numberOfBytes": "32", + "value": "t_struct(RewardPayoutCycle)3380_storage" + }, + "t_mapping(t_uint256,t_struct(Task)3634_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Task)", + "numberOfBytes": "32", + "value": "t_struct(Task)3634_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint8,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint8,t_struct(Role)3642_storage)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => struct ColonyDataTypes.Role)", + "numberOfBytes": "32", + "value": "t_struct(Role)3642_storage" + }, + "t_struct(Domain)3447_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Domain", + "members": [ + { + "astId": 3442, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "skillId", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3444, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3446, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": "t_bool" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Expenditure)3394_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Expenditure", + "members": [ + { + "astId": 3383, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "status", + "offset": 0, + "slot": "0", + "type": "t_enum(ExpenditureStatus)3409" + }, + { + "astId": 3385, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "owner", + "offset": 1, + "slot": "0", + "type": "t_address" + }, + { + "astId": 3387, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3389, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3391, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "finalizedTimestamp", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3393, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "globalClaimDelay", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ExpenditureSlot)3404_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.ExpenditureSlot", + "members": [ + { + "astId": 3396, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3398, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "claimDelay", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3400, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "payoutModifier", + "offset": 0, + "slot": "2", + "type": "t_int256" + }, + { + "astId": 3403, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(FundingPot)3440_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.FundingPot", + "members": [ + { + "astId": 3428, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "balance", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3431, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "associatedType", + "offset": 0, + "slot": "1", + "type": "t_enum(FundingPotAssociatedType)3424" + }, + { + "astId": 3433, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "associatedTypeId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3437, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "payouts", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3439, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "payoutsWeCannotMake", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(LocalSkill)3452_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "astId": 3449, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "exists", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3451, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": "t_bool" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Payment)3663_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Payment", + "members": [ + { + "astId": 3653, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3655, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "finalized", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3657, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3659, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3662, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RatingSecrets)3651_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RatingSecrets", + "members": [ + { + "astId": 3644, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "count", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3646, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3650, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "secret", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_uint8,t_bytes32)" + } + ], + "numberOfBytes": "96" + }, + "t_struct(RewardPayoutCycle)3380_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RewardPayoutCycle", + "members": [ + { + "astId": 3365, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "reputationState", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3367, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "colonyWideReputation", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3369, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "totalTokens", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3371, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "amount", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3373, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "tokenAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 3375, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "blockTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3377, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "amountRemaining", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3379, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "finalized", + "offset": 0, + "slot": "7", + "type": "t_bool" + } + ], + "numberOfBytes": "256" + }, + "t_struct(Role)3642_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Role", + "members": [ + { + "astId": 3636, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3638, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "rateFail", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3641, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "rating", + "offset": 21, + "slot": "0", + "type": "t_enum(TaskRatings)3596" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Task)3634_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Task", + "members": [ + { + "astId": 3606, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "specificationHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3608, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "deliverableHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 3611, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "status", + "offset": 0, + "slot": "2", + "type": "t_enum(TaskStatus)3604" + }, + { + "astId": 3613, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "dueDate", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3615, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "fundingPotId", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 3617, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "completionTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3619, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "domainId", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3622, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "skills", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 3627, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "roles", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" + }, + { + "astId": 3633, + "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", + "label": "payouts", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" + } + ], + "numberOfBytes": "320" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "encoding": "inplace", + "label": "uint8", + "numberOfBytes": "1" + } + } +} diff --git a/.storage-layouts/contracts/colony/ColonyRewards.sol:ColonyRewards.json b/.storage-layouts/contracts/colony/ColonyRewards.sol:ColonyRewards.json new file mode 100644 index 0000000000..7472928918 --- /dev/null +++ b/.storage-layouts/contracts/colony/ColonyRewards.sol:ColonyRewards.json @@ -0,0 +1,1051 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8102, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 8104, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "token", + "offset": 0, + "slot": "7", + "type": "t_address" + }, + { + "astId": 8106, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "rewardInverse", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 8108, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "DEPRECATED_taskCount", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 8110, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "fundingPotCount", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 8112, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "domainCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 8119, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "DEPRECATED_reviewers", + "offset": 0, + "slot": "12", + "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" + }, + { + "astId": 8123, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "DEPRECATED_roleAssignmentSigs", + "offset": 0, + "slot": "13", + "type": "t_mapping(t_bytes4,t_bool)" + }, + { + "astId": 8128, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "DEPRECATED_tasks", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" + }, + { + "astId": 8133, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "fundingPots", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" + }, + { + "astId": 8138, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "rewardPayoutCycles", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" + }, + { + "astId": 8142, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "pendingRewardPayments", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8146, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "nonRewardPotsTotal", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8151, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "DEPRECATED_taskWorkRatings", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" + }, + { + "astId": 8156, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "domains", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" + }, + { + "astId": 8160, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "DEPRECATED_taskChangeNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 8162, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "DEPRECATED_paymentCount", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 8167, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "DEPRECATED_payments", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" + }, + { + "astId": 8169, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "expenditureCount", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 8174, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "expenditures", + "offset": 0, + "slot": "25", + "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" + }, + { + "astId": 8181, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "expenditureSlots", + "offset": 0, + "slot": "26", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" + }, + { + "astId": 8189, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "expenditureSlotPayouts", + "offset": 0, + "slot": "27", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 8197, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "approvals", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8205, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "obligations", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8207, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "30", + "type": "t_address" + }, + { + "astId": 8213, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "tokenLocks", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 8219, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "tokenApprovals", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 8223, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "tokenApprovalTotals", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8225, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "defaultGlobalClaimDelay", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 8232, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "metatransactionNonces", + "offset": 0, + "slot": "35", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8234, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "rootLocalSkill", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 8238, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "DEPRECATED_localSkills", + "offset": 0, + "slot": "37", + "type": "t_mapping(t_uint256,t_bool)" + }, + { + "astId": 8243, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_enum(TaskRole)3600)2_storage": { + "base": "t_enum(TaskRole)3600", + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole[2]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_enum(ExpenditureStatus)3409": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.ExpenditureStatus", + "numberOfBytes": "1" + }, + "t_enum(FundingPotAssociatedType)3424": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.FundingPotAssociatedType", + "numberOfBytes": "1" + }, + "t_enum(TaskRatings)3596": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRatings", + "numberOfBytes": "1" + }, + "t_enum(TaskRole)3600": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole", + "numberOfBytes": "1" + }, + "t_enum(TaskStatus)3604": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskStatus", + "numberOfBytes": "1" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", + "numberOfBytes": "32", + "value": "t_array(t_enum(TaskRole)3600)2_storage" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" + }, + "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", + "numberOfBytes": "32", + "value": "t_struct(Domain)3447_storage" + }, + "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", + "numberOfBytes": "32", + "value": "t_struct(Expenditure)3394_storage" + }, + "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", + "numberOfBytes": "32", + "value": "t_struct(ExpenditureSlot)3404_storage" + }, + "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", + "numberOfBytes": "32", + "value": "t_struct(FundingPot)3440_storage" + }, + "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": "t_struct(LocalSkill)3452_storage" + }, + "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", + "numberOfBytes": "32", + "value": "t_struct(Payment)3663_storage" + }, + "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", + "numberOfBytes": "32", + "value": "t_struct(RatingSecrets)3651_storage" + }, + "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", + "numberOfBytes": "32", + "value": "t_struct(RewardPayoutCycle)3380_storage" + }, + "t_mapping(t_uint256,t_struct(Task)3634_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Task)", + "numberOfBytes": "32", + "value": "t_struct(Task)3634_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint8,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint8,t_struct(Role)3642_storage)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => struct ColonyDataTypes.Role)", + "numberOfBytes": "32", + "value": "t_struct(Role)3642_storage" + }, + "t_struct(Domain)3447_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Domain", + "members": [ + { + "astId": 3442, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "skillId", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3444, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3446, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": "t_bool" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Expenditure)3394_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Expenditure", + "members": [ + { + "astId": 3383, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "status", + "offset": 0, + "slot": "0", + "type": "t_enum(ExpenditureStatus)3409" + }, + { + "astId": 3385, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "owner", + "offset": 1, + "slot": "0", + "type": "t_address" + }, + { + "astId": 3387, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3389, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3391, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "finalizedTimestamp", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3393, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "globalClaimDelay", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ExpenditureSlot)3404_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.ExpenditureSlot", + "members": [ + { + "astId": 3396, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3398, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "claimDelay", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3400, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "payoutModifier", + "offset": 0, + "slot": "2", + "type": "t_int256" + }, + { + "astId": 3403, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(FundingPot)3440_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.FundingPot", + "members": [ + { + "astId": 3428, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "balance", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3431, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "associatedType", + "offset": 0, + "slot": "1", + "type": "t_enum(FundingPotAssociatedType)3424" + }, + { + "astId": 3433, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "associatedTypeId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3437, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "payouts", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3439, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "payoutsWeCannotMake", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(LocalSkill)3452_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "astId": 3449, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "exists", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3451, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": "t_bool" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Payment)3663_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Payment", + "members": [ + { + "astId": 3653, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3655, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "finalized", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3657, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3659, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3662, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RatingSecrets)3651_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RatingSecrets", + "members": [ + { + "astId": 3644, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "count", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3646, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3650, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "secret", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_uint8,t_bytes32)" + } + ], + "numberOfBytes": "96" + }, + "t_struct(RewardPayoutCycle)3380_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RewardPayoutCycle", + "members": [ + { + "astId": 3365, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "reputationState", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3367, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "colonyWideReputation", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3369, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "totalTokens", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3371, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "amount", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3373, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "tokenAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 3375, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "blockTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3377, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "amountRemaining", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3379, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "finalized", + "offset": 0, + "slot": "7", + "type": "t_bool" + } + ], + "numberOfBytes": "256" + }, + "t_struct(Role)3642_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Role", + "members": [ + { + "astId": 3636, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3638, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "rateFail", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3641, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "rating", + "offset": 21, + "slot": "0", + "type": "t_enum(TaskRatings)3596" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Task)3634_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Task", + "members": [ + { + "astId": 3606, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "specificationHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3608, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "deliverableHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 3611, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "status", + "offset": 0, + "slot": "2", + "type": "t_enum(TaskStatus)3604" + }, + { + "astId": 3613, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "dueDate", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3615, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "fundingPotId", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 3617, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "completionTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3619, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "domainId", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3622, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "skills", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 3627, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "roles", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" + }, + { + "astId": 3633, + "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", + "label": "payouts", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" + } + ], + "numberOfBytes": "320" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "encoding": "inplace", + "label": "uint8", + "numberOfBytes": "1" + } + } +} diff --git a/.storage-layouts/contracts/colony/ColonyRoles.sol:ColonyRoles.json b/.storage-layouts/contracts/colony/ColonyRoles.sol:ColonyRoles.json new file mode 100644 index 0000000000..58b643f3c2 --- /dev/null +++ b/.storage-layouts/contracts/colony/ColonyRoles.sol:ColonyRoles.json @@ -0,0 +1,1051 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8102, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 8104, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "token", + "offset": 0, + "slot": "7", + "type": "t_address" + }, + { + "astId": 8106, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "rewardInverse", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 8108, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "DEPRECATED_taskCount", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 8110, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "fundingPotCount", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 8112, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "domainCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 8119, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "DEPRECATED_reviewers", + "offset": 0, + "slot": "12", + "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" + }, + { + "astId": 8123, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "DEPRECATED_roleAssignmentSigs", + "offset": 0, + "slot": "13", + "type": "t_mapping(t_bytes4,t_bool)" + }, + { + "astId": 8128, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "DEPRECATED_tasks", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" + }, + { + "astId": 8133, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "fundingPots", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" + }, + { + "astId": 8138, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "rewardPayoutCycles", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" + }, + { + "astId": 8142, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "pendingRewardPayments", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8146, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "nonRewardPotsTotal", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8151, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "DEPRECATED_taskWorkRatings", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" + }, + { + "astId": 8156, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "domains", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" + }, + { + "astId": 8160, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "DEPRECATED_taskChangeNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 8162, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "DEPRECATED_paymentCount", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 8167, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "DEPRECATED_payments", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" + }, + { + "astId": 8169, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "expenditureCount", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 8174, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "expenditures", + "offset": 0, + "slot": "25", + "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" + }, + { + "astId": 8181, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "expenditureSlots", + "offset": 0, + "slot": "26", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" + }, + { + "astId": 8189, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "expenditureSlotPayouts", + "offset": 0, + "slot": "27", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 8197, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "approvals", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8205, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "obligations", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8207, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "30", + "type": "t_address" + }, + { + "astId": 8213, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "tokenLocks", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 8219, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "tokenApprovals", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 8223, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "tokenApprovalTotals", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8225, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "defaultGlobalClaimDelay", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 8232, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "metatransactionNonces", + "offset": 0, + "slot": "35", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8234, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "rootLocalSkill", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 8238, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "DEPRECATED_localSkills", + "offset": 0, + "slot": "37", + "type": "t_mapping(t_uint256,t_bool)" + }, + { + "astId": 8243, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_enum(TaskRole)3600)2_storage": { + "base": "t_enum(TaskRole)3600", + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole[2]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_enum(ExpenditureStatus)3409": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.ExpenditureStatus", + "numberOfBytes": "1" + }, + "t_enum(FundingPotAssociatedType)3424": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.FundingPotAssociatedType", + "numberOfBytes": "1" + }, + "t_enum(TaskRatings)3596": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRatings", + "numberOfBytes": "1" + }, + "t_enum(TaskRole)3600": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole", + "numberOfBytes": "1" + }, + "t_enum(TaskStatus)3604": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskStatus", + "numberOfBytes": "1" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", + "numberOfBytes": "32", + "value": "t_array(t_enum(TaskRole)3600)2_storage" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" + }, + "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", + "numberOfBytes": "32", + "value": "t_struct(Domain)3447_storage" + }, + "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", + "numberOfBytes": "32", + "value": "t_struct(Expenditure)3394_storage" + }, + "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", + "numberOfBytes": "32", + "value": "t_struct(ExpenditureSlot)3404_storage" + }, + "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", + "numberOfBytes": "32", + "value": "t_struct(FundingPot)3440_storage" + }, + "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": "t_struct(LocalSkill)3452_storage" + }, + "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", + "numberOfBytes": "32", + "value": "t_struct(Payment)3663_storage" + }, + "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", + "numberOfBytes": "32", + "value": "t_struct(RatingSecrets)3651_storage" + }, + "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", + "numberOfBytes": "32", + "value": "t_struct(RewardPayoutCycle)3380_storage" + }, + "t_mapping(t_uint256,t_struct(Task)3634_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Task)", + "numberOfBytes": "32", + "value": "t_struct(Task)3634_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint8,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint8,t_struct(Role)3642_storage)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => struct ColonyDataTypes.Role)", + "numberOfBytes": "32", + "value": "t_struct(Role)3642_storage" + }, + "t_struct(Domain)3447_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Domain", + "members": [ + { + "astId": 3442, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "skillId", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3444, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3446, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": "t_bool" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Expenditure)3394_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Expenditure", + "members": [ + { + "astId": 3383, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "status", + "offset": 0, + "slot": "0", + "type": "t_enum(ExpenditureStatus)3409" + }, + { + "astId": 3385, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "owner", + "offset": 1, + "slot": "0", + "type": "t_address" + }, + { + "astId": 3387, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3389, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3391, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "finalizedTimestamp", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3393, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "globalClaimDelay", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ExpenditureSlot)3404_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.ExpenditureSlot", + "members": [ + { + "astId": 3396, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3398, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "claimDelay", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3400, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "payoutModifier", + "offset": 0, + "slot": "2", + "type": "t_int256" + }, + { + "astId": 3403, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(FundingPot)3440_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.FundingPot", + "members": [ + { + "astId": 3428, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "balance", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3431, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "associatedType", + "offset": 0, + "slot": "1", + "type": "t_enum(FundingPotAssociatedType)3424" + }, + { + "astId": 3433, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "associatedTypeId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3437, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "payouts", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3439, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "payoutsWeCannotMake", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(LocalSkill)3452_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "astId": 3449, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "exists", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3451, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": "t_bool" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Payment)3663_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Payment", + "members": [ + { + "astId": 3653, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3655, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "finalized", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3657, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3659, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3662, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RatingSecrets)3651_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RatingSecrets", + "members": [ + { + "astId": 3644, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "count", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3646, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3650, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "secret", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_uint8,t_bytes32)" + } + ], + "numberOfBytes": "96" + }, + "t_struct(RewardPayoutCycle)3380_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RewardPayoutCycle", + "members": [ + { + "astId": 3365, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "reputationState", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3367, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "colonyWideReputation", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3369, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "totalTokens", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3371, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "amount", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3373, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "tokenAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 3375, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "blockTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3377, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "amountRemaining", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3379, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "finalized", + "offset": 0, + "slot": "7", + "type": "t_bool" + } + ], + "numberOfBytes": "256" + }, + "t_struct(Role)3642_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Role", + "members": [ + { + "astId": 3636, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3638, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "rateFail", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3641, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "rating", + "offset": 21, + "slot": "0", + "type": "t_enum(TaskRatings)3596" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Task)3634_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Task", + "members": [ + { + "astId": 3606, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "specificationHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3608, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "deliverableHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 3611, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "status", + "offset": 0, + "slot": "2", + "type": "t_enum(TaskStatus)3604" + }, + { + "astId": 3613, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "dueDate", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3615, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "fundingPotId", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 3617, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "completionTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3619, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "domainId", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3622, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "skills", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 3627, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "roles", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" + }, + { + "astId": 3633, + "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", + "label": "payouts", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" + } + ], + "numberOfBytes": "320" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "encoding": "inplace", + "label": "uint8", + "numberOfBytes": "1" + } + } +} diff --git a/.storage-layouts/contracts/colony/ColonyStorage.sol:ColonyStorage.json b/.storage-layouts/contracts/colony/ColonyStorage.sol:ColonyStorage.json new file mode 100644 index 0000000000..75b86bbeeb --- /dev/null +++ b/.storage-layouts/contracts/colony/ColonyStorage.sol:ColonyStorage.json @@ -0,0 +1,1051 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8102, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 8104, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "token", + "offset": 0, + "slot": "7", + "type": "t_address" + }, + { + "astId": 8106, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "rewardInverse", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 8108, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "DEPRECATED_taskCount", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 8110, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "fundingPotCount", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 8112, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "domainCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 8119, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "DEPRECATED_reviewers", + "offset": 0, + "slot": "12", + "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" + }, + { + "astId": 8123, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "DEPRECATED_roleAssignmentSigs", + "offset": 0, + "slot": "13", + "type": "t_mapping(t_bytes4,t_bool)" + }, + { + "astId": 8128, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "DEPRECATED_tasks", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" + }, + { + "astId": 8133, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "fundingPots", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" + }, + { + "astId": 8138, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "rewardPayoutCycles", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" + }, + { + "astId": 8142, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "pendingRewardPayments", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8146, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "nonRewardPotsTotal", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8151, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "DEPRECATED_taskWorkRatings", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" + }, + { + "astId": 8156, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "domains", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" + }, + { + "astId": 8160, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "DEPRECATED_taskChangeNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 8162, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "DEPRECATED_paymentCount", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 8167, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "DEPRECATED_payments", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" + }, + { + "astId": 8169, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "expenditureCount", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 8174, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "expenditures", + "offset": 0, + "slot": "25", + "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" + }, + { + "astId": 8181, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "expenditureSlots", + "offset": 0, + "slot": "26", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" + }, + { + "astId": 8189, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "expenditureSlotPayouts", + "offset": 0, + "slot": "27", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 8197, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "approvals", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8205, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "obligations", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8207, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "30", + "type": "t_address" + }, + { + "astId": 8213, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "tokenLocks", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 8219, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "tokenApprovals", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 8223, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "tokenApprovalTotals", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8225, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "defaultGlobalClaimDelay", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 8232, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "metatransactionNonces", + "offset": 0, + "slot": "35", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8234, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "rootLocalSkill", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 8238, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "DEPRECATED_localSkills", + "offset": 0, + "slot": "37", + "type": "t_mapping(t_uint256,t_bool)" + }, + { + "astId": 8243, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_enum(TaskRole)3600)2_storage": { + "base": "t_enum(TaskRole)3600", + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole[2]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_enum(ExpenditureStatus)3409": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.ExpenditureStatus", + "numberOfBytes": "1" + }, + "t_enum(FundingPotAssociatedType)3424": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.FundingPotAssociatedType", + "numberOfBytes": "1" + }, + "t_enum(TaskRatings)3596": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRatings", + "numberOfBytes": "1" + }, + "t_enum(TaskRole)3600": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole", + "numberOfBytes": "1" + }, + "t_enum(TaskStatus)3604": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskStatus", + "numberOfBytes": "1" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", + "numberOfBytes": "32", + "value": "t_array(t_enum(TaskRole)3600)2_storage" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" + }, + "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", + "numberOfBytes": "32", + "value": "t_struct(Domain)3447_storage" + }, + "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", + "numberOfBytes": "32", + "value": "t_struct(Expenditure)3394_storage" + }, + "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", + "numberOfBytes": "32", + "value": "t_struct(ExpenditureSlot)3404_storage" + }, + "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", + "numberOfBytes": "32", + "value": "t_struct(FundingPot)3440_storage" + }, + "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": "t_struct(LocalSkill)3452_storage" + }, + "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", + "numberOfBytes": "32", + "value": "t_struct(Payment)3663_storage" + }, + "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", + "numberOfBytes": "32", + "value": "t_struct(RatingSecrets)3651_storage" + }, + "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", + "numberOfBytes": "32", + "value": "t_struct(RewardPayoutCycle)3380_storage" + }, + "t_mapping(t_uint256,t_struct(Task)3634_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Task)", + "numberOfBytes": "32", + "value": "t_struct(Task)3634_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint8,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint8,t_struct(Role)3642_storage)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => struct ColonyDataTypes.Role)", + "numberOfBytes": "32", + "value": "t_struct(Role)3642_storage" + }, + "t_struct(Domain)3447_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Domain", + "members": [ + { + "astId": 3442, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "skillId", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3444, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3446, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": "t_bool" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Expenditure)3394_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Expenditure", + "members": [ + { + "astId": 3383, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "status", + "offset": 0, + "slot": "0", + "type": "t_enum(ExpenditureStatus)3409" + }, + { + "astId": 3385, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "owner", + "offset": 1, + "slot": "0", + "type": "t_address" + }, + { + "astId": 3387, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3389, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3391, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "finalizedTimestamp", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3393, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "globalClaimDelay", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ExpenditureSlot)3404_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.ExpenditureSlot", + "members": [ + { + "astId": 3396, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3398, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "claimDelay", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3400, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "payoutModifier", + "offset": 0, + "slot": "2", + "type": "t_int256" + }, + { + "astId": 3403, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(FundingPot)3440_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.FundingPot", + "members": [ + { + "astId": 3428, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "balance", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3431, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "associatedType", + "offset": 0, + "slot": "1", + "type": "t_enum(FundingPotAssociatedType)3424" + }, + { + "astId": 3433, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "associatedTypeId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3437, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "payouts", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3439, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "payoutsWeCannotMake", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(LocalSkill)3452_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "astId": 3449, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "exists", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3451, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": "t_bool" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Payment)3663_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Payment", + "members": [ + { + "astId": 3653, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3655, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "finalized", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3657, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3659, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3662, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RatingSecrets)3651_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RatingSecrets", + "members": [ + { + "astId": 3644, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "count", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3646, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3650, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "secret", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_uint8,t_bytes32)" + } + ], + "numberOfBytes": "96" + }, + "t_struct(RewardPayoutCycle)3380_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RewardPayoutCycle", + "members": [ + { + "astId": 3365, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "reputationState", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3367, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "colonyWideReputation", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3369, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "totalTokens", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3371, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "amount", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3373, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "tokenAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 3375, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "blockTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3377, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "amountRemaining", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3379, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "finalized", + "offset": 0, + "slot": "7", + "type": "t_bool" + } + ], + "numberOfBytes": "256" + }, + "t_struct(Role)3642_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Role", + "members": [ + { + "astId": 3636, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3638, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "rateFail", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3641, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "rating", + "offset": 21, + "slot": "0", + "type": "t_enum(TaskRatings)3596" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Task)3634_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Task", + "members": [ + { + "astId": 3606, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "specificationHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3608, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "deliverableHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 3611, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "status", + "offset": 0, + "slot": "2", + "type": "t_enum(TaskStatus)3604" + }, + { + "astId": 3613, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "dueDate", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3615, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "fundingPotId", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 3617, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "completionTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3619, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "domainId", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3622, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "skills", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 3627, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "roles", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" + }, + { + "astId": 3633, + "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", + "label": "payouts", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" + } + ], + "numberOfBytes": "320" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "encoding": "inplace", + "label": "uint8", + "numberOfBytes": "1" + } + } +} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json new file mode 100644 index 0000000000..6a433799c2 --- /dev/null +++ b/.storage-layouts/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json @@ -0,0 +1,814 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16220, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "colonyCount", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 16222, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "currentColonyVersion", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 16224, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "metaColony", + "offset": 0, + "slot": "8", + "type": "t_address" + }, + { + "astId": 16226, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "tokenLocking", + "offset": 0, + "slot": "9", + "type": "t_address" + }, + { + "astId": 16228, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "feeInverse", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 16230, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "skillCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 16232, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "reputationMiningSkillId", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 16234, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "reputationRootHash", + "offset": 0, + "slot": "13", + "type": "t_bytes32" + }, + { + "astId": 16236, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "reputationRootHashNLeaves", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 16238, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "miningCycleResolver", + "offset": 0, + "slot": "15", + "type": "t_address" + }, + { + "astId": 16240, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "activeReputationMiningCycle", + "offset": 0, + "slot": "16", + "type": "t_address" + }, + { + "astId": 16242, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "inactiveReputationMiningCycle", + "offset": 0, + "slot": "17", + "type": "t_address" + }, + { + "astId": 16246, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "colonies", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16250, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "_isColony", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16254, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "colonyVersionResolver", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16259, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "skills", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" + }, + { + "astId": 16263, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "stakedBalances", + "offset": 0, + "slot": "22", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16267, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "recentAuctions", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16269, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "ens", + "offset": 0, + "slot": "24", + "type": "t_address" + }, + { + "astId": 16271, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "rootNode", + "offset": 0, + "slot": "25", + "type": "t_bytes32" + }, + { + "astId": 16273, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "userNode", + "offset": 0, + "slot": "26", + "type": "t_bytes32" + }, + { + "astId": 16275, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "colonyNode", + "offset": 0, + "slot": "27", + "type": "t_bytes32" + }, + { + "astId": 16279, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "colonyLabels", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16283, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "userLabels", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16288, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "records", + "offset": 0, + "slot": "30", + "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" + }, + { + "astId": 16295, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "replacementReputationUpdateLog", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" + }, + { + "astId": 16299, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "replacementReputationUpdateLogsExist", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16304, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "miningStakes", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" + }, + { + "astId": 16308, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "pendingMiningRewards", + "offset": 0, + "slot": "34", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16310, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "totalMinerRewardPerCycle", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 16312, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "DEPRECATED_annualMetaColonyStipend", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 16314, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "DEPRECATED_lastMetaColonyStipendIssued", + "offset": 0, + "slot": "37", + "type": "t_uint256" + }, + { + "astId": 16320, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "resolvers", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" + }, + { + "astId": 16326, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "installations", + "offset": 0, + "slot": "39", + "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" + }, + { + "astId": 16330, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "payoutWhitelist", + "offset": 0, + "slot": "40", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16337, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "metatransactionNonces", + "offset": 0, + "slot": "41", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16341, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "miningDelegators", + "offset": 0, + "slot": "42", + "type": "t_mapping(t_address,t_address)" + }, + { + "astId": 16343, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "reputationMiningChainId", + "offset": 0, + "slot": "43", + "type": "t_uint256" + }, + { + "astId": 16345, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "colonyBridgeAddress", + "offset": 0, + "slot": "44", + "type": "t_address" + }, + { + "astId": 16349, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "bridgeCurrentRootHashNonces", + "offset": 0, + "slot": "45", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16353, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "networkSkillCounts", + "offset": 0, + "slot": "46", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16359, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "pendingSkillAdditions", + "offset": 0, + "slot": "47", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" + }, + { + "astId": 16365, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "reputationUpdateCount", + "offset": 0, + "slot": "48", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + { + "astId": 16374, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "pendingReputationUpdates", + "offset": 0, + "slot": "49", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_address)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_address,t_address_payable)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address payable)", + "numberOfBytes": "32", + "value": "t_address_payable" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" + }, + "t_mapping(t_address,t_string_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => string)", + "numberOfBytes": "32", + "value": "t_string_storage" + }, + "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", + "numberOfBytes": "32", + "value": "t_struct(MiningStake)11702_storage" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(address => address payable))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_address_payable)" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => address))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_address)" + }, + "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", + "numberOfBytes": "32", + "value": "t_struct(ENSRecord)11684_storage" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", + "numberOfBytes": "32", + "value": "t_struct(PendingReputationUpdate)11713_storage" + }, + "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", + "numberOfBytes": "32", + "value": "t_struct(ReputationLogEntry)11697_storage" + }, + "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", + "numberOfBytes": "32", + "value": "t_struct(Skill)11679_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(ENSRecord)11684_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ENSRecord", + "members": [ + { + "astId": 11681, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "addr", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11683, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "orbitdb", + "offset": 0, + "slot": "1", + "type": "t_string_storage" + } + ], + "numberOfBytes": "64" + }, + "t_struct(MiningStake)11702_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.MiningStake", + "members": [ + { + "astId": 11699, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "amount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 11701, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_struct(PendingReputationUpdate)11713_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", + "members": [ + { + "astId": 11704, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11706, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11708, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11710, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11712, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "timestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ReputationLogEntry)11697_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 11686, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11688, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11690, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11692, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11694, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 11696, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Skill)11679_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.Skill", + "members": [ + { + "astId": 11666, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "nParents", + "offset": 0, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11668, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "nChildren", + "offset": 16, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11671, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "parents", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11674, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "children", + "offset": 0, + "slot": "2", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11676, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "DEPRECATED_globalSkill", + "offset": 0, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 11678, + "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", + "label": "DEPRECATED_deprecated", + "offset": 1, + "slot": "3", + "type": "t_bool" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json new file mode 100644 index 0000000000..88c3974843 --- /dev/null +++ b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json @@ -0,0 +1,814 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16220, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "colonyCount", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 16222, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "currentColonyVersion", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 16224, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "metaColony", + "offset": 0, + "slot": "8", + "type": "t_address" + }, + { + "astId": 16226, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "tokenLocking", + "offset": 0, + "slot": "9", + "type": "t_address" + }, + { + "astId": 16228, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "feeInverse", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 16230, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "skillCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 16232, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "reputationMiningSkillId", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 16234, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "reputationRootHash", + "offset": 0, + "slot": "13", + "type": "t_bytes32" + }, + { + "astId": 16236, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "reputationRootHashNLeaves", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 16238, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "miningCycleResolver", + "offset": 0, + "slot": "15", + "type": "t_address" + }, + { + "astId": 16240, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "activeReputationMiningCycle", + "offset": 0, + "slot": "16", + "type": "t_address" + }, + { + "astId": 16242, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "inactiveReputationMiningCycle", + "offset": 0, + "slot": "17", + "type": "t_address" + }, + { + "astId": 16246, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "colonies", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16250, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "_isColony", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16254, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "colonyVersionResolver", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16259, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "skills", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" + }, + { + "astId": 16263, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "stakedBalances", + "offset": 0, + "slot": "22", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16267, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "recentAuctions", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16269, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "ens", + "offset": 0, + "slot": "24", + "type": "t_address" + }, + { + "astId": 16271, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "rootNode", + "offset": 0, + "slot": "25", + "type": "t_bytes32" + }, + { + "astId": 16273, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "userNode", + "offset": 0, + "slot": "26", + "type": "t_bytes32" + }, + { + "astId": 16275, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "colonyNode", + "offset": 0, + "slot": "27", + "type": "t_bytes32" + }, + { + "astId": 16279, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "colonyLabels", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16283, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "userLabels", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16288, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "records", + "offset": 0, + "slot": "30", + "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" + }, + { + "astId": 16295, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "replacementReputationUpdateLog", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" + }, + { + "astId": 16299, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "replacementReputationUpdateLogsExist", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16304, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "miningStakes", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" + }, + { + "astId": 16308, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "pendingMiningRewards", + "offset": 0, + "slot": "34", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16310, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "totalMinerRewardPerCycle", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 16312, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "DEPRECATED_annualMetaColonyStipend", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 16314, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "DEPRECATED_lastMetaColonyStipendIssued", + "offset": 0, + "slot": "37", + "type": "t_uint256" + }, + { + "astId": 16320, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "resolvers", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" + }, + { + "astId": 16326, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "installations", + "offset": 0, + "slot": "39", + "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" + }, + { + "astId": 16330, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "payoutWhitelist", + "offset": 0, + "slot": "40", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16337, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "metatransactionNonces", + "offset": 0, + "slot": "41", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16341, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "miningDelegators", + "offset": 0, + "slot": "42", + "type": "t_mapping(t_address,t_address)" + }, + { + "astId": 16343, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "reputationMiningChainId", + "offset": 0, + "slot": "43", + "type": "t_uint256" + }, + { + "astId": 16345, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "colonyBridgeAddress", + "offset": 0, + "slot": "44", + "type": "t_address" + }, + { + "astId": 16349, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "bridgeCurrentRootHashNonces", + "offset": 0, + "slot": "45", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16353, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "networkSkillCounts", + "offset": 0, + "slot": "46", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16359, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "pendingSkillAdditions", + "offset": 0, + "slot": "47", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" + }, + { + "astId": 16365, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "reputationUpdateCount", + "offset": 0, + "slot": "48", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + { + "astId": 16374, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "pendingReputationUpdates", + "offset": 0, + "slot": "49", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_address)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_address,t_address_payable)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address payable)", + "numberOfBytes": "32", + "value": "t_address_payable" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" + }, + "t_mapping(t_address,t_string_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => string)", + "numberOfBytes": "32", + "value": "t_string_storage" + }, + "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", + "numberOfBytes": "32", + "value": "t_struct(MiningStake)11702_storage" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(address => address payable))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_address_payable)" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => address))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_address)" + }, + "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", + "numberOfBytes": "32", + "value": "t_struct(ENSRecord)11684_storage" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", + "numberOfBytes": "32", + "value": "t_struct(PendingReputationUpdate)11713_storage" + }, + "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", + "numberOfBytes": "32", + "value": "t_struct(ReputationLogEntry)11697_storage" + }, + "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", + "numberOfBytes": "32", + "value": "t_struct(Skill)11679_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(ENSRecord)11684_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ENSRecord", + "members": [ + { + "astId": 11681, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "addr", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11683, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "orbitdb", + "offset": 0, + "slot": "1", + "type": "t_string_storage" + } + ], + "numberOfBytes": "64" + }, + "t_struct(MiningStake)11702_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.MiningStake", + "members": [ + { + "astId": 11699, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "amount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 11701, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_struct(PendingReputationUpdate)11713_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", + "members": [ + { + "astId": 11704, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11706, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11708, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11710, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11712, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "timestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ReputationLogEntry)11697_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 11686, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11688, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11690, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11692, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11694, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 11696, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Skill)11679_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.Skill", + "members": [ + { + "astId": 11666, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "nParents", + "offset": 0, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11668, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "nChildren", + "offset": 16, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11671, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "parents", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11674, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "children", + "offset": 0, + "slot": "2", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11676, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "DEPRECATED_globalSkill", + "offset": 0, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 11678, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", + "label": "DEPRECATED_deprecated", + "offset": 1, + "slot": "3", + "type": "t_bool" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction.json new file mode 100644 index 0000000000..058d73c4e7 --- /dev/null +++ b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction.json @@ -0,0 +1,124 @@ +{ + "storage": [ + { + "astId": 10693, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "quantity", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 10695, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "started", + "offset": 0, + "slot": "1", + "type": "t_bool" + }, + { + "astId": 10697, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "startTime", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 10699, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "endTime", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 10701, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "minPrice", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 10708, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "receivedTotal", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 10710, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "bidCount", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 10712, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "claimCount", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 10714, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "finalPrice", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 10716, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "finalized", + "offset": 0, + "slot": "9", + "type": "t_bool" + }, + { + "astId": 10720, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "metatransactionNonces", + "offset": 0, + "slot": "10", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 10724, + "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", + "label": "bids", + "offset": 0, + "slot": "11", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority.json new file mode 100644 index 0000000000..5a4d5e5773 --- /dev/null +++ b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority.json @@ -0,0 +1,148 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 45605, + "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", + "label": "_root_users", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 45609, + "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", + "label": "_user_roles", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_bytes32)" + }, + { + "astId": 45615, + "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", + "label": "_capability_roles", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))" + }, + { + "astId": 45621, + "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", + "label": "_public_capabilities", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bool))" + }, + { + "astId": 18215, + "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", + "label": "userDomainRoles", + "offset": 0, + "slot": "6", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_bytes32)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_address,t_mapping(t_bytes4,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(bytes4 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes4,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(bytes4 => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes4,t_bytes32)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bytes32)" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes4,t_bytes32)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint256,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json new file mode 100644 index 0000000000..21c9bcdc64 --- /dev/null +++ b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json @@ -0,0 +1,814 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16220, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "colonyCount", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 16222, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "currentColonyVersion", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 16224, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "metaColony", + "offset": 0, + "slot": "8", + "type": "t_address" + }, + { + "astId": 16226, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "tokenLocking", + "offset": 0, + "slot": "9", + "type": "t_address" + }, + { + "astId": 16228, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "feeInverse", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 16230, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "skillCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 16232, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "reputationMiningSkillId", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 16234, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "reputationRootHash", + "offset": 0, + "slot": "13", + "type": "t_bytes32" + }, + { + "astId": 16236, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "reputationRootHashNLeaves", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 16238, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "miningCycleResolver", + "offset": 0, + "slot": "15", + "type": "t_address" + }, + { + "astId": 16240, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "activeReputationMiningCycle", + "offset": 0, + "slot": "16", + "type": "t_address" + }, + { + "astId": 16242, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "inactiveReputationMiningCycle", + "offset": 0, + "slot": "17", + "type": "t_address" + }, + { + "astId": 16246, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "colonies", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16250, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "_isColony", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16254, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "colonyVersionResolver", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16259, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "skills", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" + }, + { + "astId": 16263, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "stakedBalances", + "offset": 0, + "slot": "22", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16267, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "recentAuctions", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16269, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "ens", + "offset": 0, + "slot": "24", + "type": "t_address" + }, + { + "astId": 16271, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "rootNode", + "offset": 0, + "slot": "25", + "type": "t_bytes32" + }, + { + "astId": 16273, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "userNode", + "offset": 0, + "slot": "26", + "type": "t_bytes32" + }, + { + "astId": 16275, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "colonyNode", + "offset": 0, + "slot": "27", + "type": "t_bytes32" + }, + { + "astId": 16279, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "colonyLabels", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16283, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "userLabels", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16288, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "records", + "offset": 0, + "slot": "30", + "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" + }, + { + "astId": 16295, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "replacementReputationUpdateLog", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" + }, + { + "astId": 16299, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "replacementReputationUpdateLogsExist", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16304, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "miningStakes", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" + }, + { + "astId": 16308, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "pendingMiningRewards", + "offset": 0, + "slot": "34", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16310, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "totalMinerRewardPerCycle", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 16312, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "DEPRECATED_annualMetaColonyStipend", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 16314, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "DEPRECATED_lastMetaColonyStipendIssued", + "offset": 0, + "slot": "37", + "type": "t_uint256" + }, + { + "astId": 16320, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "resolvers", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" + }, + { + "astId": 16326, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "installations", + "offset": 0, + "slot": "39", + "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" + }, + { + "astId": 16330, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "payoutWhitelist", + "offset": 0, + "slot": "40", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16337, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "metatransactionNonces", + "offset": 0, + "slot": "41", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16341, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "miningDelegators", + "offset": 0, + "slot": "42", + "type": "t_mapping(t_address,t_address)" + }, + { + "astId": 16343, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "reputationMiningChainId", + "offset": 0, + "slot": "43", + "type": "t_uint256" + }, + { + "astId": 16345, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "colonyBridgeAddress", + "offset": 0, + "slot": "44", + "type": "t_address" + }, + { + "astId": 16349, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "bridgeCurrentRootHashNonces", + "offset": 0, + "slot": "45", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16353, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "networkSkillCounts", + "offset": 0, + "slot": "46", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16359, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "pendingSkillAdditions", + "offset": 0, + "slot": "47", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" + }, + { + "astId": 16365, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "reputationUpdateCount", + "offset": 0, + "slot": "48", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + { + "astId": 16374, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "pendingReputationUpdates", + "offset": 0, + "slot": "49", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_address)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_address,t_address_payable)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address payable)", + "numberOfBytes": "32", + "value": "t_address_payable" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" + }, + "t_mapping(t_address,t_string_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => string)", + "numberOfBytes": "32", + "value": "t_string_storage" + }, + "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", + "numberOfBytes": "32", + "value": "t_struct(MiningStake)11702_storage" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(address => address payable))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_address_payable)" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => address))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_address)" + }, + "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", + "numberOfBytes": "32", + "value": "t_struct(ENSRecord)11684_storage" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", + "numberOfBytes": "32", + "value": "t_struct(PendingReputationUpdate)11713_storage" + }, + "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", + "numberOfBytes": "32", + "value": "t_struct(ReputationLogEntry)11697_storage" + }, + "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", + "numberOfBytes": "32", + "value": "t_struct(Skill)11679_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(ENSRecord)11684_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ENSRecord", + "members": [ + { + "astId": 11681, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "addr", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11683, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "orbitdb", + "offset": 0, + "slot": "1", + "type": "t_string_storage" + } + ], + "numberOfBytes": "64" + }, + "t_struct(MiningStake)11702_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.MiningStake", + "members": [ + { + "astId": 11699, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "amount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 11701, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_struct(PendingReputationUpdate)11713_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", + "members": [ + { + "astId": 11704, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11706, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11708, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11710, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11712, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "timestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ReputationLogEntry)11697_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 11686, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11688, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11690, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11692, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11694, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 11696, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Skill)11679_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.Skill", + "members": [ + { + "astId": 11666, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "nParents", + "offset": 0, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11668, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "nChildren", + "offset": 16, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11671, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "parents", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11674, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "children", + "offset": 0, + "slot": "2", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11676, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "DEPRECATED_globalSkill", + "offset": 0, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 11678, + "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", + "label": "DEPRECATED_deprecated", + "offset": 1, + "slot": "3", + "type": "t_bool" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json new file mode 100644 index 0000000000..e80852fb6e --- /dev/null +++ b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json @@ -0,0 +1,814 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16220, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "colonyCount", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 16222, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "currentColonyVersion", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 16224, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "metaColony", + "offset": 0, + "slot": "8", + "type": "t_address" + }, + { + "astId": 16226, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "tokenLocking", + "offset": 0, + "slot": "9", + "type": "t_address" + }, + { + "astId": 16228, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "feeInverse", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 16230, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "skillCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 16232, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "reputationMiningSkillId", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 16234, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "reputationRootHash", + "offset": 0, + "slot": "13", + "type": "t_bytes32" + }, + { + "astId": 16236, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "reputationRootHashNLeaves", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 16238, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "miningCycleResolver", + "offset": 0, + "slot": "15", + "type": "t_address" + }, + { + "astId": 16240, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "activeReputationMiningCycle", + "offset": 0, + "slot": "16", + "type": "t_address" + }, + { + "astId": 16242, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "inactiveReputationMiningCycle", + "offset": 0, + "slot": "17", + "type": "t_address" + }, + { + "astId": 16246, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "colonies", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16250, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "_isColony", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16254, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "colonyVersionResolver", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16259, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "skills", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" + }, + { + "astId": 16263, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "stakedBalances", + "offset": 0, + "slot": "22", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16267, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "recentAuctions", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16269, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "ens", + "offset": 0, + "slot": "24", + "type": "t_address" + }, + { + "astId": 16271, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "rootNode", + "offset": 0, + "slot": "25", + "type": "t_bytes32" + }, + { + "astId": 16273, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "userNode", + "offset": 0, + "slot": "26", + "type": "t_bytes32" + }, + { + "astId": 16275, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "colonyNode", + "offset": 0, + "slot": "27", + "type": "t_bytes32" + }, + { + "astId": 16279, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "colonyLabels", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16283, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "userLabels", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16288, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "records", + "offset": 0, + "slot": "30", + "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" + }, + { + "astId": 16295, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "replacementReputationUpdateLog", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" + }, + { + "astId": 16299, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "replacementReputationUpdateLogsExist", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16304, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "miningStakes", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" + }, + { + "astId": 16308, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "pendingMiningRewards", + "offset": 0, + "slot": "34", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16310, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "totalMinerRewardPerCycle", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 16312, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "DEPRECATED_annualMetaColonyStipend", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 16314, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "DEPRECATED_lastMetaColonyStipendIssued", + "offset": 0, + "slot": "37", + "type": "t_uint256" + }, + { + "astId": 16320, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "resolvers", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" + }, + { + "astId": 16326, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "installations", + "offset": 0, + "slot": "39", + "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" + }, + { + "astId": 16330, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "payoutWhitelist", + "offset": 0, + "slot": "40", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16337, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "metatransactionNonces", + "offset": 0, + "slot": "41", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16341, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "miningDelegators", + "offset": 0, + "slot": "42", + "type": "t_mapping(t_address,t_address)" + }, + { + "astId": 16343, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "reputationMiningChainId", + "offset": 0, + "slot": "43", + "type": "t_uint256" + }, + { + "astId": 16345, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "colonyBridgeAddress", + "offset": 0, + "slot": "44", + "type": "t_address" + }, + { + "astId": 16349, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "bridgeCurrentRootHashNonces", + "offset": 0, + "slot": "45", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16353, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "networkSkillCounts", + "offset": 0, + "slot": "46", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16359, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "pendingSkillAdditions", + "offset": 0, + "slot": "47", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" + }, + { + "astId": 16365, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "reputationUpdateCount", + "offset": 0, + "slot": "48", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + { + "astId": 16374, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "pendingReputationUpdates", + "offset": 0, + "slot": "49", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_address)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_address,t_address_payable)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address payable)", + "numberOfBytes": "32", + "value": "t_address_payable" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" + }, + "t_mapping(t_address,t_string_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => string)", + "numberOfBytes": "32", + "value": "t_string_storage" + }, + "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", + "numberOfBytes": "32", + "value": "t_struct(MiningStake)11702_storage" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(address => address payable))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_address_payable)" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => address))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_address)" + }, + "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", + "numberOfBytes": "32", + "value": "t_struct(ENSRecord)11684_storage" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", + "numberOfBytes": "32", + "value": "t_struct(PendingReputationUpdate)11713_storage" + }, + "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", + "numberOfBytes": "32", + "value": "t_struct(ReputationLogEntry)11697_storage" + }, + "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", + "numberOfBytes": "32", + "value": "t_struct(Skill)11679_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(ENSRecord)11684_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ENSRecord", + "members": [ + { + "astId": 11681, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "addr", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11683, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "orbitdb", + "offset": 0, + "slot": "1", + "type": "t_string_storage" + } + ], + "numberOfBytes": "64" + }, + "t_struct(MiningStake)11702_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.MiningStake", + "members": [ + { + "astId": 11699, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "amount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 11701, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_struct(PendingReputationUpdate)11713_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", + "members": [ + { + "astId": 11704, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11706, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11708, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11710, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11712, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "timestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ReputationLogEntry)11697_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 11686, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11688, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11690, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11692, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11694, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 11696, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Skill)11679_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.Skill", + "members": [ + { + "astId": 11666, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "nParents", + "offset": 0, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11668, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "nChildren", + "offset": 16, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11671, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "parents", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11674, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "children", + "offset": 0, + "slot": "2", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11676, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "DEPRECATED_globalSkill", + "offset": 0, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 11678, + "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", + "label": "DEPRECATED_deprecated", + "offset": 1, + "slot": "3", + "type": "t_bool" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json new file mode 100644 index 0000000000..a7bfb5e1b4 --- /dev/null +++ b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json @@ -0,0 +1,814 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16220, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "colonyCount", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 16222, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "currentColonyVersion", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 16224, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "metaColony", + "offset": 0, + "slot": "8", + "type": "t_address" + }, + { + "astId": 16226, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "tokenLocking", + "offset": 0, + "slot": "9", + "type": "t_address" + }, + { + "astId": 16228, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "feeInverse", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 16230, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "skillCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 16232, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "reputationMiningSkillId", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 16234, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "reputationRootHash", + "offset": 0, + "slot": "13", + "type": "t_bytes32" + }, + { + "astId": 16236, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "reputationRootHashNLeaves", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 16238, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "miningCycleResolver", + "offset": 0, + "slot": "15", + "type": "t_address" + }, + { + "astId": 16240, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "activeReputationMiningCycle", + "offset": 0, + "slot": "16", + "type": "t_address" + }, + { + "astId": 16242, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "inactiveReputationMiningCycle", + "offset": 0, + "slot": "17", + "type": "t_address" + }, + { + "astId": 16246, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "colonies", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16250, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "_isColony", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16254, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "colonyVersionResolver", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16259, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "skills", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" + }, + { + "astId": 16263, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "stakedBalances", + "offset": 0, + "slot": "22", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16267, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "recentAuctions", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16269, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "ens", + "offset": 0, + "slot": "24", + "type": "t_address" + }, + { + "astId": 16271, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "rootNode", + "offset": 0, + "slot": "25", + "type": "t_bytes32" + }, + { + "astId": 16273, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "userNode", + "offset": 0, + "slot": "26", + "type": "t_bytes32" + }, + { + "astId": 16275, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "colonyNode", + "offset": 0, + "slot": "27", + "type": "t_bytes32" + }, + { + "astId": 16279, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "colonyLabels", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16283, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "userLabels", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16288, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "records", + "offset": 0, + "slot": "30", + "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" + }, + { + "astId": 16295, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "replacementReputationUpdateLog", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" + }, + { + "astId": 16299, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "replacementReputationUpdateLogsExist", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16304, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "miningStakes", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" + }, + { + "astId": 16308, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "pendingMiningRewards", + "offset": 0, + "slot": "34", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16310, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "totalMinerRewardPerCycle", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 16312, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "DEPRECATED_annualMetaColonyStipend", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 16314, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "DEPRECATED_lastMetaColonyStipendIssued", + "offset": 0, + "slot": "37", + "type": "t_uint256" + }, + { + "astId": 16320, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "resolvers", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" + }, + { + "astId": 16326, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "installations", + "offset": 0, + "slot": "39", + "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" + }, + { + "astId": 16330, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "payoutWhitelist", + "offset": 0, + "slot": "40", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16337, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "metatransactionNonces", + "offset": 0, + "slot": "41", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16341, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "miningDelegators", + "offset": 0, + "slot": "42", + "type": "t_mapping(t_address,t_address)" + }, + { + "astId": 16343, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "reputationMiningChainId", + "offset": 0, + "slot": "43", + "type": "t_uint256" + }, + { + "astId": 16345, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "colonyBridgeAddress", + "offset": 0, + "slot": "44", + "type": "t_address" + }, + { + "astId": 16349, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "bridgeCurrentRootHashNonces", + "offset": 0, + "slot": "45", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16353, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "networkSkillCounts", + "offset": 0, + "slot": "46", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16359, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "pendingSkillAdditions", + "offset": 0, + "slot": "47", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" + }, + { + "astId": 16365, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "reputationUpdateCount", + "offset": 0, + "slot": "48", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + { + "astId": 16374, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "pendingReputationUpdates", + "offset": 0, + "slot": "49", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_address)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_address,t_address_payable)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address payable)", + "numberOfBytes": "32", + "value": "t_address_payable" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" + }, + "t_mapping(t_address,t_string_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => string)", + "numberOfBytes": "32", + "value": "t_string_storage" + }, + "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", + "numberOfBytes": "32", + "value": "t_struct(MiningStake)11702_storage" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(address => address payable))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_address_payable)" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => address))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_address)" + }, + "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", + "numberOfBytes": "32", + "value": "t_struct(ENSRecord)11684_storage" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", + "numberOfBytes": "32", + "value": "t_struct(PendingReputationUpdate)11713_storage" + }, + "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", + "numberOfBytes": "32", + "value": "t_struct(ReputationLogEntry)11697_storage" + }, + "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", + "numberOfBytes": "32", + "value": "t_struct(Skill)11679_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(ENSRecord)11684_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ENSRecord", + "members": [ + { + "astId": 11681, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "addr", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11683, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "orbitdb", + "offset": 0, + "slot": "1", + "type": "t_string_storage" + } + ], + "numberOfBytes": "64" + }, + "t_struct(MiningStake)11702_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.MiningStake", + "members": [ + { + "astId": 11699, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "amount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 11701, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_struct(PendingReputationUpdate)11713_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", + "members": [ + { + "astId": 11704, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11706, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11708, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11710, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11712, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "timestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ReputationLogEntry)11697_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 11686, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11688, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11690, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11692, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11694, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 11696, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Skill)11679_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.Skill", + "members": [ + { + "astId": 11666, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "nParents", + "offset": 0, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11668, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "nChildren", + "offset": 16, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11671, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "parents", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11674, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "children", + "offset": 0, + "slot": "2", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11676, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "DEPRECATED_globalSkill", + "offset": 0, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 11678, + "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", + "label": "DEPRECATED_deprecated", + "offset": 1, + "slot": "3", + "type": "t_bool" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json new file mode 100644 index 0000000000..085736c094 --- /dev/null +++ b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json @@ -0,0 +1,814 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16220, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "colonyCount", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 16222, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "currentColonyVersion", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 16224, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "metaColony", + "offset": 0, + "slot": "8", + "type": "t_address" + }, + { + "astId": 16226, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "tokenLocking", + "offset": 0, + "slot": "9", + "type": "t_address" + }, + { + "astId": 16228, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "feeInverse", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 16230, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "skillCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 16232, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "reputationMiningSkillId", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 16234, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "reputationRootHash", + "offset": 0, + "slot": "13", + "type": "t_bytes32" + }, + { + "astId": 16236, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "reputationRootHashNLeaves", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 16238, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "miningCycleResolver", + "offset": 0, + "slot": "15", + "type": "t_address" + }, + { + "astId": 16240, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "activeReputationMiningCycle", + "offset": 0, + "slot": "16", + "type": "t_address" + }, + { + "astId": 16242, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "inactiveReputationMiningCycle", + "offset": 0, + "slot": "17", + "type": "t_address" + }, + { + "astId": 16246, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "colonies", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16250, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "_isColony", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16254, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "colonyVersionResolver", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16259, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "skills", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" + }, + { + "astId": 16263, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "stakedBalances", + "offset": 0, + "slot": "22", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16267, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "recentAuctions", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16269, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "ens", + "offset": 0, + "slot": "24", + "type": "t_address" + }, + { + "astId": 16271, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "rootNode", + "offset": 0, + "slot": "25", + "type": "t_bytes32" + }, + { + "astId": 16273, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "userNode", + "offset": 0, + "slot": "26", + "type": "t_bytes32" + }, + { + "astId": 16275, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "colonyNode", + "offset": 0, + "slot": "27", + "type": "t_bytes32" + }, + { + "astId": 16279, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "colonyLabels", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16283, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "userLabels", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16288, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "records", + "offset": 0, + "slot": "30", + "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" + }, + { + "astId": 16295, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "replacementReputationUpdateLog", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" + }, + { + "astId": 16299, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "replacementReputationUpdateLogsExist", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16304, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "miningStakes", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" + }, + { + "astId": 16308, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "pendingMiningRewards", + "offset": 0, + "slot": "34", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16310, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "totalMinerRewardPerCycle", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 16312, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "DEPRECATED_annualMetaColonyStipend", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 16314, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "DEPRECATED_lastMetaColonyStipendIssued", + "offset": 0, + "slot": "37", + "type": "t_uint256" + }, + { + "astId": 16320, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "resolvers", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" + }, + { + "astId": 16326, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "installations", + "offset": 0, + "slot": "39", + "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" + }, + { + "astId": 16330, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "payoutWhitelist", + "offset": 0, + "slot": "40", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16337, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "metatransactionNonces", + "offset": 0, + "slot": "41", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16341, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "miningDelegators", + "offset": 0, + "slot": "42", + "type": "t_mapping(t_address,t_address)" + }, + { + "astId": 16343, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "reputationMiningChainId", + "offset": 0, + "slot": "43", + "type": "t_uint256" + }, + { + "astId": 16345, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "colonyBridgeAddress", + "offset": 0, + "slot": "44", + "type": "t_address" + }, + { + "astId": 16349, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "bridgeCurrentRootHashNonces", + "offset": 0, + "slot": "45", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16353, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "networkSkillCounts", + "offset": 0, + "slot": "46", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16359, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "pendingSkillAdditions", + "offset": 0, + "slot": "47", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" + }, + { + "astId": 16365, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "reputationUpdateCount", + "offset": 0, + "slot": "48", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + { + "astId": 16374, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "pendingReputationUpdates", + "offset": 0, + "slot": "49", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_address)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_address,t_address_payable)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address payable)", + "numberOfBytes": "32", + "value": "t_address_payable" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" + }, + "t_mapping(t_address,t_string_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => string)", + "numberOfBytes": "32", + "value": "t_string_storage" + }, + "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", + "numberOfBytes": "32", + "value": "t_struct(MiningStake)11702_storage" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(address => address payable))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_address_payable)" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => address))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_address)" + }, + "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", + "numberOfBytes": "32", + "value": "t_struct(ENSRecord)11684_storage" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", + "numberOfBytes": "32", + "value": "t_struct(PendingReputationUpdate)11713_storage" + }, + "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", + "numberOfBytes": "32", + "value": "t_struct(ReputationLogEntry)11697_storage" + }, + "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", + "numberOfBytes": "32", + "value": "t_struct(Skill)11679_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(ENSRecord)11684_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ENSRecord", + "members": [ + { + "astId": 11681, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "addr", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11683, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "orbitdb", + "offset": 0, + "slot": "1", + "type": "t_string_storage" + } + ], + "numberOfBytes": "64" + }, + "t_struct(MiningStake)11702_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.MiningStake", + "members": [ + { + "astId": 11699, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "amount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 11701, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_struct(PendingReputationUpdate)11713_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", + "members": [ + { + "astId": 11704, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11706, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11708, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11710, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11712, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "timestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ReputationLogEntry)11697_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 11686, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11688, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11690, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11692, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11694, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 11696, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Skill)11679_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.Skill", + "members": [ + { + "astId": 11666, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "nParents", + "offset": 0, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11668, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "nChildren", + "offset": 16, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11671, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "parents", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11674, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "children", + "offset": 0, + "slot": "2", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11676, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "DEPRECATED_globalSkill", + "offset": 0, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 11678, + "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", + "label": "DEPRECATED_deprecated", + "offset": 1, + "slot": "3", + "type": "t_bool" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json new file mode 100644 index 0000000000..dfe7445caa --- /dev/null +++ b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json @@ -0,0 +1,814 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16220, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "colonyCount", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 16222, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "currentColonyVersion", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 16224, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "metaColony", + "offset": 0, + "slot": "8", + "type": "t_address" + }, + { + "astId": 16226, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "tokenLocking", + "offset": 0, + "slot": "9", + "type": "t_address" + }, + { + "astId": 16228, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "feeInverse", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 16230, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "skillCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 16232, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "reputationMiningSkillId", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 16234, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "reputationRootHash", + "offset": 0, + "slot": "13", + "type": "t_bytes32" + }, + { + "astId": 16236, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "reputationRootHashNLeaves", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 16238, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "miningCycleResolver", + "offset": 0, + "slot": "15", + "type": "t_address" + }, + { + "astId": 16240, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "activeReputationMiningCycle", + "offset": 0, + "slot": "16", + "type": "t_address" + }, + { + "astId": 16242, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "inactiveReputationMiningCycle", + "offset": 0, + "slot": "17", + "type": "t_address" + }, + { + "astId": 16246, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "colonies", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16250, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "_isColony", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16254, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "colonyVersionResolver", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16259, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "skills", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" + }, + { + "astId": 16263, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "stakedBalances", + "offset": 0, + "slot": "22", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16267, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "recentAuctions", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16269, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "ens", + "offset": 0, + "slot": "24", + "type": "t_address" + }, + { + "astId": 16271, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "rootNode", + "offset": 0, + "slot": "25", + "type": "t_bytes32" + }, + { + "astId": 16273, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "userNode", + "offset": 0, + "slot": "26", + "type": "t_bytes32" + }, + { + "astId": 16275, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "colonyNode", + "offset": 0, + "slot": "27", + "type": "t_bytes32" + }, + { + "astId": 16279, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "colonyLabels", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16283, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "userLabels", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16288, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "records", + "offset": 0, + "slot": "30", + "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" + }, + { + "astId": 16295, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "replacementReputationUpdateLog", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" + }, + { + "astId": 16299, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "replacementReputationUpdateLogsExist", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16304, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "miningStakes", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" + }, + { + "astId": 16308, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "pendingMiningRewards", + "offset": 0, + "slot": "34", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16310, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "totalMinerRewardPerCycle", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 16312, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "DEPRECATED_annualMetaColonyStipend", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 16314, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "DEPRECATED_lastMetaColonyStipendIssued", + "offset": 0, + "slot": "37", + "type": "t_uint256" + }, + { + "astId": 16320, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "resolvers", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" + }, + { + "astId": 16326, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "installations", + "offset": 0, + "slot": "39", + "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" + }, + { + "astId": 16330, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "payoutWhitelist", + "offset": 0, + "slot": "40", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16337, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "metatransactionNonces", + "offset": 0, + "slot": "41", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16341, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "miningDelegators", + "offset": 0, + "slot": "42", + "type": "t_mapping(t_address,t_address)" + }, + { + "astId": 16343, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "reputationMiningChainId", + "offset": 0, + "slot": "43", + "type": "t_uint256" + }, + { + "astId": 16345, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "colonyBridgeAddress", + "offset": 0, + "slot": "44", + "type": "t_address" + }, + { + "astId": 16349, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "bridgeCurrentRootHashNonces", + "offset": 0, + "slot": "45", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16353, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "networkSkillCounts", + "offset": 0, + "slot": "46", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16359, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "pendingSkillAdditions", + "offset": 0, + "slot": "47", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" + }, + { + "astId": 16365, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "reputationUpdateCount", + "offset": 0, + "slot": "48", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + { + "astId": 16374, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "pendingReputationUpdates", + "offset": 0, + "slot": "49", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_address)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_address,t_address_payable)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address payable)", + "numberOfBytes": "32", + "value": "t_address_payable" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" + }, + "t_mapping(t_address,t_string_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => string)", + "numberOfBytes": "32", + "value": "t_string_storage" + }, + "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", + "numberOfBytes": "32", + "value": "t_struct(MiningStake)11702_storage" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(address => address payable))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_address_payable)" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => address))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_address)" + }, + "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", + "numberOfBytes": "32", + "value": "t_struct(ENSRecord)11684_storage" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", + "numberOfBytes": "32", + "value": "t_struct(PendingReputationUpdate)11713_storage" + }, + "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", + "numberOfBytes": "32", + "value": "t_struct(ReputationLogEntry)11697_storage" + }, + "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", + "numberOfBytes": "32", + "value": "t_struct(Skill)11679_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(ENSRecord)11684_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ENSRecord", + "members": [ + { + "astId": 11681, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "addr", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11683, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "orbitdb", + "offset": 0, + "slot": "1", + "type": "t_string_storage" + } + ], + "numberOfBytes": "64" + }, + "t_struct(MiningStake)11702_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.MiningStake", + "members": [ + { + "astId": 11699, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "amount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 11701, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_struct(PendingReputationUpdate)11713_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", + "members": [ + { + "astId": 11704, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11706, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11708, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11710, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11712, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "timestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ReputationLogEntry)11697_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 11686, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11688, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11690, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11692, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11694, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 11696, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Skill)11679_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.Skill", + "members": [ + { + "astId": 11666, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "nParents", + "offset": 0, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11668, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "nChildren", + "offset": 16, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11671, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "parents", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11674, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "children", + "offset": 0, + "slot": "2", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11676, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "DEPRECATED_globalSkill", + "offset": 0, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 11678, + "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", + "label": "DEPRECATED_deprecated", + "offset": 1, + "slot": "3", + "type": "t_bool" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json new file mode 100644 index 0000000000..d0649501bc --- /dev/null +++ b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json @@ -0,0 +1,814 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16220, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "colonyCount", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 16222, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "currentColonyVersion", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 16224, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "metaColony", + "offset": 0, + "slot": "8", + "type": "t_address" + }, + { + "astId": 16226, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "tokenLocking", + "offset": 0, + "slot": "9", + "type": "t_address" + }, + { + "astId": 16228, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "feeInverse", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 16230, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "skillCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 16232, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "reputationMiningSkillId", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 16234, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "reputationRootHash", + "offset": 0, + "slot": "13", + "type": "t_bytes32" + }, + { + "astId": 16236, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "reputationRootHashNLeaves", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 16238, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "miningCycleResolver", + "offset": 0, + "slot": "15", + "type": "t_address" + }, + { + "astId": 16240, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "activeReputationMiningCycle", + "offset": 0, + "slot": "16", + "type": "t_address" + }, + { + "astId": 16242, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "inactiveReputationMiningCycle", + "offset": 0, + "slot": "17", + "type": "t_address" + }, + { + "astId": 16246, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "colonies", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16250, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "_isColony", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16254, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "colonyVersionResolver", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 16259, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "skills", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" + }, + { + "astId": 16263, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "stakedBalances", + "offset": 0, + "slot": "22", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16267, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "recentAuctions", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16269, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "ens", + "offset": 0, + "slot": "24", + "type": "t_address" + }, + { + "astId": 16271, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "rootNode", + "offset": 0, + "slot": "25", + "type": "t_bytes32" + }, + { + "astId": 16273, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "userNode", + "offset": 0, + "slot": "26", + "type": "t_bytes32" + }, + { + "astId": 16275, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "colonyNode", + "offset": 0, + "slot": "27", + "type": "t_bytes32" + }, + { + "astId": 16279, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "colonyLabels", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16283, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "userLabels", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_string_storage)" + }, + { + "astId": 16288, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "records", + "offset": 0, + "slot": "30", + "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" + }, + { + "astId": 16295, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "replacementReputationUpdateLog", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" + }, + { + "astId": 16299, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "replacementReputationUpdateLogsExist", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16304, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "miningStakes", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" + }, + { + "astId": 16308, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "pendingMiningRewards", + "offset": 0, + "slot": "34", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16310, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "totalMinerRewardPerCycle", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 16312, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "DEPRECATED_annualMetaColonyStipend", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 16314, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "DEPRECATED_lastMetaColonyStipendIssued", + "offset": 0, + "slot": "37", + "type": "t_uint256" + }, + { + "astId": 16320, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "resolvers", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" + }, + { + "astId": 16326, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "installations", + "offset": 0, + "slot": "39", + "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" + }, + { + "astId": 16330, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "payoutWhitelist", + "offset": 0, + "slot": "40", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 16337, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "metatransactionNonces", + "offset": 0, + "slot": "41", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 16341, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "miningDelegators", + "offset": 0, + "slot": "42", + "type": "t_mapping(t_address,t_address)" + }, + { + "astId": 16343, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "reputationMiningChainId", + "offset": 0, + "slot": "43", + "type": "t_uint256" + }, + { + "astId": 16345, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "colonyBridgeAddress", + "offset": 0, + "slot": "44", + "type": "t_address" + }, + { + "astId": 16349, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "bridgeCurrentRootHashNonces", + "offset": 0, + "slot": "45", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16353, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "networkSkillCounts", + "offset": 0, + "slot": "46", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 16359, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "pendingSkillAdditions", + "offset": 0, + "slot": "47", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" + }, + { + "astId": 16365, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "reputationUpdateCount", + "offset": 0, + "slot": "48", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + { + "astId": 16374, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "pendingReputationUpdates", + "offset": 0, + "slot": "49", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_address)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_address,t_address_payable)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => address payable)", + "numberOfBytes": "32", + "value": "t_address_payable" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" + }, + "t_mapping(t_address,t_string_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => string)", + "numberOfBytes": "32", + "value": "t_string_storage" + }, + "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", + "numberOfBytes": "32", + "value": "t_struct(MiningStake)11702_storage" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(address => address payable))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_address_payable)" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => address))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_address)" + }, + "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", + "numberOfBytes": "32", + "value": "t_struct(ENSRecord)11684_storage" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", + "numberOfBytes": "32", + "value": "t_struct(PendingReputationUpdate)11713_storage" + }, + "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", + "numberOfBytes": "32", + "value": "t_struct(ReputationLogEntry)11697_storage" + }, + "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", + "numberOfBytes": "32", + "value": "t_struct(Skill)11679_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(ENSRecord)11684_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ENSRecord", + "members": [ + { + "astId": 11681, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "addr", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11683, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "orbitdb", + "offset": 0, + "slot": "1", + "type": "t_string_storage" + } + ], + "numberOfBytes": "64" + }, + "t_struct(MiningStake)11702_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.MiningStake", + "members": [ + { + "astId": 11699, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "amount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 11701, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_struct(PendingReputationUpdate)11713_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", + "members": [ + { + "astId": 11704, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11706, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11708, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11710, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11712, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "timestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ReputationLogEntry)11697_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 11686, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 11688, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 11690, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 11692, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 11694, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 11696, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Skill)11679_storage": { + "encoding": "inplace", + "label": "struct ColonyNetworkDataTypes.Skill", + "members": [ + { + "astId": 11666, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "nParents", + "offset": 0, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11668, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "nChildren", + "offset": 16, + "slot": "0", + "type": "t_uint128" + }, + { + "astId": 11671, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "parents", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11674, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "children", + "offset": 0, + "slot": "2", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 11676, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "DEPRECATED_globalSkill", + "offset": 0, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 11678, + "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", + "label": "DEPRECATED_deprecated", + "offset": 1, + "slot": "3", + "type": "t_bool" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/common/CommonAuthority.sol:CommonAuthority.json b/.storage-layouts/contracts/common/CommonAuthority.sol:CommonAuthority.json new file mode 100644 index 0000000000..dc0d773774 --- /dev/null +++ b/.storage-layouts/contracts/common/CommonAuthority.sol:CommonAuthority.json @@ -0,0 +1,148 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 45605, + "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", + "label": "_root_users", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 45609, + "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", + "label": "_user_roles", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_bytes32)" + }, + { + "astId": 45615, + "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", + "label": "_capability_roles", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))" + }, + { + "astId": 45621, + "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", + "label": "_public_capabilities", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bool))" + }, + { + "astId": 18215, + "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", + "label": "userDomainRoles", + "offset": 0, + "slot": "6", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_bytes32)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_address,t_mapping(t_bytes4,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(bytes4 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes4,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(bytes4 => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes4,t_bytes32)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bytes32)" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes4,t_bytes32)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint256,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/common/CommonStorage.sol:CommonStorage.json b/.storage-layouts/contracts/common/CommonStorage.sol:CommonStorage.json new file mode 100644 index 0000000000..16660d581a --- /dev/null +++ b/.storage-layouts/contracts/common/CommonStorage.sol:CommonStorage.json @@ -0,0 +1,102 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/common/CommonStorage.sol:CommonStorage", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/common/CommonStorage.sol:CommonStorage", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/common/CommonStorage.sol:CommonStorage", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/common/CommonStorage.sol:CommonStorage", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/common/CommonStorage.sol:CommonStorage", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/common/CommonStorage.sol:CommonStorage", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/common/CommonStorage.sol:CommonStorage", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/common/CommonStorage.sol:CommonStorage", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/common/ContractRecovery.sol:ContractRecovery.json b/.storage-layouts/contracts/common/ContractRecovery.sol:ContractRecovery.json new file mode 100644 index 0000000000..f3cfe30f1f --- /dev/null +++ b/.storage-layouts/contracts/common/ContractRecovery.sol:ContractRecovery.json @@ -0,0 +1,102 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/common/DomainRoles.sol:DomainRoles.json b/.storage-layouts/contracts/common/DomainRoles.sol:DomainRoles.json new file mode 100644 index 0000000000..ccf1e54384 --- /dev/null +++ b/.storage-layouts/contracts/common/DomainRoles.sol:DomainRoles.json @@ -0,0 +1,148 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/common/DomainRoles.sol:DomainRoles", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/common/DomainRoles.sol:DomainRoles", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 45605, + "contract": "contracts/common/DomainRoles.sol:DomainRoles", + "label": "_root_users", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 45609, + "contract": "contracts/common/DomainRoles.sol:DomainRoles", + "label": "_user_roles", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_bytes32)" + }, + { + "astId": 45615, + "contract": "contracts/common/DomainRoles.sol:DomainRoles", + "label": "_capability_roles", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))" + }, + { + "astId": 45621, + "contract": "contracts/common/DomainRoles.sol:DomainRoles", + "label": "_public_capabilities", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bool))" + }, + { + "astId": 18215, + "contract": "contracts/common/DomainRoles.sol:DomainRoles", + "label": "userDomainRoles", + "offset": 0, + "slot": "6", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_bytes32)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_address,t_mapping(t_bytes4,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(bytes4 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes4,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(bytes4 => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes4,t_bytes32)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bytes32)" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes4,t_bytes32)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint256,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/common/EtherRouter.sol:EtherRouter.json b/.storage-layouts/contracts/common/EtherRouter.sol:EtherRouter.json new file mode 100644 index 0000000000..fa9f57bf52 --- /dev/null +++ b/.storage-layouts/contracts/common/EtherRouter.sol:EtherRouter.json @@ -0,0 +1,45 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/common/EtherRouter.sol:EtherRouter", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/common/EtherRouter.sol:EtherRouter", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 18555, + "contract": "contracts/common/EtherRouter.sol:EtherRouter", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_contract(Resolver)19068" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(Resolver)19068": { + "encoding": "inplace", + "label": "contract Resolver", + "numberOfBytes": "20" + } + } +} diff --git a/.storage-layouts/contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3.json b/.storage-layouts/contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3.json new file mode 100644 index 0000000000..f87dcbef70 --- /dev/null +++ b/.storage-layouts/contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3.json @@ -0,0 +1,45 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 18555, + "contract": "contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_contract(Resolver)19068" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(Resolver)19068": { + "encoding": "inplace", + "label": "contract Resolver", + "numberOfBytes": "20" + } + } +} diff --git a/.storage-layouts/contracts/common/Resolver.sol:Resolver.json b/.storage-layouts/contracts/common/Resolver.sol:Resolver.json new file mode 100644 index 0000000000..1966330312 --- /dev/null +++ b/.storage-layouts/contracts/common/Resolver.sol:Resolver.json @@ -0,0 +1,52 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/common/Resolver.sol:Resolver", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/common/Resolver.sol:Resolver", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 19019, + "contract": "contracts/common/Resolver.sol:Resolver", + "label": "pointers", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_bytes4,t_address)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_mapping(t_bytes4,t_address)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => address)", + "numberOfBytes": "32", + "value": "t_address" + } + } +} diff --git a/.storage-layouts/contracts/common/TokenAuthority.sol:TokenAuthority.json b/.storage-layouts/contracts/common/TokenAuthority.sol:TokenAuthority.json new file mode 100644 index 0000000000..cefe4a423e --- /dev/null +++ b/.storage-layouts/contracts/common/TokenAuthority.sol:TokenAuthority.json @@ -0,0 +1,43 @@ +{ + "storage": [ + { + "astId": 19083, + "contract": "contracts/common/TokenAuthority.sol:TokenAuthority", + "label": "authorizations", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bool))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_mapping(t_address,t_mapping(t_bytes4,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(bytes4 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes4,t_bool)" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + } + } +} diff --git a/.storage-layouts/contracts/ens/ENSRegistry.sol:ENSRegistry.json b/.storage-layouts/contracts/ens/ENSRegistry.sol:ENSRegistry.json new file mode 100644 index 0000000000..932f2dab30 --- /dev/null +++ b/.storage-layouts/contracts/ens/ENSRegistry.sol:ENSRegistry.json @@ -0,0 +1,67 @@ +{ + "storage": [ + { + "astId": 22527, + "contract": "contracts/ens/ENSRegistry.sol:ENSRegistry", + "label": "records", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(Record)22522_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Record)22522_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct ENSRegistry.Record)", + "numberOfBytes": "32", + "value": "t_struct(Record)22522_storage" + }, + "t_struct(Record)22522_storage": { + "encoding": "inplace", + "label": "struct ENSRegistry.Record", + "members": [ + { + "astId": 22517, + "contract": "contracts/ens/ENSRegistry.sol:ENSRegistry", + "label": "owner", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 22519, + "contract": "contracts/ens/ENSRegistry.sol:ENSRegistry", + "label": "resolver", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 22521, + "contract": "contracts/ens/ENSRegistry.sol:ENSRegistry", + "label": "ttl", + "offset": 20, + "slot": "1", + "type": "t_uint64" + } + ], + "numberOfBytes": "64" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/extensions/CoinMachine.sol:CoinMachine.json b/.storage-layouts/contracts/extensions/CoinMachine.sol:CoinMachine.json new file mode 100644 index 0000000000..a20b78b1c4 --- /dev/null +++ b/.storage-layouts/contracts/extensions/CoinMachine.sol:CoinMachine.json @@ -0,0 +1,230 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 19368, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "purchaseToken", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 19370, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "periodLength", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 19372, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "alpha", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 19374, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "windowSize", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 19376, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "targetPerPeriod", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 19378, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "maxPerPeriod", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 19380, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "tokensToSell_DEPRECATED", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 19382, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "activePeriod", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 19384, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "activePrice", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 19386, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "activeSold", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 19388, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "activeIntake", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 19390, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "emaIntake", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 19392, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "token", + "offset": 0, + "slot": "16", + "type": "t_address" + }, + { + "astId": 19394, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "whitelist", + "offset": 0, + "slot": "17", + "type": "t_address" + }, + { + "astId": 19396, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "evolvePrice", + "offset": 20, + "slot": "17", + "type": "t_bool" + }, + { + "astId": 19398, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "userLimitFraction", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 19400, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "soldTotal", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 19404, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "soldUser", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 19408, + "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", + "label": "metatransactionNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/extensions/ColonyExtension.sol:ColonyExtension.json b/.storage-layouts/contracts/extensions/ColonyExtension.sol:ColonyExtension.json new file mode 100644 index 0000000000..52468d240b --- /dev/null +++ b/.storage-layouts/contracts/extensions/ColonyExtension.sol:ColonyExtension.json @@ -0,0 +1,66 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/ColonyExtension.sol:ColonyExtension", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/ColonyExtension.sol:ColonyExtension", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/ColonyExtension.sol:ColonyExtension", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/ColonyExtension.sol:ColonyExtension", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/ColonyExtension.sol:ColonyExtension", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + } + } +} diff --git a/.storage-layouts/contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta.json b/.storage-layouts/contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta.json new file mode 100644 index 0000000000..3838cbefb8 --- /dev/null +++ b/.storage-layouts/contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta.json @@ -0,0 +1,342 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20666, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 20694, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder00", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 20696, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder01", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 20698, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder02", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 20700, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder03", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 20702, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder04", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 20704, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder05", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 20706, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder06", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 20708, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder07", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 20710, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder08", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 20712, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder09", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 20714, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder10", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 20716, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder11", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 20718, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder12", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 20720, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder13", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 20722, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder14", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 20724, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder15", + "offset": 0, + "slot": "20", + "type": "t_uint256" + }, + { + "astId": 20726, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder16", + "offset": 0, + "slot": "21", + "type": "t_uint256" + }, + { + "astId": 20728, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder17", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 20730, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder18", + "offset": 0, + "slot": "23", + "type": "t_uint256" + }, + { + "astId": 20732, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder19", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 20734, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder20", + "offset": 0, + "slot": "25", + "type": "t_uint256" + }, + { + "astId": 20736, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder21", + "offset": 0, + "slot": "26", + "type": "t_uint256" + }, + { + "astId": 20738, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder22", + "offset": 0, + "slot": "27", + "type": "t_uint256" + }, + { + "astId": 20740, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder23", + "offset": 0, + "slot": "28", + "type": "t_uint256" + }, + { + "astId": 20742, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder24", + "offset": 0, + "slot": "29", + "type": "t_uint256" + }, + { + "astId": 20744, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder25", + "offset": 0, + "slot": "30", + "type": "t_uint256" + }, + { + "astId": 20746, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder26", + "offset": 0, + "slot": "31", + "type": "t_uint256" + }, + { + "astId": 20748, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder27", + "offset": 0, + "slot": "32", + "type": "t_uint256" + }, + { + "astId": 20750, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder28", + "offset": 0, + "slot": "33", + "type": "t_uint256" + }, + { + "astId": 20752, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder29", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 20754, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder30", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 20756, + "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", + "label": "placeholder31", + "offset": 0, + "slot": "36", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure.json b/.storage-layouts/contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure.json new file mode 100644 index 0000000000..b45d5ede08 --- /dev/null +++ b/.storage-layouts/contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure.json @@ -0,0 +1,86 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20784, + "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/extensions/FundingQueue.sol:FundingQueue.json b/.storage-layouts/contracts/extensions/FundingQueue.sol:FundingQueue.json new file mode 100644 index 0000000000..a2f125b280 --- /dev/null +++ b/.storage-layouts/contracts/extensions/FundingQueue.sol:FundingQueue.json @@ -0,0 +1,289 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 21037, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "colonyNetwork", + "offset": 0, + "slot": "4", + "type": "t_contract(IColonyNetwork)17371" + }, + { + "astId": 21040, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "tokenLocking", + "offset": 0, + "slot": "5", + "type": "t_contract(ITokenLocking)43685" + }, + { + "astId": 21042, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "token", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 21077, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "proposalCount", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 21082, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "proposals", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint256,t_struct(Proposal)21075_storage)" + }, + { + "astId": 21088, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "supporters", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + { + "astId": 21092, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "queue", + "offset": 0, + "slot": "10", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 21096, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "metatransactionNonces", + "offset": 0, + "slot": "11", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_contract(IColonyNetwork)17371": { + "encoding": "inplace", + "label": "contract IColonyNetwork", + "numberOfBytes": "20" + }, + "t_contract(ITokenLocking)43685": { + "encoding": "inplace", + "label": "contract ITokenLocking", + "numberOfBytes": "20" + }, + "t_enum(ProposalState)21047": { + "encoding": "inplace", + "label": "enum FundingQueue.ProposalState", + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_struct(Proposal)21075_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct FundingQueue.Proposal)", + "numberOfBytes": "32", + "value": "t_struct(Proposal)21075_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(Proposal)21075_storage": { + "encoding": "inplace", + "label": "struct FundingQueue.Proposal", + "members": [ + { + "astId": 21050, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "state", + "offset": 0, + "slot": "0", + "type": "t_enum(ProposalState)21047" + }, + { + "astId": 21052, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "creator", + "offset": 1, + "slot": "0", + "type": "t_address" + }, + { + "astId": 21054, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "token", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 21056, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 21058, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "domainTotalRep", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 21060, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "fromPot", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 21062, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "toPot", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 21064, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "fromChildSkillIndex", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 21066, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "toChildSkillIndex", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 21068, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "totalRequested", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 21070, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "totalPaid", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 21072, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "lastUpdated", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 21074, + "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", + "label": "totalSupport", + "offset": 0, + "slot": "11", + "type": "t_uint256" + } + ], + "numberOfBytes": "384" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/extensions/OneTxPayment.sol:OneTxPayment.json b/.storage-layouts/contracts/extensions/OneTxPayment.sol:OneTxPayment.json new file mode 100644 index 0000000000..627946862f --- /dev/null +++ b/.storage-layouts/contracts/extensions/OneTxPayment.sol:OneTxPayment.json @@ -0,0 +1,86 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 22380, + "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper.json b/.storage-layouts/contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper.json new file mode 100644 index 0000000000..6a5c95a74f --- /dev/null +++ b/.storage-layouts/contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper.json @@ -0,0 +1,447 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20666, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 20694, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder00", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 20696, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder01", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 20698, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder02", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 20700, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder03", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 20702, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder04", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 20704, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder05", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 20706, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder06", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 20708, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder07", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 20710, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder08", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 20712, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder09", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 20714, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder10", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 20716, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder11", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 20718, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder12", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 20720, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder13", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 20722, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder14", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 20724, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder15", + "offset": 0, + "slot": "20", + "type": "t_uint256" + }, + { + "astId": 20726, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder16", + "offset": 0, + "slot": "21", + "type": "t_uint256" + }, + { + "astId": 20728, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder17", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 20730, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder18", + "offset": 0, + "slot": "23", + "type": "t_uint256" + }, + { + "astId": 20732, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder19", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 20734, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder20", + "offset": 0, + "slot": "25", + "type": "t_uint256" + }, + { + "astId": 20736, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder21", + "offset": 0, + "slot": "26", + "type": "t_uint256" + }, + { + "astId": 20738, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder22", + "offset": 0, + "slot": "27", + "type": "t_uint256" + }, + { + "astId": 20740, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder23", + "offset": 0, + "slot": "28", + "type": "t_uint256" + }, + { + "astId": 20742, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder24", + "offset": 0, + "slot": "29", + "type": "t_uint256" + }, + { + "astId": 20744, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder25", + "offset": 0, + "slot": "30", + "type": "t_uint256" + }, + { + "astId": 20746, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder26", + "offset": 0, + "slot": "31", + "type": "t_uint256" + }, + { + "astId": 20748, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder27", + "offset": 0, + "slot": "32", + "type": "t_uint256" + }, + { + "astId": 20750, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder28", + "offset": 0, + "slot": "33", + "type": "t_uint256" + }, + { + "astId": 20752, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder29", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 20754, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder30", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 20756, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "placeholder31", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 23380, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "token", + "offset": 0, + "slot": "37", + "type": "t_address" + }, + { + "astId": 23382, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "decayPeriod", + "offset": 0, + "slot": "38", + "type": "t_uint256" + }, + { + "astId": 23384, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "decayNumerator", + "offset": 0, + "slot": "39", + "type": "t_uint256" + }, + { + "astId": 23386, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "decayDenominator", + "offset": 0, + "slot": "40", + "type": "t_uint256" + }, + { + "astId": 23388, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "totalPayableGrants", + "offset": 0, + "slot": "41", + "type": "t_uint256" + }, + { + "astId": 23395, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "grants", + "offset": 0, + "slot": "42", + "type": "t_mapping(t_bool,t_mapping(t_bytes32,t_struct(Grant)23378_storage))" + }, + { + "astId": 23399, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "committedSecrets", + "offset": 0, + "slot": "43", + "type": "t_mapping(t_bytes32,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bool,t_mapping(t_bytes32,t_struct(Grant)23378_storage))": { + "encoding": "mapping", + "key": "t_bool", + "label": "mapping(bool => mapping(bytes32 => struct ReputationBootstrapper.Grant))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes32,t_struct(Grant)23378_storage)" + }, + "t_mapping(t_bytes32,t_struct(Grant)23378_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct ReputationBootstrapper.Grant)", + "numberOfBytes": "32", + "value": "t_struct(Grant)23378_storage" + }, + "t_mapping(t_bytes32,t_uint256)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(Grant)23378_storage": { + "encoding": "inplace", + "label": "struct ReputationBootstrapper.Grant", + "members": [ + { + "astId": 23375, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "amount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 23377, + "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/extensions/StagedExpenditure.sol:StagedExpenditure.json b/.storage-layouts/contracts/extensions/StagedExpenditure.sol:StagedExpenditure.json new file mode 100644 index 0000000000..593d584c3d --- /dev/null +++ b/.storage-layouts/contracts/extensions/StagedExpenditure.sol:StagedExpenditure.json @@ -0,0 +1,357 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20666, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 20694, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder00", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 20696, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder01", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 20698, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder02", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 20700, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder03", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 20702, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder04", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 20704, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder05", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 20706, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder06", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 20708, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder07", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 20710, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder08", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 20712, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder09", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 20714, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder10", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 20716, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder11", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 20718, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder12", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 20720, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder13", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 20722, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder14", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 20724, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder15", + "offset": 0, + "slot": "20", + "type": "t_uint256" + }, + { + "astId": 20726, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder16", + "offset": 0, + "slot": "21", + "type": "t_uint256" + }, + { + "astId": 20728, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder17", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 20730, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder18", + "offset": 0, + "slot": "23", + "type": "t_uint256" + }, + { + "astId": 20732, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder19", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 20734, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder20", + "offset": 0, + "slot": "25", + "type": "t_uint256" + }, + { + "astId": 20736, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder21", + "offset": 0, + "slot": "26", + "type": "t_uint256" + }, + { + "astId": 20738, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder22", + "offset": 0, + "slot": "27", + "type": "t_uint256" + }, + { + "astId": 20740, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder23", + "offset": 0, + "slot": "28", + "type": "t_uint256" + }, + { + "astId": 20742, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder24", + "offset": 0, + "slot": "29", + "type": "t_uint256" + }, + { + "astId": 20744, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder25", + "offset": 0, + "slot": "30", + "type": "t_uint256" + }, + { + "astId": 20746, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder26", + "offset": 0, + "slot": "31", + "type": "t_uint256" + }, + { + "astId": 20748, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder27", + "offset": 0, + "slot": "32", + "type": "t_uint256" + }, + { + "astId": 20750, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder28", + "offset": 0, + "slot": "33", + "type": "t_uint256" + }, + { + "astId": 20752, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder29", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 20754, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder30", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 20756, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "placeholder31", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 23977, + "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", + "label": "stagedExpenditures", + "offset": 0, + "slot": "37", + "type": "t_mapping(t_uint256,t_bool)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/extensions/StakedExpenditure.sol:StakedExpenditure.json b/.storage-layouts/contracts/extensions/StakedExpenditure.sol:StakedExpenditure.json new file mode 100644 index 0000000000..c1dc56f4b7 --- /dev/null +++ b/.storage-layouts/contracts/extensions/StakedExpenditure.sol:StakedExpenditure.json @@ -0,0 +1,388 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20666, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 20694, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder00", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 20696, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder01", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 20698, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder02", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 20700, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder03", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 20702, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder04", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 20704, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder05", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 20706, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder06", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 20708, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder07", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 20710, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder08", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 20712, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder09", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 20714, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder10", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 20716, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder11", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 20718, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder12", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 20720, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder13", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 20722, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder14", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 20724, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder15", + "offset": 0, + "slot": "20", + "type": "t_uint256" + }, + { + "astId": 20726, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder16", + "offset": 0, + "slot": "21", + "type": "t_uint256" + }, + { + "astId": 20728, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder17", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 20730, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder18", + "offset": 0, + "slot": "23", + "type": "t_uint256" + }, + { + "astId": 20732, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder19", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 20734, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder20", + "offset": 0, + "slot": "25", + "type": "t_uint256" + }, + { + "astId": 20736, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder21", + "offset": 0, + "slot": "26", + "type": "t_uint256" + }, + { + "astId": 20738, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder22", + "offset": 0, + "slot": "27", + "type": "t_uint256" + }, + { + "astId": 20740, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder23", + "offset": 0, + "slot": "28", + "type": "t_uint256" + }, + { + "astId": 20742, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder24", + "offset": 0, + "slot": "29", + "type": "t_uint256" + }, + { + "astId": 20744, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder25", + "offset": 0, + "slot": "30", + "type": "t_uint256" + }, + { + "astId": 20746, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder26", + "offset": 0, + "slot": "31", + "type": "t_uint256" + }, + { + "astId": 20748, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder27", + "offset": 0, + "slot": "32", + "type": "t_uint256" + }, + { + "astId": 20750, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder28", + "offset": 0, + "slot": "33", + "type": "t_uint256" + }, + { + "astId": 20752, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder29", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 20754, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder30", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 20756, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "placeholder31", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 24349, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "stakeFraction", + "offset": 0, + "slot": "37", + "type": "t_uint256" + }, + { + "astId": 24354, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "stakes", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(Stake)24347_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_struct(Stake)24347_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct StakedExpenditure.Stake)", + "numberOfBytes": "32", + "value": "t_struct(Stake)24347_storage" + }, + "t_struct(Stake)24347_storage": { + "encoding": "inplace", + "label": "struct StakedExpenditure.Stake", + "members": [ + { + "astId": 24344, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "creator", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 24346, + "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/extensions/StreamingPayments.sol:StreamingPayments.json b/.storage-layouts/contracts/extensions/StreamingPayments.sol:StreamingPayments.json new file mode 100644 index 0000000000..07c38758b3 --- /dev/null +++ b/.storage-layouts/contracts/extensions/StreamingPayments.sol:StreamingPayments.json @@ -0,0 +1,449 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20666, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 20694, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder00", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 20696, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder01", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 20698, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder02", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 20700, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder03", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 20702, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder04", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 20704, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder05", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 20706, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder06", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 20708, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder07", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 20710, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder08", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 20712, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder09", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 20714, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder10", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 20716, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder11", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 20718, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder12", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 20720, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder13", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 20722, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder14", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 20724, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder15", + "offset": 0, + "slot": "20", + "type": "t_uint256" + }, + { + "astId": 20726, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder16", + "offset": 0, + "slot": "21", + "type": "t_uint256" + }, + { + "astId": 20728, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder17", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 20730, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder18", + "offset": 0, + "slot": "23", + "type": "t_uint256" + }, + { + "astId": 20732, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder19", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 20734, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder20", + "offset": 0, + "slot": "25", + "type": "t_uint256" + }, + { + "astId": 20736, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder21", + "offset": 0, + "slot": "26", + "type": "t_uint256" + }, + { + "astId": 20738, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder22", + "offset": 0, + "slot": "27", + "type": "t_uint256" + }, + { + "astId": 20740, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder23", + "offset": 0, + "slot": "28", + "type": "t_uint256" + }, + { + "astId": 20742, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder24", + "offset": 0, + "slot": "29", + "type": "t_uint256" + }, + { + "astId": 20744, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder25", + "offset": 0, + "slot": "30", + "type": "t_uint256" + }, + { + "astId": 20746, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder26", + "offset": 0, + "slot": "31", + "type": "t_uint256" + }, + { + "astId": 20748, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder27", + "offset": 0, + "slot": "32", + "type": "t_uint256" + }, + { + "astId": 20750, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder28", + "offset": 0, + "slot": "33", + "type": "t_uint256" + }, + { + "astId": 20752, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder29", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 20754, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder30", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 20756, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "placeholder31", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 25059, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "numStreamingPayments", + "offset": 0, + "slot": "37", + "type": "t_uint256" + }, + { + "astId": 25064, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "streamingPayments", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(StreamingPayment)25057_storage)" + }, + { + "astId": 25066, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "nUnresolvedStreamingPayments", + "offset": 0, + "slot": "39", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_struct(StreamingPayment)25057_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct StreamingPayments.StreamingPayment)", + "numberOfBytes": "32", + "value": "t_struct(StreamingPayment)25057_storage" + }, + "t_struct(StreamingPayment)25057_storage": { + "encoding": "inplace", + "label": "struct StreamingPayments.StreamingPayment", + "members": [ + { + "astId": 25042, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 25044, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "domainId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 25046, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "startTime", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 25048, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "endTime", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 25050, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "interval", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 25052, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "token", + "offset": 0, + "slot": "5", + "type": "t_address" + }, + { + "astId": 25054, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "amount", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 25056, + "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", + "label": "pseudoAmountClaimedFromStart", + "offset": 0, + "slot": "7", + "type": "t_uint256" + } + ], + "numberOfBytes": "256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/extensions/TokenSupplier.sol:TokenSupplier.json b/.storage-layouts/contracts/extensions/TokenSupplier.sol:TokenSupplier.json new file mode 100644 index 0000000000..6afbeefe0b --- /dev/null +++ b/.storage-layouts/contracts/extensions/TokenSupplier.sol:TokenSupplier.json @@ -0,0 +1,126 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 26169, + "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", + "label": "token", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 26171, + "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", + "label": "tokenSupplyCeiling", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 26173, + "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", + "label": "tokenIssuanceRate", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 26175, + "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", + "label": "lastIssue", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 26177, + "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", + "label": "lastRateUpdate", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 26181, + "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", + "label": "metatransactionNonces", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/extensions/Whitelist.sol:Whitelist.json b/.storage-layouts/contracts/extensions/Whitelist.sol:Whitelist.json new file mode 100644 index 0000000000..3e8a643d09 --- /dev/null +++ b/.storage-layouts/contracts/extensions/Whitelist.sol:Whitelist.json @@ -0,0 +1,130 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/Whitelist.sol:Whitelist", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/Whitelist.sol:Whitelist", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/Whitelist.sol:Whitelist", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/Whitelist.sol:Whitelist", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/Whitelist.sol:Whitelist", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 26584, + "contract": "contracts/extensions/Whitelist.sol:Whitelist", + "label": "useApprovals", + "offset": 21, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 26586, + "contract": "contracts/extensions/Whitelist.sol:Whitelist", + "label": "agreementHash", + "offset": 0, + "slot": "4", + "type": "t_string_storage" + }, + { + "astId": 26590, + "contract": "contracts/extensions/Whitelist.sol:Whitelist", + "label": "approvals", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 26594, + "contract": "contracts/extensions/Whitelist.sol:Whitelist", + "label": "signatures", + "offset": 0, + "slot": "6", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 26598, + "contract": "contracts/extensions/Whitelist.sol:Whitelist", + "label": "metatransactionNonces", + "offset": 0, + "slot": "7", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation.json b/.storage-layouts/contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation.json new file mode 100644 index 0000000000..252ce589cc --- /dev/null +++ b/.storage-layouts/contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation.json @@ -0,0 +1,477 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 30905, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "state", + "offset": 21, + "slot": "3", + "type": "t_enum(ExtensionState)29153" + }, + { + "astId": 30908, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "colonyNetwork", + "offset": 0, + "slot": "4", + "type": "t_contract(IColonyNetwork)17371" + }, + { + "astId": 30911, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "tokenLocking", + "offset": 0, + "slot": "5", + "type": "t_contract(ITokenLocking)43685" + }, + { + "astId": 30913, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "token", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 30915, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "totalStakeFraction", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 30917, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "voterRewardFraction", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 30919, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "userMinStakeFraction", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 30921, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "maxVoteFraction", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 30923, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "stakePeriod", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 30925, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "submitPeriod", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 30927, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "revealPeriod", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 30929, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "escalationPeriod", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 30931, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "motionCount", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 30936, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "motions", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(Motion)29201_storage)" + }, + { + "astId": 30944, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "stakes", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 30950, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "voteSecrets", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))" + }, + { + "astId": 30954, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "expenditurePastVotes_DEPRECATED", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_bytes32,t_uint256)" + }, + { + "astId": 30958, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "expenditureMotionCounts_DEPRECATED", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_bytes32,t_uint256)" + }, + { + "astId": 30962, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "metatransactionNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 30966, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "expenditurePastVotes", + "offset": 0, + "slot": "22", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 30970, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "expenditureMotionLocks", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 30972, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "motionCountV10", + "offset": 0, + "slot": "24", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)2_storage": { + "base": "t_uint256", + "encoding": "inplace", + "label": "uint256[2]", + "numberOfBytes": "64" + }, + "t_array(t_uint64)3_storage": { + "base": "t_uint64", + "encoding": "inplace", + "label": "uint64[3]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_bytes_storage": { + "encoding": "bytes", + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_contract(IColonyNetwork)17371": { + "encoding": "inplace", + "label": "contract IColonyNetwork", + "numberOfBytes": "20" + }, + "t_contract(ITokenLocking)43685": { + "encoding": "inplace", + "label": "contract ITokenLocking", + "numberOfBytes": "20" + }, + "t_enum(ExtensionState)29153": { + "encoding": "inplace", + "label": "enum VotingReputationDataTypes.ExtensionState", + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_bytes32)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_uint256)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_bytes32)" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_uint256,t_struct(Motion)29201_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct VotingReputationDataTypes.Motion)", + "numberOfBytes": "32", + "value": "t_struct(Motion)29201_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(Motion)29201_storage": { + "encoding": "inplace", + "label": "struct VotingReputationDataTypes.Motion", + "members": [ + { + "astId": 29166, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "events", + "offset": 0, + "slot": "0", + "type": "t_array(t_uint64)3_storage" + }, + { + "astId": 29168, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "rootHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 29170, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 29172, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "skillId", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 29174, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "skillRep", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 29176, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "repSubmitted", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 29178, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "paidVoterComp", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 29182, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "pastVoterComp", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29186, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "stakes", + "offset": 0, + "slot": "9", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29190, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "votes", + "offset": 0, + "slot": "11", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29192, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "escalated", + "offset": 0, + "slot": "13", + "type": "t_bool" + }, + { + "astId": 29194, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "finalized", + "offset": 1, + "slot": "13", + "type": "t_bool" + }, + { + "astId": 29196, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "altTarget", + "offset": 2, + "slot": "13", + "type": "t_address" + }, + { + "astId": 29198, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "sig", + "offset": 22, + "slot": "13", + "type": "t_bytes4" + }, + { + "astId": 29200, + "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", + "label": "action", + "offset": 0, + "slot": "14", + "type": "t_bytes_storage" + } + ], + "numberOfBytes": "480" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery.json b/.storage-layouts/contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery.json new file mode 100644 index 0000000000..7dd0c705dd --- /dev/null +++ b/.storage-layouts/contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery.json @@ -0,0 +1,453 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 29311, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 29314, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 29316, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 29319, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_state", + "offset": 21, + "slot": "3", + "type": "t_enum(ExtensionState)29153" + }, + { + "astId": 29322, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "colonyNetwork", + "offset": 0, + "slot": "4", + "type": "t_contract(IColonyNetwork)17371" + }, + { + "astId": 29325, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "tokenLocking", + "offset": 0, + "slot": "5", + "type": "t_contract(ITokenLocking)43685" + }, + { + "astId": 29327, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "token", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 29329, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "totalStakeFraction", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 29331, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_voterRewardFraction", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 29333, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_userMinStakeFraction", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 29335, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_maxVoteFraction", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 29337, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_stakePeriod", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 29339, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_submitPeriod", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 29341, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_revealPeriod", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 29343, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_escalationPeriod", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 29347, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_metatransactionNonces", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 29349, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_motionCount", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 29354, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "motions", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_uint256,t_struct(Motion)29201_storage)" + }, + { + "astId": 29362, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "stakes", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 29368, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_voteSecrets", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))" + }, + { + "astId": 29372, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_expenditurePastVotes", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_bytes32,t_uint256)" + }, + { + "astId": 29376, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "DO_NOT_USE_expenditureMotionCounts", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_bytes32,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)2_storage": { + "base": "t_uint256", + "encoding": "inplace", + "label": "uint256[2]", + "numberOfBytes": "64" + }, + "t_array(t_uint64)3_storage": { + "base": "t_uint64", + "encoding": "inplace", + "label": "uint64[3]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_bytes_storage": { + "encoding": "bytes", + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_contract(IColonyNetwork)17371": { + "encoding": "inplace", + "label": "contract IColonyNetwork", + "numberOfBytes": "20" + }, + "t_contract(ITokenLocking)43685": { + "encoding": "inplace", + "label": "contract ITokenLocking", + "numberOfBytes": "20" + }, + "t_enum(ExtensionState)29153": { + "encoding": "inplace", + "label": "enum VotingReputationDataTypes.ExtensionState", + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_bytes32)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_uint256)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_bytes32)" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_uint256,t_struct(Motion)29201_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct VotingReputationDataTypes.Motion)", + "numberOfBytes": "32", + "value": "t_struct(Motion)29201_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(Motion)29201_storage": { + "encoding": "inplace", + "label": "struct VotingReputationDataTypes.Motion", + "members": [ + { + "astId": 29166, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "events", + "offset": 0, + "slot": "0", + "type": "t_array(t_uint64)3_storage" + }, + { + "astId": 29168, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "rootHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 29170, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 29172, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "skillId", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 29174, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "skillRep", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 29176, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "repSubmitted", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 29178, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "paidVoterComp", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 29182, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "pastVoterComp", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29186, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "stakes", + "offset": 0, + "slot": "9", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29190, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "votes", + "offset": 0, + "slot": "11", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29192, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "escalated", + "offset": 0, + "slot": "13", + "type": "t_bool" + }, + { + "astId": 29194, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "finalized", + "offset": 1, + "slot": "13", + "type": "t_bool" + }, + { + "astId": 29196, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "altTarget", + "offset": 2, + "slot": "13", + "type": "t_address" + }, + { + "astId": 29198, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "sig", + "offset": 22, + "slot": "13", + "type": "t_bytes4" + }, + { + "astId": 29200, + "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", + "label": "action", + "offset": 0, + "slot": "14", + "type": "t_bytes_storage" + } + ], + "numberOfBytes": "480" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking.json b/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking.json new file mode 100644 index 0000000000..7aa05bef82 --- /dev/null +++ b/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking.json @@ -0,0 +1,477 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 30905, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "state", + "offset": 21, + "slot": "3", + "type": "t_enum(ExtensionState)29153" + }, + { + "astId": 30908, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "colonyNetwork", + "offset": 0, + "slot": "4", + "type": "t_contract(IColonyNetwork)17371" + }, + { + "astId": 30911, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "tokenLocking", + "offset": 0, + "slot": "5", + "type": "t_contract(ITokenLocking)43685" + }, + { + "astId": 30913, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "token", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 30915, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "totalStakeFraction", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 30917, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "voterRewardFraction", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 30919, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "userMinStakeFraction", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 30921, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "maxVoteFraction", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 30923, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "stakePeriod", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 30925, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "submitPeriod", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 30927, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "revealPeriod", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 30929, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "escalationPeriod", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 30931, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "motionCount", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 30936, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "motions", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(Motion)29201_storage)" + }, + { + "astId": 30944, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "stakes", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 30950, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "voteSecrets", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))" + }, + { + "astId": 30954, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "expenditurePastVotes_DEPRECATED", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_bytes32,t_uint256)" + }, + { + "astId": 30958, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "expenditureMotionCounts_DEPRECATED", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_bytes32,t_uint256)" + }, + { + "astId": 30962, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "metatransactionNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 30966, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "expenditurePastVotes", + "offset": 0, + "slot": "22", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 30970, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "expenditureMotionLocks", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 30972, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "motionCountV10", + "offset": 0, + "slot": "24", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)2_storage": { + "base": "t_uint256", + "encoding": "inplace", + "label": "uint256[2]", + "numberOfBytes": "64" + }, + "t_array(t_uint64)3_storage": { + "base": "t_uint64", + "encoding": "inplace", + "label": "uint64[3]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_bytes_storage": { + "encoding": "bytes", + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_contract(IColonyNetwork)17371": { + "encoding": "inplace", + "label": "contract IColonyNetwork", + "numberOfBytes": "20" + }, + "t_contract(ITokenLocking)43685": { + "encoding": "inplace", + "label": "contract ITokenLocking", + "numberOfBytes": "20" + }, + "t_enum(ExtensionState)29153": { + "encoding": "inplace", + "label": "enum VotingReputationDataTypes.ExtensionState", + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_bytes32)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_uint256)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_bytes32)" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_uint256,t_struct(Motion)29201_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct VotingReputationDataTypes.Motion)", + "numberOfBytes": "32", + "value": "t_struct(Motion)29201_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(Motion)29201_storage": { + "encoding": "inplace", + "label": "struct VotingReputationDataTypes.Motion", + "members": [ + { + "astId": 29166, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "events", + "offset": 0, + "slot": "0", + "type": "t_array(t_uint64)3_storage" + }, + { + "astId": 29168, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "rootHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 29170, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 29172, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "skillId", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 29174, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "skillRep", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 29176, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "repSubmitted", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 29178, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "paidVoterComp", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 29182, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "pastVoterComp", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29186, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "stakes", + "offset": 0, + "slot": "9", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29190, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "votes", + "offset": 0, + "slot": "11", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29192, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "escalated", + "offset": 0, + "slot": "13", + "type": "t_bool" + }, + { + "astId": 29194, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "finalized", + "offset": 1, + "slot": "13", + "type": "t_bool" + }, + { + "astId": 29196, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "altTarget", + "offset": 2, + "slot": "13", + "type": "t_address" + }, + { + "astId": 29198, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "sig", + "offset": 22, + "slot": "13", + "type": "t_bytes4" + }, + { + "astId": 29200, + "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", + "label": "action", + "offset": 0, + "slot": "14", + "type": "t_bytes_storage" + } + ], + "numberOfBytes": "480" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage.json b/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage.json new file mode 100644 index 0000000000..28463962b4 --- /dev/null +++ b/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage.json @@ -0,0 +1,477 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 30905, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "state", + "offset": 21, + "slot": "3", + "type": "t_enum(ExtensionState)29153" + }, + { + "astId": 30908, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "colonyNetwork", + "offset": 0, + "slot": "4", + "type": "t_contract(IColonyNetwork)17371" + }, + { + "astId": 30911, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "tokenLocking", + "offset": 0, + "slot": "5", + "type": "t_contract(ITokenLocking)43685" + }, + { + "astId": 30913, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "token", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 30915, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "totalStakeFraction", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 30917, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "voterRewardFraction", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 30919, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "userMinStakeFraction", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 30921, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "maxVoteFraction", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 30923, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "stakePeriod", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 30925, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "submitPeriod", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 30927, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "revealPeriod", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 30929, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "escalationPeriod", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 30931, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "motionCount", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 30936, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "motions", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(Motion)29201_storage)" + }, + { + "astId": 30944, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "stakes", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 30950, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "voteSecrets", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))" + }, + { + "astId": 30954, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "expenditurePastVotes_DEPRECATED", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_bytes32,t_uint256)" + }, + { + "astId": 30958, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "expenditureMotionCounts_DEPRECATED", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_bytes32,t_uint256)" + }, + { + "astId": 30962, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "metatransactionNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 30966, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "expenditurePastVotes", + "offset": 0, + "slot": "22", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 30970, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "expenditureMotionLocks", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 30972, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "motionCountV10", + "offset": 0, + "slot": "24", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)2_storage": { + "base": "t_uint256", + "encoding": "inplace", + "label": "uint256[2]", + "numberOfBytes": "64" + }, + "t_array(t_uint64)3_storage": { + "base": "t_uint64", + "encoding": "inplace", + "label": "uint64[3]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_bytes_storage": { + "encoding": "bytes", + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_contract(IColonyNetwork)17371": { + "encoding": "inplace", + "label": "contract IColonyNetwork", + "numberOfBytes": "20" + }, + "t_contract(ITokenLocking)43685": { + "encoding": "inplace", + "label": "contract ITokenLocking", + "numberOfBytes": "20" + }, + "t_enum(ExtensionState)29153": { + "encoding": "inplace", + "label": "enum VotingReputationDataTypes.ExtensionState", + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_bytes32)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_uint256)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_bytes32)" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_uint256,t_struct(Motion)29201_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct VotingReputationDataTypes.Motion)", + "numberOfBytes": "32", + "value": "t_struct(Motion)29201_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(Motion)29201_storage": { + "encoding": "inplace", + "label": "struct VotingReputationDataTypes.Motion", + "members": [ + { + "astId": 29166, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "events", + "offset": 0, + "slot": "0", + "type": "t_array(t_uint64)3_storage" + }, + { + "astId": 29168, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "rootHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 29170, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 29172, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "skillId", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 29174, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "skillRep", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 29176, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "repSubmitted", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 29178, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "paidVoterComp", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 29182, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "pastVoterComp", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29186, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "stakes", + "offset": 0, + "slot": "9", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29190, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "votes", + "offset": 0, + "slot": "11", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 29192, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "escalated", + "offset": 0, + "slot": "13", + "type": "t_bool" + }, + { + "astId": 29194, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "finalized", + "offset": 1, + "slot": "13", + "type": "t_bool" + }, + { + "astId": 29196, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "altTarget", + "offset": 2, + "slot": "13", + "type": "t_address" + }, + { + "astId": 29198, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "sig", + "offset": 22, + "slot": "13", + "type": "t_bytes4" + }, + { + "astId": 29200, + "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", + "label": "action", + "offset": 0, + "slot": "14", + "type": "t_bytes_storage" + } + ], + "numberOfBytes": "480" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta.json b/.storage-layouts/contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta.json new file mode 100644 index 0000000000..50d33b112b --- /dev/null +++ b/.storage-layouts/contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta.json @@ -0,0 +1,32 @@ +{ + "storage": [ + { + "astId": 32006, + "contract": "contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 32008, + "contract": "contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + } + } +} diff --git a/.storage-layouts/contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta.json b/.storage-layouts/contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta.json new file mode 100644 index 0000000000..4c08366697 --- /dev/null +++ b/.storage-layouts/contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta.json @@ -0,0 +1,54 @@ +{ + "storage": [ + { + "astId": 32139, + "contract": "contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta", + "label": "_supply", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 32143, + "contract": "contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta", + "label": "_balances", + "offset": 0, + "slot": "1", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 32149, + "contract": "contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta", + "label": "_approvals", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/metaTxToken/MetaTxToken.sol:MetaTxToken.json b/.storage-layouts/contracts/metaTxToken/MetaTxToken.sol:MetaTxToken.json new file mode 100644 index 0000000000..bbe8b670b6 --- /dev/null +++ b/.storage-layouts/contracts/metaTxToken/MetaTxToken.sol:MetaTxToken.json @@ -0,0 +1,117 @@ +{ + "storage": [ + { + "astId": 32139, + "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", + "label": "_supply", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 32143, + "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", + "label": "_balances", + "offset": 0, + "slot": "1", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 32149, + "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", + "label": "_approvals", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 32006, + "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", + "label": "authority", + "offset": 0, + "slot": "3", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 32008, + "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", + "label": "owner", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 32337, + "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", + "label": "symbol", + "offset": 0, + "slot": "5", + "type": "t_string_storage" + }, + { + "astId": 32339, + "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", + "label": "name", + "offset": 0, + "slot": "6", + "type": "t_string_storage" + }, + { + "astId": 32341, + "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", + "label": "locked", + "offset": 0, + "slot": "7", + "type": "t_bool" + }, + { + "astId": 32347, + "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", + "label": "metatransactionNonces", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/patriciaTree/PatriciaTree.sol:PatriciaTree.json b/.storage-layouts/contracts/patriciaTree/PatriciaTree.sol:PatriciaTree.json new file mode 100644 index 0000000000..84ef1e0169 --- /dev/null +++ b/.storage-layouts/contracts/patriciaTree/PatriciaTree.sol:PatriciaTree.json @@ -0,0 +1,129 @@ +{ + "storage": [ + { + "astId": 38158, + "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", + "label": "tree", + "offset": 0, + "slot": "0", + "type": "t_struct(Tree)37267_storage" + } + ], + "types": { + "t_array(t_struct(Edge)37250_storage)2_storage": { + "base": "t_struct(Edge)37250_storage", + "encoding": "inplace", + "label": "struct Data.Edge[2]", + "numberOfBytes": "192" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Node)37256_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct Data.Node)", + "numberOfBytes": "32", + "value": "t_struct(Node)37256_storage" + }, + "t_struct(Edge)37250_storage": { + "encoding": "inplace", + "label": "struct Data.Edge", + "members": [ + { + "astId": 37246, + "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", + "label": "node", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37249, + "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", + "label": "label", + "offset": 0, + "slot": "1", + "type": "t_struct(Label)37244_storage" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Label)37244_storage": { + "encoding": "inplace", + "label": "struct Data.Label", + "members": [ + { + "astId": 37241, + "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", + "label": "data", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37243, + "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", + "label": "length", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_struct(Node)37256_storage": { + "encoding": "inplace", + "label": "struct Data.Node", + "members": [ + { + "astId": 37255, + "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", + "label": "children", + "offset": 0, + "slot": "0", + "type": "t_array(t_struct(Edge)37250_storage)2_storage" + } + ], + "numberOfBytes": "192" + }, + "t_struct(Tree)37267_storage": { + "encoding": "inplace", + "label": "struct Data.Tree", + "members": [ + { + "astId": 37258, + "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", + "label": "root", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37261, + "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", + "label": "rootEdge", + "offset": 0, + "slot": "1", + "type": "t_struct(Edge)37250_storage" + }, + { + "astId": 37266, + "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", + "label": "nodes", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_bytes32,t_struct(Node)37256_storage)" + } + ], + "numberOfBytes": "160" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase.json b/.storage-layouts/contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase.json new file mode 100644 index 0000000000..6b320a30a5 --- /dev/null +++ b/.storage-layouts/contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase.json @@ -0,0 +1,129 @@ +{ + "storage": [ + { + "astId": 38158, + "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", + "label": "tree", + "offset": 0, + "slot": "0", + "type": "t_struct(Tree)37267_storage" + } + ], + "types": { + "t_array(t_struct(Edge)37250_storage)2_storage": { + "base": "t_struct(Edge)37250_storage", + "encoding": "inplace", + "label": "struct Data.Edge[2]", + "numberOfBytes": "192" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Node)37256_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct Data.Node)", + "numberOfBytes": "32", + "value": "t_struct(Node)37256_storage" + }, + "t_struct(Edge)37250_storage": { + "encoding": "inplace", + "label": "struct Data.Edge", + "members": [ + { + "astId": 37246, + "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", + "label": "node", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37249, + "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", + "label": "label", + "offset": 0, + "slot": "1", + "type": "t_struct(Label)37244_storage" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Label)37244_storage": { + "encoding": "inplace", + "label": "struct Data.Label", + "members": [ + { + "astId": 37241, + "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", + "label": "data", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37243, + "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", + "label": "length", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_struct(Node)37256_storage": { + "encoding": "inplace", + "label": "struct Data.Node", + "members": [ + { + "astId": 37255, + "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", + "label": "children", + "offset": 0, + "slot": "0", + "type": "t_array(t_struct(Edge)37250_storage)2_storage" + } + ], + "numberOfBytes": "192" + }, + "t_struct(Tree)37267_storage": { + "encoding": "inplace", + "label": "struct Data.Tree", + "members": [ + { + "astId": 37258, + "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", + "label": "root", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37261, + "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", + "label": "rootEdge", + "offset": 0, + "slot": "1", + "type": "t_struct(Edge)37250_storage" + }, + { + "astId": 37266, + "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", + "label": "nodes", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_bytes32,t_struct(Node)37256_storage)" + } + ], + "numberOfBytes": "160" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash.json b/.storage-layouts/contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash.json new file mode 100644 index 0000000000..af097dffc6 --- /dev/null +++ b/.storage-layouts/contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash.json @@ -0,0 +1,129 @@ +{ + "storage": [ + { + "astId": 38158, + "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", + "label": "tree", + "offset": 0, + "slot": "0", + "type": "t_struct(Tree)37267_storage" + } + ], + "types": { + "t_array(t_struct(Edge)37250_storage)2_storage": { + "base": "t_struct(Edge)37250_storage", + "encoding": "inplace", + "label": "struct Data.Edge[2]", + "numberOfBytes": "192" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Node)37256_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct Data.Node)", + "numberOfBytes": "32", + "value": "t_struct(Node)37256_storage" + }, + "t_struct(Edge)37250_storage": { + "encoding": "inplace", + "label": "struct Data.Edge", + "members": [ + { + "astId": 37246, + "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", + "label": "node", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37249, + "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", + "label": "label", + "offset": 0, + "slot": "1", + "type": "t_struct(Label)37244_storage" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Label)37244_storage": { + "encoding": "inplace", + "label": "struct Data.Label", + "members": [ + { + "astId": 37241, + "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", + "label": "data", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37243, + "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", + "label": "length", + "offset": 0, + "slot": "1", + "type": "t_uint256" + } + ], + "numberOfBytes": "64" + }, + "t_struct(Node)37256_storage": { + "encoding": "inplace", + "label": "struct Data.Node", + "members": [ + { + "astId": 37255, + "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", + "label": "children", + "offset": 0, + "slot": "0", + "type": "t_array(t_struct(Edge)37250_storage)2_storage" + } + ], + "numberOfBytes": "192" + }, + "t_struct(Tree)37267_storage": { + "encoding": "inplace", + "label": "struct Data.Tree", + "members": [ + { + "astId": 37258, + "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", + "label": "root", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37261, + "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", + "label": "rootEdge", + "offset": 0, + "slot": "1", + "type": "t_struct(Edge)37250_storage" + }, + { + "astId": 37266, + "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", + "label": "nodes", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_bytes32,t_struct(Node)37256_storage)" + } + ], + "numberOfBytes": "160" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle.json b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle.json new file mode 100644 index 0000000000..327ac109f8 --- /dev/null +++ b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle.json @@ -0,0 +1,468 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 39731, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 39733, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "3", + "type": "t_address_payable" + }, + { + "astId": 39735, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 39737, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "clnyTokenAddress", + "offset": 0, + "slot": "5", + "type": "t_address" + }, + { + "astId": 39741, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "reputationUpdateLog", + "offset": 0, + "slot": "6", + "type": "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage" + }, + { + "astId": 39750, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "submittedHashes", + "offset": 0, + "slot": "7", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))" + }, + { + "astId": 39755, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "reputationHashSubmissions", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_address,t_struct(Submission)37257_storage)" + }, + { + "astId": 39757, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "reputationMiningWindowOpenTimestamp", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 39763, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "disputeRounds", + "offset": 0, + "slot": "10", + "type": "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)" + }, + { + "astId": 39767, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "nHashesCompletedChallengeRound", + "offset": 0, + "slot": "11", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 39770, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "nUniqueSubmittedHashes", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 39773, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "nInvalidatedHashes", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 39779, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "submittedEntries", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 39798, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "firstIncompleteRound", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 39802, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "respondedToChallenge", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 39804, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "stakeLost", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 39806, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "rewardsPaidOut", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 39808, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "cachedDisputeRewardSize", + "offset": 0, + "slot": "19", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_address)dyn_storage": { + "base": "t_address", + "encoding": "dynamic_array", + "label": "address[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage": { + "base": "t_struct(DisputedEntry)37278_storage", + "encoding": "dynamic_array", + "label": "struct ReputationMiningCycleDataTypes.DisputedEntry[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage": { + "base": "t_struct(ReputationLogEntry)37248_storage", + "encoding": "dynamic_array", + "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_struct(Submission)37257_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ReputationMiningCycleDataTypes.Submission)", + "numberOfBytes": "32", + "value": "t_struct(Submission)37257_storage" + }, + "t_mapping(t_bytes32,t_array(t_address)dyn_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => address[])", + "numberOfBytes": "32", + "value": "t_array(t_address)dyn_storage" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => mapping(bytes32 => address[])))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))" + }, + "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ReputationMiningCycleDataTypes.DisputedEntry[])", + "numberOfBytes": "32", + "value": "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(bytes32 => address[]))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes32,t_array(t_address)dyn_storage)" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(DisputedEntry)37278_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.DisputedEntry", + "members": [ + { + "astId": 37259, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "firstSubmitter", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 37261, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "lastResponseTimestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 37263, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "challengeStepCompleted", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 37265, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "intermediateReputationHash", + "offset": 0, + "slot": "3", + "type": "t_bytes32" + }, + { + "astId": 37267, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "intermediateReputationNLeaves", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 37269, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "lowerBound", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 37271, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "upperBound", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 37273, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "targetHashDuringSearch", + "offset": 0, + "slot": "7", + "type": "t_bytes32" + }, + { + "astId": 37275, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "hash1", + "offset": 0, + "slot": "8", + "type": "t_bytes32" + }, + { + "astId": 37277, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "hash2", + "offset": 0, + "slot": "9", + "type": "t_bytes32" + } + ], + "numberOfBytes": "320" + }, + "t_struct(ReputationLogEntry)37248_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 37237, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 37239, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 37241, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 37243, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 37245, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 37247, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Submission)37257_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.Submission", + "members": [ + { + "astId": 37250, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "proposedNewRootHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37252, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "nLeaves", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 37254, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "jrh", + "offset": 0, + "slot": "2", + "type": "t_bytes32" + }, + { + "astId": 37256, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", + "label": "jrhNLeaves", + "offset": 0, + "slot": "3", + "type": "t_uint256" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch.json b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch.json new file mode 100644 index 0000000000..1b46873c10 --- /dev/null +++ b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch.json @@ -0,0 +1,468 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 39731, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 39733, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "3", + "type": "t_address_payable" + }, + { + "astId": 39735, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 39737, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "clnyTokenAddress", + "offset": 0, + "slot": "5", + "type": "t_address" + }, + { + "astId": 39741, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "reputationUpdateLog", + "offset": 0, + "slot": "6", + "type": "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage" + }, + { + "astId": 39750, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "submittedHashes", + "offset": 0, + "slot": "7", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))" + }, + { + "astId": 39755, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "reputationHashSubmissions", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_address,t_struct(Submission)37257_storage)" + }, + { + "astId": 39757, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "reputationMiningWindowOpenTimestamp", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 39763, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "disputeRounds", + "offset": 0, + "slot": "10", + "type": "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)" + }, + { + "astId": 39767, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "nHashesCompletedChallengeRound", + "offset": 0, + "slot": "11", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 39770, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "nUniqueSubmittedHashes", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 39773, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "nInvalidatedHashes", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 39779, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "submittedEntries", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 39798, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "firstIncompleteRound", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 39802, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "respondedToChallenge", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 39804, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "stakeLost", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 39806, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "rewardsPaidOut", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 39808, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "cachedDisputeRewardSize", + "offset": 0, + "slot": "19", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_address)dyn_storage": { + "base": "t_address", + "encoding": "dynamic_array", + "label": "address[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage": { + "base": "t_struct(DisputedEntry)37278_storage", + "encoding": "dynamic_array", + "label": "struct ReputationMiningCycleDataTypes.DisputedEntry[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage": { + "base": "t_struct(ReputationLogEntry)37248_storage", + "encoding": "dynamic_array", + "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_struct(Submission)37257_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ReputationMiningCycleDataTypes.Submission)", + "numberOfBytes": "32", + "value": "t_struct(Submission)37257_storage" + }, + "t_mapping(t_bytes32,t_array(t_address)dyn_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => address[])", + "numberOfBytes": "32", + "value": "t_array(t_address)dyn_storage" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => mapping(bytes32 => address[])))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))" + }, + "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ReputationMiningCycleDataTypes.DisputedEntry[])", + "numberOfBytes": "32", + "value": "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(bytes32 => address[]))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes32,t_array(t_address)dyn_storage)" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(DisputedEntry)37278_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.DisputedEntry", + "members": [ + { + "astId": 37259, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "firstSubmitter", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 37261, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "lastResponseTimestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 37263, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "challengeStepCompleted", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 37265, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "intermediateReputationHash", + "offset": 0, + "slot": "3", + "type": "t_bytes32" + }, + { + "astId": 37267, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "intermediateReputationNLeaves", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 37269, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "lowerBound", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 37271, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "upperBound", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 37273, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "targetHashDuringSearch", + "offset": 0, + "slot": "7", + "type": "t_bytes32" + }, + { + "astId": 37275, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "hash1", + "offset": 0, + "slot": "8", + "type": "t_bytes32" + }, + { + "astId": 37277, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "hash2", + "offset": 0, + "slot": "9", + "type": "t_bytes32" + } + ], + "numberOfBytes": "320" + }, + "t_struct(ReputationLogEntry)37248_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 37237, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 37239, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 37241, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 37243, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 37245, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 37247, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Submission)37257_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.Submission", + "members": [ + { + "astId": 37250, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "proposedNewRootHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37252, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "nLeaves", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 37254, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "jrh", + "offset": 0, + "slot": "2", + "type": "t_bytes32" + }, + { + "astId": 37256, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", + "label": "jrhNLeaves", + "offset": 0, + "slot": "3", + "type": "t_uint256" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon.json b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon.json new file mode 100644 index 0000000000..94363e2332 --- /dev/null +++ b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon.json @@ -0,0 +1,468 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 39731, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 39733, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "3", + "type": "t_address_payable" + }, + { + "astId": 39735, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 39737, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "clnyTokenAddress", + "offset": 0, + "slot": "5", + "type": "t_address" + }, + { + "astId": 39741, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "reputationUpdateLog", + "offset": 0, + "slot": "6", + "type": "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage" + }, + { + "astId": 39750, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "submittedHashes", + "offset": 0, + "slot": "7", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))" + }, + { + "astId": 39755, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "reputationHashSubmissions", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_address,t_struct(Submission)37257_storage)" + }, + { + "astId": 39757, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "reputationMiningWindowOpenTimestamp", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 39763, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "disputeRounds", + "offset": 0, + "slot": "10", + "type": "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)" + }, + { + "astId": 39767, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "nHashesCompletedChallengeRound", + "offset": 0, + "slot": "11", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 39770, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "nUniqueSubmittedHashes", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 39773, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "nInvalidatedHashes", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 39779, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "submittedEntries", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 39798, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "firstIncompleteRound", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 39802, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "respondedToChallenge", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 39804, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "stakeLost", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 39806, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "rewardsPaidOut", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 39808, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "cachedDisputeRewardSize", + "offset": 0, + "slot": "19", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_address)dyn_storage": { + "base": "t_address", + "encoding": "dynamic_array", + "label": "address[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage": { + "base": "t_struct(DisputedEntry)37278_storage", + "encoding": "dynamic_array", + "label": "struct ReputationMiningCycleDataTypes.DisputedEntry[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage": { + "base": "t_struct(ReputationLogEntry)37248_storage", + "encoding": "dynamic_array", + "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_struct(Submission)37257_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ReputationMiningCycleDataTypes.Submission)", + "numberOfBytes": "32", + "value": "t_struct(Submission)37257_storage" + }, + "t_mapping(t_bytes32,t_array(t_address)dyn_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => address[])", + "numberOfBytes": "32", + "value": "t_array(t_address)dyn_storage" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => mapping(bytes32 => address[])))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))" + }, + "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ReputationMiningCycleDataTypes.DisputedEntry[])", + "numberOfBytes": "32", + "value": "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(bytes32 => address[]))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes32,t_array(t_address)dyn_storage)" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(DisputedEntry)37278_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.DisputedEntry", + "members": [ + { + "astId": 37259, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "firstSubmitter", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 37261, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "lastResponseTimestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 37263, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "challengeStepCompleted", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 37265, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "intermediateReputationHash", + "offset": 0, + "slot": "3", + "type": "t_bytes32" + }, + { + "astId": 37267, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "intermediateReputationNLeaves", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 37269, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "lowerBound", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 37271, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "upperBound", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 37273, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "targetHashDuringSearch", + "offset": 0, + "slot": "7", + "type": "t_bytes32" + }, + { + "astId": 37275, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "hash1", + "offset": 0, + "slot": "8", + "type": "t_bytes32" + }, + { + "astId": 37277, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "hash2", + "offset": 0, + "slot": "9", + "type": "t_bytes32" + } + ], + "numberOfBytes": "320" + }, + "t_struct(ReputationLogEntry)37248_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 37237, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 37239, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 37241, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 37243, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 37245, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 37247, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Submission)37257_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.Submission", + "members": [ + { + "astId": 37250, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "proposedNewRootHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37252, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "nLeaves", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 37254, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "jrh", + "offset": 0, + "slot": "2", + "type": "t_bytes32" + }, + { + "astId": 37256, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", + "label": "jrhNLeaves", + "offset": 0, + "slot": "3", + "type": "t_uint256" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond.json b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond.json new file mode 100644 index 0000000000..bc3bc9e143 --- /dev/null +++ b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond.json @@ -0,0 +1,468 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 39731, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 39733, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "3", + "type": "t_address_payable" + }, + { + "astId": 39735, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 39737, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "clnyTokenAddress", + "offset": 0, + "slot": "5", + "type": "t_address" + }, + { + "astId": 39741, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "reputationUpdateLog", + "offset": 0, + "slot": "6", + "type": "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage" + }, + { + "astId": 39750, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "submittedHashes", + "offset": 0, + "slot": "7", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))" + }, + { + "astId": 39755, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "reputationHashSubmissions", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_address,t_struct(Submission)37257_storage)" + }, + { + "astId": 39757, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "reputationMiningWindowOpenTimestamp", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 39763, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "disputeRounds", + "offset": 0, + "slot": "10", + "type": "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)" + }, + { + "astId": 39767, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "nHashesCompletedChallengeRound", + "offset": 0, + "slot": "11", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 39770, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "nUniqueSubmittedHashes", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 39773, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "nInvalidatedHashes", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 39779, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "submittedEntries", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 39798, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "firstIncompleteRound", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 39802, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "respondedToChallenge", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 39804, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "stakeLost", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 39806, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "rewardsPaidOut", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 39808, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "cachedDisputeRewardSize", + "offset": 0, + "slot": "19", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_address)dyn_storage": { + "base": "t_address", + "encoding": "dynamic_array", + "label": "address[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage": { + "base": "t_struct(DisputedEntry)37278_storage", + "encoding": "dynamic_array", + "label": "struct ReputationMiningCycleDataTypes.DisputedEntry[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage": { + "base": "t_struct(ReputationLogEntry)37248_storage", + "encoding": "dynamic_array", + "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_struct(Submission)37257_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ReputationMiningCycleDataTypes.Submission)", + "numberOfBytes": "32", + "value": "t_struct(Submission)37257_storage" + }, + "t_mapping(t_bytes32,t_array(t_address)dyn_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => address[])", + "numberOfBytes": "32", + "value": "t_array(t_address)dyn_storage" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => mapping(bytes32 => address[])))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))" + }, + "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ReputationMiningCycleDataTypes.DisputedEntry[])", + "numberOfBytes": "32", + "value": "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(bytes32 => address[]))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes32,t_array(t_address)dyn_storage)" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(DisputedEntry)37278_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.DisputedEntry", + "members": [ + { + "astId": 37259, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "firstSubmitter", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 37261, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "lastResponseTimestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 37263, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "challengeStepCompleted", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 37265, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "intermediateReputationHash", + "offset": 0, + "slot": "3", + "type": "t_bytes32" + }, + { + "astId": 37267, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "intermediateReputationNLeaves", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 37269, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "lowerBound", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 37271, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "upperBound", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 37273, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "targetHashDuringSearch", + "offset": 0, + "slot": "7", + "type": "t_bytes32" + }, + { + "astId": 37275, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "hash1", + "offset": 0, + "slot": "8", + "type": "t_bytes32" + }, + { + "astId": 37277, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "hash2", + "offset": 0, + "slot": "9", + "type": "t_bytes32" + } + ], + "numberOfBytes": "320" + }, + "t_struct(ReputationLogEntry)37248_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 37237, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 37239, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 37241, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 37243, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 37245, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 37247, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Submission)37257_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.Submission", + "members": [ + { + "astId": 37250, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "proposedNewRootHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37252, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "nLeaves", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 37254, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "jrh", + "offset": 0, + "slot": "2", + "type": "t_bytes32" + }, + { + "astId": 37256, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", + "label": "jrhNLeaves", + "offset": 0, + "slot": "3", + "type": "t_uint256" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage.json b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage.json new file mode 100644 index 0000000000..0f12c14fd5 --- /dev/null +++ b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage.json @@ -0,0 +1,468 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 39731, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 39733, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "3", + "type": "t_address_payable" + }, + { + "astId": 39735, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 39737, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "clnyTokenAddress", + "offset": 0, + "slot": "5", + "type": "t_address" + }, + { + "astId": 39741, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "reputationUpdateLog", + "offset": 0, + "slot": "6", + "type": "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage" + }, + { + "astId": 39750, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "submittedHashes", + "offset": 0, + "slot": "7", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))" + }, + { + "astId": 39755, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "reputationHashSubmissions", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_address,t_struct(Submission)37257_storage)" + }, + { + "astId": 39757, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "reputationMiningWindowOpenTimestamp", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 39763, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "disputeRounds", + "offset": 0, + "slot": "10", + "type": "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)" + }, + { + "astId": 39767, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "nHashesCompletedChallengeRound", + "offset": 0, + "slot": "11", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 39770, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "nUniqueSubmittedHashes", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 39773, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "nInvalidatedHashes", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 39779, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "submittedEntries", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 39798, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "firstIncompleteRound", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 39802, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "respondedToChallenge", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 39804, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "stakeLost", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 39806, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "rewardsPaidOut", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 39808, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "cachedDisputeRewardSize", + "offset": 0, + "slot": "19", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_address)dyn_storage": { + "base": "t_address", + "encoding": "dynamic_array", + "label": "address[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage": { + "base": "t_struct(DisputedEntry)37278_storage", + "encoding": "dynamic_array", + "label": "struct ReputationMiningCycleDataTypes.DisputedEntry[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage": { + "base": "t_struct(ReputationLogEntry)37248_storage", + "encoding": "dynamic_array", + "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_struct(Submission)37257_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct ReputationMiningCycleDataTypes.Submission)", + "numberOfBytes": "32", + "value": "t_struct(Submission)37257_storage" + }, + "t_mapping(t_bytes32,t_array(t_address)dyn_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => address[])", + "numberOfBytes": "32", + "value": "t_array(t_address)dyn_storage" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => mapping(uint256 => mapping(bytes32 => address[])))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))" + }, + "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ReputationMiningCycleDataTypes.DisputedEntry[])", + "numberOfBytes": "32", + "value": "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(bytes32 => address[]))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes32,t_array(t_address)dyn_storage)" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(DisputedEntry)37278_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.DisputedEntry", + "members": [ + { + "astId": 37259, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "firstSubmitter", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 37261, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "lastResponseTimestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 37263, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "challengeStepCompleted", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 37265, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "intermediateReputationHash", + "offset": 0, + "slot": "3", + "type": "t_bytes32" + }, + { + "astId": 37267, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "intermediateReputationNLeaves", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 37269, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "lowerBound", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 37271, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "upperBound", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 37273, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "targetHashDuringSearch", + "offset": 0, + "slot": "7", + "type": "t_bytes32" + }, + { + "astId": 37275, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "hash1", + "offset": 0, + "slot": "8", + "type": "t_bytes32" + }, + { + "astId": 37277, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "hash2", + "offset": 0, + "slot": "9", + "type": "t_bytes32" + } + ], + "numberOfBytes": "320" + }, + "t_struct(ReputationLogEntry)37248_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry", + "members": [ + { + "astId": 37237, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address" + }, + { + "astId": 37239, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "amount", + "offset": 0, + "slot": "1", + "type": "t_int256" + }, + { + "astId": 37241, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "skillId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 37243, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 37245, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "nUpdates", + "offset": 0, + "slot": "4", + "type": "t_uint128" + }, + { + "astId": 37247, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "nPreviousUpdates", + "offset": 16, + "slot": "4", + "type": "t_uint128" + } + ], + "numberOfBytes": "160" + }, + "t_struct(Submission)37257_storage": { + "encoding": "inplace", + "label": "struct ReputationMiningCycleDataTypes.Submission", + "members": [ + { + "astId": 37250, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "proposedNewRootHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 37252, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "nLeaves", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 37254, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "jrh", + "offset": 0, + "slot": "2", + "type": "t_bytes32" + }, + { + "astId": 37256, + "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", + "label": "jrhNLeaves", + "offset": 0, + "slot": "3", + "type": "t_uint256" + } + ], + "numberOfBytes": "128" + }, + "t_uint128": { + "encoding": "inplace", + "label": "uint128", + "numberOfBytes": "16" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/BridgeMock.sol:BridgeMock.json b/.storage-layouts/contracts/testHelpers/BridgeMock.sol:BridgeMock.json new file mode 100644 index 0000000000..1f63455847 --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/BridgeMock.sol:BridgeMock.json @@ -0,0 +1,32 @@ +{ + "storage": [ + { + "astId": 44865, + "contract": "contracts/testHelpers/BridgeMock.sol:BridgeMock", + "label": "bridgeEnabled", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 44867, + "contract": "contracts/testHelpers/BridgeMock.sol:BridgeMock", + "label": "messageSender", + "offset": 1, + "slot": "0", + "type": "t_address" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/ERC721Mock.sol:ERC721Mock.json b/.storage-layouts/contracts/testHelpers/ERC721Mock.sol:ERC721Mock.json new file mode 100644 index 0000000000..82fe34d4b5 --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/ERC721Mock.sol:ERC721Mock.json @@ -0,0 +1,73 @@ +{ + "storage": [ + { + "astId": 45151, + "contract": "contracts/testHelpers/ERC721Mock.sol:ERC721Mock", + "label": "_balances", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 45155, + "contract": "contracts/testHelpers/ERC721Mock.sol:ERC721Mock", + "label": "_owners", + "offset": 0, + "slot": "1", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 45161, + "contract": "contracts/testHelpers/ERC721Mock.sol:ERC721Mock", + "label": "_operatorApprovals", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_address,t_mapping(t_address,t_bool))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_address,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_bool)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json b/.storage-layouts/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json new file mode 100644 index 0000000000..91be4a150d --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json @@ -0,0 +1,1051 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8102, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 8104, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "token", + "offset": 0, + "slot": "7", + "type": "t_address" + }, + { + "astId": 8106, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "rewardInverse", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 8108, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "DEPRECATED_taskCount", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 8110, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "fundingPotCount", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 8112, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "domainCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 8119, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "DEPRECATED_reviewers", + "offset": 0, + "slot": "12", + "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" + }, + { + "astId": 8123, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "DEPRECATED_roleAssignmentSigs", + "offset": 0, + "slot": "13", + "type": "t_mapping(t_bytes4,t_bool)" + }, + { + "astId": 8128, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "DEPRECATED_tasks", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" + }, + { + "astId": 8133, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "fundingPots", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" + }, + { + "astId": 8138, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "rewardPayoutCycles", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" + }, + { + "astId": 8142, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "pendingRewardPayments", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8146, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "nonRewardPotsTotal", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8151, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "DEPRECATED_taskWorkRatings", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" + }, + { + "astId": 8156, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "domains", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" + }, + { + "astId": 8160, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "DEPRECATED_taskChangeNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 8162, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "DEPRECATED_paymentCount", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 8167, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "DEPRECATED_payments", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" + }, + { + "astId": 8169, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "expenditureCount", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 8174, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "expenditures", + "offset": 0, + "slot": "25", + "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" + }, + { + "astId": 8181, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "expenditureSlots", + "offset": 0, + "slot": "26", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" + }, + { + "astId": 8189, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "expenditureSlotPayouts", + "offset": 0, + "slot": "27", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 8197, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "approvals", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8205, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "obligations", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8207, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "30", + "type": "t_address" + }, + { + "astId": 8213, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "tokenLocks", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 8219, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "tokenApprovals", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 8223, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "tokenApprovalTotals", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8225, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "defaultGlobalClaimDelay", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 8232, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "metatransactionNonces", + "offset": 0, + "slot": "35", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8234, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "rootLocalSkill", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 8238, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "DEPRECATED_localSkills", + "offset": 0, + "slot": "37", + "type": "t_mapping(t_uint256,t_bool)" + }, + { + "astId": 8243, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_enum(TaskRole)3600)2_storage": { + "base": "t_enum(TaskRole)3600", + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole[2]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_enum(ExpenditureStatus)3409": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.ExpenditureStatus", + "numberOfBytes": "1" + }, + "t_enum(FundingPotAssociatedType)3424": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.FundingPotAssociatedType", + "numberOfBytes": "1" + }, + "t_enum(TaskRatings)3596": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRatings", + "numberOfBytes": "1" + }, + "t_enum(TaskRole)3600": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole", + "numberOfBytes": "1" + }, + "t_enum(TaskStatus)3604": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskStatus", + "numberOfBytes": "1" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", + "numberOfBytes": "32", + "value": "t_array(t_enum(TaskRole)3600)2_storage" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" + }, + "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", + "numberOfBytes": "32", + "value": "t_struct(Domain)3447_storage" + }, + "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", + "numberOfBytes": "32", + "value": "t_struct(Expenditure)3394_storage" + }, + "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", + "numberOfBytes": "32", + "value": "t_struct(ExpenditureSlot)3404_storage" + }, + "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", + "numberOfBytes": "32", + "value": "t_struct(FundingPot)3440_storage" + }, + "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": "t_struct(LocalSkill)3452_storage" + }, + "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", + "numberOfBytes": "32", + "value": "t_struct(Payment)3663_storage" + }, + "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", + "numberOfBytes": "32", + "value": "t_struct(RatingSecrets)3651_storage" + }, + "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", + "numberOfBytes": "32", + "value": "t_struct(RewardPayoutCycle)3380_storage" + }, + "t_mapping(t_uint256,t_struct(Task)3634_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Task)", + "numberOfBytes": "32", + "value": "t_struct(Task)3634_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint8,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint8,t_struct(Role)3642_storage)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => struct ColonyDataTypes.Role)", + "numberOfBytes": "32", + "value": "t_struct(Role)3642_storage" + }, + "t_struct(Domain)3447_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Domain", + "members": [ + { + "astId": 3442, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "skillId", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3444, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3446, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": "t_bool" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Expenditure)3394_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Expenditure", + "members": [ + { + "astId": 3383, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "status", + "offset": 0, + "slot": "0", + "type": "t_enum(ExpenditureStatus)3409" + }, + { + "astId": 3385, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "owner", + "offset": 1, + "slot": "0", + "type": "t_address" + }, + { + "astId": 3387, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3389, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3391, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "finalizedTimestamp", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3393, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "globalClaimDelay", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ExpenditureSlot)3404_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.ExpenditureSlot", + "members": [ + { + "astId": 3396, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3398, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "claimDelay", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3400, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "payoutModifier", + "offset": 0, + "slot": "2", + "type": "t_int256" + }, + { + "astId": 3403, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(FundingPot)3440_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.FundingPot", + "members": [ + { + "astId": 3428, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "balance", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3431, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "associatedType", + "offset": 0, + "slot": "1", + "type": "t_enum(FundingPotAssociatedType)3424" + }, + { + "astId": 3433, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "associatedTypeId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3437, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "payouts", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3439, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "payoutsWeCannotMake", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(LocalSkill)3452_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "astId": 3449, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "exists", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3451, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": "t_bool" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Payment)3663_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Payment", + "members": [ + { + "astId": 3653, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3655, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "finalized", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3657, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3659, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3662, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RatingSecrets)3651_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RatingSecrets", + "members": [ + { + "astId": 3644, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "count", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3646, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3650, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "secret", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_uint8,t_bytes32)" + } + ], + "numberOfBytes": "96" + }, + "t_struct(RewardPayoutCycle)3380_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RewardPayoutCycle", + "members": [ + { + "astId": 3365, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "reputationState", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3367, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "colonyWideReputation", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3369, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "totalTokens", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3371, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "amount", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3373, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "tokenAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 3375, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "blockTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3377, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "amountRemaining", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3379, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "finalized", + "offset": 0, + "slot": "7", + "type": "t_bool" + } + ], + "numberOfBytes": "256" + }, + "t_struct(Role)3642_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Role", + "members": [ + { + "astId": 3636, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3638, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "rateFail", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3641, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "rating", + "offset": 21, + "slot": "0", + "type": "t_enum(TaskRatings)3596" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Task)3634_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Task", + "members": [ + { + "astId": 3606, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "specificationHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3608, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "deliverableHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 3611, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "status", + "offset": 0, + "slot": "2", + "type": "t_enum(TaskStatus)3604" + }, + { + "astId": 3613, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "dueDate", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3615, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "fundingPotId", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 3617, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "completionTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3619, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "domainId", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3622, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "skills", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 3627, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "roles", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" + }, + { + "astId": 3633, + "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", + "label": "payouts", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" + } + ], + "numberOfBytes": "320" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "encoding": "inplace", + "label": "uint8", + "numberOfBytes": "1" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/GasGuzzler.sol:GasGuzzler.json b/.storage-layouts/contracts/testHelpers/GasGuzzler.sol:GasGuzzler.json new file mode 100644 index 0000000000..0a3ac85ff4 --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/GasGuzzler.sol:GasGuzzler.json @@ -0,0 +1,350 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20666, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 20694, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder00", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 20696, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder01", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 20698, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder02", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 20700, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder03", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 20702, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder04", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 20704, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder05", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 20706, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder06", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 20708, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder07", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 20710, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder08", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 20712, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder09", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 20714, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder10", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 20716, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder11", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 20718, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder12", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 20720, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder13", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 20722, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder14", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 20724, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder15", + "offset": 0, + "slot": "20", + "type": "t_uint256" + }, + { + "astId": 20726, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder16", + "offset": 0, + "slot": "21", + "type": "t_uint256" + }, + { + "astId": 20728, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder17", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 20730, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder18", + "offset": 0, + "slot": "23", + "type": "t_uint256" + }, + { + "astId": 20732, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder19", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 20734, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder20", + "offset": 0, + "slot": "25", + "type": "t_uint256" + }, + { + "astId": 20736, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder21", + "offset": 0, + "slot": "26", + "type": "t_uint256" + }, + { + "astId": 20738, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder22", + "offset": 0, + "slot": "27", + "type": "t_uint256" + }, + { + "astId": 20740, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder23", + "offset": 0, + "slot": "28", + "type": "t_uint256" + }, + { + "astId": 20742, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder24", + "offset": 0, + "slot": "29", + "type": "t_uint256" + }, + { + "astId": 20744, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder25", + "offset": 0, + "slot": "30", + "type": "t_uint256" + }, + { + "astId": 20746, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder26", + "offset": 0, + "slot": "31", + "type": "t_uint256" + }, + { + "astId": 20748, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder27", + "offset": 0, + "slot": "32", + "type": "t_uint256" + }, + { + "astId": 20750, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder28", + "offset": 0, + "slot": "33", + "type": "t_uint256" + }, + { + "astId": 20752, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder29", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 20754, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder30", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 20756, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "placeholder31", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 39845, + "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", + "label": "storageVar", + "offset": 0, + "slot": "37", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json b/.storage-layouts/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json new file mode 100644 index 0000000000..42a78ab91e --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json @@ -0,0 +1,1051 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 17759, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 17761, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "recoveryMode", + "offset": 20, + "slot": "2", + "type": "t_bool" + }, + { + "astId": 17763, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "recoveryRolesCount", + "offset": 21, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 17765, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "recoveryApprovalCount", + "offset": 0, + "slot": "3", + "type": "t_uint64" + }, + { + "astId": 17767, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "recoveryEditedTimestamp", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 17771, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "recoveryApprovalTimestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8102, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "colonyNetworkAddress", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 8104, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "token", + "offset": 0, + "slot": "7", + "type": "t_address" + }, + { + "astId": 8106, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "rewardInverse", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 8108, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "DEPRECATED_taskCount", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 8110, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "fundingPotCount", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 8112, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "domainCount", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 8119, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "DEPRECATED_reviewers", + "offset": 0, + "slot": "12", + "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" + }, + { + "astId": 8123, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "DEPRECATED_roleAssignmentSigs", + "offset": 0, + "slot": "13", + "type": "t_mapping(t_bytes4,t_bool)" + }, + { + "astId": 8128, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "DEPRECATED_tasks", + "offset": 0, + "slot": "14", + "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" + }, + { + "astId": 8133, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "fundingPots", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" + }, + { + "astId": 8138, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "rewardPayoutCycles", + "offset": 0, + "slot": "16", + "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" + }, + { + "astId": 8142, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "pendingRewardPayments", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8146, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "nonRewardPotsTotal", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8151, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "DEPRECATED_taskWorkRatings", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" + }, + { + "astId": 8156, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "domains", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" + }, + { + "astId": 8160, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "DEPRECATED_taskChangeNonces", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 8162, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "DEPRECATED_paymentCount", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 8167, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "DEPRECATED_payments", + "offset": 0, + "slot": "23", + "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" + }, + { + "astId": 8169, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "expenditureCount", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 8174, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "expenditures", + "offset": 0, + "slot": "25", + "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" + }, + { + "astId": 8181, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "expenditureSlots", + "offset": 0, + "slot": "26", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" + }, + { + "astId": 8189, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "expenditureSlotPayouts", + "offset": 0, + "slot": "27", + "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 8197, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "approvals", + "offset": 0, + "slot": "28", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8205, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "obligations", + "offset": 0, + "slot": "29", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 8207, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "tokenLockingAddress", + "offset": 0, + "slot": "30", + "type": "t_address" + }, + { + "astId": 8213, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "tokenLocks", + "offset": 0, + "slot": "31", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" + }, + { + "astId": 8219, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "tokenApprovals", + "offset": 0, + "slot": "32", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 8223, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "tokenApprovalTotals", + "offset": 0, + "slot": "33", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8225, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "defaultGlobalClaimDelay", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 8232, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "metatransactionNonces", + "offset": 0, + "slot": "35", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 8234, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "rootLocalSkill", + "offset": 0, + "slot": "36", + "type": "t_uint256" + }, + { + "astId": 8238, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "DEPRECATED_localSkills", + "offset": 0, + "slot": "37", + "type": "t_mapping(t_uint256,t_bool)" + }, + { + "astId": 8243, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "localSkills", + "offset": 0, + "slot": "38", + "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "encoding": "inplace", + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_enum(TaskRole)3600)2_storage": { + "base": "t_enum(TaskRole)3600", + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole[2]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "encoding": "inplace", + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_enum(ExpenditureStatus)3409": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.ExpenditureStatus", + "numberOfBytes": "1" + }, + "t_enum(FundingPotAssociatedType)3424": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.FundingPotAssociatedType", + "numberOfBytes": "1" + }, + "t_enum(TaskRatings)3596": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRatings", + "numberOfBytes": "1" + }, + "t_enum(TaskRole)3600": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskRole", + "numberOfBytes": "1" + }, + "t_enum(TaskStatus)3604": { + "encoding": "inplace", + "label": "enum ColonyDataTypes.TaskStatus", + "numberOfBytes": "1" + }, + "t_int256": { + "encoding": "inplace", + "label": "int256", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => bool))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_bool)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", + "numberOfBytes": "32", + "value": "t_array(t_enum(TaskRole)3600)2_storage" + }, + "t_mapping(t_bytes4,t_bool)": { + "encoding": "mapping", + "key": "t_bytes4", + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" + }, + "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", + "numberOfBytes": "32", + "value": "t_struct(Domain)3447_storage" + }, + "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", + "numberOfBytes": "32", + "value": "t_struct(Expenditure)3394_storage" + }, + "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", + "numberOfBytes": "32", + "value": "t_struct(ExpenditureSlot)3404_storage" + }, + "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", + "numberOfBytes": "32", + "value": "t_struct(FundingPot)3440_storage" + }, + "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", + "numberOfBytes": "32", + "value": "t_struct(LocalSkill)3452_storage" + }, + "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", + "numberOfBytes": "32", + "value": "t_struct(Payment)3663_storage" + }, + "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", + "numberOfBytes": "32", + "value": "t_struct(RatingSecrets)3651_storage" + }, + "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", + "numberOfBytes": "32", + "value": "t_struct(RewardPayoutCycle)3380_storage" + }, + "t_mapping(t_uint256,t_struct(Task)3634_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ColonyDataTypes.Task)", + "numberOfBytes": "32", + "value": "t_struct(Task)3634_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint8,t_bytes32)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_uint8,t_struct(Role)3642_storage)": { + "encoding": "mapping", + "key": "t_uint8", + "label": "mapping(uint8 => struct ColonyDataTypes.Role)", + "numberOfBytes": "32", + "value": "t_struct(Role)3642_storage" + }, + "t_struct(Domain)3447_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Domain", + "members": [ + { + "astId": 3442, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "skillId", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3444, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3446, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "deprecated", + "offset": 0, + "slot": "2", + "type": "t_bool" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Expenditure)3394_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Expenditure", + "members": [ + { + "astId": 3383, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "status", + "offset": 0, + "slot": "0", + "type": "t_enum(ExpenditureStatus)3409" + }, + { + "astId": 3385, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "owner", + "offset": 1, + "slot": "0", + "type": "t_address" + }, + { + "astId": 3387, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3389, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3391, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "finalizedTimestamp", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3393, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "globalClaimDelay", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(ExpenditureSlot)3404_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.ExpenditureSlot", + "members": [ + { + "astId": 3396, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3398, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "claimDelay", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3400, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "payoutModifier", + "offset": 0, + "slot": "2", + "type": "t_int256" + }, + { + "astId": 3403, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(FundingPot)3440_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.FundingPot", + "members": [ + { + "astId": 3428, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "balance", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3431, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "associatedType", + "offset": 0, + "slot": "1", + "type": "t_enum(FundingPotAssociatedType)3424" + }, + { + "astId": 3433, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "associatedTypeId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3437, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "payouts", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3439, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "payoutsWeCannotMake", + "offset": 0, + "slot": "4", + "type": "t_uint256" + } + ], + "numberOfBytes": "160" + }, + "t_struct(LocalSkill)3452_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.LocalSkill", + "members": [ + { + "astId": 3449, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "exists", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3451, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "deprecated", + "offset": 1, + "slot": "0", + "type": "t_bool" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Payment)3663_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Payment", + "members": [ + { + "astId": 3653, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "recipient", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3655, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "finalized", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3657, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "fundingPotId", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3659, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3662, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "skills", + "offset": 0, + "slot": "3", + "type": "t_array(t_uint256)dyn_storage" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RatingSecrets)3651_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RatingSecrets", + "members": [ + { + "astId": 3644, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "count", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 3646, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "timestamp", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3650, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "secret", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_uint8,t_bytes32)" + } + ], + "numberOfBytes": "96" + }, + "t_struct(RewardPayoutCycle)3380_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.RewardPayoutCycle", + "members": [ + { + "astId": 3365, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "reputationState", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3367, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "colonyWideReputation", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 3369, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "totalTokens", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 3371, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "amount", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3373, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "tokenAddress", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 3375, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "blockTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3377, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "amountRemaining", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3379, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "finalized", + "offset": 0, + "slot": "7", + "type": "t_bool" + } + ], + "numberOfBytes": "256" + }, + "t_struct(Role)3642_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Role", + "members": [ + { + "astId": 3636, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "user", + "offset": 0, + "slot": "0", + "type": "t_address_payable" + }, + { + "astId": 3638, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "rateFail", + "offset": 20, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 3641, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "rating", + "offset": 21, + "slot": "0", + "type": "t_enum(TaskRatings)3596" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Task)3634_storage": { + "encoding": "inplace", + "label": "struct ColonyDataTypes.Task", + "members": [ + { + "astId": 3606, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "specificationHash", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3608, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "deliverableHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 3611, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "status", + "offset": 0, + "slot": "2", + "type": "t_enum(TaskStatus)3604" + }, + { + "astId": 3613, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "dueDate", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 3615, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "fundingPotId", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 3617, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "completionTimestamp", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 3619, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "domainId", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 3622, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "skills", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)dyn_storage" + }, + { + "astId": 3627, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "roles", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" + }, + { + "astId": 3633, + "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", + "label": "payouts", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" + } + ], + "numberOfBytes": "320" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "encoding": "inplace", + "label": "uint8", + "numberOfBytes": "1" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/ToggleableToken.sol:ToggleableToken.json b/.storage-layouts/contracts/testHelpers/ToggleableToken.sol:ToggleableToken.json new file mode 100644 index 0000000000..21b2968177 --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/ToggleableToken.sol:ToggleableToken.json @@ -0,0 +1,67 @@ +{ + "storage": [ + { + "astId": 45664, + "contract": "contracts/testHelpers/ToggleableToken.sol:ToggleableToken", + "label": "_supply", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 45668, + "contract": "contracts/testHelpers/ToggleableToken.sol:ToggleableToken", + "label": "_balances", + "offset": 0, + "slot": "1", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 45674, + "contract": "contracts/testHelpers/ToggleableToken.sol:ToggleableToken", + "label": "_approvals", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 45677, + "contract": "contracts/testHelpers/ToggleableToken.sol:ToggleableToken", + "label": "locked", + "offset": 0, + "slot": "3", + "type": "t_bool" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned.json b/.storage-layouts/contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned.json new file mode 100644 index 0000000000..740978cf8c --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned.json @@ -0,0 +1,440 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 40226, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "state", + "offset": 21, + "slot": "3", + "type": "t_enum(ExtensionState)40223" + }, + { + "astId": 40229, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "colonyNetwork", + "offset": 0, + "slot": "4", + "type": "t_contract(IColonyNetwork)17371" + }, + { + "astId": 40232, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "tokenLocking", + "offset": 0, + "slot": "5", + "type": "t_contract(ITokenLocking)43685" + }, + { + "astId": 40234, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "token", + "offset": 0, + "slot": "6", + "type": "t_address" + }, + { + "astId": 40236, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "totalStakeFraction", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 40238, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "voterRewardFraction", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 40240, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "userMinStakeFraction", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 40242, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "maxVoteFraction", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 40244, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "stakePeriod", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 40246, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "submitPeriod", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 40248, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "revealPeriod", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 40250, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "escalationPeriod", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 40254, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "metatransactionNonces", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 40586, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "motionCount", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 40591, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "motions", + "offset": 0, + "slot": "17", + "type": "t_mapping(t_uint256,t_struct(Motion)40584_storage)" + }, + { + "astId": 40599, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "stakes", + "offset": 0, + "slot": "18", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" + }, + { + "astId": 40605, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "voteSecrets", + "offset": 0, + "slot": "19", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))" + }, + { + "astId": 40609, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "expenditurePastVotes", + "offset": 0, + "slot": "20", + "type": "t_mapping(t_bytes32,t_uint256)" + }, + { + "astId": 40613, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "expenditureMotionCounts", + "offset": 0, + "slot": "21", + "type": "t_mapping(t_bytes32,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)2_storage": { + "base": "t_uint256", + "encoding": "inplace", + "label": "uint256[2]", + "numberOfBytes": "64" + }, + "t_array(t_uint64)3_storage": { + "base": "t_uint64", + "encoding": "inplace", + "label": "uint64[3]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes_storage": { + "encoding": "bytes", + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_contract(IColonyNetwork)17371": { + "encoding": "inplace", + "label": "contract IColonyNetwork", + "numberOfBytes": "20" + }, + "t_contract(ITokenLocking)43685": { + "encoding": "inplace", + "label": "contract ITokenLocking", + "numberOfBytes": "20" + }, + "t_enum(ExtensionState)40223": { + "encoding": "inplace", + "label": "enum VotingReputationMisaligned.ExtensionState", + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_bytes32)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_uint256)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => bytes32))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_bytes32)" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => mapping(address => mapping(uint256 => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" + }, + "t_mapping(t_uint256,t_struct(Motion)40584_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct VotingReputationMisaligned.Motion)", + "numberOfBytes": "32", + "value": "t_struct(Motion)40584_storage" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_struct(Motion)40584_storage": { + "encoding": "inplace", + "label": "struct VotingReputationMisaligned.Motion", + "members": [ + { + "astId": 40551, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "events", + "offset": 0, + "slot": "0", + "type": "t_array(t_uint64)3_storage" + }, + { + "astId": 40553, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "rootHash", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 40555, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "domainId", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 40557, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "skillId", + "offset": 0, + "slot": "3", + "type": "t_uint256" + }, + { + "astId": 40559, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "skillRep", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 40561, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "repSubmitted", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 40563, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "paidVoterComp", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 40567, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "pastVoterComp", + "offset": 0, + "slot": "7", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 40571, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "stakes", + "offset": 0, + "slot": "9", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 40575, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "votes", + "offset": 0, + "slot": "11", + "type": "t_array(t_uint256)2_storage" + }, + { + "astId": 40577, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "escalated", + "offset": 0, + "slot": "13", + "type": "t_bool" + }, + { + "astId": 40579, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "finalized", + "offset": 1, + "slot": "13", + "type": "t_bool" + }, + { + "astId": 40581, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "altTarget", + "offset": 2, + "slot": "13", + "type": "t_address" + }, + { + "astId": 40583, + "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", + "label": "action", + "offset": 0, + "slot": "14", + "type": "t_bytes_storage" + } + ], + "numberOfBytes": "480" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/WormholeMock.sol:WormholeMock.json b/.storage-layouts/contracts/testHelpers/WormholeMock.sol:WormholeMock.json new file mode 100644 index 0000000000..981a57015b --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/WormholeMock.sol:WormholeMock.json @@ -0,0 +1,53 @@ +{ + "storage": [ + { + "astId": 49161, + "contract": "contracts/testHelpers/WormholeMock.sol:WormholeMock", + "label": "bridgeEnabled", + "offset": 0, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 49164, + "contract": "contracts/testHelpers/WormholeMock.sol:WormholeMock", + "label": "cumulativeSequence", + "offset": 1, + "slot": "0", + "type": "t_uint64" + }, + { + "astId": 49167, + "contract": "contracts/testHelpers/WormholeMock.sol:WormholeMock", + "label": "vmResult", + "offset": 9, + "slot": "0", + "type": "t_bool" + }, + { + "astId": 49170, + "contract": "contracts/testHelpers/WormholeMock.sol:WormholeMock", + "label": "invalidVMReason", + "offset": 0, + "slot": "1", + "type": "t_string_storage" + } + ], + "types": { + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/ZodiacBridgeModuleMock.sol:ZodiacBridgeModuleMock.json b/.storage-layouts/contracts/testHelpers/ZodiacBridgeModuleMock.sol:ZodiacBridgeModuleMock.json new file mode 100644 index 0000000000..bbf57b3555 --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/ZodiacBridgeModuleMock.sol:ZodiacBridgeModuleMock.json @@ -0,0 +1,19 @@ +{ + "storage": [ + { + "astId": 49542, + "contract": "contracts/testHelpers/ZodiacBridgeModuleMock.sol:ZodiacBridgeModuleMock", + "label": "avatar", + "offset": 0, + "slot": "0", + "type": "t_address" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0.json b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0.json new file mode 100644 index 0000000000..b0275f2b79 --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0.json @@ -0,0 +1,342 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20666, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 20694, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder00", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 20696, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder01", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 20698, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder02", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 20700, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder03", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 20702, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder04", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 20704, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder05", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 20706, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder06", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 20708, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder07", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 20710, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder08", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 20712, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder09", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 20714, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder10", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 20716, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder11", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 20718, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder12", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 20720, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder13", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 20722, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder14", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 20724, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder15", + "offset": 0, + "slot": "20", + "type": "t_uint256" + }, + { + "astId": 20726, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder16", + "offset": 0, + "slot": "21", + "type": "t_uint256" + }, + { + "astId": 20728, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder17", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 20730, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder18", + "offset": 0, + "slot": "23", + "type": "t_uint256" + }, + { + "astId": 20732, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder19", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 20734, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder20", + "offset": 0, + "slot": "25", + "type": "t_uint256" + }, + { + "astId": 20736, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder21", + "offset": 0, + "slot": "26", + "type": "t_uint256" + }, + { + "astId": 20738, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder22", + "offset": 0, + "slot": "27", + "type": "t_uint256" + }, + { + "astId": 20740, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder23", + "offset": 0, + "slot": "28", + "type": "t_uint256" + }, + { + "astId": 20742, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder24", + "offset": 0, + "slot": "29", + "type": "t_uint256" + }, + { + "astId": 20744, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder25", + "offset": 0, + "slot": "30", + "type": "t_uint256" + }, + { + "astId": 20746, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder26", + "offset": 0, + "slot": "31", + "type": "t_uint256" + }, + { + "astId": 20748, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder27", + "offset": 0, + "slot": "32", + "type": "t_uint256" + }, + { + "astId": 20750, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder28", + "offset": 0, + "slot": "33", + "type": "t_uint256" + }, + { + "astId": 20752, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder29", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 20754, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder30", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 20756, + "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", + "label": "placeholder31", + "offset": 0, + "slot": "36", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1.json b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1.json new file mode 100644 index 0000000000..91d5c9ce92 --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1.json @@ -0,0 +1,342 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20666, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 20694, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder00", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 20696, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder01", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 20698, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder02", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 20700, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder03", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 20702, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder04", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 20704, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder05", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 20706, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder06", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 20708, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder07", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 20710, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder08", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 20712, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder09", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 20714, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder10", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 20716, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder11", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 20718, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder12", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 20720, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder13", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 20722, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder14", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 20724, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder15", + "offset": 0, + "slot": "20", + "type": "t_uint256" + }, + { + "astId": 20726, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder16", + "offset": 0, + "slot": "21", + "type": "t_uint256" + }, + { + "astId": 20728, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder17", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 20730, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder18", + "offset": 0, + "slot": "23", + "type": "t_uint256" + }, + { + "astId": 20732, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder19", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 20734, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder20", + "offset": 0, + "slot": "25", + "type": "t_uint256" + }, + { + "astId": 20736, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder21", + "offset": 0, + "slot": "26", + "type": "t_uint256" + }, + { + "astId": 20738, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder22", + "offset": 0, + "slot": "27", + "type": "t_uint256" + }, + { + "astId": 20740, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder23", + "offset": 0, + "slot": "28", + "type": "t_uint256" + }, + { + "astId": 20742, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder24", + "offset": 0, + "slot": "29", + "type": "t_uint256" + }, + { + "astId": 20744, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder25", + "offset": 0, + "slot": "30", + "type": "t_uint256" + }, + { + "astId": 20746, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder26", + "offset": 0, + "slot": "31", + "type": "t_uint256" + }, + { + "astId": 20748, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder27", + "offset": 0, + "slot": "32", + "type": "t_uint256" + }, + { + "astId": 20750, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder28", + "offset": 0, + "slot": "33", + "type": "t_uint256" + }, + { + "astId": 20752, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder29", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 20754, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder30", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 20756, + "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", + "label": "placeholder31", + "offset": 0, + "slot": "36", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2.json b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2.json new file mode 100644 index 0000000000..f25932c9fc --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2.json @@ -0,0 +1,342 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20666, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 20694, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder00", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 20696, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder01", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 20698, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder02", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 20700, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder03", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 20702, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder04", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 20704, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder05", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 20706, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder06", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 20708, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder07", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 20710, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder08", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 20712, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder09", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 20714, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder10", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 20716, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder11", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 20718, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder12", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 20720, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder13", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 20722, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder14", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 20724, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder15", + "offset": 0, + "slot": "20", + "type": "t_uint256" + }, + { + "astId": 20726, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder16", + "offset": 0, + "slot": "21", + "type": "t_uint256" + }, + { + "astId": 20728, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder17", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 20730, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder18", + "offset": 0, + "slot": "23", + "type": "t_uint256" + }, + { + "astId": 20732, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder19", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 20734, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder20", + "offset": 0, + "slot": "25", + "type": "t_uint256" + }, + { + "astId": 20736, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder21", + "offset": 0, + "slot": "26", + "type": "t_uint256" + }, + { + "astId": 20738, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder22", + "offset": 0, + "slot": "27", + "type": "t_uint256" + }, + { + "astId": 20740, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder23", + "offset": 0, + "slot": "28", + "type": "t_uint256" + }, + { + "astId": 20742, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder24", + "offset": 0, + "slot": "29", + "type": "t_uint256" + }, + { + "astId": 20744, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder25", + "offset": 0, + "slot": "30", + "type": "t_uint256" + }, + { + "astId": 20746, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder26", + "offset": 0, + "slot": "31", + "type": "t_uint256" + }, + { + "astId": 20748, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder27", + "offset": 0, + "slot": "32", + "type": "t_uint256" + }, + { + "astId": 20750, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder28", + "offset": 0, + "slot": "33", + "type": "t_uint256" + }, + { + "astId": 20752, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder29", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 20754, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder30", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 20756, + "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", + "label": "placeholder31", + "offset": 0, + "slot": "36", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3.json b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3.json new file mode 100644 index 0000000000..86ad7c6a3a --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3.json @@ -0,0 +1,342 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20666, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 20694, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder00", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 20696, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder01", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 20698, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder02", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 20700, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder03", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 20702, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder04", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 20704, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder05", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 20706, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder06", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 20708, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder07", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 20710, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder08", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 20712, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder09", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 20714, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder10", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 20716, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder11", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 20718, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder12", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 20720, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder13", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 20722, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder14", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 20724, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder15", + "offset": 0, + "slot": "20", + "type": "t_uint256" + }, + { + "astId": 20726, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder16", + "offset": 0, + "slot": "21", + "type": "t_uint256" + }, + { + "astId": 20728, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder17", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 20730, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder18", + "offset": 0, + "slot": "23", + "type": "t_uint256" + }, + { + "astId": 20732, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder19", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 20734, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder20", + "offset": 0, + "slot": "25", + "type": "t_uint256" + }, + { + "astId": 20736, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder21", + "offset": 0, + "slot": "26", + "type": "t_uint256" + }, + { + "astId": 20738, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder22", + "offset": 0, + "slot": "27", + "type": "t_uint256" + }, + { + "astId": 20740, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder23", + "offset": 0, + "slot": "28", + "type": "t_uint256" + }, + { + "astId": 20742, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder24", + "offset": 0, + "slot": "29", + "type": "t_uint256" + }, + { + "astId": 20744, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder25", + "offset": 0, + "slot": "30", + "type": "t_uint256" + }, + { + "astId": 20746, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder26", + "offset": 0, + "slot": "31", + "type": "t_uint256" + }, + { + "astId": 20748, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder27", + "offset": 0, + "slot": "32", + "type": "t_uint256" + }, + { + "astId": 20750, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder28", + "offset": 0, + "slot": "33", + "type": "t_uint256" + }, + { + "astId": 20752, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder29", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 20754, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder30", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 20756, + "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", + "label": "placeholder31", + "offset": 0, + "slot": "36", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken.json b/.storage-layouts/contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken.json new file mode 100644 index 0000000000..c94efba809 --- /dev/null +++ b/.storage-layouts/contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken.json @@ -0,0 +1,342 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 20435, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 20438, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "colony", + "offset": 0, + "slot": "3", + "type": "t_contract(IColony)10058" + }, + { + "astId": 20440, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "deprecated", + "offset": 20, + "slot": "3", + "type": "t_bool" + }, + { + "astId": 20666, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "metatransactionNonces", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 20694, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder00", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 20696, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder01", + "offset": 0, + "slot": "6", + "type": "t_uint256" + }, + { + "astId": 20698, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder02", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 20700, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder03", + "offset": 0, + "slot": "8", + "type": "t_uint256" + }, + { + "astId": 20702, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder04", + "offset": 0, + "slot": "9", + "type": "t_uint256" + }, + { + "astId": 20704, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder05", + "offset": 0, + "slot": "10", + "type": "t_uint256" + }, + { + "astId": 20706, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder06", + "offset": 0, + "slot": "11", + "type": "t_uint256" + }, + { + "astId": 20708, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder07", + "offset": 0, + "slot": "12", + "type": "t_uint256" + }, + { + "astId": 20710, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder08", + "offset": 0, + "slot": "13", + "type": "t_uint256" + }, + { + "astId": 20712, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder09", + "offset": 0, + "slot": "14", + "type": "t_uint256" + }, + { + "astId": 20714, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder10", + "offset": 0, + "slot": "15", + "type": "t_uint256" + }, + { + "astId": 20716, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder11", + "offset": 0, + "slot": "16", + "type": "t_uint256" + }, + { + "astId": 20718, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder12", + "offset": 0, + "slot": "17", + "type": "t_uint256" + }, + { + "astId": 20720, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder13", + "offset": 0, + "slot": "18", + "type": "t_uint256" + }, + { + "astId": 20722, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder14", + "offset": 0, + "slot": "19", + "type": "t_uint256" + }, + { + "astId": 20724, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder15", + "offset": 0, + "slot": "20", + "type": "t_uint256" + }, + { + "astId": 20726, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder16", + "offset": 0, + "slot": "21", + "type": "t_uint256" + }, + { + "astId": 20728, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder17", + "offset": 0, + "slot": "22", + "type": "t_uint256" + }, + { + "astId": 20730, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder18", + "offset": 0, + "slot": "23", + "type": "t_uint256" + }, + { + "astId": 20732, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder19", + "offset": 0, + "slot": "24", + "type": "t_uint256" + }, + { + "astId": 20734, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder20", + "offset": 0, + "slot": "25", + "type": "t_uint256" + }, + { + "astId": 20736, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder21", + "offset": 0, + "slot": "26", + "type": "t_uint256" + }, + { + "astId": 20738, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder22", + "offset": 0, + "slot": "27", + "type": "t_uint256" + }, + { + "astId": 20740, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder23", + "offset": 0, + "slot": "28", + "type": "t_uint256" + }, + { + "astId": 20742, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder24", + "offset": 0, + "slot": "29", + "type": "t_uint256" + }, + { + "astId": 20744, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder25", + "offset": 0, + "slot": "30", + "type": "t_uint256" + }, + { + "astId": 20746, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder26", + "offset": 0, + "slot": "31", + "type": "t_uint256" + }, + { + "astId": 20748, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder27", + "offset": 0, + "slot": "32", + "type": "t_uint256" + }, + { + "astId": 20750, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder28", + "offset": 0, + "slot": "33", + "type": "t_uint256" + }, + { + "astId": 20752, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder29", + "offset": 0, + "slot": "34", + "type": "t_uint256" + }, + { + "astId": 20754, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder30", + "offset": 0, + "slot": "35", + "type": "t_uint256" + }, + { + "astId": 20756, + "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", + "label": "placeholder31", + "offset": 0, + "slot": "36", + "type": "t_uint256" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_contract(IColony)10058": { + "encoding": "inplace", + "label": "contract IColony", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/tokenLocking/TokenLocking.sol:TokenLocking.json b/.storage-layouts/contracts/tokenLocking/TokenLocking.sol:TokenLocking.json new file mode 100644 index 0000000000..791136859b --- /dev/null +++ b/.storage-layouts/contracts/tokenLocking/TokenLocking.sol:TokenLocking.json @@ -0,0 +1,197 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 44740, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 44742, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "colonyNetwork", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 44749, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "userLocks", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_mapping(t_address,t_struct(Lock)44726_storage))" + }, + { + "astId": 44753, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "totalLockCount", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 44761, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "approvals", + "offset": 0, + "slot": "6", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 44769, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "obligations", + "offset": 0, + "slot": "7", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 44775, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "totalObligations", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 44781, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "lockers", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_address))" + }, + { + "astId": 44785, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "metatransactionNonces", + "offset": 0, + "slot": "10", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_struct(Lock)44726_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => struct TokenLockingDataTypes.Lock))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_struct(Lock)44726_storage)" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_address))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => address))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_address)" + }, + "t_mapping(t_address,t_struct(Lock)44726_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct TokenLockingDataTypes.Lock)", + "numberOfBytes": "32", + "value": "t_struct(Lock)44726_storage" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_struct(Lock)44726_storage": { + "encoding": "inplace", + "label": "struct TokenLockingDataTypes.Lock", + "members": [ + { + "astId": 44719, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "lockCount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 44721, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "balance", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 44723, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "DEPRECATED_timestamp", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 44725, + "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", + "label": "pendingBalance", + "offset": 0, + "slot": "3", + "type": "t_uint256" + } + ], + "numberOfBytes": "128" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} diff --git a/.storage-layouts/contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage.json b/.storage-layouts/contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage.json new file mode 100644 index 0000000000..aa46f11d34 --- /dev/null +++ b/.storage-layouts/contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage.json @@ -0,0 +1,197 @@ +{ + "storage": [ + { + "astId": 45121, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "authority", + "offset": 0, + "slot": "0", + "type": "t_contract(DSAuthority)45107" + }, + { + "astId": 45123, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "owner", + "offset": 0, + "slot": "1", + "type": "t_address" + }, + { + "astId": 44740, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "resolver", + "offset": 0, + "slot": "2", + "type": "t_address" + }, + { + "astId": 44742, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "colonyNetwork", + "offset": 0, + "slot": "3", + "type": "t_address" + }, + { + "astId": 44749, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "userLocks", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_mapping(t_address,t_struct(Lock)44726_storage))" + }, + { + "astId": 44753, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "totalLockCount", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 44761, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "approvals", + "offset": 0, + "slot": "6", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 44769, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "obligations", + "offset": 0, + "slot": "7", + "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))" + }, + { + "astId": 44775, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "totalObligations", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 44781, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "lockers", + "offset": 0, + "slot": "9", + "type": "t_mapping(t_address,t_mapping(t_uint256,t_address))" + }, + { + "astId": 44785, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "metatransactionNonces", + "offset": 0, + "slot": "10", + "type": "t_mapping(t_address,t_uint256)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_contract(DSAuthority)45107": { + "encoding": "inplace", + "label": "contract DSAuthority", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => mapping(address => uint256)))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + "t_mapping(t_address,t_mapping(t_address,t_struct(Lock)44726_storage))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => struct TokenLockingDataTypes.Lock))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_struct(Lock)44726_storage)" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_mapping(t_uint256,t_address))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(uint256 => address))", + "numberOfBytes": "32", + "value": "t_mapping(t_uint256,t_address)" + }, + "t_mapping(t_address,t_struct(Lock)44726_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => struct TokenLockingDataTypes.Lock)", + "numberOfBytes": "32", + "value": "t_struct(Lock)44726_storage" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_struct(Lock)44726_storage": { + "encoding": "inplace", + "label": "struct TokenLockingDataTypes.Lock", + "members": [ + { + "astId": 44719, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "lockCount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 44721, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "balance", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 44723, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "DEPRECATED_timestamp", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 44725, + "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", + "label": "pendingBalance", + "offset": 0, + "slot": "3", + "type": "t_uint256" + } + ], + "numberOfBytes": "128" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } +} From c8715a2fa6e2a42dbbffb9c282413e2b52f09585 Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Mon, 5 Aug 2024 12:28:26 -0400 Subject: [PATCH 04/15] Restore deprecateSkill as error-only function --- .../colonyNetwork/ColonyNetworkSkills.sol | 5 +++++ contracts/colonyNetwork/IColonyNetwork.sol | 7 +++++++ docs/interfaces/icolonynetwork.md | 19 +++++++++++++++++++ .../colony-network-recovery.js | 1 + 4 files changed, 32 insertions(+) diff --git a/contracts/colonyNetwork/ColonyNetworkSkills.sol b/contracts/colonyNetwork/ColonyNetworkSkills.sol index c166f91d9c..362771fd99 100644 --- a/contracts/colonyNetwork/ColonyNetworkSkills.sol +++ b/contracts/colonyNetwork/ColonyNetworkSkills.sol @@ -38,6 +38,11 @@ contract ColonyNetworkSkills is ColonyNetworkStorage, Multicall, CallWithGuards return skillCount; } + function deprecateSkill(uint256 _skillId, bool _deprecated) public stoppable returns (bool) { + require(false, "colony-network-deprecate-skill-disabled"); + return false; + } + function initialiseRootLocalSkill() public stoppable calledByColony returns (uint256) { skillCount += 1; // If we're not mining chain, then bridge the skill diff --git a/contracts/colonyNetwork/IColonyNetwork.sol b/contracts/colonyNetwork/IColonyNetwork.sol index fb54c536e3..dd4c754399 100644 --- a/contracts/colonyNetwork/IColonyNetwork.sol +++ b/contracts/colonyNetwork/IColonyNetwork.sol @@ -97,6 +97,13 @@ interface IColonyNetwork is ColonyNetworkDataTypes, IRecovery, IBasicMetaTransac /// @return _skill The Skill struct function getSkill(uint256 _skillId) external view returns (Skill memory _skill); + /// @notice DEPRECATED Set deprecation status for a skill + /// @dev Deprecated and will revert if called + /// @param _skillId Id of the skill + /// @param _deprecated Deprecation status + /// @return _changed Whether the deprecated state was changed + function deprecateSkill(uint256 _skillId, bool _deprecated) external returns (bool _changed); + /// @notice Initialise the local skills tree for a colony /// @return _rootLocalSkillId The root local skill function initialiseRootLocalSkill() external returns (uint256 _rootLocalSkillId); diff --git a/docs/interfaces/icolonynetwork.md b/docs/interfaces/icolonynetwork.md index 16fae08a8e..f18d89975a 100644 --- a/docs/interfaces/icolonynetwork.md +++ b/docs/interfaces/icolonynetwork.md @@ -393,6 +393,25 @@ Set the deprecation of an extension in a colony. Can only be called by a Colony. |_deprecated|bool|Whether to deprecate the extension or not +### ▸ `deprecateSkill(uint256 _skillId, bool _deprecated):bool _changed` + +DEPRECATED Set deprecation status for a skill + +*Note: Deprecated and will revert if called* + +**Parameters** + +|Name|Type|Description| +|---|---|---| +|_skillId|uint256|Id of the skill +|_deprecated|bool|Deprecation status + +**Return Parameters** + +|Name|Type|Description| +|---|---|---| +|_changed|bool|Whether the deprecated state was changed + ### ▸ `getBridgedReputationUpdateCount(uint256 _chainId, address _colony):uint256 bridgedReputationCount` Get the (currently bridged) reputation update count of a chain diff --git a/test/contracts-network/colony-network-recovery.js b/test/contracts-network/colony-network-recovery.js index def69f8489..24208347fe 100644 --- a/test/contracts-network/colony-network-recovery.js +++ b/test/contracts-network/colony-network-recovery.js @@ -188,6 +188,7 @@ contract("Colony Network Recovery", (accounts) => { await checkErrorRevert(colonyNetwork.setMiningResolver(ADDRESS_ZERO), "colony-in-recovery-mode"); await checkErrorRevert(colonyNetwork.initialise(ADDRESS_ZERO, 1), "colony-in-recovery-mode"); await checkErrorRevert(colonyNetwork.addSkill(1), "colony-in-recovery-mode"); + await checkErrorRevert(colonyNetwork.deprecateSkill(1, true), "colony-in-recovery-mode"); await checkErrorRevert(colonyNetwork.setFeeInverse(1), "colony-in-recovery-mode"); await checkErrorRevert(colonyNetwork.setPayoutWhitelist(ADDRESS_ZERO, true), "colony-in-recovery-mode"); await checkErrorRevert(colonyNetwork.claimMiningReward(ADDRESS_ZERO), "colony-in-recovery-mode"); From 94c511a1d3511ef1e332f002a01c361bc9988ed9 Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Tue, 13 Aug 2024 12:05:25 -0400 Subject: [PATCH 05/15] Respond to review comments I --- contracts/colonyNetwork/ColonyNetworkSkills.sol | 5 ++--- contracts/colonyNetwork/IColonyNetwork.sol | 3 +-- docs/interfaces/icolonynetwork.md | 7 +------ test/contracts-network/colony.js | 12 +++++++++++- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/contracts/colonyNetwork/ColonyNetworkSkills.sol b/contracts/colonyNetwork/ColonyNetworkSkills.sol index 362771fd99..17c83c4b5f 100644 --- a/contracts/colonyNetwork/ColonyNetworkSkills.sol +++ b/contracts/colonyNetwork/ColonyNetworkSkills.sol @@ -38,9 +38,8 @@ contract ColonyNetworkSkills is ColonyNetworkStorage, Multicall, CallWithGuards return skillCount; } - function deprecateSkill(uint256 _skillId, bool _deprecated) public stoppable returns (bool) { - require(false, "colony-network-deprecate-skill-disabled"); - return false; + function deprecateSkill(uint256 _skillId, bool _deprecated) public stoppable { + revert("colony-network-deprecate-skill-disabled"); } function initialiseRootLocalSkill() public stoppable calledByColony returns (uint256) { diff --git a/contracts/colonyNetwork/IColonyNetwork.sol b/contracts/colonyNetwork/IColonyNetwork.sol index dd4c754399..7f761d474c 100644 --- a/contracts/colonyNetwork/IColonyNetwork.sol +++ b/contracts/colonyNetwork/IColonyNetwork.sol @@ -101,8 +101,7 @@ interface IColonyNetwork is ColonyNetworkDataTypes, IRecovery, IBasicMetaTransac /// @dev Deprecated and will revert if called /// @param _skillId Id of the skill /// @param _deprecated Deprecation status - /// @return _changed Whether the deprecated state was changed - function deprecateSkill(uint256 _skillId, bool _deprecated) external returns (bool _changed); + function deprecateSkill(uint256 _skillId, bool _deprecated) external; /// @notice Initialise the local skills tree for a colony /// @return _rootLocalSkillId The root local skill diff --git a/docs/interfaces/icolonynetwork.md b/docs/interfaces/icolonynetwork.md index f18d89975a..ab9d983b73 100644 --- a/docs/interfaces/icolonynetwork.md +++ b/docs/interfaces/icolonynetwork.md @@ -393,7 +393,7 @@ Set the deprecation of an extension in a colony. Can only be called by a Colony. |_deprecated|bool|Whether to deprecate the extension or not -### ▸ `deprecateSkill(uint256 _skillId, bool _deprecated):bool _changed` +### ▸ `deprecateSkill(uint256 _skillId, bool _deprecated)` DEPRECATED Set deprecation status for a skill @@ -406,11 +406,6 @@ DEPRECATED Set deprecation status for a skill |_skillId|uint256|Id of the skill |_deprecated|bool|Deprecation status -**Return Parameters** - -|Name|Type|Description| -|---|---|---| -|_changed|bool|Whether the deprecated state was changed ### ▸ `getBridgedReputationUpdateCount(uint256 _chainId, address _colony):uint256 bridgedReputationCount` diff --git a/test/contracts-network/colony.js b/test/contracts-network/colony.js index cfc0588eac..b25010f5f9 100755 --- a/test/contracts-network/colony.js +++ b/test/contracts-network/colony.js @@ -21,7 +21,7 @@ const { fundColonyWithTokens, setupColony, } = require("../../helpers/test-data-generator"); -const { deployColonyVersionGLWSS4, deployColonyVersionHMWSS } = require("../../scripts/deployOldUpgradeableVersion"); +const { downgradeColony, deployColonyVersionGLWSS4, deployColonyVersionHMWSS } = require("../../scripts/deployOldUpgradeableVersion"); const { expect } = chai; chai.use(bnChai(web3.utils.BN)); @@ -190,6 +190,16 @@ contract("Colony", (accounts) => { const tx = await colony.deprecateLocalSkill(skillCount, true); await expectEvent(tx, "LocalSkillDeprecated", [accounts[0], skillCount, true]); }); + + it("should not be able to deprecate a skill on the network", async () => { + await deployColonyVersionHMWSS(colonyNetwork); + await downgradeColony(colonyNetwork, colony, "hmwss"); + + const version = await colony.version(); + expect(version).to.eq.BN(14); + + await checkErrorRevert(colony.deprecateLocalSkill(0, true), "colony-network-deprecate-skill-disabled"); + }); }); describe("when adding domains", () => { From 82ba355cb0b7540103e2e25475b81120c45eb573 Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Wed, 14 Aug 2024 10:29:41 -0400 Subject: [PATCH 06/15] Respond to review comments II --- contracts/colony/Colony.sol | 14 ++++++++------ contracts/colonyNetwork/IColonyNetwork.sol | 3 ++- docs/interfaces/icolonynetwork.md | 7 ++++++- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/contracts/colony/Colony.sol b/contracts/colony/Colony.sol index 020bfc0d5a..b711a2196a 100755 --- a/contracts/colony/Colony.sol +++ b/contracts/colony/Colony.sol @@ -240,17 +240,19 @@ contract Colony is BasicMetaTransaction, Multicall, ColonyStorage, PatriciaTreeP function deprecateLocalSkill(uint256 _localSkillId, bool _deprecated) public stoppable auth { LocalSkill storage localSkill = localSkills[_localSkillId]; + bool changed; + if (localSkill.exists && localSkill.deprecated != _deprecated) { localSkill.deprecated = _deprecated; - - emit LocalSkillDeprecated(msgSender(), _localSkillId, _deprecated); - } - - // Handle local skills created prior to colonyNetwork#1280 - if (DEPRECATED_localSkills[_localSkillId] && _deprecated) { + changed = true; + } else if (DEPRECATED_localSkills[_localSkillId] && _deprecated) { + // Handle local skills created prior to colonyNetwork#1280 localSkills[_localSkillId] = LocalSkill({ exists: true, deprecated: _deprecated }); delete DEPRECATED_localSkills[_localSkillId]; + changed = true; + } + if (changed) { emit LocalSkillDeprecated(msgSender(), _localSkillId, _deprecated); } } diff --git a/contracts/colonyNetwork/IColonyNetwork.sol b/contracts/colonyNetwork/IColonyNetwork.sol index 7f761d474c..dd4c754399 100644 --- a/contracts/colonyNetwork/IColonyNetwork.sol +++ b/contracts/colonyNetwork/IColonyNetwork.sol @@ -101,7 +101,8 @@ interface IColonyNetwork is ColonyNetworkDataTypes, IRecovery, IBasicMetaTransac /// @dev Deprecated and will revert if called /// @param _skillId Id of the skill /// @param _deprecated Deprecation status - function deprecateSkill(uint256 _skillId, bool _deprecated) external; + /// @return _changed Whether the deprecated state was changed + function deprecateSkill(uint256 _skillId, bool _deprecated) external returns (bool _changed); /// @notice Initialise the local skills tree for a colony /// @return _rootLocalSkillId The root local skill diff --git a/docs/interfaces/icolonynetwork.md b/docs/interfaces/icolonynetwork.md index ab9d983b73..f18d89975a 100644 --- a/docs/interfaces/icolonynetwork.md +++ b/docs/interfaces/icolonynetwork.md @@ -393,7 +393,7 @@ Set the deprecation of an extension in a colony. Can only be called by a Colony. |_deprecated|bool|Whether to deprecate the extension or not -### ▸ `deprecateSkill(uint256 _skillId, bool _deprecated)` +### ▸ `deprecateSkill(uint256 _skillId, bool _deprecated):bool _changed` DEPRECATED Set deprecation status for a skill @@ -406,6 +406,11 @@ DEPRECATED Set deprecation status for a skill |_skillId|uint256|Id of the skill |_deprecated|bool|Deprecation status +**Return Parameters** + +|Name|Type|Description| +|---|---|---| +|_changed|bool|Whether the deprecated state was changed ### ▸ `getBridgedReputationUpdateCount(uint256 _chainId, address _colony):uint256 bridgedReputationCount` From 64aae84829b797c5e95bd23c4aa36046c9c3a690 Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Tue, 20 Aug 2024 09:54:42 -0400 Subject: [PATCH 07/15] Respond to review comments III --- contracts/colony/Colony.sol | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/contracts/colony/Colony.sol b/contracts/colony/Colony.sol index b711a2196a..0c7ff32c3a 100755 --- a/contracts/colony/Colony.sol +++ b/contracts/colony/Colony.sol @@ -240,19 +240,16 @@ contract Colony is BasicMetaTransaction, Multicall, ColonyStorage, PatriciaTreeP function deprecateLocalSkill(uint256 _localSkillId, bool _deprecated) public stoppable auth { LocalSkill storage localSkill = localSkills[_localSkillId]; - bool changed; if (localSkill.exists && localSkill.deprecated != _deprecated) { localSkill.deprecated = _deprecated; - changed = true; + + emit LocalSkillDeprecated(msgSender(), _localSkillId, _deprecated); } else if (DEPRECATED_localSkills[_localSkillId] && _deprecated) { // Handle local skills created prior to colonyNetwork#1280 localSkills[_localSkillId] = LocalSkill({ exists: true, deprecated: _deprecated }); delete DEPRECATED_localSkills[_localSkillId]; - changed = true; - } - if (changed) { emit LocalSkillDeprecated(msgSender(), _localSkillId, _deprecated); } } From d2dc2c12ad4c5cf69ffc5688197c35ba5c69c51c Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Thu, 29 Aug 2024 13:53:33 -0500 Subject: [PATCH 08/15] Debug deployOldUpgradeableVersion --- scripts/deployOldUpgradeableVersion.js | 17 ++++++----------- scripts/setupOldUpgradeableVersionHardhat.js | 8 +++----- test/extensions/one-tx-payment.js | 16 ++++++++++++++-- 3 files changed, 23 insertions(+), 18 deletions(-) diff --git a/scripts/deployOldUpgradeableVersion.js b/scripts/deployOldUpgradeableVersion.js index 1bd45cc51b..5d582b5a3b 100644 --- a/scripts/deployOldUpgradeableVersion.js +++ b/scripts/deployOldUpgradeableVersion.js @@ -362,14 +362,8 @@ module.exports.deployOldUpgradeableVersion = async (contractName, interfaceName, await exec(`${cmdBase} && npm run provision:token:contracts`); } else { console.log("Installing the network..."); - let packageManagerCommand; - if (fs.existsSync(`./colonyNetwork-${versionTag}/pnpm-lock.yaml`)) { - packageManagerCommand = "pnpm"; - } else { - packageManagerCommand = "npm"; - } - - await exec(`cd colonyNetwork-${versionTag} && ${packageManagerCommand} install`); + const installCmd = `${fs.existsSync(`./colonyNetwork-${versionTag}/pnpm-lock.yaml`) ? "pnpm" : "npm"} install`; + await exec(`${cmdBase} && ${installCmd}`); } } else { versionUsesTruffle = fs.existsSync(`./colonyNetwork-${versionTag}/truffle.js`); @@ -388,7 +382,7 @@ module.exports.deployOldUpgradeableVersion = async (contractName, interfaceName, }; async function deployViaTruffle(versionTag, cmdBase, interfaceName, implementationNames) { - console.log("Deploying upgradable version..."); + console.log("Deploying upgradable version via truffle..."); await exec(`cp ./scripts/setupOldUpgradeableVersion.js ./colonyNetwork-${versionTag}/scripts/setupOldUpgradeableVersion.js`); const network = hre.__SOLIDITY_COVERAGE_RUNNING ? "coverage" : "development"; @@ -406,13 +400,14 @@ async function deployViaTruffle(versionTag, cmdBase, interfaceName, implementati } async function deployViaHardhat(versionTag, cmdBase, interfaceName, implementationNames) { - console.log("Deploying upgradable version..."); + console.log("Deploying upgradable version via hardhat..."); await exec(`cp ./scripts/setupOldUpgradeableVersionHardhat.js ./colonyNetwork-${versionTag}/scripts/setupOldUpgradeableVersionHardhat.js`); + await exec(`${cmdBase} && npx hardhat compile`); const network = hre.__SOLIDITY_COVERAGE_RUNNING ? "coverage" : "development"; const res = await exec( - `${cmdBase} ` + + `cd colonyNetwork-${versionTag} ` + `&& INTERFACE_NAME=${interfaceName} IMPLEMENTATION_NAMES=${implementationNames.join( ",", )} npx hardhat run ./scripts/setupOldUpgradeableVersionHardhat.js ` + diff --git a/scripts/setupOldUpgradeableVersionHardhat.js b/scripts/setupOldUpgradeableVersionHardhat.js index cff164aa09..77dad519de 100644 --- a/scripts/setupOldUpgradeableVersionHardhat.js +++ b/scripts/setupOldUpgradeableVersionHardhat.js @@ -1,10 +1,9 @@ -// Input: /* globals artifacts */ const Resolver = artifacts.require("./Resolver"); const { setupEtherRouter } = require("../helpers/upgradable-contracts"); -async function main() { +module.exports = async (callback) => { const interfaceName = process.env.INTERFACE_NAME; const implementationNames = process.env.IMPLEMENTATION_NAMES.split(","); const implementations = implementationNames.map((x) => artifacts.require(x)); @@ -24,6 +23,5 @@ async function main() { await setupEtherRouter("colony", interfaceName, deployedImplementations, resolver); console.log(resolver.address); // This returns the address to the caller -} - -main(); + callback(); +}; diff --git a/test/extensions/one-tx-payment.js b/test/extensions/one-tx-payment.js index c7a9d47dc7..7108514753 100644 --- a/test/extensions/one-tx-payment.js +++ b/test/extensions/one-tx-payment.js @@ -36,6 +36,7 @@ const { deployColonyVersionGLWSS4, deployColonyNetworkVersionGLWSS4, deployColonyVersionHMWSS, + deployColonyVersionIMWSS, } = require("../../scripts/deployOldUpgradeableVersion"); contract("One transaction payments", (accounts) => { @@ -575,6 +576,7 @@ contract("One transaction payments", (accounts) => { await deployColonyNetworkVersionGLWSS4(); await deployColonyVersionGLWSS4(colonyNetwork); await deployColonyVersionHMWSS(colonyNetwork); + await deployColonyVersionIMWSS(colonyNetwork); }); beforeEach(async () => { @@ -612,17 +614,27 @@ contract("One transaction payments", (accounts) => { expect(await colony.hasUserRole(oneTxPayment.address, 1, ARBITRATION_ROLE)).to.be.false; }); - it("a colony can still upgrade even if Voting Reputation not installed", async () => { + it("a colony can still upgrade even if OneTxPayment not installed", async () => { await colony.uninstallExtension(ONE_TX_PAYMENT); expect(await colony.version()).to.eq.BN(13); await colony.upgrade(14); expect(await colony.version()).to.eq.BN(14); }); - it("a colony can still upgrade even if Voting Reputation is more up-to-date than we might expect", async () => { + it("a colony can still upgrade even if OneTxPayment is more up-to-date than we might expect", async () => { await colony.uninstallExtension(ONE_TX_PAYMENT); await colony.installExtension(ONE_TX_PAYMENT, 6); await colony.upgrade(14); }); + + it.only("can call getDomain() without an error", async () => { + await colony.uninstallExtension(ONE_TX_PAYMENT); + await colony.installExtension(ONE_TX_PAYMENT, 6); + await colony.upgrade(14); + await colony.upgrade(15); + await colony.upgrade(16); + + await oneTxPayment.makePaymentFundedFromDomain(1, UINT256_MAX, 1, UINT256_MAX, [USER1], [token.address], [10], 1, localSkillId); + }); }); }); From e33b8129f2e9cc416c1e28cb0a918000dd1db256 Mon Sep 17 00:00:00 2001 From: Alex Rea Date: Fri, 30 Aug 2024 09:17:47 +0100 Subject: [PATCH 09/15] Fix calling setupOldUpgradeableVersionHardhat --- scripts/setupOldUpgradeableVersionHardhat.js | 8 +++++--- test/extensions/one-tx-payment.js | 9 ++++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/scripts/setupOldUpgradeableVersionHardhat.js b/scripts/setupOldUpgradeableVersionHardhat.js index 77dad519de..4ed6c183a3 100644 --- a/scripts/setupOldUpgradeableVersionHardhat.js +++ b/scripts/setupOldUpgradeableVersionHardhat.js @@ -3,7 +3,7 @@ const Resolver = artifacts.require("./Resolver"); const { setupEtherRouter } = require("../helpers/upgradable-contracts"); -module.exports = async (callback) => { +async function main() { const interfaceName = process.env.INTERFACE_NAME; const implementationNames = process.env.IMPLEMENTATION_NAMES.split(","); const implementations = implementationNames.map((x) => artifacts.require(x)); @@ -23,5 +23,7 @@ module.exports = async (callback) => { await setupEtherRouter("colony", interfaceName, deployedImplementations, resolver); console.log(resolver.address); // This returns the address to the caller - callback(); -}; + process.exit(0); +} + +main(); diff --git a/test/extensions/one-tx-payment.js b/test/extensions/one-tx-payment.js index 7108514753..965b5a4569 100644 --- a/test/extensions/one-tx-payment.js +++ b/test/extensions/one-tx-payment.js @@ -630,11 +630,18 @@ contract("One transaction payments", (accounts) => { it.only("can call getDomain() without an error", async () => { await colony.uninstallExtension(ONE_TX_PAYMENT); await colony.installExtension(ONE_TX_PAYMENT, 6); + const oneTxPaymentAddress = await colonyNetwork.getExtensionInstallation(ONE_TX_PAYMENT, colony.address); + oneTxPayment = await OneTxPayment.at(oneTxPaymentAddress); + + await colony.setUserRoles(1, UINT256_MAX, oneTxPayment.address, 1, ROLES); + await token.mint(colony.address, INITIAL_FUNDING); + await colony.claimColonyFunds(token.address); + await colony.upgrade(14); await colony.upgrade(15); await colony.upgrade(16); - await oneTxPayment.makePaymentFundedFromDomain(1, UINT256_MAX, 1, UINT256_MAX, [USER1], [token.address], [10], 1, localSkillId); + await oneTxPayment.makePaymentFundedFromDomain(1, UINT256_MAX, 1, UINT256_MAX, [USER1], [token.address], [10], 1, 0); }); }); }); From c79e9a0e7edb0857f5131b1cc0f72cbabc17b856 Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Fri, 30 Aug 2024 10:38:08 -0500 Subject: [PATCH 10/15] Clean up deployOldUpgradeableVersion --- scripts/deployOldUpgradeableVersion.js | 3 +-- test/extensions/one-tx-payment.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/deployOldUpgradeableVersion.js b/scripts/deployOldUpgradeableVersion.js index 5d582b5a3b..a909877d3e 100644 --- a/scripts/deployOldUpgradeableVersion.js +++ b/scripts/deployOldUpgradeableVersion.js @@ -402,12 +402,11 @@ async function deployViaTruffle(versionTag, cmdBase, interfaceName, implementati async function deployViaHardhat(versionTag, cmdBase, interfaceName, implementationNames) { console.log("Deploying upgradable version via hardhat..."); await exec(`cp ./scripts/setupOldUpgradeableVersionHardhat.js ./colonyNetwork-${versionTag}/scripts/setupOldUpgradeableVersionHardhat.js`); - await exec(`${cmdBase} && npx hardhat compile`); const network = hre.__SOLIDITY_COVERAGE_RUNNING ? "coverage" : "development"; const res = await exec( - `cd colonyNetwork-${versionTag} ` + + `${cmdBase} ` + `&& INTERFACE_NAME=${interfaceName} IMPLEMENTATION_NAMES=${implementationNames.join( ",", )} npx hardhat run ./scripts/setupOldUpgradeableVersionHardhat.js ` + diff --git a/test/extensions/one-tx-payment.js b/test/extensions/one-tx-payment.js index 965b5a4569..6a85940cda 100644 --- a/test/extensions/one-tx-payment.js +++ b/test/extensions/one-tx-payment.js @@ -627,7 +627,7 @@ contract("One transaction payments", (accounts) => { await colony.upgrade(14); }); - it.only("can call getDomain() without an error", async () => { + it("can call getDomain() without an error", async () => { await colony.uninstallExtension(ONE_TX_PAYMENT); await colony.installExtension(ONE_TX_PAYMENT, 6); const oneTxPaymentAddress = await colonyNetwork.getExtensionInstallation(ONE_TX_PAYMENT, colony.address); From 1b2b12afc863f7e725c2e3adb6419948cfa2d2dc Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Wed, 4 Sep 2024 16:35:22 -0400 Subject: [PATCH 11/15] Remove coverage network from hardhat upgrade script --- scripts/deployOldUpgradeableVersion.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/deployOldUpgradeableVersion.js b/scripts/deployOldUpgradeableVersion.js index a909877d3e..7181271a29 100644 --- a/scripts/deployOldUpgradeableVersion.js +++ b/scripts/deployOldUpgradeableVersion.js @@ -403,14 +403,13 @@ async function deployViaHardhat(versionTag, cmdBase, interfaceName, implementati console.log("Deploying upgradable version via hardhat..."); await exec(`cp ./scripts/setupOldUpgradeableVersionHardhat.js ./colonyNetwork-${versionTag}/scripts/setupOldUpgradeableVersionHardhat.js`); - const network = hre.__SOLIDITY_COVERAGE_RUNNING ? "coverage" : "development"; + // Hardhat coverage runs on port 8545, so we we can hard-code the network const res = await exec( `${cmdBase} ` + `&& INTERFACE_NAME=${interfaceName} IMPLEMENTATION_NAMES=${implementationNames.join( ",", - )} npx hardhat run ./scripts/setupOldUpgradeableVersionHardhat.js ` + - `--network ${network}`, + )} npx hardhat run ./scripts/setupOldUpgradeableVersionHardhat.js --network development`, { maxBuffer: 1024 * 5000 }, ); From a7162dc9518cbf1d0ba484f809f9bc4b19b6b2a6 Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Wed, 11 Sep 2024 10:09:44 -0400 Subject: [PATCH 12/15] A few more tests --- test/contracts-network/colony-expenditure.js | 3 +- test/contracts-network/colony.js | 51 ++++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/test/contracts-network/colony-expenditure.js b/test/contracts-network/colony-expenditure.js index a9ed4ae5cf..913564b02d 100644 --- a/test/contracts-network/colony-expenditure.js +++ b/test/contracts-network/colony-expenditure.js @@ -364,8 +364,9 @@ contract("Colony Expenditure", (accounts) => { await checkErrorRevert(colony.setExpenditureSkills(expenditureId, [SLOT0], [localSkillId2]), "colony-not-valid-local-skill"); await checkErrorRevert(colony.setExpenditureSkills(expenditureId, [SLOT0], [localSkillId3]), "colony-not-valid-local-skill"); + }); - // A skill that doesn't exist cannot be deprecated + it("should not allow owners to deprecate a skill that doesn't exist", async () => { const fakeLocalSkillId = 10000; await colony.deprecateLocalSkill(fakeLocalSkillId, true); diff --git a/test/contracts-network/colony.js b/test/contracts-network/colony.js index b25010f5f9..ebc1939eb5 100755 --- a/test/contracts-network/colony.js +++ b/test/contracts-network/colony.js @@ -187,6 +187,8 @@ contract("Colony", (accounts) => { await colony.addLocalSkill(); const skillCount = await colonyNetwork.getSkillCount(); + await checkErrorRevert(colony.deprecateLocalSkill(skillCount, true, { from: USER1 }), "ds-auth-unauthorized"); + const tx = await colony.deprecateLocalSkill(skillCount, true); await expectEvent(tx, "LocalSkillDeprecated", [accounts[0], skillCount, true]); }); @@ -200,6 +202,23 @@ contract("Colony", (accounts) => { await checkErrorRevert(colony.deprecateLocalSkill(0, true), "colony-network-deprecate-skill-disabled"); }); + + it("should not emit events when repeatedly deprecating a local skill", async () => { + await colony.addLocalSkill(); + const skillCount = await colonyNetwork.getSkillCount(); + + // First deprecation + let tx = await colony.deprecateLocalSkill(skillCount, true); + await expectEvent(tx, "LocalSkillDeprecated", [accounts[0], skillCount, true]); + + // Re-deprecate (no event) + tx = await colony.deprecateLocalSkill(skillCount, true); + await expectNoEvent(tx, "LocalSkillDeprecated"); + + // Un-deprecate + tx = await colony.deprecateLocalSkill(skillCount, false); + await expectEvent(tx, "LocalSkillDeprecated", [accounts[0], skillCount, false]); + }); }); describe("when adding domains", () => { @@ -247,6 +266,38 @@ contract("Colony", (accounts) => { await checkErrorRevert(colony.makeExpenditure(1, 0, 2), "colony-domain-deprecated"); await checkErrorRevert(colony.moveFundsBetweenPots(1, UINT256_MAX, 1, UINT256_MAX, 0, 1, 2, 100, token.address), "colony-domain-deprecated"); }); + + it("should only allow authorized users to deprecate domains", async () => { + await colony.addDomain(1, UINT256_MAX, 1); + const domainId = await colony.getDomainCount(); + + // Non-authorized user should not be able to deprecate + await checkErrorRevert(colony.deprecateDomain(1, 0, domainId, true, { from: USER1 }), "ds-auth-unauthorized"); + + // Root user should be able to deprecate + await expectEvent(colony.deprecateDomain(1, 0, domainId, true, { from: USER0 }), "DomainDeprecated", [USER0, domainId, true]); + }); + + it("should not re-emit events when repeatedly deprecating a domain", async () => { + await colony.addDomain(1, UINT256_MAX, 1); + const domainId = await colony.getDomainCount(); + + // Deprecate the domain for the first time + const tx1 = await colony.deprecateDomain(1, 0, domainId, true); + await expectEvent(tx1, "DomainDeprecated", [USER0, domainId, true]); + + // Attempt to deprecate the domain again + const tx2 = await colony.deprecateDomain(1, 0, domainId, true); + await expectNoEvent(tx2, "DomainDeprecated"); + + // Undeprecate the domain + const tx3 = await colony.deprecateDomain(1, 0, domainId, false); + await expectEvent(tx3, "DomainDeprecated", [USER0, domainId, false]); + + // Deprecate the domain once more + const tx4 = await colony.deprecateDomain(1, 0, domainId, true); + await expectEvent(tx4, "DomainDeprecated", [USER0, domainId, true]); + }); }); describe("when bootstrapping the colony", () => { From e0f7e36adc55500d4f5cc0c799b1384085bccd20 Mon Sep 17 00:00:00 2001 From: Alex Rea Date: Fri, 13 Sep 2024 18:11:46 +0100 Subject: [PATCH 13/15] Extra explicit for testing new domain struct doesn't break old contracts --- test/extensions/one-tx-payment.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/extensions/one-tx-payment.js b/test/extensions/one-tx-payment.js index 6a85940cda..d4f475028f 100644 --- a/test/extensions/one-tx-payment.js +++ b/test/extensions/one-tx-payment.js @@ -641,6 +641,15 @@ contract("One transaction payments", (accounts) => { await colony.upgrade(15); await colony.upgrade(16); + // Confirm this colony has the new domain structure + const domain = await colony.getDomain(1); + expect(domain.deprecated).to.be.false; + await colony.deprecateDomain(1, UINT256_MAX, 1, true); + const deprecatedDomain = await colony.getDomain(1); + expect(deprecatedDomain.deprecated).to.be.true; + + // Undeprecate + await colony.deprecateDomain(1, UINT256_MAX, 1, false); await oneTxPayment.makePaymentFundedFromDomain(1, UINT256_MAX, 1, UINT256_MAX, [USER1], [token.address], [10], 1, 0); }); }); From 29935d7070ea567b6779aca7f0fe0a4840fab7c7 Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Mon, 16 Sep 2024 11:37:45 -0700 Subject: [PATCH 14/15] Remove .storage-layouts --- ...ForColony.sol:WormholeBridgeForColony.json | 93 -- .../contracts/colony/Colony.sol:Colony.json | 1051 ----------------- ...action.sol:ColonyArbitraryTransaction.json | 1051 ----------------- .../ColonyAuthority.sol:ColonyAuthority.json | 156 --- .../ColonyDomains.sol:ColonyDomains.json | 1051 ----------------- ...lonyExpenditure.sol:ColonyExpenditure.json | 1051 ----------------- .../ColonyFunding.sol:ColonyFunding.json | 1051 ----------------- .../ColonyRewards.sol:ColonyRewards.json | 1051 ----------------- .../colony/ColonyRoles.sol:ColonyRoles.json | 1051 ----------------- .../ColonyStorage.sol:ColonyStorage.json | 1051 ----------------- .../ColonyNetwork.sol:ColonyNetwork.json | 814 ------------- ...tworkAuction.sol:ColonyNetworkAuction.json | 814 ------------- ...ColonyNetworkAuction.sol:DutchAuction.json | 124 -- ...kAuthority.sol:ColonyNetworkAuthority.json | 148 --- ...orkDeployer.sol:ColonyNetworkDeployer.json | 814 ------------- ...ColonyNetworkENS.sol:ColonyNetworkENS.json | 814 ------------- ...xtensions.sol:ColonyNetworkExtensions.json | 814 ------------- ...NetworkMining.sol:ColonyNetworkMining.json | 814 ------------- ...NetworkSkills.sol:ColonyNetworkSkills.json | 814 ------------- ...tworkStorage.sol:ColonyNetworkStorage.json | 814 ------------- .../CommonAuthority.sol:CommonAuthority.json | 148 --- .../CommonStorage.sol:CommonStorage.json | 102 -- ...ContractRecovery.sol:ContractRecovery.json | 102 -- .../common/DomainRoles.sol:DomainRoles.json | 148 --- .../common/EtherRouter.sol:EtherRouter.json | 45 - ...rRouterCreate3.sol:EtherRouterCreate3.json | 45 - .../common/Resolver.sol:Resolver.json | 52 - .../TokenAuthority.sol:TokenAuthority.json | 43 - .../ens/ENSRegistry.sol:ENSRegistry.json | 67 -- .../CoinMachine.sol:CoinMachine.json | 230 ---- .../ColonyExtension.sol:ColonyExtension.json | 66 -- ...ExtensionMeta.sol:ColonyExtensionMeta.json | 342 ------ ...dExpenditure.sol:EvaluatedExpenditure.json | 86 -- .../FundingQueue.sol:FundingQueue.json | 289 ----- .../OneTxPayment.sol:OneTxPayment.json | 86 -- ...otstrapper.sol:ReputationBootstrapper.json | 447 ------- ...agedExpenditure.sol:StagedExpenditure.json | 357 ------ ...akedExpenditure.sol:StakedExpenditure.json | 388 ------ ...reamingPayments.sol:StreamingPayments.json | 449 ------- .../TokenSupplier.sol:TokenSupplier.json | 126 -- .../extensions/Whitelist.sol:Whitelist.json | 130 -- ...VotingReputation.sol:VotingReputation.json | 477 -------- ...ol:VotingReputationMisalignedRecovery.json | 453 ------- ...onStaking.sol:VotingReputationStaking.json | 477 -------- ...onStorage.sol:VotingReputationStorage.json | 477 -------- .../DSAuthMeta.sol:DSAuthMeta.json | 32 - .../DSTokenBaseMeta.sol:DSTokenBaseMeta.json | 54 - .../MetaTxToken.sol:MetaTxToken.json | 117 -- .../PatriciaTree.sol:PatriciaTree.json | 129 -- ...PatriciaTreeBase.sol:PatriciaTreeBase.json | 129 -- ...iciaTreeNoHash.sol:PatriciaTreeNoHash.json | 129 -- ...MiningCycle.sol:ReputationMiningCycle.json | 468 -------- ...sol:ReputationMiningCycleBinarySearch.json | 468 -------- ...ommon.sol:ReputationMiningCycleCommon.json | 468 -------- ...pond.sol:ReputationMiningCycleRespond.json | 468 -------- ...rage.sol:ReputationMiningCycleStorage.json | 468 -------- .../BridgeMock.sol:BridgeMock.json | 32 - .../ERC721Mock.sol:ERC721Mock.json | 73 -- ...ony.sol:FunctionsNotAvailableOnColony.json | 1051 ----------------- .../GasGuzzler.sol:GasGuzzler.json | 350 ------ ...LimitSubdomains.sol:NoLimitSubdomains.json | 1051 ----------------- .../ToggleableToken.sol:ToggleableToken.json | 67 -- ...ligned.sol:VotingReputationMisaligned.json | 440 ------- .../WormholeMock.sol:WormholeMock.json | 53 - ...ModuleMock.sol:ZodiacBridgeModuleMock.json | 19 - .../TestExtension0.sol:TestExtension0.json | 342 ------ .../TestExtension1.sol:TestExtension1.json | 342 ------ .../TestExtension2.sol:TestExtension2.json | 342 ------ .../TestExtension3.sol:TestExtension3.json | 342 ------ .../TestVotingToken.sol:TestVotingToken.json | 342 ------ .../TokenLocking.sol:TokenLocking.json | 197 --- ...ockingStorage.sol:TokenLockingStorage.json | 197 --- 72 files changed, 29243 deletions(-) delete mode 100644 .storage-layouts/contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony.json delete mode 100644 .storage-layouts/contracts/colony/Colony.sol:Colony.json delete mode 100644 .storage-layouts/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json delete mode 100644 .storage-layouts/contracts/colony/ColonyAuthority.sol:ColonyAuthority.json delete mode 100644 .storage-layouts/contracts/colony/ColonyDomains.sol:ColonyDomains.json delete mode 100644 .storage-layouts/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json delete mode 100644 .storage-layouts/contracts/colony/ColonyFunding.sol:ColonyFunding.json delete mode 100644 .storage-layouts/contracts/colony/ColonyRewards.sol:ColonyRewards.json delete mode 100644 .storage-layouts/contracts/colony/ColonyRoles.sol:ColonyRoles.json delete mode 100644 .storage-layouts/contracts/colony/ColonyStorage.sol:ColonyStorage.json delete mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json delete mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json delete mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction.json delete mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority.json delete mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json delete mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json delete mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json delete mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json delete mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json delete mode 100644 .storage-layouts/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json delete mode 100644 .storage-layouts/contracts/common/CommonAuthority.sol:CommonAuthority.json delete mode 100644 .storage-layouts/contracts/common/CommonStorage.sol:CommonStorage.json delete mode 100644 .storage-layouts/contracts/common/ContractRecovery.sol:ContractRecovery.json delete mode 100644 .storage-layouts/contracts/common/DomainRoles.sol:DomainRoles.json delete mode 100644 .storage-layouts/contracts/common/EtherRouter.sol:EtherRouter.json delete mode 100644 .storage-layouts/contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3.json delete mode 100644 .storage-layouts/contracts/common/Resolver.sol:Resolver.json delete mode 100644 .storage-layouts/contracts/common/TokenAuthority.sol:TokenAuthority.json delete mode 100644 .storage-layouts/contracts/ens/ENSRegistry.sol:ENSRegistry.json delete mode 100644 .storage-layouts/contracts/extensions/CoinMachine.sol:CoinMachine.json delete mode 100644 .storage-layouts/contracts/extensions/ColonyExtension.sol:ColonyExtension.json delete mode 100644 .storage-layouts/contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta.json delete mode 100644 .storage-layouts/contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure.json delete mode 100644 .storage-layouts/contracts/extensions/FundingQueue.sol:FundingQueue.json delete mode 100644 .storage-layouts/contracts/extensions/OneTxPayment.sol:OneTxPayment.json delete mode 100644 .storage-layouts/contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper.json delete mode 100644 .storage-layouts/contracts/extensions/StagedExpenditure.sol:StagedExpenditure.json delete mode 100644 .storage-layouts/contracts/extensions/StakedExpenditure.sol:StakedExpenditure.json delete mode 100644 .storage-layouts/contracts/extensions/StreamingPayments.sol:StreamingPayments.json delete mode 100644 .storage-layouts/contracts/extensions/TokenSupplier.sol:TokenSupplier.json delete mode 100644 .storage-layouts/contracts/extensions/Whitelist.sol:Whitelist.json delete mode 100644 .storage-layouts/contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation.json delete mode 100644 .storage-layouts/contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery.json delete mode 100644 .storage-layouts/contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking.json delete mode 100644 .storage-layouts/contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage.json delete mode 100644 .storage-layouts/contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta.json delete mode 100644 .storage-layouts/contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta.json delete mode 100644 .storage-layouts/contracts/metaTxToken/MetaTxToken.sol:MetaTxToken.json delete mode 100644 .storage-layouts/contracts/patriciaTree/PatriciaTree.sol:PatriciaTree.json delete mode 100644 .storage-layouts/contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase.json delete mode 100644 .storage-layouts/contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash.json delete mode 100644 .storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle.json delete mode 100644 .storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch.json delete mode 100644 .storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon.json delete mode 100644 .storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond.json delete mode 100644 .storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage.json delete mode 100644 .storage-layouts/contracts/testHelpers/BridgeMock.sol:BridgeMock.json delete mode 100644 .storage-layouts/contracts/testHelpers/ERC721Mock.sol:ERC721Mock.json delete mode 100644 .storage-layouts/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json delete mode 100644 .storage-layouts/contracts/testHelpers/GasGuzzler.sol:GasGuzzler.json delete mode 100644 .storage-layouts/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json delete mode 100644 .storage-layouts/contracts/testHelpers/ToggleableToken.sol:ToggleableToken.json delete mode 100644 .storage-layouts/contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned.json delete mode 100644 .storage-layouts/contracts/testHelpers/WormholeMock.sol:WormholeMock.json delete mode 100644 .storage-layouts/contracts/testHelpers/ZodiacBridgeModuleMock.sol:ZodiacBridgeModuleMock.json delete mode 100644 .storage-layouts/contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0.json delete mode 100644 .storage-layouts/contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1.json delete mode 100644 .storage-layouts/contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2.json delete mode 100644 .storage-layouts/contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3.json delete mode 100644 .storage-layouts/contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken.json delete mode 100644 .storage-layouts/contracts/tokenLocking/TokenLocking.sol:TokenLocking.json delete mode 100644 .storage-layouts/contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage.json diff --git a/.storage-layouts/contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony.json b/.storage-layouts/contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony.json deleted file mode 100644 index 428288fb4a..0000000000 --- a/.storage-layouts/contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 69, - "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", - "label": "colonyNetwork", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 72, - "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", - "label": "wormhole", - "offset": 0, - "slot": "3", - "type": "t_contract(IWormhole)46268" - }, - { - "astId": 76, - "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", - "label": "colonyBridges", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 80, - "contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony", - "label": "evmChainIdToWormholeChainId", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_uint256,t_uint16)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IWormhole)46268": { - "encoding": "inplace", - "label": "contract IWormhole", - "numberOfBytes": "20" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_uint256,t_uint16)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint16)", - "numberOfBytes": "32", - "value": "t_uint16" - }, - "t_uint16": { - "encoding": "inplace", - "label": "uint16", - "numberOfBytes": "2" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/colony/Colony.sol:Colony.json b/.storage-layouts/contracts/colony/Colony.sol:Colony.json deleted file mode 100644 index 6f2973320d..0000000000 --- a/.storage-layouts/contracts/colony/Colony.sol:Colony.json +++ /dev/null @@ -1,1051 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8102, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 8104, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "token", - "offset": 0, - "slot": "7", - "type": "t_address" - }, - { - "astId": 8106, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "rewardInverse", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 8108, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "DEPRECATED_taskCount", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 8110, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "fundingPotCount", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 8112, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "domainCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 8119, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "DEPRECATED_reviewers", - "offset": 0, - "slot": "12", - "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" - }, - { - "astId": 8123, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "DEPRECATED_roleAssignmentSigs", - "offset": 0, - "slot": "13", - "type": "t_mapping(t_bytes4,t_bool)" - }, - { - "astId": 8128, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "DEPRECATED_tasks", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" - }, - { - "astId": 8133, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "fundingPots", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" - }, - { - "astId": 8138, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "rewardPayoutCycles", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" - }, - { - "astId": 8142, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "pendingRewardPayments", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8146, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "nonRewardPotsTotal", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8151, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "DEPRECATED_taskWorkRatings", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" - }, - { - "astId": 8156, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "domains", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" - }, - { - "astId": 8160, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "DEPRECATED_taskChangeNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 8162, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "DEPRECATED_paymentCount", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 8167, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "DEPRECATED_payments", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" - }, - { - "astId": 8169, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "expenditureCount", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 8174, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "expenditures", - "offset": 0, - "slot": "25", - "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" - }, - { - "astId": 8181, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "expenditureSlots", - "offset": 0, - "slot": "26", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" - }, - { - "astId": 8189, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "expenditureSlotPayouts", - "offset": 0, - "slot": "27", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 8197, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "approvals", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8205, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "obligations", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8207, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "30", - "type": "t_address" - }, - { - "astId": 8213, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "tokenLocks", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 8219, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "tokenApprovals", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 8223, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "tokenApprovalTotals", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8225, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "defaultGlobalClaimDelay", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 8232, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "metatransactionNonces", - "offset": 0, - "slot": "35", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8234, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "rootLocalSkill", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 8238, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "DEPRECATED_localSkills", - "offset": 0, - "slot": "37", - "type": "t_mapping(t_uint256,t_bool)" - }, - { - "astId": 8243, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "localSkills", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_enum(TaskRole)3600)2_storage": { - "base": "t_enum(TaskRole)3600", - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole[2]", - "numberOfBytes": "32" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_enum(ExpenditureStatus)3409": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.ExpenditureStatus", - "numberOfBytes": "1" - }, - "t_enum(FundingPotAssociatedType)3424": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.FundingPotAssociatedType", - "numberOfBytes": "1" - }, - "t_enum(TaskRatings)3596": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRatings", - "numberOfBytes": "1" - }, - "t_enum(TaskRole)3600": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole", - "numberOfBytes": "1" - }, - "t_enum(TaskStatus)3604": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskStatus", - "numberOfBytes": "1" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", - "numberOfBytes": "32", - "value": "t_array(t_enum(TaskRole)3600)2_storage" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" - }, - "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", - "numberOfBytes": "32", - "value": "t_struct(Domain)3447_storage" - }, - "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", - "numberOfBytes": "32", - "value": "t_struct(Expenditure)3394_storage" - }, - "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", - "numberOfBytes": "32", - "value": "t_struct(ExpenditureSlot)3404_storage" - }, - "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", - "numberOfBytes": "32", - "value": "t_struct(FundingPot)3440_storage" - }, - "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", - "numberOfBytes": "32", - "value": "t_struct(LocalSkill)3452_storage" - }, - "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", - "numberOfBytes": "32", - "value": "t_struct(Payment)3663_storage" - }, - "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", - "numberOfBytes": "32", - "value": "t_struct(RatingSecrets)3651_storage" - }, - "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", - "numberOfBytes": "32", - "value": "t_struct(RewardPayoutCycle)3380_storage" - }, - "t_mapping(t_uint256,t_struct(Task)3634_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Task)", - "numberOfBytes": "32", - "value": "t_struct(Task)3634_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint8,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint8,t_struct(Role)3642_storage)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => struct ColonyDataTypes.Role)", - "numberOfBytes": "32", - "value": "t_struct(Role)3642_storage" - }, - "t_struct(Domain)3447_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Domain", - "members": [ - { - "astId": 3442, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "skillId", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3444, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3446, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "deprecated", - "offset": 0, - "slot": "2", - "type": "t_bool" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Expenditure)3394_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Expenditure", - "members": [ - { - "astId": 3383, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "status", - "offset": 0, - "slot": "0", - "type": "t_enum(ExpenditureStatus)3409" - }, - { - "astId": 3385, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "owner", - "offset": 1, - "slot": "0", - "type": "t_address" - }, - { - "astId": 3387, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3389, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3391, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "finalizedTimestamp", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3393, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "globalClaimDelay", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ExpenditureSlot)3404_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.ExpenditureSlot", - "members": [ - { - "astId": 3396, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3398, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "claimDelay", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3400, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "payoutModifier", - "offset": 0, - "slot": "2", - "type": "t_int256" - }, - { - "astId": 3403, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(FundingPot)3440_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.FundingPot", - "members": [ - { - "astId": 3428, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "balance", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3431, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "associatedType", - "offset": 0, - "slot": "1", - "type": "t_enum(FundingPotAssociatedType)3424" - }, - { - "astId": 3433, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "associatedTypeId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3437, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "payouts", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3439, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "payoutsWeCannotMake", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(LocalSkill)3452_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.LocalSkill", - "members": [ - { - "astId": 3449, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "exists", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3451, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "deprecated", - "offset": 1, - "slot": "0", - "type": "t_bool" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Payment)3663_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Payment", - "members": [ - { - "astId": 3653, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3655, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "finalized", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3657, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3659, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3662, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(RatingSecrets)3651_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RatingSecrets", - "members": [ - { - "astId": 3644, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "count", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3646, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3650, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "secret", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_uint8,t_bytes32)" - } - ], - "numberOfBytes": "96" - }, - "t_struct(RewardPayoutCycle)3380_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RewardPayoutCycle", - "members": [ - { - "astId": 3365, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "reputationState", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3367, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "colonyWideReputation", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3369, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "totalTokens", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3371, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "amount", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3373, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "tokenAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 3375, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "blockTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3377, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "amountRemaining", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3379, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "finalized", - "offset": 0, - "slot": "7", - "type": "t_bool" - } - ], - "numberOfBytes": "256" - }, - "t_struct(Role)3642_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Role", - "members": [ - { - "astId": 3636, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3638, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "rateFail", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3641, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "rating", - "offset": 21, - "slot": "0", - "type": "t_enum(TaskRatings)3596" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Task)3634_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Task", - "members": [ - { - "astId": 3606, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "specificationHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3608, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "deliverableHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 3611, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "status", - "offset": 0, - "slot": "2", - "type": "t_enum(TaskStatus)3604" - }, - { - "astId": 3613, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "dueDate", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3615, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "fundingPotId", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 3617, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "completionTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3619, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "domainId", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3622, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "skills", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 3627, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "roles", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" - }, - { - "astId": 3633, - "contract": "contracts/colony/Colony.sol:Colony", - "label": "payouts", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" - } - ], - "numberOfBytes": "320" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - }, - "t_uint8": { - "encoding": "inplace", - "label": "uint8", - "numberOfBytes": "1" - } - } -} diff --git a/.storage-layouts/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json b/.storage-layouts/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json deleted file mode 100644 index 7c0260f62f..0000000000 --- a/.storage-layouts/contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction.json +++ /dev/null @@ -1,1051 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8102, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 8104, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "token", - "offset": 0, - "slot": "7", - "type": "t_address" - }, - { - "astId": 8106, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "rewardInverse", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 8108, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "DEPRECATED_taskCount", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 8110, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "fundingPotCount", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 8112, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "domainCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 8119, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "DEPRECATED_reviewers", - "offset": 0, - "slot": "12", - "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" - }, - { - "astId": 8123, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "DEPRECATED_roleAssignmentSigs", - "offset": 0, - "slot": "13", - "type": "t_mapping(t_bytes4,t_bool)" - }, - { - "astId": 8128, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "DEPRECATED_tasks", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" - }, - { - "astId": 8133, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "fundingPots", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" - }, - { - "astId": 8138, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "rewardPayoutCycles", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" - }, - { - "astId": 8142, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "pendingRewardPayments", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8146, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "nonRewardPotsTotal", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8151, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "DEPRECATED_taskWorkRatings", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" - }, - { - "astId": 8156, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "domains", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" - }, - { - "astId": 8160, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "DEPRECATED_taskChangeNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 8162, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "DEPRECATED_paymentCount", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 8167, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "DEPRECATED_payments", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" - }, - { - "astId": 8169, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "expenditureCount", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 8174, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "expenditures", - "offset": 0, - "slot": "25", - "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" - }, - { - "astId": 8181, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "expenditureSlots", - "offset": 0, - "slot": "26", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" - }, - { - "astId": 8189, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "expenditureSlotPayouts", - "offset": 0, - "slot": "27", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 8197, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "approvals", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8205, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "obligations", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8207, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "30", - "type": "t_address" - }, - { - "astId": 8213, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "tokenLocks", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 8219, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "tokenApprovals", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 8223, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "tokenApprovalTotals", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8225, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "defaultGlobalClaimDelay", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 8232, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "metatransactionNonces", - "offset": 0, - "slot": "35", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8234, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "rootLocalSkill", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 8238, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "DEPRECATED_localSkills", - "offset": 0, - "slot": "37", - "type": "t_mapping(t_uint256,t_bool)" - }, - { - "astId": 8243, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "localSkills", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_enum(TaskRole)3600)2_storage": { - "base": "t_enum(TaskRole)3600", - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole[2]", - "numberOfBytes": "32" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_enum(ExpenditureStatus)3409": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.ExpenditureStatus", - "numberOfBytes": "1" - }, - "t_enum(FundingPotAssociatedType)3424": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.FundingPotAssociatedType", - "numberOfBytes": "1" - }, - "t_enum(TaskRatings)3596": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRatings", - "numberOfBytes": "1" - }, - "t_enum(TaskRole)3600": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole", - "numberOfBytes": "1" - }, - "t_enum(TaskStatus)3604": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskStatus", - "numberOfBytes": "1" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", - "numberOfBytes": "32", - "value": "t_array(t_enum(TaskRole)3600)2_storage" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" - }, - "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", - "numberOfBytes": "32", - "value": "t_struct(Domain)3447_storage" - }, - "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", - "numberOfBytes": "32", - "value": "t_struct(Expenditure)3394_storage" - }, - "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", - "numberOfBytes": "32", - "value": "t_struct(ExpenditureSlot)3404_storage" - }, - "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", - "numberOfBytes": "32", - "value": "t_struct(FundingPot)3440_storage" - }, - "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", - "numberOfBytes": "32", - "value": "t_struct(LocalSkill)3452_storage" - }, - "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", - "numberOfBytes": "32", - "value": "t_struct(Payment)3663_storage" - }, - "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", - "numberOfBytes": "32", - "value": "t_struct(RatingSecrets)3651_storage" - }, - "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", - "numberOfBytes": "32", - "value": "t_struct(RewardPayoutCycle)3380_storage" - }, - "t_mapping(t_uint256,t_struct(Task)3634_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Task)", - "numberOfBytes": "32", - "value": "t_struct(Task)3634_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint8,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint8,t_struct(Role)3642_storage)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => struct ColonyDataTypes.Role)", - "numberOfBytes": "32", - "value": "t_struct(Role)3642_storage" - }, - "t_struct(Domain)3447_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Domain", - "members": [ - { - "astId": 3442, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "skillId", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3444, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3446, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "deprecated", - "offset": 0, - "slot": "2", - "type": "t_bool" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Expenditure)3394_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Expenditure", - "members": [ - { - "astId": 3383, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "status", - "offset": 0, - "slot": "0", - "type": "t_enum(ExpenditureStatus)3409" - }, - { - "astId": 3385, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "owner", - "offset": 1, - "slot": "0", - "type": "t_address" - }, - { - "astId": 3387, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3389, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3391, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "finalizedTimestamp", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3393, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "globalClaimDelay", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ExpenditureSlot)3404_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.ExpenditureSlot", - "members": [ - { - "astId": 3396, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3398, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "claimDelay", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3400, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "payoutModifier", - "offset": 0, - "slot": "2", - "type": "t_int256" - }, - { - "astId": 3403, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(FundingPot)3440_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.FundingPot", - "members": [ - { - "astId": 3428, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "balance", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3431, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "associatedType", - "offset": 0, - "slot": "1", - "type": "t_enum(FundingPotAssociatedType)3424" - }, - { - "astId": 3433, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "associatedTypeId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3437, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "payouts", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3439, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "payoutsWeCannotMake", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(LocalSkill)3452_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.LocalSkill", - "members": [ - { - "astId": 3449, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "exists", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3451, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "deprecated", - "offset": 1, - "slot": "0", - "type": "t_bool" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Payment)3663_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Payment", - "members": [ - { - "astId": 3653, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3655, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "finalized", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3657, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3659, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3662, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(RatingSecrets)3651_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RatingSecrets", - "members": [ - { - "astId": 3644, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "count", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3646, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3650, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "secret", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_uint8,t_bytes32)" - } - ], - "numberOfBytes": "96" - }, - "t_struct(RewardPayoutCycle)3380_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RewardPayoutCycle", - "members": [ - { - "astId": 3365, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "reputationState", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3367, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "colonyWideReputation", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3369, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "totalTokens", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3371, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "amount", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3373, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "tokenAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 3375, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "blockTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3377, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "amountRemaining", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3379, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "finalized", - "offset": 0, - "slot": "7", - "type": "t_bool" - } - ], - "numberOfBytes": "256" - }, - "t_struct(Role)3642_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Role", - "members": [ - { - "astId": 3636, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3638, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "rateFail", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3641, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "rating", - "offset": 21, - "slot": "0", - "type": "t_enum(TaskRatings)3596" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Task)3634_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Task", - "members": [ - { - "astId": 3606, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "specificationHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3608, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "deliverableHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 3611, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "status", - "offset": 0, - "slot": "2", - "type": "t_enum(TaskStatus)3604" - }, - { - "astId": 3613, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "dueDate", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3615, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "fundingPotId", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 3617, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "completionTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3619, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "domainId", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3622, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "skills", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 3627, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "roles", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" - }, - { - "astId": 3633, - "contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction", - "label": "payouts", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" - } - ], - "numberOfBytes": "320" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - }, - "t_uint8": { - "encoding": "inplace", - "label": "uint8", - "numberOfBytes": "1" - } - } -} diff --git a/.storage-layouts/contracts/colony/ColonyAuthority.sol:ColonyAuthority.json b/.storage-layouts/contracts/colony/ColonyAuthority.sol:ColonyAuthority.json deleted file mode 100644 index e964b3bf82..0000000000 --- a/.storage-layouts/contracts/colony/ColonyAuthority.sol:ColonyAuthority.json +++ /dev/null @@ -1,156 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 45605, - "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", - "label": "_root_users", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 45609, - "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", - "label": "_user_roles", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_bytes32)" - }, - { - "astId": 45615, - "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", - "label": "_capability_roles", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))" - }, - { - "astId": 45621, - "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", - "label": "_public_capabilities", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bool))" - }, - { - "astId": 18215, - "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", - "label": "userDomainRoles", - "offset": 0, - "slot": "6", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))" - }, - { - "astId": 2618, - "contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority", - "label": "colony", - "offset": 0, - "slot": "7", - "type": "t_address" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_bytes32)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_address,t_mapping(t_bytes4,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(bytes4 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes4,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(bytes4 => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes4,t_bytes32)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bytes32)" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_bytes4,t_bytes32)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint256,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/colony/ColonyDomains.sol:ColonyDomains.json b/.storage-layouts/contracts/colony/ColonyDomains.sol:ColonyDomains.json deleted file mode 100644 index 5c257b30ee..0000000000 --- a/.storage-layouts/contracts/colony/ColonyDomains.sol:ColonyDomains.json +++ /dev/null @@ -1,1051 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8102, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 8104, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "token", - "offset": 0, - "slot": "7", - "type": "t_address" - }, - { - "astId": 8106, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "rewardInverse", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 8108, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "DEPRECATED_taskCount", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 8110, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "fundingPotCount", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 8112, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "domainCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 8119, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "DEPRECATED_reviewers", - "offset": 0, - "slot": "12", - "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" - }, - { - "astId": 8123, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "DEPRECATED_roleAssignmentSigs", - "offset": 0, - "slot": "13", - "type": "t_mapping(t_bytes4,t_bool)" - }, - { - "astId": 8128, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "DEPRECATED_tasks", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" - }, - { - "astId": 8133, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "fundingPots", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" - }, - { - "astId": 8138, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "rewardPayoutCycles", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" - }, - { - "astId": 8142, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "pendingRewardPayments", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8146, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "nonRewardPotsTotal", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8151, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "DEPRECATED_taskWorkRatings", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" - }, - { - "astId": 8156, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "domains", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" - }, - { - "astId": 8160, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "DEPRECATED_taskChangeNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 8162, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "DEPRECATED_paymentCount", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 8167, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "DEPRECATED_payments", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" - }, - { - "astId": 8169, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "expenditureCount", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 8174, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "expenditures", - "offset": 0, - "slot": "25", - "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" - }, - { - "astId": 8181, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "expenditureSlots", - "offset": 0, - "slot": "26", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" - }, - { - "astId": 8189, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "expenditureSlotPayouts", - "offset": 0, - "slot": "27", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 8197, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "approvals", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8205, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "obligations", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8207, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "30", - "type": "t_address" - }, - { - "astId": 8213, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "tokenLocks", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 8219, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "tokenApprovals", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 8223, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "tokenApprovalTotals", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8225, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "defaultGlobalClaimDelay", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 8232, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "metatransactionNonces", - "offset": 0, - "slot": "35", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8234, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "rootLocalSkill", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 8238, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "DEPRECATED_localSkills", - "offset": 0, - "slot": "37", - "type": "t_mapping(t_uint256,t_bool)" - }, - { - "astId": 8243, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "localSkills", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_enum(TaskRole)3600)2_storage": { - "base": "t_enum(TaskRole)3600", - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole[2]", - "numberOfBytes": "32" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_enum(ExpenditureStatus)3409": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.ExpenditureStatus", - "numberOfBytes": "1" - }, - "t_enum(FundingPotAssociatedType)3424": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.FundingPotAssociatedType", - "numberOfBytes": "1" - }, - "t_enum(TaskRatings)3596": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRatings", - "numberOfBytes": "1" - }, - "t_enum(TaskRole)3600": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole", - "numberOfBytes": "1" - }, - "t_enum(TaskStatus)3604": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskStatus", - "numberOfBytes": "1" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", - "numberOfBytes": "32", - "value": "t_array(t_enum(TaskRole)3600)2_storage" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" - }, - "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", - "numberOfBytes": "32", - "value": "t_struct(Domain)3447_storage" - }, - "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", - "numberOfBytes": "32", - "value": "t_struct(Expenditure)3394_storage" - }, - "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", - "numberOfBytes": "32", - "value": "t_struct(ExpenditureSlot)3404_storage" - }, - "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", - "numberOfBytes": "32", - "value": "t_struct(FundingPot)3440_storage" - }, - "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", - "numberOfBytes": "32", - "value": "t_struct(LocalSkill)3452_storage" - }, - "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", - "numberOfBytes": "32", - "value": "t_struct(Payment)3663_storage" - }, - "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", - "numberOfBytes": "32", - "value": "t_struct(RatingSecrets)3651_storage" - }, - "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", - "numberOfBytes": "32", - "value": "t_struct(RewardPayoutCycle)3380_storage" - }, - "t_mapping(t_uint256,t_struct(Task)3634_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Task)", - "numberOfBytes": "32", - "value": "t_struct(Task)3634_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint8,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint8,t_struct(Role)3642_storage)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => struct ColonyDataTypes.Role)", - "numberOfBytes": "32", - "value": "t_struct(Role)3642_storage" - }, - "t_struct(Domain)3447_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Domain", - "members": [ - { - "astId": 3442, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "skillId", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3444, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3446, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "deprecated", - "offset": 0, - "slot": "2", - "type": "t_bool" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Expenditure)3394_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Expenditure", - "members": [ - { - "astId": 3383, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "status", - "offset": 0, - "slot": "0", - "type": "t_enum(ExpenditureStatus)3409" - }, - { - "astId": 3385, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "owner", - "offset": 1, - "slot": "0", - "type": "t_address" - }, - { - "astId": 3387, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3389, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3391, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "finalizedTimestamp", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3393, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "globalClaimDelay", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ExpenditureSlot)3404_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.ExpenditureSlot", - "members": [ - { - "astId": 3396, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3398, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "claimDelay", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3400, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "payoutModifier", - "offset": 0, - "slot": "2", - "type": "t_int256" - }, - { - "astId": 3403, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(FundingPot)3440_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.FundingPot", - "members": [ - { - "astId": 3428, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "balance", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3431, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "associatedType", - "offset": 0, - "slot": "1", - "type": "t_enum(FundingPotAssociatedType)3424" - }, - { - "astId": 3433, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "associatedTypeId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3437, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "payouts", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3439, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "payoutsWeCannotMake", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(LocalSkill)3452_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.LocalSkill", - "members": [ - { - "astId": 3449, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "exists", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3451, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "deprecated", - "offset": 1, - "slot": "0", - "type": "t_bool" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Payment)3663_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Payment", - "members": [ - { - "astId": 3653, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3655, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "finalized", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3657, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3659, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3662, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(RatingSecrets)3651_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RatingSecrets", - "members": [ - { - "astId": 3644, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "count", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3646, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3650, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "secret", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_uint8,t_bytes32)" - } - ], - "numberOfBytes": "96" - }, - "t_struct(RewardPayoutCycle)3380_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RewardPayoutCycle", - "members": [ - { - "astId": 3365, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "reputationState", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3367, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "colonyWideReputation", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3369, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "totalTokens", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3371, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "amount", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3373, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "tokenAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 3375, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "blockTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3377, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "amountRemaining", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3379, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "finalized", - "offset": 0, - "slot": "7", - "type": "t_bool" - } - ], - "numberOfBytes": "256" - }, - "t_struct(Role)3642_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Role", - "members": [ - { - "astId": 3636, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3638, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "rateFail", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3641, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "rating", - "offset": 21, - "slot": "0", - "type": "t_enum(TaskRatings)3596" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Task)3634_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Task", - "members": [ - { - "astId": 3606, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "specificationHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3608, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "deliverableHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 3611, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "status", - "offset": 0, - "slot": "2", - "type": "t_enum(TaskStatus)3604" - }, - { - "astId": 3613, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "dueDate", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3615, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "fundingPotId", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 3617, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "completionTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3619, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "domainId", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3622, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "skills", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 3627, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "roles", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" - }, - { - "astId": 3633, - "contract": "contracts/colony/ColonyDomains.sol:ColonyDomains", - "label": "payouts", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" - } - ], - "numberOfBytes": "320" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - }, - "t_uint8": { - "encoding": "inplace", - "label": "uint8", - "numberOfBytes": "1" - } - } -} diff --git a/.storage-layouts/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json b/.storage-layouts/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json deleted file mode 100644 index 4ec9be6e52..0000000000 --- a/.storage-layouts/contracts/colony/ColonyExpenditure.sol:ColonyExpenditure.json +++ /dev/null @@ -1,1051 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8102, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 8104, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "token", - "offset": 0, - "slot": "7", - "type": "t_address" - }, - { - "astId": 8106, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "rewardInverse", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 8108, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "DEPRECATED_taskCount", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 8110, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "fundingPotCount", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 8112, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "domainCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 8119, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "DEPRECATED_reviewers", - "offset": 0, - "slot": "12", - "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" - }, - { - "astId": 8123, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "DEPRECATED_roleAssignmentSigs", - "offset": 0, - "slot": "13", - "type": "t_mapping(t_bytes4,t_bool)" - }, - { - "astId": 8128, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "DEPRECATED_tasks", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" - }, - { - "astId": 8133, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "fundingPots", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" - }, - { - "astId": 8138, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "rewardPayoutCycles", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" - }, - { - "astId": 8142, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "pendingRewardPayments", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8146, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "nonRewardPotsTotal", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8151, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "DEPRECATED_taskWorkRatings", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" - }, - { - "astId": 8156, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "domains", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" - }, - { - "astId": 8160, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "DEPRECATED_taskChangeNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 8162, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "DEPRECATED_paymentCount", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 8167, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "DEPRECATED_payments", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" - }, - { - "astId": 8169, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "expenditureCount", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 8174, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "expenditures", - "offset": 0, - "slot": "25", - "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" - }, - { - "astId": 8181, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "expenditureSlots", - "offset": 0, - "slot": "26", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" - }, - { - "astId": 8189, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "expenditureSlotPayouts", - "offset": 0, - "slot": "27", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 8197, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "approvals", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8205, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "obligations", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8207, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "30", - "type": "t_address" - }, - { - "astId": 8213, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "tokenLocks", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 8219, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "tokenApprovals", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 8223, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "tokenApprovalTotals", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8225, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "defaultGlobalClaimDelay", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 8232, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "metatransactionNonces", - "offset": 0, - "slot": "35", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8234, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "rootLocalSkill", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 8238, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "DEPRECATED_localSkills", - "offset": 0, - "slot": "37", - "type": "t_mapping(t_uint256,t_bool)" - }, - { - "astId": 8243, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "localSkills", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_enum(TaskRole)3600)2_storage": { - "base": "t_enum(TaskRole)3600", - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole[2]", - "numberOfBytes": "32" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_enum(ExpenditureStatus)3409": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.ExpenditureStatus", - "numberOfBytes": "1" - }, - "t_enum(FundingPotAssociatedType)3424": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.FundingPotAssociatedType", - "numberOfBytes": "1" - }, - "t_enum(TaskRatings)3596": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRatings", - "numberOfBytes": "1" - }, - "t_enum(TaskRole)3600": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole", - "numberOfBytes": "1" - }, - "t_enum(TaskStatus)3604": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskStatus", - "numberOfBytes": "1" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", - "numberOfBytes": "32", - "value": "t_array(t_enum(TaskRole)3600)2_storage" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" - }, - "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", - "numberOfBytes": "32", - "value": "t_struct(Domain)3447_storage" - }, - "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", - "numberOfBytes": "32", - "value": "t_struct(Expenditure)3394_storage" - }, - "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", - "numberOfBytes": "32", - "value": "t_struct(ExpenditureSlot)3404_storage" - }, - "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", - "numberOfBytes": "32", - "value": "t_struct(FundingPot)3440_storage" - }, - "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", - "numberOfBytes": "32", - "value": "t_struct(LocalSkill)3452_storage" - }, - "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", - "numberOfBytes": "32", - "value": "t_struct(Payment)3663_storage" - }, - "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", - "numberOfBytes": "32", - "value": "t_struct(RatingSecrets)3651_storage" - }, - "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", - "numberOfBytes": "32", - "value": "t_struct(RewardPayoutCycle)3380_storage" - }, - "t_mapping(t_uint256,t_struct(Task)3634_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Task)", - "numberOfBytes": "32", - "value": "t_struct(Task)3634_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint8,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint8,t_struct(Role)3642_storage)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => struct ColonyDataTypes.Role)", - "numberOfBytes": "32", - "value": "t_struct(Role)3642_storage" - }, - "t_struct(Domain)3447_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Domain", - "members": [ - { - "astId": 3442, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "skillId", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3444, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3446, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "deprecated", - "offset": 0, - "slot": "2", - "type": "t_bool" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Expenditure)3394_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Expenditure", - "members": [ - { - "astId": 3383, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "status", - "offset": 0, - "slot": "0", - "type": "t_enum(ExpenditureStatus)3409" - }, - { - "astId": 3385, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "owner", - "offset": 1, - "slot": "0", - "type": "t_address" - }, - { - "astId": 3387, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3389, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3391, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "finalizedTimestamp", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3393, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "globalClaimDelay", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ExpenditureSlot)3404_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.ExpenditureSlot", - "members": [ - { - "astId": 3396, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3398, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "claimDelay", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3400, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "payoutModifier", - "offset": 0, - "slot": "2", - "type": "t_int256" - }, - { - "astId": 3403, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(FundingPot)3440_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.FundingPot", - "members": [ - { - "astId": 3428, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "balance", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3431, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "associatedType", - "offset": 0, - "slot": "1", - "type": "t_enum(FundingPotAssociatedType)3424" - }, - { - "astId": 3433, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "associatedTypeId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3437, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "payouts", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3439, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "payoutsWeCannotMake", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(LocalSkill)3452_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.LocalSkill", - "members": [ - { - "astId": 3449, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "exists", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3451, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "deprecated", - "offset": 1, - "slot": "0", - "type": "t_bool" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Payment)3663_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Payment", - "members": [ - { - "astId": 3653, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3655, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "finalized", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3657, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3659, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3662, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(RatingSecrets)3651_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RatingSecrets", - "members": [ - { - "astId": 3644, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "count", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3646, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3650, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "secret", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_uint8,t_bytes32)" - } - ], - "numberOfBytes": "96" - }, - "t_struct(RewardPayoutCycle)3380_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RewardPayoutCycle", - "members": [ - { - "astId": 3365, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "reputationState", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3367, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "colonyWideReputation", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3369, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "totalTokens", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3371, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "amount", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3373, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "tokenAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 3375, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "blockTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3377, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "amountRemaining", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3379, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "finalized", - "offset": 0, - "slot": "7", - "type": "t_bool" - } - ], - "numberOfBytes": "256" - }, - "t_struct(Role)3642_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Role", - "members": [ - { - "astId": 3636, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3638, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "rateFail", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3641, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "rating", - "offset": 21, - "slot": "0", - "type": "t_enum(TaskRatings)3596" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Task)3634_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Task", - "members": [ - { - "astId": 3606, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "specificationHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3608, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "deliverableHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 3611, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "status", - "offset": 0, - "slot": "2", - "type": "t_enum(TaskStatus)3604" - }, - { - "astId": 3613, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "dueDate", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3615, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "fundingPotId", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 3617, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "completionTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3619, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "domainId", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3622, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "skills", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 3627, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "roles", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" - }, - { - "astId": 3633, - "contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure", - "label": "payouts", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" - } - ], - "numberOfBytes": "320" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - }, - "t_uint8": { - "encoding": "inplace", - "label": "uint8", - "numberOfBytes": "1" - } - } -} diff --git a/.storage-layouts/contracts/colony/ColonyFunding.sol:ColonyFunding.json b/.storage-layouts/contracts/colony/ColonyFunding.sol:ColonyFunding.json deleted file mode 100644 index 039007a0c8..0000000000 --- a/.storage-layouts/contracts/colony/ColonyFunding.sol:ColonyFunding.json +++ /dev/null @@ -1,1051 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8102, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 8104, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "token", - "offset": 0, - "slot": "7", - "type": "t_address" - }, - { - "astId": 8106, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "rewardInverse", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 8108, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "DEPRECATED_taskCount", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 8110, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "fundingPotCount", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 8112, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "domainCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 8119, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "DEPRECATED_reviewers", - "offset": 0, - "slot": "12", - "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" - }, - { - "astId": 8123, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "DEPRECATED_roleAssignmentSigs", - "offset": 0, - "slot": "13", - "type": "t_mapping(t_bytes4,t_bool)" - }, - { - "astId": 8128, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "DEPRECATED_tasks", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" - }, - { - "astId": 8133, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "fundingPots", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" - }, - { - "astId": 8138, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "rewardPayoutCycles", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" - }, - { - "astId": 8142, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "pendingRewardPayments", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8146, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "nonRewardPotsTotal", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8151, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "DEPRECATED_taskWorkRatings", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" - }, - { - "astId": 8156, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "domains", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" - }, - { - "astId": 8160, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "DEPRECATED_taskChangeNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 8162, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "DEPRECATED_paymentCount", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 8167, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "DEPRECATED_payments", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" - }, - { - "astId": 8169, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "expenditureCount", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 8174, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "expenditures", - "offset": 0, - "slot": "25", - "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" - }, - { - "astId": 8181, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "expenditureSlots", - "offset": 0, - "slot": "26", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" - }, - { - "astId": 8189, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "expenditureSlotPayouts", - "offset": 0, - "slot": "27", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 8197, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "approvals", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8205, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "obligations", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8207, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "30", - "type": "t_address" - }, - { - "astId": 8213, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "tokenLocks", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 8219, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "tokenApprovals", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 8223, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "tokenApprovalTotals", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8225, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "defaultGlobalClaimDelay", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 8232, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "metatransactionNonces", - "offset": 0, - "slot": "35", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8234, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "rootLocalSkill", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 8238, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "DEPRECATED_localSkills", - "offset": 0, - "slot": "37", - "type": "t_mapping(t_uint256,t_bool)" - }, - { - "astId": 8243, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "localSkills", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_enum(TaskRole)3600)2_storage": { - "base": "t_enum(TaskRole)3600", - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole[2]", - "numberOfBytes": "32" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_enum(ExpenditureStatus)3409": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.ExpenditureStatus", - "numberOfBytes": "1" - }, - "t_enum(FundingPotAssociatedType)3424": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.FundingPotAssociatedType", - "numberOfBytes": "1" - }, - "t_enum(TaskRatings)3596": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRatings", - "numberOfBytes": "1" - }, - "t_enum(TaskRole)3600": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole", - "numberOfBytes": "1" - }, - "t_enum(TaskStatus)3604": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskStatus", - "numberOfBytes": "1" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", - "numberOfBytes": "32", - "value": "t_array(t_enum(TaskRole)3600)2_storage" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" - }, - "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", - "numberOfBytes": "32", - "value": "t_struct(Domain)3447_storage" - }, - "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", - "numberOfBytes": "32", - "value": "t_struct(Expenditure)3394_storage" - }, - "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", - "numberOfBytes": "32", - "value": "t_struct(ExpenditureSlot)3404_storage" - }, - "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", - "numberOfBytes": "32", - "value": "t_struct(FundingPot)3440_storage" - }, - "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", - "numberOfBytes": "32", - "value": "t_struct(LocalSkill)3452_storage" - }, - "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", - "numberOfBytes": "32", - "value": "t_struct(Payment)3663_storage" - }, - "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", - "numberOfBytes": "32", - "value": "t_struct(RatingSecrets)3651_storage" - }, - "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", - "numberOfBytes": "32", - "value": "t_struct(RewardPayoutCycle)3380_storage" - }, - "t_mapping(t_uint256,t_struct(Task)3634_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Task)", - "numberOfBytes": "32", - "value": "t_struct(Task)3634_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint8,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint8,t_struct(Role)3642_storage)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => struct ColonyDataTypes.Role)", - "numberOfBytes": "32", - "value": "t_struct(Role)3642_storage" - }, - "t_struct(Domain)3447_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Domain", - "members": [ - { - "astId": 3442, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "skillId", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3444, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3446, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "deprecated", - "offset": 0, - "slot": "2", - "type": "t_bool" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Expenditure)3394_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Expenditure", - "members": [ - { - "astId": 3383, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "status", - "offset": 0, - "slot": "0", - "type": "t_enum(ExpenditureStatus)3409" - }, - { - "astId": 3385, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "owner", - "offset": 1, - "slot": "0", - "type": "t_address" - }, - { - "astId": 3387, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3389, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3391, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "finalizedTimestamp", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3393, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "globalClaimDelay", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ExpenditureSlot)3404_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.ExpenditureSlot", - "members": [ - { - "astId": 3396, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3398, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "claimDelay", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3400, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "payoutModifier", - "offset": 0, - "slot": "2", - "type": "t_int256" - }, - { - "astId": 3403, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(FundingPot)3440_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.FundingPot", - "members": [ - { - "astId": 3428, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "balance", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3431, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "associatedType", - "offset": 0, - "slot": "1", - "type": "t_enum(FundingPotAssociatedType)3424" - }, - { - "astId": 3433, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "associatedTypeId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3437, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "payouts", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3439, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "payoutsWeCannotMake", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(LocalSkill)3452_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.LocalSkill", - "members": [ - { - "astId": 3449, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "exists", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3451, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "deprecated", - "offset": 1, - "slot": "0", - "type": "t_bool" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Payment)3663_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Payment", - "members": [ - { - "astId": 3653, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3655, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "finalized", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3657, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3659, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3662, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(RatingSecrets)3651_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RatingSecrets", - "members": [ - { - "astId": 3644, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "count", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3646, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3650, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "secret", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_uint8,t_bytes32)" - } - ], - "numberOfBytes": "96" - }, - "t_struct(RewardPayoutCycle)3380_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RewardPayoutCycle", - "members": [ - { - "astId": 3365, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "reputationState", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3367, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "colonyWideReputation", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3369, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "totalTokens", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3371, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "amount", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3373, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "tokenAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 3375, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "blockTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3377, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "amountRemaining", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3379, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "finalized", - "offset": 0, - "slot": "7", - "type": "t_bool" - } - ], - "numberOfBytes": "256" - }, - "t_struct(Role)3642_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Role", - "members": [ - { - "astId": 3636, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3638, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "rateFail", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3641, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "rating", - "offset": 21, - "slot": "0", - "type": "t_enum(TaskRatings)3596" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Task)3634_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Task", - "members": [ - { - "astId": 3606, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "specificationHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3608, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "deliverableHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 3611, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "status", - "offset": 0, - "slot": "2", - "type": "t_enum(TaskStatus)3604" - }, - { - "astId": 3613, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "dueDate", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3615, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "fundingPotId", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 3617, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "completionTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3619, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "domainId", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3622, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "skills", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 3627, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "roles", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" - }, - { - "astId": 3633, - "contract": "contracts/colony/ColonyFunding.sol:ColonyFunding", - "label": "payouts", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" - } - ], - "numberOfBytes": "320" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - }, - "t_uint8": { - "encoding": "inplace", - "label": "uint8", - "numberOfBytes": "1" - } - } -} diff --git a/.storage-layouts/contracts/colony/ColonyRewards.sol:ColonyRewards.json b/.storage-layouts/contracts/colony/ColonyRewards.sol:ColonyRewards.json deleted file mode 100644 index 7472928918..0000000000 --- a/.storage-layouts/contracts/colony/ColonyRewards.sol:ColonyRewards.json +++ /dev/null @@ -1,1051 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8102, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 8104, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "token", - "offset": 0, - "slot": "7", - "type": "t_address" - }, - { - "astId": 8106, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "rewardInverse", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 8108, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "DEPRECATED_taskCount", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 8110, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "fundingPotCount", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 8112, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "domainCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 8119, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "DEPRECATED_reviewers", - "offset": 0, - "slot": "12", - "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" - }, - { - "astId": 8123, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "DEPRECATED_roleAssignmentSigs", - "offset": 0, - "slot": "13", - "type": "t_mapping(t_bytes4,t_bool)" - }, - { - "astId": 8128, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "DEPRECATED_tasks", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" - }, - { - "astId": 8133, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "fundingPots", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" - }, - { - "astId": 8138, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "rewardPayoutCycles", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" - }, - { - "astId": 8142, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "pendingRewardPayments", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8146, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "nonRewardPotsTotal", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8151, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "DEPRECATED_taskWorkRatings", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" - }, - { - "astId": 8156, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "domains", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" - }, - { - "astId": 8160, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "DEPRECATED_taskChangeNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 8162, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "DEPRECATED_paymentCount", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 8167, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "DEPRECATED_payments", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" - }, - { - "astId": 8169, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "expenditureCount", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 8174, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "expenditures", - "offset": 0, - "slot": "25", - "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" - }, - { - "astId": 8181, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "expenditureSlots", - "offset": 0, - "slot": "26", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" - }, - { - "astId": 8189, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "expenditureSlotPayouts", - "offset": 0, - "slot": "27", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 8197, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "approvals", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8205, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "obligations", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8207, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "30", - "type": "t_address" - }, - { - "astId": 8213, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "tokenLocks", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 8219, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "tokenApprovals", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 8223, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "tokenApprovalTotals", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8225, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "defaultGlobalClaimDelay", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 8232, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "metatransactionNonces", - "offset": 0, - "slot": "35", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8234, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "rootLocalSkill", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 8238, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "DEPRECATED_localSkills", - "offset": 0, - "slot": "37", - "type": "t_mapping(t_uint256,t_bool)" - }, - { - "astId": 8243, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "localSkills", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_enum(TaskRole)3600)2_storage": { - "base": "t_enum(TaskRole)3600", - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole[2]", - "numberOfBytes": "32" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_enum(ExpenditureStatus)3409": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.ExpenditureStatus", - "numberOfBytes": "1" - }, - "t_enum(FundingPotAssociatedType)3424": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.FundingPotAssociatedType", - "numberOfBytes": "1" - }, - "t_enum(TaskRatings)3596": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRatings", - "numberOfBytes": "1" - }, - "t_enum(TaskRole)3600": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole", - "numberOfBytes": "1" - }, - "t_enum(TaskStatus)3604": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskStatus", - "numberOfBytes": "1" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", - "numberOfBytes": "32", - "value": "t_array(t_enum(TaskRole)3600)2_storage" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" - }, - "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", - "numberOfBytes": "32", - "value": "t_struct(Domain)3447_storage" - }, - "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", - "numberOfBytes": "32", - "value": "t_struct(Expenditure)3394_storage" - }, - "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", - "numberOfBytes": "32", - "value": "t_struct(ExpenditureSlot)3404_storage" - }, - "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", - "numberOfBytes": "32", - "value": "t_struct(FundingPot)3440_storage" - }, - "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", - "numberOfBytes": "32", - "value": "t_struct(LocalSkill)3452_storage" - }, - "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", - "numberOfBytes": "32", - "value": "t_struct(Payment)3663_storage" - }, - "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", - "numberOfBytes": "32", - "value": "t_struct(RatingSecrets)3651_storage" - }, - "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", - "numberOfBytes": "32", - "value": "t_struct(RewardPayoutCycle)3380_storage" - }, - "t_mapping(t_uint256,t_struct(Task)3634_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Task)", - "numberOfBytes": "32", - "value": "t_struct(Task)3634_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint8,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint8,t_struct(Role)3642_storage)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => struct ColonyDataTypes.Role)", - "numberOfBytes": "32", - "value": "t_struct(Role)3642_storage" - }, - "t_struct(Domain)3447_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Domain", - "members": [ - { - "astId": 3442, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "skillId", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3444, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3446, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "deprecated", - "offset": 0, - "slot": "2", - "type": "t_bool" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Expenditure)3394_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Expenditure", - "members": [ - { - "astId": 3383, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "status", - "offset": 0, - "slot": "0", - "type": "t_enum(ExpenditureStatus)3409" - }, - { - "astId": 3385, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "owner", - "offset": 1, - "slot": "0", - "type": "t_address" - }, - { - "astId": 3387, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3389, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3391, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "finalizedTimestamp", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3393, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "globalClaimDelay", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ExpenditureSlot)3404_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.ExpenditureSlot", - "members": [ - { - "astId": 3396, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3398, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "claimDelay", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3400, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "payoutModifier", - "offset": 0, - "slot": "2", - "type": "t_int256" - }, - { - "astId": 3403, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(FundingPot)3440_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.FundingPot", - "members": [ - { - "astId": 3428, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "balance", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3431, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "associatedType", - "offset": 0, - "slot": "1", - "type": "t_enum(FundingPotAssociatedType)3424" - }, - { - "astId": 3433, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "associatedTypeId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3437, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "payouts", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3439, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "payoutsWeCannotMake", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(LocalSkill)3452_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.LocalSkill", - "members": [ - { - "astId": 3449, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "exists", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3451, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "deprecated", - "offset": 1, - "slot": "0", - "type": "t_bool" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Payment)3663_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Payment", - "members": [ - { - "astId": 3653, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3655, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "finalized", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3657, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3659, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3662, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(RatingSecrets)3651_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RatingSecrets", - "members": [ - { - "astId": 3644, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "count", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3646, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3650, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "secret", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_uint8,t_bytes32)" - } - ], - "numberOfBytes": "96" - }, - "t_struct(RewardPayoutCycle)3380_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RewardPayoutCycle", - "members": [ - { - "astId": 3365, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "reputationState", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3367, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "colonyWideReputation", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3369, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "totalTokens", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3371, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "amount", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3373, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "tokenAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 3375, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "blockTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3377, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "amountRemaining", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3379, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "finalized", - "offset": 0, - "slot": "7", - "type": "t_bool" - } - ], - "numberOfBytes": "256" - }, - "t_struct(Role)3642_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Role", - "members": [ - { - "astId": 3636, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3638, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "rateFail", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3641, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "rating", - "offset": 21, - "slot": "0", - "type": "t_enum(TaskRatings)3596" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Task)3634_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Task", - "members": [ - { - "astId": 3606, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "specificationHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3608, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "deliverableHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 3611, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "status", - "offset": 0, - "slot": "2", - "type": "t_enum(TaskStatus)3604" - }, - { - "astId": 3613, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "dueDate", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3615, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "fundingPotId", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 3617, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "completionTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3619, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "domainId", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3622, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "skills", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 3627, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "roles", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" - }, - { - "astId": 3633, - "contract": "contracts/colony/ColonyRewards.sol:ColonyRewards", - "label": "payouts", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" - } - ], - "numberOfBytes": "320" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - }, - "t_uint8": { - "encoding": "inplace", - "label": "uint8", - "numberOfBytes": "1" - } - } -} diff --git a/.storage-layouts/contracts/colony/ColonyRoles.sol:ColonyRoles.json b/.storage-layouts/contracts/colony/ColonyRoles.sol:ColonyRoles.json deleted file mode 100644 index 58b643f3c2..0000000000 --- a/.storage-layouts/contracts/colony/ColonyRoles.sol:ColonyRoles.json +++ /dev/null @@ -1,1051 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8102, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 8104, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "token", - "offset": 0, - "slot": "7", - "type": "t_address" - }, - { - "astId": 8106, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "rewardInverse", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 8108, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "DEPRECATED_taskCount", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 8110, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "fundingPotCount", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 8112, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "domainCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 8119, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "DEPRECATED_reviewers", - "offset": 0, - "slot": "12", - "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" - }, - { - "astId": 8123, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "DEPRECATED_roleAssignmentSigs", - "offset": 0, - "slot": "13", - "type": "t_mapping(t_bytes4,t_bool)" - }, - { - "astId": 8128, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "DEPRECATED_tasks", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" - }, - { - "astId": 8133, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "fundingPots", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" - }, - { - "astId": 8138, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "rewardPayoutCycles", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" - }, - { - "astId": 8142, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "pendingRewardPayments", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8146, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "nonRewardPotsTotal", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8151, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "DEPRECATED_taskWorkRatings", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" - }, - { - "astId": 8156, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "domains", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" - }, - { - "astId": 8160, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "DEPRECATED_taskChangeNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 8162, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "DEPRECATED_paymentCount", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 8167, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "DEPRECATED_payments", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" - }, - { - "astId": 8169, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "expenditureCount", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 8174, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "expenditures", - "offset": 0, - "slot": "25", - "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" - }, - { - "astId": 8181, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "expenditureSlots", - "offset": 0, - "slot": "26", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" - }, - { - "astId": 8189, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "expenditureSlotPayouts", - "offset": 0, - "slot": "27", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 8197, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "approvals", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8205, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "obligations", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8207, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "30", - "type": "t_address" - }, - { - "astId": 8213, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "tokenLocks", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 8219, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "tokenApprovals", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 8223, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "tokenApprovalTotals", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8225, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "defaultGlobalClaimDelay", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 8232, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "metatransactionNonces", - "offset": 0, - "slot": "35", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8234, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "rootLocalSkill", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 8238, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "DEPRECATED_localSkills", - "offset": 0, - "slot": "37", - "type": "t_mapping(t_uint256,t_bool)" - }, - { - "astId": 8243, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "localSkills", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_enum(TaskRole)3600)2_storage": { - "base": "t_enum(TaskRole)3600", - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole[2]", - "numberOfBytes": "32" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_enum(ExpenditureStatus)3409": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.ExpenditureStatus", - "numberOfBytes": "1" - }, - "t_enum(FundingPotAssociatedType)3424": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.FundingPotAssociatedType", - "numberOfBytes": "1" - }, - "t_enum(TaskRatings)3596": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRatings", - "numberOfBytes": "1" - }, - "t_enum(TaskRole)3600": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole", - "numberOfBytes": "1" - }, - "t_enum(TaskStatus)3604": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskStatus", - "numberOfBytes": "1" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", - "numberOfBytes": "32", - "value": "t_array(t_enum(TaskRole)3600)2_storage" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" - }, - "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", - "numberOfBytes": "32", - "value": "t_struct(Domain)3447_storage" - }, - "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", - "numberOfBytes": "32", - "value": "t_struct(Expenditure)3394_storage" - }, - "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", - "numberOfBytes": "32", - "value": "t_struct(ExpenditureSlot)3404_storage" - }, - "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", - "numberOfBytes": "32", - "value": "t_struct(FundingPot)3440_storage" - }, - "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", - "numberOfBytes": "32", - "value": "t_struct(LocalSkill)3452_storage" - }, - "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", - "numberOfBytes": "32", - "value": "t_struct(Payment)3663_storage" - }, - "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", - "numberOfBytes": "32", - "value": "t_struct(RatingSecrets)3651_storage" - }, - "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", - "numberOfBytes": "32", - "value": "t_struct(RewardPayoutCycle)3380_storage" - }, - "t_mapping(t_uint256,t_struct(Task)3634_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Task)", - "numberOfBytes": "32", - "value": "t_struct(Task)3634_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint8,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint8,t_struct(Role)3642_storage)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => struct ColonyDataTypes.Role)", - "numberOfBytes": "32", - "value": "t_struct(Role)3642_storage" - }, - "t_struct(Domain)3447_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Domain", - "members": [ - { - "astId": 3442, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "skillId", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3444, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3446, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "deprecated", - "offset": 0, - "slot": "2", - "type": "t_bool" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Expenditure)3394_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Expenditure", - "members": [ - { - "astId": 3383, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "status", - "offset": 0, - "slot": "0", - "type": "t_enum(ExpenditureStatus)3409" - }, - { - "astId": 3385, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "owner", - "offset": 1, - "slot": "0", - "type": "t_address" - }, - { - "astId": 3387, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3389, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3391, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "finalizedTimestamp", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3393, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "globalClaimDelay", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ExpenditureSlot)3404_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.ExpenditureSlot", - "members": [ - { - "astId": 3396, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3398, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "claimDelay", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3400, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "payoutModifier", - "offset": 0, - "slot": "2", - "type": "t_int256" - }, - { - "astId": 3403, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(FundingPot)3440_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.FundingPot", - "members": [ - { - "astId": 3428, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "balance", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3431, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "associatedType", - "offset": 0, - "slot": "1", - "type": "t_enum(FundingPotAssociatedType)3424" - }, - { - "astId": 3433, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "associatedTypeId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3437, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "payouts", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3439, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "payoutsWeCannotMake", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(LocalSkill)3452_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.LocalSkill", - "members": [ - { - "astId": 3449, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "exists", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3451, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "deprecated", - "offset": 1, - "slot": "0", - "type": "t_bool" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Payment)3663_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Payment", - "members": [ - { - "astId": 3653, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3655, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "finalized", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3657, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3659, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3662, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(RatingSecrets)3651_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RatingSecrets", - "members": [ - { - "astId": 3644, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "count", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3646, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3650, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "secret", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_uint8,t_bytes32)" - } - ], - "numberOfBytes": "96" - }, - "t_struct(RewardPayoutCycle)3380_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RewardPayoutCycle", - "members": [ - { - "astId": 3365, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "reputationState", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3367, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "colonyWideReputation", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3369, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "totalTokens", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3371, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "amount", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3373, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "tokenAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 3375, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "blockTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3377, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "amountRemaining", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3379, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "finalized", - "offset": 0, - "slot": "7", - "type": "t_bool" - } - ], - "numberOfBytes": "256" - }, - "t_struct(Role)3642_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Role", - "members": [ - { - "astId": 3636, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3638, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "rateFail", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3641, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "rating", - "offset": 21, - "slot": "0", - "type": "t_enum(TaskRatings)3596" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Task)3634_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Task", - "members": [ - { - "astId": 3606, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "specificationHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3608, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "deliverableHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 3611, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "status", - "offset": 0, - "slot": "2", - "type": "t_enum(TaskStatus)3604" - }, - { - "astId": 3613, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "dueDate", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3615, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "fundingPotId", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 3617, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "completionTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3619, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "domainId", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3622, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "skills", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 3627, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "roles", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" - }, - { - "astId": 3633, - "contract": "contracts/colony/ColonyRoles.sol:ColonyRoles", - "label": "payouts", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" - } - ], - "numberOfBytes": "320" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - }, - "t_uint8": { - "encoding": "inplace", - "label": "uint8", - "numberOfBytes": "1" - } - } -} diff --git a/.storage-layouts/contracts/colony/ColonyStorage.sol:ColonyStorage.json b/.storage-layouts/contracts/colony/ColonyStorage.sol:ColonyStorage.json deleted file mode 100644 index 75b86bbeeb..0000000000 --- a/.storage-layouts/contracts/colony/ColonyStorage.sol:ColonyStorage.json +++ /dev/null @@ -1,1051 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8102, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 8104, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "token", - "offset": 0, - "slot": "7", - "type": "t_address" - }, - { - "astId": 8106, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "rewardInverse", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 8108, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "DEPRECATED_taskCount", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 8110, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "fundingPotCount", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 8112, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "domainCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 8119, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "DEPRECATED_reviewers", - "offset": 0, - "slot": "12", - "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" - }, - { - "astId": 8123, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "DEPRECATED_roleAssignmentSigs", - "offset": 0, - "slot": "13", - "type": "t_mapping(t_bytes4,t_bool)" - }, - { - "astId": 8128, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "DEPRECATED_tasks", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" - }, - { - "astId": 8133, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "fundingPots", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" - }, - { - "astId": 8138, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "rewardPayoutCycles", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" - }, - { - "astId": 8142, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "pendingRewardPayments", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8146, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "nonRewardPotsTotal", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8151, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "DEPRECATED_taskWorkRatings", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" - }, - { - "astId": 8156, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "domains", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" - }, - { - "astId": 8160, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "DEPRECATED_taskChangeNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 8162, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "DEPRECATED_paymentCount", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 8167, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "DEPRECATED_payments", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" - }, - { - "astId": 8169, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "expenditureCount", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 8174, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "expenditures", - "offset": 0, - "slot": "25", - "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" - }, - { - "astId": 8181, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "expenditureSlots", - "offset": 0, - "slot": "26", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" - }, - { - "astId": 8189, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "expenditureSlotPayouts", - "offset": 0, - "slot": "27", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 8197, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "approvals", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8205, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "obligations", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8207, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "30", - "type": "t_address" - }, - { - "astId": 8213, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "tokenLocks", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 8219, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "tokenApprovals", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 8223, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "tokenApprovalTotals", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8225, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "defaultGlobalClaimDelay", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 8232, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "metatransactionNonces", - "offset": 0, - "slot": "35", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8234, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "rootLocalSkill", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 8238, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "DEPRECATED_localSkills", - "offset": 0, - "slot": "37", - "type": "t_mapping(t_uint256,t_bool)" - }, - { - "astId": 8243, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "localSkills", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_enum(TaskRole)3600)2_storage": { - "base": "t_enum(TaskRole)3600", - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole[2]", - "numberOfBytes": "32" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_enum(ExpenditureStatus)3409": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.ExpenditureStatus", - "numberOfBytes": "1" - }, - "t_enum(FundingPotAssociatedType)3424": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.FundingPotAssociatedType", - "numberOfBytes": "1" - }, - "t_enum(TaskRatings)3596": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRatings", - "numberOfBytes": "1" - }, - "t_enum(TaskRole)3600": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole", - "numberOfBytes": "1" - }, - "t_enum(TaskStatus)3604": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskStatus", - "numberOfBytes": "1" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", - "numberOfBytes": "32", - "value": "t_array(t_enum(TaskRole)3600)2_storage" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" - }, - "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", - "numberOfBytes": "32", - "value": "t_struct(Domain)3447_storage" - }, - "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", - "numberOfBytes": "32", - "value": "t_struct(Expenditure)3394_storage" - }, - "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", - "numberOfBytes": "32", - "value": "t_struct(ExpenditureSlot)3404_storage" - }, - "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", - "numberOfBytes": "32", - "value": "t_struct(FundingPot)3440_storage" - }, - "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", - "numberOfBytes": "32", - "value": "t_struct(LocalSkill)3452_storage" - }, - "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", - "numberOfBytes": "32", - "value": "t_struct(Payment)3663_storage" - }, - "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", - "numberOfBytes": "32", - "value": "t_struct(RatingSecrets)3651_storage" - }, - "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", - "numberOfBytes": "32", - "value": "t_struct(RewardPayoutCycle)3380_storage" - }, - "t_mapping(t_uint256,t_struct(Task)3634_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Task)", - "numberOfBytes": "32", - "value": "t_struct(Task)3634_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint8,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint8,t_struct(Role)3642_storage)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => struct ColonyDataTypes.Role)", - "numberOfBytes": "32", - "value": "t_struct(Role)3642_storage" - }, - "t_struct(Domain)3447_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Domain", - "members": [ - { - "astId": 3442, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "skillId", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3444, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3446, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "deprecated", - "offset": 0, - "slot": "2", - "type": "t_bool" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Expenditure)3394_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Expenditure", - "members": [ - { - "astId": 3383, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "status", - "offset": 0, - "slot": "0", - "type": "t_enum(ExpenditureStatus)3409" - }, - { - "astId": 3385, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "owner", - "offset": 1, - "slot": "0", - "type": "t_address" - }, - { - "astId": 3387, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3389, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3391, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "finalizedTimestamp", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3393, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "globalClaimDelay", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ExpenditureSlot)3404_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.ExpenditureSlot", - "members": [ - { - "astId": 3396, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3398, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "claimDelay", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3400, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "payoutModifier", - "offset": 0, - "slot": "2", - "type": "t_int256" - }, - { - "astId": 3403, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(FundingPot)3440_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.FundingPot", - "members": [ - { - "astId": 3428, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "balance", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3431, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "associatedType", - "offset": 0, - "slot": "1", - "type": "t_enum(FundingPotAssociatedType)3424" - }, - { - "astId": 3433, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "associatedTypeId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3437, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "payouts", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3439, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "payoutsWeCannotMake", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(LocalSkill)3452_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.LocalSkill", - "members": [ - { - "astId": 3449, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "exists", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3451, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "deprecated", - "offset": 1, - "slot": "0", - "type": "t_bool" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Payment)3663_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Payment", - "members": [ - { - "astId": 3653, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3655, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "finalized", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3657, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3659, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3662, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(RatingSecrets)3651_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RatingSecrets", - "members": [ - { - "astId": 3644, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "count", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3646, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3650, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "secret", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_uint8,t_bytes32)" - } - ], - "numberOfBytes": "96" - }, - "t_struct(RewardPayoutCycle)3380_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RewardPayoutCycle", - "members": [ - { - "astId": 3365, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "reputationState", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3367, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "colonyWideReputation", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3369, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "totalTokens", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3371, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "amount", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3373, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "tokenAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 3375, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "blockTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3377, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "amountRemaining", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3379, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "finalized", - "offset": 0, - "slot": "7", - "type": "t_bool" - } - ], - "numberOfBytes": "256" - }, - "t_struct(Role)3642_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Role", - "members": [ - { - "astId": 3636, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3638, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "rateFail", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3641, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "rating", - "offset": 21, - "slot": "0", - "type": "t_enum(TaskRatings)3596" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Task)3634_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Task", - "members": [ - { - "astId": 3606, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "specificationHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3608, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "deliverableHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 3611, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "status", - "offset": 0, - "slot": "2", - "type": "t_enum(TaskStatus)3604" - }, - { - "astId": 3613, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "dueDate", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3615, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "fundingPotId", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 3617, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "completionTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3619, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "domainId", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3622, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "skills", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 3627, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "roles", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" - }, - { - "astId": 3633, - "contract": "contracts/colony/ColonyStorage.sol:ColonyStorage", - "label": "payouts", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" - } - ], - "numberOfBytes": "320" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - }, - "t_uint8": { - "encoding": "inplace", - "label": "uint8", - "numberOfBytes": "1" - } - } -} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json deleted file mode 100644 index 6a433799c2..0000000000 --- a/.storage-layouts/contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork.json +++ /dev/null @@ -1,814 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16220, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "colonyCount", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 16222, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "currentColonyVersion", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 16224, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "metaColony", - "offset": 0, - "slot": "8", - "type": "t_address" - }, - { - "astId": 16226, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "tokenLocking", - "offset": 0, - "slot": "9", - "type": "t_address" - }, - { - "astId": 16228, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "feeInverse", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 16230, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "skillCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 16232, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "reputationMiningSkillId", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 16234, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "reputationRootHash", - "offset": 0, - "slot": "13", - "type": "t_bytes32" - }, - { - "astId": 16236, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "reputationRootHashNLeaves", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 16238, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "miningCycleResolver", - "offset": 0, - "slot": "15", - "type": "t_address" - }, - { - "astId": 16240, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "activeReputationMiningCycle", - "offset": 0, - "slot": "16", - "type": "t_address" - }, - { - "astId": 16242, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "inactiveReputationMiningCycle", - "offset": 0, - "slot": "17", - "type": "t_address" - }, - { - "astId": 16246, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "colonies", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16250, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "_isColony", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16254, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "colonyVersionResolver", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16259, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "skills", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" - }, - { - "astId": 16263, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "stakedBalances", - "offset": 0, - "slot": "22", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16267, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "recentAuctions", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16269, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "ens", - "offset": 0, - "slot": "24", - "type": "t_address" - }, - { - "astId": 16271, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "rootNode", - "offset": 0, - "slot": "25", - "type": "t_bytes32" - }, - { - "astId": 16273, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "userNode", - "offset": 0, - "slot": "26", - "type": "t_bytes32" - }, - { - "astId": 16275, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "colonyNode", - "offset": 0, - "slot": "27", - "type": "t_bytes32" - }, - { - "astId": 16279, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "colonyLabels", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16283, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "userLabels", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16288, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "records", - "offset": 0, - "slot": "30", - "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" - }, - { - "astId": 16295, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "replacementReputationUpdateLog", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" - }, - { - "astId": 16299, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "replacementReputationUpdateLogsExist", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16304, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "miningStakes", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" - }, - { - "astId": 16308, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "pendingMiningRewards", - "offset": 0, - "slot": "34", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16310, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "totalMinerRewardPerCycle", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 16312, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "DEPRECATED_annualMetaColonyStipend", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 16314, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "DEPRECATED_lastMetaColonyStipendIssued", - "offset": 0, - "slot": "37", - "type": "t_uint256" - }, - { - "astId": 16320, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "resolvers", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" - }, - { - "astId": 16326, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "installations", - "offset": 0, - "slot": "39", - "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" - }, - { - "astId": 16330, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "payoutWhitelist", - "offset": 0, - "slot": "40", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16337, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "metatransactionNonces", - "offset": 0, - "slot": "41", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16341, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "miningDelegators", - "offset": 0, - "slot": "42", - "type": "t_mapping(t_address,t_address)" - }, - { - "astId": 16343, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "reputationMiningChainId", - "offset": 0, - "slot": "43", - "type": "t_uint256" - }, - { - "astId": 16345, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "colonyBridgeAddress", - "offset": 0, - "slot": "44", - "type": "t_address" - }, - { - "astId": 16349, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "bridgeCurrentRootHashNonces", - "offset": 0, - "slot": "45", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16353, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "networkSkillCounts", - "offset": 0, - "slot": "46", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16359, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "pendingSkillAdditions", - "offset": 0, - "slot": "47", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" - }, - { - "astId": 16365, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "reputationUpdateCount", - "offset": 0, - "slot": "48", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - { - "astId": 16374, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "pendingReputationUpdates", - "offset": 0, - "slot": "49", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_address)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_address,t_address_payable)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address payable)", - "numberOfBytes": "32", - "value": "t_address_payable" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" - }, - "t_mapping(t_address,t_string_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => string)", - "numberOfBytes": "32", - "value": "t_string_storage" - }, - "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", - "numberOfBytes": "32", - "value": "t_struct(MiningStake)11702_storage" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(address => address payable))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_address_payable)" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => address))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_address)" - }, - "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", - "numberOfBytes": "32", - "value": "t_struct(ENSRecord)11684_storage" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", - "numberOfBytes": "32", - "value": "t_struct(PendingReputationUpdate)11713_storage" - }, - "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", - "numberOfBytes": "32", - "value": "t_struct(ReputationLogEntry)11697_storage" - }, - "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", - "numberOfBytes": "32", - "value": "t_struct(Skill)11679_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_string_storage": { - "encoding": "bytes", - "label": "string", - "numberOfBytes": "32" - }, - "t_struct(ENSRecord)11684_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ENSRecord", - "members": [ - { - "astId": 11681, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "addr", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11683, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "orbitdb", - "offset": 0, - "slot": "1", - "type": "t_string_storage" - } - ], - "numberOfBytes": "64" - }, - "t_struct(MiningStake)11702_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.MiningStake", - "members": [ - { - "astId": 11699, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "amount", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 11701, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_struct(PendingReputationUpdate)11713_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", - "members": [ - { - "astId": 11704, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11706, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11708, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11710, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11712, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "timestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ReputationLogEntry)11697_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 11686, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11688, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11690, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11692, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11694, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 11696, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Skill)11679_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.Skill", - "members": [ - { - "astId": 11666, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "nParents", - "offset": 0, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11668, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "nChildren", - "offset": 16, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11671, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "parents", - "offset": 0, - "slot": "1", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11674, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "children", - "offset": 0, - "slot": "2", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11676, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "DEPRECATED_globalSkill", - "offset": 0, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 11678, - "contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork", - "label": "DEPRECATED_deprecated", - "offset": 1, - "slot": "3", - "type": "t_bool" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json deleted file mode 100644 index 88c3974843..0000000000 --- a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction.json +++ /dev/null @@ -1,814 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16220, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "colonyCount", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 16222, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "currentColonyVersion", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 16224, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "metaColony", - "offset": 0, - "slot": "8", - "type": "t_address" - }, - { - "astId": 16226, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "tokenLocking", - "offset": 0, - "slot": "9", - "type": "t_address" - }, - { - "astId": 16228, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "feeInverse", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 16230, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "skillCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 16232, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "reputationMiningSkillId", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 16234, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "reputationRootHash", - "offset": 0, - "slot": "13", - "type": "t_bytes32" - }, - { - "astId": 16236, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "reputationRootHashNLeaves", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 16238, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "miningCycleResolver", - "offset": 0, - "slot": "15", - "type": "t_address" - }, - { - "astId": 16240, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "activeReputationMiningCycle", - "offset": 0, - "slot": "16", - "type": "t_address" - }, - { - "astId": 16242, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "inactiveReputationMiningCycle", - "offset": 0, - "slot": "17", - "type": "t_address" - }, - { - "astId": 16246, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "colonies", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16250, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "_isColony", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16254, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "colonyVersionResolver", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16259, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "skills", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" - }, - { - "astId": 16263, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "stakedBalances", - "offset": 0, - "slot": "22", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16267, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "recentAuctions", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16269, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "ens", - "offset": 0, - "slot": "24", - "type": "t_address" - }, - { - "astId": 16271, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "rootNode", - "offset": 0, - "slot": "25", - "type": "t_bytes32" - }, - { - "astId": 16273, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "userNode", - "offset": 0, - "slot": "26", - "type": "t_bytes32" - }, - { - "astId": 16275, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "colonyNode", - "offset": 0, - "slot": "27", - "type": "t_bytes32" - }, - { - "astId": 16279, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "colonyLabels", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16283, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "userLabels", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16288, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "records", - "offset": 0, - "slot": "30", - "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" - }, - { - "astId": 16295, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "replacementReputationUpdateLog", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" - }, - { - "astId": 16299, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "replacementReputationUpdateLogsExist", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16304, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "miningStakes", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" - }, - { - "astId": 16308, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "pendingMiningRewards", - "offset": 0, - "slot": "34", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16310, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "totalMinerRewardPerCycle", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 16312, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "DEPRECATED_annualMetaColonyStipend", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 16314, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "DEPRECATED_lastMetaColonyStipendIssued", - "offset": 0, - "slot": "37", - "type": "t_uint256" - }, - { - "astId": 16320, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "resolvers", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" - }, - { - "astId": 16326, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "installations", - "offset": 0, - "slot": "39", - "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" - }, - { - "astId": 16330, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "payoutWhitelist", - "offset": 0, - "slot": "40", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16337, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "metatransactionNonces", - "offset": 0, - "slot": "41", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16341, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "miningDelegators", - "offset": 0, - "slot": "42", - "type": "t_mapping(t_address,t_address)" - }, - { - "astId": 16343, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "reputationMiningChainId", - "offset": 0, - "slot": "43", - "type": "t_uint256" - }, - { - "astId": 16345, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "colonyBridgeAddress", - "offset": 0, - "slot": "44", - "type": "t_address" - }, - { - "astId": 16349, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "bridgeCurrentRootHashNonces", - "offset": 0, - "slot": "45", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16353, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "networkSkillCounts", - "offset": 0, - "slot": "46", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16359, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "pendingSkillAdditions", - "offset": 0, - "slot": "47", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" - }, - { - "astId": 16365, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "reputationUpdateCount", - "offset": 0, - "slot": "48", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - { - "astId": 16374, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "pendingReputationUpdates", - "offset": 0, - "slot": "49", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_address)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_address,t_address_payable)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address payable)", - "numberOfBytes": "32", - "value": "t_address_payable" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" - }, - "t_mapping(t_address,t_string_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => string)", - "numberOfBytes": "32", - "value": "t_string_storage" - }, - "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", - "numberOfBytes": "32", - "value": "t_struct(MiningStake)11702_storage" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(address => address payable))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_address_payable)" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => address))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_address)" - }, - "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", - "numberOfBytes": "32", - "value": "t_struct(ENSRecord)11684_storage" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", - "numberOfBytes": "32", - "value": "t_struct(PendingReputationUpdate)11713_storage" - }, - "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", - "numberOfBytes": "32", - "value": "t_struct(ReputationLogEntry)11697_storage" - }, - "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", - "numberOfBytes": "32", - "value": "t_struct(Skill)11679_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_string_storage": { - "encoding": "bytes", - "label": "string", - "numberOfBytes": "32" - }, - "t_struct(ENSRecord)11684_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ENSRecord", - "members": [ - { - "astId": 11681, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "addr", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11683, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "orbitdb", - "offset": 0, - "slot": "1", - "type": "t_string_storage" - } - ], - "numberOfBytes": "64" - }, - "t_struct(MiningStake)11702_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.MiningStake", - "members": [ - { - "astId": 11699, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "amount", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 11701, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_struct(PendingReputationUpdate)11713_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", - "members": [ - { - "astId": 11704, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11706, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11708, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11710, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11712, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "timestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ReputationLogEntry)11697_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 11686, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11688, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11690, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11692, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11694, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 11696, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Skill)11679_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.Skill", - "members": [ - { - "astId": 11666, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "nParents", - "offset": 0, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11668, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "nChildren", - "offset": 16, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11671, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "parents", - "offset": 0, - "slot": "1", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11674, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "children", - "offset": 0, - "slot": "2", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11676, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "DEPRECATED_globalSkill", - "offset": 0, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 11678, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:ColonyNetworkAuction", - "label": "DEPRECATED_deprecated", - "offset": 1, - "slot": "3", - "type": "t_bool" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction.json deleted file mode 100644 index 058d73c4e7..0000000000 --- a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction.json +++ /dev/null @@ -1,124 +0,0 @@ -{ - "storage": [ - { - "astId": 10693, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "quantity", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 10695, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "started", - "offset": 0, - "slot": "1", - "type": "t_bool" - }, - { - "astId": 10697, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "startTime", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 10699, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "endTime", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 10701, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "minPrice", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 10708, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "receivedTotal", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 10710, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "bidCount", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 10712, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "claimCount", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 10714, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "finalPrice", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 10716, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "finalized", - "offset": 0, - "slot": "9", - "type": "t_bool" - }, - { - "astId": 10720, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "metatransactionNonces", - "offset": 0, - "slot": "10", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 10724, - "contract": "contracts/colonyNetwork/ColonyNetworkAuction.sol:DutchAuction", - "label": "bids", - "offset": 0, - "slot": "11", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority.json deleted file mode 100644 index 5a4d5e5773..0000000000 --- a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 45605, - "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", - "label": "_root_users", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 45609, - "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", - "label": "_user_roles", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_bytes32)" - }, - { - "astId": 45615, - "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", - "label": "_capability_roles", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))" - }, - { - "astId": 45621, - "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", - "label": "_public_capabilities", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bool))" - }, - { - "astId": 18215, - "contract": "contracts/colonyNetwork/ColonyNetworkAuthority.sol:ColonyNetworkAuthority", - "label": "userDomainRoles", - "offset": 0, - "slot": "6", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_bytes32)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_address,t_mapping(t_bytes4,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(bytes4 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes4,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(bytes4 => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes4,t_bytes32)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bytes32)" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_bytes4,t_bytes32)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint256,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json deleted file mode 100644 index 21c9bcdc64..0000000000 --- a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer.json +++ /dev/null @@ -1,814 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16220, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "colonyCount", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 16222, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "currentColonyVersion", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 16224, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "metaColony", - "offset": 0, - "slot": "8", - "type": "t_address" - }, - { - "astId": 16226, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "tokenLocking", - "offset": 0, - "slot": "9", - "type": "t_address" - }, - { - "astId": 16228, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "feeInverse", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 16230, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "skillCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 16232, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "reputationMiningSkillId", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 16234, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "reputationRootHash", - "offset": 0, - "slot": "13", - "type": "t_bytes32" - }, - { - "astId": 16236, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "reputationRootHashNLeaves", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 16238, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "miningCycleResolver", - "offset": 0, - "slot": "15", - "type": "t_address" - }, - { - "astId": 16240, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "activeReputationMiningCycle", - "offset": 0, - "slot": "16", - "type": "t_address" - }, - { - "astId": 16242, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "inactiveReputationMiningCycle", - "offset": 0, - "slot": "17", - "type": "t_address" - }, - { - "astId": 16246, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "colonies", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16250, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "_isColony", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16254, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "colonyVersionResolver", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16259, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "skills", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" - }, - { - "astId": 16263, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "stakedBalances", - "offset": 0, - "slot": "22", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16267, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "recentAuctions", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16269, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "ens", - "offset": 0, - "slot": "24", - "type": "t_address" - }, - { - "astId": 16271, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "rootNode", - "offset": 0, - "slot": "25", - "type": "t_bytes32" - }, - { - "astId": 16273, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "userNode", - "offset": 0, - "slot": "26", - "type": "t_bytes32" - }, - { - "astId": 16275, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "colonyNode", - "offset": 0, - "slot": "27", - "type": "t_bytes32" - }, - { - "astId": 16279, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "colonyLabels", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16283, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "userLabels", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16288, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "records", - "offset": 0, - "slot": "30", - "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" - }, - { - "astId": 16295, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "replacementReputationUpdateLog", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" - }, - { - "astId": 16299, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "replacementReputationUpdateLogsExist", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16304, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "miningStakes", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" - }, - { - "astId": 16308, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "pendingMiningRewards", - "offset": 0, - "slot": "34", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16310, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "totalMinerRewardPerCycle", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 16312, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "DEPRECATED_annualMetaColonyStipend", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 16314, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "DEPRECATED_lastMetaColonyStipendIssued", - "offset": 0, - "slot": "37", - "type": "t_uint256" - }, - { - "astId": 16320, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "resolvers", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" - }, - { - "astId": 16326, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "installations", - "offset": 0, - "slot": "39", - "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" - }, - { - "astId": 16330, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "payoutWhitelist", - "offset": 0, - "slot": "40", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16337, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "metatransactionNonces", - "offset": 0, - "slot": "41", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16341, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "miningDelegators", - "offset": 0, - "slot": "42", - "type": "t_mapping(t_address,t_address)" - }, - { - "astId": 16343, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "reputationMiningChainId", - "offset": 0, - "slot": "43", - "type": "t_uint256" - }, - { - "astId": 16345, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "colonyBridgeAddress", - "offset": 0, - "slot": "44", - "type": "t_address" - }, - { - "astId": 16349, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "bridgeCurrentRootHashNonces", - "offset": 0, - "slot": "45", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16353, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "networkSkillCounts", - "offset": 0, - "slot": "46", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16359, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "pendingSkillAdditions", - "offset": 0, - "slot": "47", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" - }, - { - "astId": 16365, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "reputationUpdateCount", - "offset": 0, - "slot": "48", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - { - "astId": 16374, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "pendingReputationUpdates", - "offset": 0, - "slot": "49", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_address)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_address,t_address_payable)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address payable)", - "numberOfBytes": "32", - "value": "t_address_payable" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" - }, - "t_mapping(t_address,t_string_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => string)", - "numberOfBytes": "32", - "value": "t_string_storage" - }, - "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", - "numberOfBytes": "32", - "value": "t_struct(MiningStake)11702_storage" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(address => address payable))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_address_payable)" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => address))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_address)" - }, - "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", - "numberOfBytes": "32", - "value": "t_struct(ENSRecord)11684_storage" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", - "numberOfBytes": "32", - "value": "t_struct(PendingReputationUpdate)11713_storage" - }, - "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", - "numberOfBytes": "32", - "value": "t_struct(ReputationLogEntry)11697_storage" - }, - "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", - "numberOfBytes": "32", - "value": "t_struct(Skill)11679_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_string_storage": { - "encoding": "bytes", - "label": "string", - "numberOfBytes": "32" - }, - "t_struct(ENSRecord)11684_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ENSRecord", - "members": [ - { - "astId": 11681, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "addr", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11683, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "orbitdb", - "offset": 0, - "slot": "1", - "type": "t_string_storage" - } - ], - "numberOfBytes": "64" - }, - "t_struct(MiningStake)11702_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.MiningStake", - "members": [ - { - "astId": 11699, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "amount", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 11701, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_struct(PendingReputationUpdate)11713_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", - "members": [ - { - "astId": 11704, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11706, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11708, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11710, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11712, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "timestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ReputationLogEntry)11697_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 11686, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11688, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11690, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11692, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11694, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 11696, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Skill)11679_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.Skill", - "members": [ - { - "astId": 11666, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "nParents", - "offset": 0, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11668, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "nChildren", - "offset": 16, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11671, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "parents", - "offset": 0, - "slot": "1", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11674, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "children", - "offset": 0, - "slot": "2", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11676, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "DEPRECATED_globalSkill", - "offset": 0, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 11678, - "contract": "contracts/colonyNetwork/ColonyNetworkDeployer.sol:ColonyNetworkDeployer", - "label": "DEPRECATED_deprecated", - "offset": 1, - "slot": "3", - "type": "t_bool" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json deleted file mode 100644 index e80852fb6e..0000000000 --- a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS.json +++ /dev/null @@ -1,814 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16220, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "colonyCount", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 16222, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "currentColonyVersion", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 16224, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "metaColony", - "offset": 0, - "slot": "8", - "type": "t_address" - }, - { - "astId": 16226, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "tokenLocking", - "offset": 0, - "slot": "9", - "type": "t_address" - }, - { - "astId": 16228, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "feeInverse", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 16230, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "skillCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 16232, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "reputationMiningSkillId", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 16234, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "reputationRootHash", - "offset": 0, - "slot": "13", - "type": "t_bytes32" - }, - { - "astId": 16236, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "reputationRootHashNLeaves", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 16238, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "miningCycleResolver", - "offset": 0, - "slot": "15", - "type": "t_address" - }, - { - "astId": 16240, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "activeReputationMiningCycle", - "offset": 0, - "slot": "16", - "type": "t_address" - }, - { - "astId": 16242, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "inactiveReputationMiningCycle", - "offset": 0, - "slot": "17", - "type": "t_address" - }, - { - "astId": 16246, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "colonies", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16250, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "_isColony", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16254, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "colonyVersionResolver", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16259, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "skills", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" - }, - { - "astId": 16263, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "stakedBalances", - "offset": 0, - "slot": "22", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16267, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "recentAuctions", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16269, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "ens", - "offset": 0, - "slot": "24", - "type": "t_address" - }, - { - "astId": 16271, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "rootNode", - "offset": 0, - "slot": "25", - "type": "t_bytes32" - }, - { - "astId": 16273, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "userNode", - "offset": 0, - "slot": "26", - "type": "t_bytes32" - }, - { - "astId": 16275, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "colonyNode", - "offset": 0, - "slot": "27", - "type": "t_bytes32" - }, - { - "astId": 16279, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "colonyLabels", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16283, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "userLabels", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16288, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "records", - "offset": 0, - "slot": "30", - "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" - }, - { - "astId": 16295, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "replacementReputationUpdateLog", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" - }, - { - "astId": 16299, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "replacementReputationUpdateLogsExist", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16304, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "miningStakes", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" - }, - { - "astId": 16308, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "pendingMiningRewards", - "offset": 0, - "slot": "34", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16310, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "totalMinerRewardPerCycle", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 16312, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "DEPRECATED_annualMetaColonyStipend", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 16314, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "DEPRECATED_lastMetaColonyStipendIssued", - "offset": 0, - "slot": "37", - "type": "t_uint256" - }, - { - "astId": 16320, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "resolvers", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" - }, - { - "astId": 16326, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "installations", - "offset": 0, - "slot": "39", - "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" - }, - { - "astId": 16330, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "payoutWhitelist", - "offset": 0, - "slot": "40", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16337, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "metatransactionNonces", - "offset": 0, - "slot": "41", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16341, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "miningDelegators", - "offset": 0, - "slot": "42", - "type": "t_mapping(t_address,t_address)" - }, - { - "astId": 16343, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "reputationMiningChainId", - "offset": 0, - "slot": "43", - "type": "t_uint256" - }, - { - "astId": 16345, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "colonyBridgeAddress", - "offset": 0, - "slot": "44", - "type": "t_address" - }, - { - "astId": 16349, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "bridgeCurrentRootHashNonces", - "offset": 0, - "slot": "45", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16353, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "networkSkillCounts", - "offset": 0, - "slot": "46", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16359, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "pendingSkillAdditions", - "offset": 0, - "slot": "47", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" - }, - { - "astId": 16365, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "reputationUpdateCount", - "offset": 0, - "slot": "48", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - { - "astId": 16374, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "pendingReputationUpdates", - "offset": 0, - "slot": "49", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_address)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_address,t_address_payable)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address payable)", - "numberOfBytes": "32", - "value": "t_address_payable" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" - }, - "t_mapping(t_address,t_string_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => string)", - "numberOfBytes": "32", - "value": "t_string_storage" - }, - "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", - "numberOfBytes": "32", - "value": "t_struct(MiningStake)11702_storage" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(address => address payable))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_address_payable)" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => address))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_address)" - }, - "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", - "numberOfBytes": "32", - "value": "t_struct(ENSRecord)11684_storage" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", - "numberOfBytes": "32", - "value": "t_struct(PendingReputationUpdate)11713_storage" - }, - "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", - "numberOfBytes": "32", - "value": "t_struct(ReputationLogEntry)11697_storage" - }, - "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", - "numberOfBytes": "32", - "value": "t_struct(Skill)11679_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_string_storage": { - "encoding": "bytes", - "label": "string", - "numberOfBytes": "32" - }, - "t_struct(ENSRecord)11684_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ENSRecord", - "members": [ - { - "astId": 11681, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "addr", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11683, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "orbitdb", - "offset": 0, - "slot": "1", - "type": "t_string_storage" - } - ], - "numberOfBytes": "64" - }, - "t_struct(MiningStake)11702_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.MiningStake", - "members": [ - { - "astId": 11699, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "amount", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 11701, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_struct(PendingReputationUpdate)11713_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", - "members": [ - { - "astId": 11704, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11706, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11708, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11710, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11712, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "timestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ReputationLogEntry)11697_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 11686, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11688, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11690, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11692, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11694, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 11696, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Skill)11679_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.Skill", - "members": [ - { - "astId": 11666, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "nParents", - "offset": 0, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11668, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "nChildren", - "offset": 16, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11671, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "parents", - "offset": 0, - "slot": "1", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11674, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "children", - "offset": 0, - "slot": "2", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11676, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "DEPRECATED_globalSkill", - "offset": 0, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 11678, - "contract": "contracts/colonyNetwork/ColonyNetworkENS.sol:ColonyNetworkENS", - "label": "DEPRECATED_deprecated", - "offset": 1, - "slot": "3", - "type": "t_bool" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json deleted file mode 100644 index a7bfb5e1b4..0000000000 --- a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions.json +++ /dev/null @@ -1,814 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16220, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "colonyCount", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 16222, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "currentColonyVersion", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 16224, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "metaColony", - "offset": 0, - "slot": "8", - "type": "t_address" - }, - { - "astId": 16226, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "tokenLocking", - "offset": 0, - "slot": "9", - "type": "t_address" - }, - { - "astId": 16228, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "feeInverse", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 16230, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "skillCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 16232, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "reputationMiningSkillId", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 16234, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "reputationRootHash", - "offset": 0, - "slot": "13", - "type": "t_bytes32" - }, - { - "astId": 16236, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "reputationRootHashNLeaves", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 16238, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "miningCycleResolver", - "offset": 0, - "slot": "15", - "type": "t_address" - }, - { - "astId": 16240, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "activeReputationMiningCycle", - "offset": 0, - "slot": "16", - "type": "t_address" - }, - { - "astId": 16242, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "inactiveReputationMiningCycle", - "offset": 0, - "slot": "17", - "type": "t_address" - }, - { - "astId": 16246, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "colonies", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16250, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "_isColony", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16254, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "colonyVersionResolver", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16259, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "skills", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" - }, - { - "astId": 16263, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "stakedBalances", - "offset": 0, - "slot": "22", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16267, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "recentAuctions", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16269, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "ens", - "offset": 0, - "slot": "24", - "type": "t_address" - }, - { - "astId": 16271, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "rootNode", - "offset": 0, - "slot": "25", - "type": "t_bytes32" - }, - { - "astId": 16273, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "userNode", - "offset": 0, - "slot": "26", - "type": "t_bytes32" - }, - { - "astId": 16275, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "colonyNode", - "offset": 0, - "slot": "27", - "type": "t_bytes32" - }, - { - "astId": 16279, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "colonyLabels", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16283, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "userLabels", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16288, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "records", - "offset": 0, - "slot": "30", - "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" - }, - { - "astId": 16295, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "replacementReputationUpdateLog", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" - }, - { - "astId": 16299, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "replacementReputationUpdateLogsExist", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16304, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "miningStakes", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" - }, - { - "astId": 16308, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "pendingMiningRewards", - "offset": 0, - "slot": "34", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16310, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "totalMinerRewardPerCycle", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 16312, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "DEPRECATED_annualMetaColonyStipend", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 16314, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "DEPRECATED_lastMetaColonyStipendIssued", - "offset": 0, - "slot": "37", - "type": "t_uint256" - }, - { - "astId": 16320, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "resolvers", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" - }, - { - "astId": 16326, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "installations", - "offset": 0, - "slot": "39", - "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" - }, - { - "astId": 16330, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "payoutWhitelist", - "offset": 0, - "slot": "40", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16337, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "metatransactionNonces", - "offset": 0, - "slot": "41", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16341, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "miningDelegators", - "offset": 0, - "slot": "42", - "type": "t_mapping(t_address,t_address)" - }, - { - "astId": 16343, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "reputationMiningChainId", - "offset": 0, - "slot": "43", - "type": "t_uint256" - }, - { - "astId": 16345, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "colonyBridgeAddress", - "offset": 0, - "slot": "44", - "type": "t_address" - }, - { - "astId": 16349, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "bridgeCurrentRootHashNonces", - "offset": 0, - "slot": "45", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16353, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "networkSkillCounts", - "offset": 0, - "slot": "46", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16359, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "pendingSkillAdditions", - "offset": 0, - "slot": "47", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" - }, - { - "astId": 16365, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "reputationUpdateCount", - "offset": 0, - "slot": "48", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - { - "astId": 16374, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "pendingReputationUpdates", - "offset": 0, - "slot": "49", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_address)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_address,t_address_payable)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address payable)", - "numberOfBytes": "32", - "value": "t_address_payable" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" - }, - "t_mapping(t_address,t_string_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => string)", - "numberOfBytes": "32", - "value": "t_string_storage" - }, - "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", - "numberOfBytes": "32", - "value": "t_struct(MiningStake)11702_storage" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(address => address payable))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_address_payable)" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => address))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_address)" - }, - "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", - "numberOfBytes": "32", - "value": "t_struct(ENSRecord)11684_storage" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", - "numberOfBytes": "32", - "value": "t_struct(PendingReputationUpdate)11713_storage" - }, - "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", - "numberOfBytes": "32", - "value": "t_struct(ReputationLogEntry)11697_storage" - }, - "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", - "numberOfBytes": "32", - "value": "t_struct(Skill)11679_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_string_storage": { - "encoding": "bytes", - "label": "string", - "numberOfBytes": "32" - }, - "t_struct(ENSRecord)11684_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ENSRecord", - "members": [ - { - "astId": 11681, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "addr", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11683, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "orbitdb", - "offset": 0, - "slot": "1", - "type": "t_string_storage" - } - ], - "numberOfBytes": "64" - }, - "t_struct(MiningStake)11702_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.MiningStake", - "members": [ - { - "astId": 11699, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "amount", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 11701, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_struct(PendingReputationUpdate)11713_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", - "members": [ - { - "astId": 11704, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11706, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11708, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11710, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11712, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "timestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ReputationLogEntry)11697_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 11686, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11688, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11690, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11692, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11694, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 11696, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Skill)11679_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.Skill", - "members": [ - { - "astId": 11666, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "nParents", - "offset": 0, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11668, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "nChildren", - "offset": 16, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11671, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "parents", - "offset": 0, - "slot": "1", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11674, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "children", - "offset": 0, - "slot": "2", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11676, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "DEPRECATED_globalSkill", - "offset": 0, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 11678, - "contract": "contracts/colonyNetwork/ColonyNetworkExtensions.sol:ColonyNetworkExtensions", - "label": "DEPRECATED_deprecated", - "offset": 1, - "slot": "3", - "type": "t_bool" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json deleted file mode 100644 index 085736c094..0000000000 --- a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining.json +++ /dev/null @@ -1,814 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16220, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "colonyCount", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 16222, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "currentColonyVersion", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 16224, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "metaColony", - "offset": 0, - "slot": "8", - "type": "t_address" - }, - { - "astId": 16226, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "tokenLocking", - "offset": 0, - "slot": "9", - "type": "t_address" - }, - { - "astId": 16228, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "feeInverse", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 16230, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "skillCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 16232, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "reputationMiningSkillId", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 16234, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "reputationRootHash", - "offset": 0, - "slot": "13", - "type": "t_bytes32" - }, - { - "astId": 16236, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "reputationRootHashNLeaves", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 16238, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "miningCycleResolver", - "offset": 0, - "slot": "15", - "type": "t_address" - }, - { - "astId": 16240, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "activeReputationMiningCycle", - "offset": 0, - "slot": "16", - "type": "t_address" - }, - { - "astId": 16242, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "inactiveReputationMiningCycle", - "offset": 0, - "slot": "17", - "type": "t_address" - }, - { - "astId": 16246, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "colonies", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16250, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "_isColony", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16254, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "colonyVersionResolver", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16259, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "skills", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" - }, - { - "astId": 16263, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "stakedBalances", - "offset": 0, - "slot": "22", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16267, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "recentAuctions", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16269, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "ens", - "offset": 0, - "slot": "24", - "type": "t_address" - }, - { - "astId": 16271, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "rootNode", - "offset": 0, - "slot": "25", - "type": "t_bytes32" - }, - { - "astId": 16273, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "userNode", - "offset": 0, - "slot": "26", - "type": "t_bytes32" - }, - { - "astId": 16275, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "colonyNode", - "offset": 0, - "slot": "27", - "type": "t_bytes32" - }, - { - "astId": 16279, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "colonyLabels", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16283, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "userLabels", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16288, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "records", - "offset": 0, - "slot": "30", - "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" - }, - { - "astId": 16295, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "replacementReputationUpdateLog", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" - }, - { - "astId": 16299, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "replacementReputationUpdateLogsExist", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16304, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "miningStakes", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" - }, - { - "astId": 16308, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "pendingMiningRewards", - "offset": 0, - "slot": "34", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16310, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "totalMinerRewardPerCycle", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 16312, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "DEPRECATED_annualMetaColonyStipend", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 16314, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "DEPRECATED_lastMetaColonyStipendIssued", - "offset": 0, - "slot": "37", - "type": "t_uint256" - }, - { - "astId": 16320, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "resolvers", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" - }, - { - "astId": 16326, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "installations", - "offset": 0, - "slot": "39", - "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" - }, - { - "astId": 16330, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "payoutWhitelist", - "offset": 0, - "slot": "40", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16337, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "metatransactionNonces", - "offset": 0, - "slot": "41", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16341, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "miningDelegators", - "offset": 0, - "slot": "42", - "type": "t_mapping(t_address,t_address)" - }, - { - "astId": 16343, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "reputationMiningChainId", - "offset": 0, - "slot": "43", - "type": "t_uint256" - }, - { - "astId": 16345, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "colonyBridgeAddress", - "offset": 0, - "slot": "44", - "type": "t_address" - }, - { - "astId": 16349, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "bridgeCurrentRootHashNonces", - "offset": 0, - "slot": "45", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16353, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "networkSkillCounts", - "offset": 0, - "slot": "46", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16359, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "pendingSkillAdditions", - "offset": 0, - "slot": "47", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" - }, - { - "astId": 16365, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "reputationUpdateCount", - "offset": 0, - "slot": "48", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - { - "astId": 16374, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "pendingReputationUpdates", - "offset": 0, - "slot": "49", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_address)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_address,t_address_payable)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address payable)", - "numberOfBytes": "32", - "value": "t_address_payable" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" - }, - "t_mapping(t_address,t_string_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => string)", - "numberOfBytes": "32", - "value": "t_string_storage" - }, - "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", - "numberOfBytes": "32", - "value": "t_struct(MiningStake)11702_storage" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(address => address payable))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_address_payable)" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => address))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_address)" - }, - "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", - "numberOfBytes": "32", - "value": "t_struct(ENSRecord)11684_storage" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", - "numberOfBytes": "32", - "value": "t_struct(PendingReputationUpdate)11713_storage" - }, - "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", - "numberOfBytes": "32", - "value": "t_struct(ReputationLogEntry)11697_storage" - }, - "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", - "numberOfBytes": "32", - "value": "t_struct(Skill)11679_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_string_storage": { - "encoding": "bytes", - "label": "string", - "numberOfBytes": "32" - }, - "t_struct(ENSRecord)11684_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ENSRecord", - "members": [ - { - "astId": 11681, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "addr", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11683, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "orbitdb", - "offset": 0, - "slot": "1", - "type": "t_string_storage" - } - ], - "numberOfBytes": "64" - }, - "t_struct(MiningStake)11702_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.MiningStake", - "members": [ - { - "astId": 11699, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "amount", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 11701, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_struct(PendingReputationUpdate)11713_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", - "members": [ - { - "astId": 11704, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11706, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11708, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11710, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11712, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "timestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ReputationLogEntry)11697_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 11686, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11688, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11690, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11692, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11694, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 11696, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Skill)11679_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.Skill", - "members": [ - { - "astId": 11666, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "nParents", - "offset": 0, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11668, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "nChildren", - "offset": 16, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11671, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "parents", - "offset": 0, - "slot": "1", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11674, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "children", - "offset": 0, - "slot": "2", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11676, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "DEPRECATED_globalSkill", - "offset": 0, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 11678, - "contract": "contracts/colonyNetwork/ColonyNetworkMining.sol:ColonyNetworkMining", - "label": "DEPRECATED_deprecated", - "offset": 1, - "slot": "3", - "type": "t_bool" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json deleted file mode 100644 index dfe7445caa..0000000000 --- a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills.json +++ /dev/null @@ -1,814 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16220, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "colonyCount", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 16222, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "currentColonyVersion", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 16224, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "metaColony", - "offset": 0, - "slot": "8", - "type": "t_address" - }, - { - "astId": 16226, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "tokenLocking", - "offset": 0, - "slot": "9", - "type": "t_address" - }, - { - "astId": 16228, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "feeInverse", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 16230, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "skillCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 16232, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "reputationMiningSkillId", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 16234, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "reputationRootHash", - "offset": 0, - "slot": "13", - "type": "t_bytes32" - }, - { - "astId": 16236, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "reputationRootHashNLeaves", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 16238, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "miningCycleResolver", - "offset": 0, - "slot": "15", - "type": "t_address" - }, - { - "astId": 16240, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "activeReputationMiningCycle", - "offset": 0, - "slot": "16", - "type": "t_address" - }, - { - "astId": 16242, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "inactiveReputationMiningCycle", - "offset": 0, - "slot": "17", - "type": "t_address" - }, - { - "astId": 16246, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "colonies", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16250, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "_isColony", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16254, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "colonyVersionResolver", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16259, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "skills", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" - }, - { - "astId": 16263, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "stakedBalances", - "offset": 0, - "slot": "22", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16267, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "recentAuctions", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16269, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "ens", - "offset": 0, - "slot": "24", - "type": "t_address" - }, - { - "astId": 16271, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "rootNode", - "offset": 0, - "slot": "25", - "type": "t_bytes32" - }, - { - "astId": 16273, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "userNode", - "offset": 0, - "slot": "26", - "type": "t_bytes32" - }, - { - "astId": 16275, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "colonyNode", - "offset": 0, - "slot": "27", - "type": "t_bytes32" - }, - { - "astId": 16279, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "colonyLabels", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16283, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "userLabels", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16288, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "records", - "offset": 0, - "slot": "30", - "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" - }, - { - "astId": 16295, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "replacementReputationUpdateLog", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" - }, - { - "astId": 16299, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "replacementReputationUpdateLogsExist", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16304, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "miningStakes", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" - }, - { - "astId": 16308, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "pendingMiningRewards", - "offset": 0, - "slot": "34", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16310, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "totalMinerRewardPerCycle", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 16312, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "DEPRECATED_annualMetaColonyStipend", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 16314, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "DEPRECATED_lastMetaColonyStipendIssued", - "offset": 0, - "slot": "37", - "type": "t_uint256" - }, - { - "astId": 16320, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "resolvers", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" - }, - { - "astId": 16326, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "installations", - "offset": 0, - "slot": "39", - "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" - }, - { - "astId": 16330, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "payoutWhitelist", - "offset": 0, - "slot": "40", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16337, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "metatransactionNonces", - "offset": 0, - "slot": "41", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16341, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "miningDelegators", - "offset": 0, - "slot": "42", - "type": "t_mapping(t_address,t_address)" - }, - { - "astId": 16343, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "reputationMiningChainId", - "offset": 0, - "slot": "43", - "type": "t_uint256" - }, - { - "astId": 16345, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "colonyBridgeAddress", - "offset": 0, - "slot": "44", - "type": "t_address" - }, - { - "astId": 16349, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "bridgeCurrentRootHashNonces", - "offset": 0, - "slot": "45", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16353, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "networkSkillCounts", - "offset": 0, - "slot": "46", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16359, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "pendingSkillAdditions", - "offset": 0, - "slot": "47", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" - }, - { - "astId": 16365, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "reputationUpdateCount", - "offset": 0, - "slot": "48", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - { - "astId": 16374, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "pendingReputationUpdates", - "offset": 0, - "slot": "49", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_address)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_address,t_address_payable)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address payable)", - "numberOfBytes": "32", - "value": "t_address_payable" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" - }, - "t_mapping(t_address,t_string_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => string)", - "numberOfBytes": "32", - "value": "t_string_storage" - }, - "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", - "numberOfBytes": "32", - "value": "t_struct(MiningStake)11702_storage" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(address => address payable))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_address_payable)" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => address))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_address)" - }, - "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", - "numberOfBytes": "32", - "value": "t_struct(ENSRecord)11684_storage" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", - "numberOfBytes": "32", - "value": "t_struct(PendingReputationUpdate)11713_storage" - }, - "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", - "numberOfBytes": "32", - "value": "t_struct(ReputationLogEntry)11697_storage" - }, - "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", - "numberOfBytes": "32", - "value": "t_struct(Skill)11679_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_string_storage": { - "encoding": "bytes", - "label": "string", - "numberOfBytes": "32" - }, - "t_struct(ENSRecord)11684_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ENSRecord", - "members": [ - { - "astId": 11681, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "addr", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11683, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "orbitdb", - "offset": 0, - "slot": "1", - "type": "t_string_storage" - } - ], - "numberOfBytes": "64" - }, - "t_struct(MiningStake)11702_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.MiningStake", - "members": [ - { - "astId": 11699, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "amount", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 11701, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_struct(PendingReputationUpdate)11713_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", - "members": [ - { - "astId": 11704, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11706, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11708, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11710, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11712, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "timestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ReputationLogEntry)11697_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 11686, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11688, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11690, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11692, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11694, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 11696, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Skill)11679_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.Skill", - "members": [ - { - "astId": 11666, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "nParents", - "offset": 0, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11668, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "nChildren", - "offset": 16, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11671, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "parents", - "offset": 0, - "slot": "1", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11674, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "children", - "offset": 0, - "slot": "2", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11676, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "DEPRECATED_globalSkill", - "offset": 0, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 11678, - "contract": "contracts/colonyNetwork/ColonyNetworkSkills.sol:ColonyNetworkSkills", - "label": "DEPRECATED_deprecated", - "offset": 1, - "slot": "3", - "type": "t_bool" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json b/.storage-layouts/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json deleted file mode 100644 index d0649501bc..0000000000 --- a/.storage-layouts/contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage.json +++ /dev/null @@ -1,814 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16220, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "colonyCount", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 16222, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "currentColonyVersion", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 16224, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "metaColony", - "offset": 0, - "slot": "8", - "type": "t_address" - }, - { - "astId": 16226, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "tokenLocking", - "offset": 0, - "slot": "9", - "type": "t_address" - }, - { - "astId": 16228, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "feeInverse", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 16230, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "skillCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 16232, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "reputationMiningSkillId", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 16234, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "reputationRootHash", - "offset": 0, - "slot": "13", - "type": "t_bytes32" - }, - { - "astId": 16236, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "reputationRootHashNLeaves", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 16238, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "miningCycleResolver", - "offset": 0, - "slot": "15", - "type": "t_address" - }, - { - "astId": 16240, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "activeReputationMiningCycle", - "offset": 0, - "slot": "16", - "type": "t_address" - }, - { - "astId": 16242, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "inactiveReputationMiningCycle", - "offset": 0, - "slot": "17", - "type": "t_address" - }, - { - "astId": 16246, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "colonies", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16250, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "_isColony", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16254, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "colonyVersionResolver", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 16259, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "skills", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_struct(Skill)11679_storage)" - }, - { - "astId": 16263, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "stakedBalances", - "offset": 0, - "slot": "22", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16267, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "recentAuctions", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16269, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "ens", - "offset": 0, - "slot": "24", - "type": "t_address" - }, - { - "astId": 16271, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "rootNode", - "offset": 0, - "slot": "25", - "type": "t_bytes32" - }, - { - "astId": 16273, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "userNode", - "offset": 0, - "slot": "26", - "type": "t_bytes32" - }, - { - "astId": 16275, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "colonyNode", - "offset": 0, - "slot": "27", - "type": "t_bytes32" - }, - { - "astId": 16279, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "colonyLabels", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16283, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "userLabels", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_string_storage)" - }, - { - "astId": 16288, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "records", - "offset": 0, - "slot": "30", - "type": "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)" - }, - { - "astId": 16295, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "replacementReputationUpdateLog", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))" - }, - { - "astId": 16299, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "replacementReputationUpdateLogsExist", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16304, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "miningStakes", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_struct(MiningStake)11702_storage)" - }, - { - "astId": 16308, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "pendingMiningRewards", - "offset": 0, - "slot": "34", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16310, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "totalMinerRewardPerCycle", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 16312, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "DEPRECATED_annualMetaColonyStipend", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 16314, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "DEPRECATED_lastMetaColonyStipendIssued", - "offset": 0, - "slot": "37", - "type": "t_uint256" - }, - { - "astId": 16320, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "resolvers", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))" - }, - { - "astId": 16326, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "installations", - "offset": 0, - "slot": "39", - "type": "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))" - }, - { - "astId": 16330, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "payoutWhitelist", - "offset": 0, - "slot": "40", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 16337, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "metatransactionNonces", - "offset": 0, - "slot": "41", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 16341, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "miningDelegators", - "offset": 0, - "slot": "42", - "type": "t_mapping(t_address,t_address)" - }, - { - "astId": 16343, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "reputationMiningChainId", - "offset": 0, - "slot": "43", - "type": "t_uint256" - }, - { - "astId": 16345, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "colonyBridgeAddress", - "offset": 0, - "slot": "44", - "type": "t_address" - }, - { - "astId": 16349, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "bridgeCurrentRootHashNonces", - "offset": 0, - "slot": "45", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16353, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "networkSkillCounts", - "offset": 0, - "slot": "46", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 16359, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "pendingSkillAdditions", - "offset": 0, - "slot": "47", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))" - }, - { - "astId": 16365, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "reputationUpdateCount", - "offset": 0, - "slot": "48", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - { - "astId": 16374, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "pendingReputationUpdates", - "offset": 0, - "slot": "49", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_address)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_address,t_address_payable)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => address payable)", - "numberOfBytes": "32", - "value": "t_address_payable" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)" - }, - "t_mapping(t_address,t_string_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => string)", - "numberOfBytes": "32", - "value": "t_string_storage" - }, - "t_mapping(t_address,t_struct(MiningStake)11702_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ColonyNetworkDataTypes.MiningStake)", - "numberOfBytes": "32", - "value": "t_struct(MiningStake)11702_storage" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_mapping(t_address,t_address_payable))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(address => address payable))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_address_payable)" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_address))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => address))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_address)" - }, - "t_mapping(t_bytes32,t_struct(ENSRecord)11684_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct ColonyNetworkDataTypes.ENSRecord)", - "numberOfBytes": "32", - "value": "t_struct(ENSRecord)11684_storage" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage))" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_uint256,t_struct(PendingReputationUpdate)11713_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.PendingReputationUpdate)", - "numberOfBytes": "32", - "value": "t_struct(PendingReputationUpdate)11713_storage" - }, - "t_mapping(t_uint256,t_struct(ReputationLogEntry)11697_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.ReputationLogEntry)", - "numberOfBytes": "32", - "value": "t_struct(ReputationLogEntry)11697_storage" - }, - "t_mapping(t_uint256,t_struct(Skill)11679_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyNetworkDataTypes.Skill)", - "numberOfBytes": "32", - "value": "t_struct(Skill)11679_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_string_storage": { - "encoding": "bytes", - "label": "string", - "numberOfBytes": "32" - }, - "t_struct(ENSRecord)11684_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ENSRecord", - "members": [ - { - "astId": 11681, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "addr", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11683, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "orbitdb", - "offset": 0, - "slot": "1", - "type": "t_string_storage" - } - ], - "numberOfBytes": "64" - }, - "t_struct(MiningStake)11702_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.MiningStake", - "members": [ - { - "astId": 11699, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "amount", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 11701, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_struct(PendingReputationUpdate)11713_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.PendingReputationUpdate", - "members": [ - { - "astId": 11704, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11706, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11708, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11710, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11712, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "timestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ReputationLogEntry)11697_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 11686, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 11688, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 11690, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 11692, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 11694, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 11696, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Skill)11679_storage": { - "encoding": "inplace", - "label": "struct ColonyNetworkDataTypes.Skill", - "members": [ - { - "astId": 11666, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "nParents", - "offset": 0, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11668, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "nChildren", - "offset": 16, - "slot": "0", - "type": "t_uint128" - }, - { - "astId": 11671, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "parents", - "offset": 0, - "slot": "1", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11674, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "children", - "offset": 0, - "slot": "2", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 11676, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "DEPRECATED_globalSkill", - "offset": 0, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 11678, - "contract": "contracts/colonyNetwork/ColonyNetworkStorage.sol:ColonyNetworkStorage", - "label": "DEPRECATED_deprecated", - "offset": 1, - "slot": "3", - "type": "t_bool" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/common/CommonAuthority.sol:CommonAuthority.json b/.storage-layouts/contracts/common/CommonAuthority.sol:CommonAuthority.json deleted file mode 100644 index dc0d773774..0000000000 --- a/.storage-layouts/contracts/common/CommonAuthority.sol:CommonAuthority.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 45605, - "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", - "label": "_root_users", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 45609, - "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", - "label": "_user_roles", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_bytes32)" - }, - { - "astId": 45615, - "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", - "label": "_capability_roles", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))" - }, - { - "astId": 45621, - "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", - "label": "_public_capabilities", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bool))" - }, - { - "astId": 18215, - "contract": "contracts/common/CommonAuthority.sol:CommonAuthority", - "label": "userDomainRoles", - "offset": 0, - "slot": "6", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_bytes32)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_address,t_mapping(t_bytes4,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(bytes4 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes4,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(bytes4 => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes4,t_bytes32)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bytes32)" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_bytes4,t_bytes32)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint256,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/common/CommonStorage.sol:CommonStorage.json b/.storage-layouts/contracts/common/CommonStorage.sol:CommonStorage.json deleted file mode 100644 index 16660d581a..0000000000 --- a/.storage-layouts/contracts/common/CommonStorage.sol:CommonStorage.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/common/CommonStorage.sol:CommonStorage", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/common/CommonStorage.sol:CommonStorage", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/common/CommonStorage.sol:CommonStorage", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/common/CommonStorage.sol:CommonStorage", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/common/CommonStorage.sol:CommonStorage", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/common/CommonStorage.sol:CommonStorage", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/common/CommonStorage.sol:CommonStorage", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/common/CommonStorage.sol:CommonStorage", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/common/ContractRecovery.sol:ContractRecovery.json b/.storage-layouts/contracts/common/ContractRecovery.sol:ContractRecovery.json deleted file mode 100644 index f3cfe30f1f..0000000000 --- a/.storage-layouts/contracts/common/ContractRecovery.sol:ContractRecovery.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/common/ContractRecovery.sol:ContractRecovery", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/common/DomainRoles.sol:DomainRoles.json b/.storage-layouts/contracts/common/DomainRoles.sol:DomainRoles.json deleted file mode 100644 index ccf1e54384..0000000000 --- a/.storage-layouts/contracts/common/DomainRoles.sol:DomainRoles.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/common/DomainRoles.sol:DomainRoles", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/common/DomainRoles.sol:DomainRoles", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 45605, - "contract": "contracts/common/DomainRoles.sol:DomainRoles", - "label": "_root_users", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 45609, - "contract": "contracts/common/DomainRoles.sol:DomainRoles", - "label": "_user_roles", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_bytes32)" - }, - { - "astId": 45615, - "contract": "contracts/common/DomainRoles.sol:DomainRoles", - "label": "_capability_roles", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))" - }, - { - "astId": 45621, - "contract": "contracts/common/DomainRoles.sol:DomainRoles", - "label": "_public_capabilities", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bool))" - }, - { - "astId": 18215, - "contract": "contracts/common/DomainRoles.sol:DomainRoles", - "label": "userDomainRoles", - "offset": 0, - "slot": "6", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_bytes32)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_address,t_mapping(t_bytes4,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(bytes4 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes4,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_bytes4,t_bytes32))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(bytes4 => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes4,t_bytes32)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bytes32))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bytes32)" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_bytes4,t_bytes32)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint256,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/common/EtherRouter.sol:EtherRouter.json b/.storage-layouts/contracts/common/EtherRouter.sol:EtherRouter.json deleted file mode 100644 index fa9f57bf52..0000000000 --- a/.storage-layouts/contracts/common/EtherRouter.sol:EtherRouter.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/common/EtherRouter.sol:EtherRouter", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/common/EtherRouter.sol:EtherRouter", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 18555, - "contract": "contracts/common/EtherRouter.sol:EtherRouter", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_contract(Resolver)19068" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(Resolver)19068": { - "encoding": "inplace", - "label": "contract Resolver", - "numberOfBytes": "20" - } - } -} diff --git a/.storage-layouts/contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3.json b/.storage-layouts/contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3.json deleted file mode 100644 index f87dcbef70..0000000000 --- a/.storage-layouts/contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 18555, - "contract": "contracts/common/EtherRouterCreate3.sol:EtherRouterCreate3", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_contract(Resolver)19068" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(Resolver)19068": { - "encoding": "inplace", - "label": "contract Resolver", - "numberOfBytes": "20" - } - } -} diff --git a/.storage-layouts/contracts/common/Resolver.sol:Resolver.json b/.storage-layouts/contracts/common/Resolver.sol:Resolver.json deleted file mode 100644 index 1966330312..0000000000 --- a/.storage-layouts/contracts/common/Resolver.sol:Resolver.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/common/Resolver.sol:Resolver", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/common/Resolver.sol:Resolver", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 19019, - "contract": "contracts/common/Resolver.sol:Resolver", - "label": "pointers", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_bytes4,t_address)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_mapping(t_bytes4,t_address)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => address)", - "numberOfBytes": "32", - "value": "t_address" - } - } -} diff --git a/.storage-layouts/contracts/common/TokenAuthority.sol:TokenAuthority.json b/.storage-layouts/contracts/common/TokenAuthority.sol:TokenAuthority.json deleted file mode 100644 index cefe4a423e..0000000000 --- a/.storage-layouts/contracts/common/TokenAuthority.sol:TokenAuthority.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "storage": [ - { - "astId": 19083, - "contract": "contracts/common/TokenAuthority.sol:TokenAuthority", - "label": "authorizations", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_mapping(t_bytes4,t_bool))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_mapping(t_address,t_mapping(t_bytes4,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(bytes4 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes4,t_bool)" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - } - } -} diff --git a/.storage-layouts/contracts/ens/ENSRegistry.sol:ENSRegistry.json b/.storage-layouts/contracts/ens/ENSRegistry.sol:ENSRegistry.json deleted file mode 100644 index 932f2dab30..0000000000 --- a/.storage-layouts/contracts/ens/ENSRegistry.sol:ENSRegistry.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "storage": [ - { - "astId": 22527, - "contract": "contracts/ens/ENSRegistry.sol:ENSRegistry", - "label": "records", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_bytes32,t_struct(Record)22522_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_mapping(t_bytes32,t_struct(Record)22522_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct ENSRegistry.Record)", - "numberOfBytes": "32", - "value": "t_struct(Record)22522_storage" - }, - "t_struct(Record)22522_storage": { - "encoding": "inplace", - "label": "struct ENSRegistry.Record", - "members": [ - { - "astId": 22517, - "contract": "contracts/ens/ENSRegistry.sol:ENSRegistry", - "label": "owner", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 22519, - "contract": "contracts/ens/ENSRegistry.sol:ENSRegistry", - "label": "resolver", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 22521, - "contract": "contracts/ens/ENSRegistry.sol:ENSRegistry", - "label": "ttl", - "offset": 20, - "slot": "1", - "type": "t_uint64" - } - ], - "numberOfBytes": "64" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/extensions/CoinMachine.sol:CoinMachine.json b/.storage-layouts/contracts/extensions/CoinMachine.sol:CoinMachine.json deleted file mode 100644 index a20b78b1c4..0000000000 --- a/.storage-layouts/contracts/extensions/CoinMachine.sol:CoinMachine.json +++ /dev/null @@ -1,230 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 19368, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "purchaseToken", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 19370, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "periodLength", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 19372, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "alpha", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 19374, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "windowSize", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 19376, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "targetPerPeriod", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 19378, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "maxPerPeriod", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 19380, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "tokensToSell_DEPRECATED", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 19382, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "activePeriod", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 19384, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "activePrice", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 19386, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "activeSold", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 19388, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "activeIntake", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 19390, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "emaIntake", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 19392, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "token", - "offset": 0, - "slot": "16", - "type": "t_address" - }, - { - "astId": 19394, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "whitelist", - "offset": 0, - "slot": "17", - "type": "t_address" - }, - { - "astId": 19396, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "evolvePrice", - "offset": 20, - "slot": "17", - "type": "t_bool" - }, - { - "astId": 19398, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "userLimitFraction", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 19400, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "soldTotal", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 19404, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "soldUser", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 19408, - "contract": "contracts/extensions/CoinMachine.sol:CoinMachine", - "label": "metatransactionNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/extensions/ColonyExtension.sol:ColonyExtension.json b/.storage-layouts/contracts/extensions/ColonyExtension.sol:ColonyExtension.json deleted file mode 100644 index 52468d240b..0000000000 --- a/.storage-layouts/contracts/extensions/ColonyExtension.sol:ColonyExtension.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/ColonyExtension.sol:ColonyExtension", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/ColonyExtension.sol:ColonyExtension", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/ColonyExtension.sol:ColonyExtension", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/ColonyExtension.sol:ColonyExtension", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/ColonyExtension.sol:ColonyExtension", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - } - } -} diff --git a/.storage-layouts/contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta.json b/.storage-layouts/contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta.json deleted file mode 100644 index 3838cbefb8..0000000000 --- a/.storage-layouts/contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta.json +++ /dev/null @@ -1,342 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20666, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 20694, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 20696, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 20698, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 20700, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 20702, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 20704, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 20706, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 20708, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 20710, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 20712, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 20714, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 20716, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 20718, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 20720, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 20722, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 20724, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": "t_uint256" - }, - { - "astId": 20726, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": "t_uint256" - }, - { - "astId": 20728, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 20730, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": "t_uint256" - }, - { - "astId": 20732, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 20734, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": "t_uint256" - }, - { - "astId": 20736, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": "t_uint256" - }, - { - "astId": 20738, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": "t_uint256" - }, - { - "astId": 20740, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": "t_uint256" - }, - { - "astId": 20742, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": "t_uint256" - }, - { - "astId": 20744, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": "t_uint256" - }, - { - "astId": 20746, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": "t_uint256" - }, - { - "astId": 20748, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": "t_uint256" - }, - { - "astId": 20750, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": "t_uint256" - }, - { - "astId": 20752, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 20754, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 20756, - "contract": "contracts/extensions/ColonyExtensionMeta.sol:ColonyExtensionMeta", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure.json b/.storage-layouts/contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure.json deleted file mode 100644 index b45d5ede08..0000000000 --- a/.storage-layouts/contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20784, - "contract": "contracts/extensions/EvaluatedExpenditure.sol:EvaluatedExpenditure", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/extensions/FundingQueue.sol:FundingQueue.json b/.storage-layouts/contracts/extensions/FundingQueue.sol:FundingQueue.json deleted file mode 100644 index a2f125b280..0000000000 --- a/.storage-layouts/contracts/extensions/FundingQueue.sol:FundingQueue.json +++ /dev/null @@ -1,289 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 21037, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "colonyNetwork", - "offset": 0, - "slot": "4", - "type": "t_contract(IColonyNetwork)17371" - }, - { - "astId": 21040, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "tokenLocking", - "offset": 0, - "slot": "5", - "type": "t_contract(ITokenLocking)43685" - }, - { - "astId": 21042, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "token", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 21077, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "proposalCount", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 21082, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "proposals", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_uint256,t_struct(Proposal)21075_storage)" - }, - { - "astId": 21088, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "supporters", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - { - "astId": 21092, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "queue", - "offset": 0, - "slot": "10", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 21096, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "metatransactionNonces", - "offset": 0, - "slot": "11", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_contract(IColonyNetwork)17371": { - "encoding": "inplace", - "label": "contract IColonyNetwork", - "numberOfBytes": "20" - }, - "t_contract(ITokenLocking)43685": { - "encoding": "inplace", - "label": "contract ITokenLocking", - "numberOfBytes": "20" - }, - "t_enum(ProposalState)21047": { - "encoding": "inplace", - "label": "enum FundingQueue.ProposalState", - "numberOfBytes": "1" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_struct(Proposal)21075_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct FundingQueue.Proposal)", - "numberOfBytes": "32", - "value": "t_struct(Proposal)21075_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(Proposal)21075_storage": { - "encoding": "inplace", - "label": "struct FundingQueue.Proposal", - "members": [ - { - "astId": 21050, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "state", - "offset": 0, - "slot": "0", - "type": "t_enum(ProposalState)21047" - }, - { - "astId": 21052, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "creator", - "offset": 1, - "slot": "0", - "type": "t_address" - }, - { - "astId": 21054, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "token", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 21056, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 21058, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "domainTotalRep", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 21060, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "fromPot", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 21062, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "toPot", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 21064, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "fromChildSkillIndex", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 21066, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "toChildSkillIndex", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 21068, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "totalRequested", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 21070, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "totalPaid", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 21072, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "lastUpdated", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 21074, - "contract": "contracts/extensions/FundingQueue.sol:FundingQueue", - "label": "totalSupport", - "offset": 0, - "slot": "11", - "type": "t_uint256" - } - ], - "numberOfBytes": "384" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/extensions/OneTxPayment.sol:OneTxPayment.json b/.storage-layouts/contracts/extensions/OneTxPayment.sol:OneTxPayment.json deleted file mode 100644 index 627946862f..0000000000 --- a/.storage-layouts/contracts/extensions/OneTxPayment.sol:OneTxPayment.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 22380, - "contract": "contracts/extensions/OneTxPayment.sol:OneTxPayment", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper.json b/.storage-layouts/contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper.json deleted file mode 100644 index 6a5c95a74f..0000000000 --- a/.storage-layouts/contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper.json +++ /dev/null @@ -1,447 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20666, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 20694, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 20696, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 20698, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 20700, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 20702, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 20704, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 20706, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 20708, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 20710, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 20712, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 20714, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 20716, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 20718, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 20720, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 20722, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 20724, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": "t_uint256" - }, - { - "astId": 20726, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": "t_uint256" - }, - { - "astId": 20728, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 20730, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": "t_uint256" - }, - { - "astId": 20732, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 20734, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": "t_uint256" - }, - { - "astId": 20736, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": "t_uint256" - }, - { - "astId": 20738, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": "t_uint256" - }, - { - "astId": 20740, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": "t_uint256" - }, - { - "astId": 20742, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": "t_uint256" - }, - { - "astId": 20744, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": "t_uint256" - }, - { - "astId": 20746, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": "t_uint256" - }, - { - "astId": 20748, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": "t_uint256" - }, - { - "astId": 20750, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": "t_uint256" - }, - { - "astId": 20752, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 20754, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 20756, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 23380, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "token", - "offset": 0, - "slot": "37", - "type": "t_address" - }, - { - "astId": 23382, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "decayPeriod", - "offset": 0, - "slot": "38", - "type": "t_uint256" - }, - { - "astId": 23384, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "decayNumerator", - "offset": 0, - "slot": "39", - "type": "t_uint256" - }, - { - "astId": 23386, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "decayDenominator", - "offset": 0, - "slot": "40", - "type": "t_uint256" - }, - { - "astId": 23388, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "totalPayableGrants", - "offset": 0, - "slot": "41", - "type": "t_uint256" - }, - { - "astId": 23395, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "grants", - "offset": 0, - "slot": "42", - "type": "t_mapping(t_bool,t_mapping(t_bytes32,t_struct(Grant)23378_storage))" - }, - { - "astId": 23399, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "committedSecrets", - "offset": 0, - "slot": "43", - "type": "t_mapping(t_bytes32,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bool,t_mapping(t_bytes32,t_struct(Grant)23378_storage))": { - "encoding": "mapping", - "key": "t_bool", - "label": "mapping(bool => mapping(bytes32 => struct ReputationBootstrapper.Grant))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes32,t_struct(Grant)23378_storage)" - }, - "t_mapping(t_bytes32,t_struct(Grant)23378_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct ReputationBootstrapper.Grant)", - "numberOfBytes": "32", - "value": "t_struct(Grant)23378_storage" - }, - "t_mapping(t_bytes32,t_uint256)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(Grant)23378_storage": { - "encoding": "inplace", - "label": "struct ReputationBootstrapper.Grant", - "members": [ - { - "astId": 23375, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "amount", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 23377, - "contract": "contracts/extensions/ReputationBootstrapper.sol:ReputationBootstrapper", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/extensions/StagedExpenditure.sol:StagedExpenditure.json b/.storage-layouts/contracts/extensions/StagedExpenditure.sol:StagedExpenditure.json deleted file mode 100644 index 593d584c3d..0000000000 --- a/.storage-layouts/contracts/extensions/StagedExpenditure.sol:StagedExpenditure.json +++ /dev/null @@ -1,357 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20666, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 20694, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 20696, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 20698, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 20700, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 20702, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 20704, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 20706, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 20708, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 20710, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 20712, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 20714, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 20716, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 20718, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 20720, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 20722, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 20724, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": "t_uint256" - }, - { - "astId": 20726, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": "t_uint256" - }, - { - "astId": 20728, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 20730, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": "t_uint256" - }, - { - "astId": 20732, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 20734, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": "t_uint256" - }, - { - "astId": 20736, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": "t_uint256" - }, - { - "astId": 20738, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": "t_uint256" - }, - { - "astId": 20740, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": "t_uint256" - }, - { - "astId": 20742, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": "t_uint256" - }, - { - "astId": 20744, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": "t_uint256" - }, - { - "astId": 20746, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": "t_uint256" - }, - { - "astId": 20748, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": "t_uint256" - }, - { - "astId": 20750, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": "t_uint256" - }, - { - "astId": 20752, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 20754, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 20756, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 23977, - "contract": "contracts/extensions/StagedExpenditure.sol:StagedExpenditure", - "label": "stagedExpenditures", - "offset": 0, - "slot": "37", - "type": "t_mapping(t_uint256,t_bool)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/extensions/StakedExpenditure.sol:StakedExpenditure.json b/.storage-layouts/contracts/extensions/StakedExpenditure.sol:StakedExpenditure.json deleted file mode 100644 index c1dc56f4b7..0000000000 --- a/.storage-layouts/contracts/extensions/StakedExpenditure.sol:StakedExpenditure.json +++ /dev/null @@ -1,388 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20666, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 20694, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 20696, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 20698, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 20700, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 20702, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 20704, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 20706, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 20708, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 20710, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 20712, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 20714, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 20716, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 20718, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 20720, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 20722, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 20724, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": "t_uint256" - }, - { - "astId": 20726, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": "t_uint256" - }, - { - "astId": 20728, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 20730, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": "t_uint256" - }, - { - "astId": 20732, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 20734, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": "t_uint256" - }, - { - "astId": 20736, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": "t_uint256" - }, - { - "astId": 20738, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": "t_uint256" - }, - { - "astId": 20740, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": "t_uint256" - }, - { - "astId": 20742, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": "t_uint256" - }, - { - "astId": 20744, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": "t_uint256" - }, - { - "astId": 20746, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": "t_uint256" - }, - { - "astId": 20748, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": "t_uint256" - }, - { - "astId": 20750, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": "t_uint256" - }, - { - "astId": 20752, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 20754, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 20756, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 24349, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "stakeFraction", - "offset": 0, - "slot": "37", - "type": "t_uint256" - }, - { - "astId": 24354, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "stakes", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(Stake)24347_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_struct(Stake)24347_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct StakedExpenditure.Stake)", - "numberOfBytes": "32", - "value": "t_struct(Stake)24347_storage" - }, - "t_struct(Stake)24347_storage": { - "encoding": "inplace", - "label": "struct StakedExpenditure.Stake", - "members": [ - { - "astId": 24344, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "creator", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 24346, - "contract": "contracts/extensions/StakedExpenditure.sol:StakedExpenditure", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/extensions/StreamingPayments.sol:StreamingPayments.json b/.storage-layouts/contracts/extensions/StreamingPayments.sol:StreamingPayments.json deleted file mode 100644 index 07c38758b3..0000000000 --- a/.storage-layouts/contracts/extensions/StreamingPayments.sol:StreamingPayments.json +++ /dev/null @@ -1,449 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20666, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 20694, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 20696, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 20698, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 20700, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 20702, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 20704, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 20706, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 20708, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 20710, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 20712, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 20714, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 20716, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 20718, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 20720, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 20722, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 20724, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": "t_uint256" - }, - { - "astId": 20726, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": "t_uint256" - }, - { - "astId": 20728, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 20730, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": "t_uint256" - }, - { - "astId": 20732, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 20734, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": "t_uint256" - }, - { - "astId": 20736, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": "t_uint256" - }, - { - "astId": 20738, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": "t_uint256" - }, - { - "astId": 20740, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": "t_uint256" - }, - { - "astId": 20742, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": "t_uint256" - }, - { - "astId": 20744, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": "t_uint256" - }, - { - "astId": 20746, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": "t_uint256" - }, - { - "astId": 20748, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": "t_uint256" - }, - { - "astId": 20750, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": "t_uint256" - }, - { - "astId": 20752, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 20754, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 20756, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 25059, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "numStreamingPayments", - "offset": 0, - "slot": "37", - "type": "t_uint256" - }, - { - "astId": 25064, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "streamingPayments", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(StreamingPayment)25057_storage)" - }, - { - "astId": 25066, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "nUnresolvedStreamingPayments", - "offset": 0, - "slot": "39", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_struct(StreamingPayment)25057_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct StreamingPayments.StreamingPayment)", - "numberOfBytes": "32", - "value": "t_struct(StreamingPayment)25057_storage" - }, - "t_struct(StreamingPayment)25057_storage": { - "encoding": "inplace", - "label": "struct StreamingPayments.StreamingPayment", - "members": [ - { - "astId": 25042, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 25044, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "domainId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 25046, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "startTime", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 25048, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "endTime", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 25050, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "interval", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 25052, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "token", - "offset": 0, - "slot": "5", - "type": "t_address" - }, - { - "astId": 25054, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "amount", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 25056, - "contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments", - "label": "pseudoAmountClaimedFromStart", - "offset": 0, - "slot": "7", - "type": "t_uint256" - } - ], - "numberOfBytes": "256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/extensions/TokenSupplier.sol:TokenSupplier.json b/.storage-layouts/contracts/extensions/TokenSupplier.sol:TokenSupplier.json deleted file mode 100644 index 6afbeefe0b..0000000000 --- a/.storage-layouts/contracts/extensions/TokenSupplier.sol:TokenSupplier.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 26169, - "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", - "label": "token", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 26171, - "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", - "label": "tokenSupplyCeiling", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 26173, - "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", - "label": "tokenIssuanceRate", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 26175, - "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", - "label": "lastIssue", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 26177, - "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", - "label": "lastRateUpdate", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 26181, - "contract": "contracts/extensions/TokenSupplier.sol:TokenSupplier", - "label": "metatransactionNonces", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/extensions/Whitelist.sol:Whitelist.json b/.storage-layouts/contracts/extensions/Whitelist.sol:Whitelist.json deleted file mode 100644 index 3e8a643d09..0000000000 --- a/.storage-layouts/contracts/extensions/Whitelist.sol:Whitelist.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/Whitelist.sol:Whitelist", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/Whitelist.sol:Whitelist", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/Whitelist.sol:Whitelist", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/Whitelist.sol:Whitelist", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/Whitelist.sol:Whitelist", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 26584, - "contract": "contracts/extensions/Whitelist.sol:Whitelist", - "label": "useApprovals", - "offset": 21, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 26586, - "contract": "contracts/extensions/Whitelist.sol:Whitelist", - "label": "agreementHash", - "offset": 0, - "slot": "4", - "type": "t_string_storage" - }, - { - "astId": 26590, - "contract": "contracts/extensions/Whitelist.sol:Whitelist", - "label": "approvals", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 26594, - "contract": "contracts/extensions/Whitelist.sol:Whitelist", - "label": "signatures", - "offset": 0, - "slot": "6", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 26598, - "contract": "contracts/extensions/Whitelist.sol:Whitelist", - "label": "metatransactionNonces", - "offset": 0, - "slot": "7", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_string_storage": { - "encoding": "bytes", - "label": "string", - "numberOfBytes": "32" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation.json b/.storage-layouts/contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation.json deleted file mode 100644 index 252ce589cc..0000000000 --- a/.storage-layouts/contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation.json +++ /dev/null @@ -1,477 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 30905, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "state", - "offset": 21, - "slot": "3", - "type": "t_enum(ExtensionState)29153" - }, - { - "astId": 30908, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "colonyNetwork", - "offset": 0, - "slot": "4", - "type": "t_contract(IColonyNetwork)17371" - }, - { - "astId": 30911, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "tokenLocking", - "offset": 0, - "slot": "5", - "type": "t_contract(ITokenLocking)43685" - }, - { - "astId": 30913, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "token", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 30915, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "totalStakeFraction", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 30917, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "voterRewardFraction", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 30919, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "userMinStakeFraction", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 30921, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "maxVoteFraction", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 30923, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "stakePeriod", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 30925, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "submitPeriod", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 30927, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "revealPeriod", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 30929, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "escalationPeriod", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 30931, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "motionCount", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 30936, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "motions", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(Motion)29201_storage)" - }, - { - "astId": 30944, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "stakes", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 30950, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "voteSecrets", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))" - }, - { - "astId": 30954, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "expenditurePastVotes_DEPRECATED", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_bytes32,t_uint256)" - }, - { - "astId": 30958, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "expenditureMotionCounts_DEPRECATED", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_bytes32,t_uint256)" - }, - { - "astId": 30962, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "metatransactionNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 30966, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "expenditurePastVotes", - "offset": 0, - "slot": "22", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 30970, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "expenditureMotionLocks", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 30972, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "motionCountV10", - "offset": 0, - "slot": "24", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_array(t_uint256)2_storage": { - "base": "t_uint256", - "encoding": "inplace", - "label": "uint256[2]", - "numberOfBytes": "64" - }, - "t_array(t_uint64)3_storage": { - "base": "t_uint64", - "encoding": "inplace", - "label": "uint64[3]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_bytes_storage": { - "encoding": "bytes", - "label": "bytes", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_contract(IColonyNetwork)17371": { - "encoding": "inplace", - "label": "contract IColonyNetwork", - "numberOfBytes": "20" - }, - "t_contract(ITokenLocking)43685": { - "encoding": "inplace", - "label": "contract ITokenLocking", - "numberOfBytes": "20" - }, - "t_enum(ExtensionState)29153": { - "encoding": "inplace", - "label": "enum VotingReputationDataTypes.ExtensionState", - "numberOfBytes": "1" - }, - "t_mapping(t_address,t_bytes32)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_uint256)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_bytes32)" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_uint256,t_struct(Motion)29201_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct VotingReputationDataTypes.Motion)", - "numberOfBytes": "32", - "value": "t_struct(Motion)29201_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(Motion)29201_storage": { - "encoding": "inplace", - "label": "struct VotingReputationDataTypes.Motion", - "members": [ - { - "astId": 29166, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "events", - "offset": 0, - "slot": "0", - "type": "t_array(t_uint64)3_storage" - }, - { - "astId": 29168, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "rootHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 29170, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 29172, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "skillId", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 29174, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "skillRep", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 29176, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "repSubmitted", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 29178, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "paidVoterComp", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 29182, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "pastVoterComp", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29186, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "stakes", - "offset": 0, - "slot": "9", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29190, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "votes", - "offset": 0, - "slot": "11", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29192, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "escalated", - "offset": 0, - "slot": "13", - "type": "t_bool" - }, - { - "astId": 29194, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "finalized", - "offset": 1, - "slot": "13", - "type": "t_bool" - }, - { - "astId": 29196, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "altTarget", - "offset": 2, - "slot": "13", - "type": "t_address" - }, - { - "astId": 29198, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "sig", - "offset": 22, - "slot": "13", - "type": "t_bytes4" - }, - { - "astId": 29200, - "contract": "contracts/extensions/votingReputation/VotingReputation.sol:VotingReputation", - "label": "action", - "offset": 0, - "slot": "14", - "type": "t_bytes_storage" - } - ], - "numberOfBytes": "480" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery.json b/.storage-layouts/contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery.json deleted file mode 100644 index 7dd0c705dd..0000000000 --- a/.storage-layouts/contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery.json +++ /dev/null @@ -1,453 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 29311, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 29314, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 29316, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 29319, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_state", - "offset": 21, - "slot": "3", - "type": "t_enum(ExtensionState)29153" - }, - { - "astId": 29322, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "colonyNetwork", - "offset": 0, - "slot": "4", - "type": "t_contract(IColonyNetwork)17371" - }, - { - "astId": 29325, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "tokenLocking", - "offset": 0, - "slot": "5", - "type": "t_contract(ITokenLocking)43685" - }, - { - "astId": 29327, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "token", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 29329, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "totalStakeFraction", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 29331, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_voterRewardFraction", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 29333, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_userMinStakeFraction", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 29335, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_maxVoteFraction", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 29337, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_stakePeriod", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 29339, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_submitPeriod", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 29341, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_revealPeriod", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 29343, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_escalationPeriod", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 29347, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_metatransactionNonces", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 29349, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_motionCount", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 29354, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "motions", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_uint256,t_struct(Motion)29201_storage)" - }, - { - "astId": 29362, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "stakes", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 29368, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_voteSecrets", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))" - }, - { - "astId": 29372, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_expenditurePastVotes", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_bytes32,t_uint256)" - }, - { - "astId": 29376, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "DO_NOT_USE_expenditureMotionCounts", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_bytes32,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_array(t_uint256)2_storage": { - "base": "t_uint256", - "encoding": "inplace", - "label": "uint256[2]", - "numberOfBytes": "64" - }, - "t_array(t_uint64)3_storage": { - "base": "t_uint64", - "encoding": "inplace", - "label": "uint64[3]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_bytes_storage": { - "encoding": "bytes", - "label": "bytes", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_contract(IColonyNetwork)17371": { - "encoding": "inplace", - "label": "contract IColonyNetwork", - "numberOfBytes": "20" - }, - "t_contract(ITokenLocking)43685": { - "encoding": "inplace", - "label": "contract ITokenLocking", - "numberOfBytes": "20" - }, - "t_enum(ExtensionState)29153": { - "encoding": "inplace", - "label": "enum VotingReputationDataTypes.ExtensionState", - "numberOfBytes": "1" - }, - "t_mapping(t_address,t_bytes32)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_uint256)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_bytes32)" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_uint256,t_struct(Motion)29201_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct VotingReputationDataTypes.Motion)", - "numberOfBytes": "32", - "value": "t_struct(Motion)29201_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(Motion)29201_storage": { - "encoding": "inplace", - "label": "struct VotingReputationDataTypes.Motion", - "members": [ - { - "astId": 29166, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "events", - "offset": 0, - "slot": "0", - "type": "t_array(t_uint64)3_storage" - }, - { - "astId": 29168, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "rootHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 29170, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 29172, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "skillId", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 29174, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "skillRep", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 29176, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "repSubmitted", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 29178, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "paidVoterComp", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 29182, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "pastVoterComp", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29186, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "stakes", - "offset": 0, - "slot": "9", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29190, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "votes", - "offset": 0, - "slot": "11", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29192, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "escalated", - "offset": 0, - "slot": "13", - "type": "t_bool" - }, - { - "astId": 29194, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "finalized", - "offset": 1, - "slot": "13", - "type": "t_bool" - }, - { - "astId": 29196, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "altTarget", - "offset": 2, - "slot": "13", - "type": "t_address" - }, - { - "astId": 29198, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "sig", - "offset": 22, - "slot": "13", - "type": "t_bytes4" - }, - { - "astId": 29200, - "contract": "contracts/extensions/votingReputation/VotingReputationMisalignedRecovery.sol:VotingReputationMisalignedRecovery", - "label": "action", - "offset": 0, - "slot": "14", - "type": "t_bytes_storage" - } - ], - "numberOfBytes": "480" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking.json b/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking.json deleted file mode 100644 index 7aa05bef82..0000000000 --- a/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking.json +++ /dev/null @@ -1,477 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 30905, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "state", - "offset": 21, - "slot": "3", - "type": "t_enum(ExtensionState)29153" - }, - { - "astId": 30908, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "colonyNetwork", - "offset": 0, - "slot": "4", - "type": "t_contract(IColonyNetwork)17371" - }, - { - "astId": 30911, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "tokenLocking", - "offset": 0, - "slot": "5", - "type": "t_contract(ITokenLocking)43685" - }, - { - "astId": 30913, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "token", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 30915, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "totalStakeFraction", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 30917, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "voterRewardFraction", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 30919, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "userMinStakeFraction", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 30921, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "maxVoteFraction", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 30923, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "stakePeriod", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 30925, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "submitPeriod", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 30927, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "revealPeriod", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 30929, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "escalationPeriod", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 30931, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "motionCount", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 30936, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "motions", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(Motion)29201_storage)" - }, - { - "astId": 30944, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "stakes", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 30950, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "voteSecrets", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))" - }, - { - "astId": 30954, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "expenditurePastVotes_DEPRECATED", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_bytes32,t_uint256)" - }, - { - "astId": 30958, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "expenditureMotionCounts_DEPRECATED", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_bytes32,t_uint256)" - }, - { - "astId": 30962, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "metatransactionNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 30966, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "expenditurePastVotes", - "offset": 0, - "slot": "22", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 30970, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "expenditureMotionLocks", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 30972, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "motionCountV10", - "offset": 0, - "slot": "24", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_array(t_uint256)2_storage": { - "base": "t_uint256", - "encoding": "inplace", - "label": "uint256[2]", - "numberOfBytes": "64" - }, - "t_array(t_uint64)3_storage": { - "base": "t_uint64", - "encoding": "inplace", - "label": "uint64[3]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_bytes_storage": { - "encoding": "bytes", - "label": "bytes", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_contract(IColonyNetwork)17371": { - "encoding": "inplace", - "label": "contract IColonyNetwork", - "numberOfBytes": "20" - }, - "t_contract(ITokenLocking)43685": { - "encoding": "inplace", - "label": "contract ITokenLocking", - "numberOfBytes": "20" - }, - "t_enum(ExtensionState)29153": { - "encoding": "inplace", - "label": "enum VotingReputationDataTypes.ExtensionState", - "numberOfBytes": "1" - }, - "t_mapping(t_address,t_bytes32)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_uint256)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_bytes32)" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_uint256,t_struct(Motion)29201_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct VotingReputationDataTypes.Motion)", - "numberOfBytes": "32", - "value": "t_struct(Motion)29201_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(Motion)29201_storage": { - "encoding": "inplace", - "label": "struct VotingReputationDataTypes.Motion", - "members": [ - { - "astId": 29166, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "events", - "offset": 0, - "slot": "0", - "type": "t_array(t_uint64)3_storage" - }, - { - "astId": 29168, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "rootHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 29170, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 29172, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "skillId", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 29174, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "skillRep", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 29176, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "repSubmitted", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 29178, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "paidVoterComp", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 29182, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "pastVoterComp", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29186, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "stakes", - "offset": 0, - "slot": "9", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29190, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "votes", - "offset": 0, - "slot": "11", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29192, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "escalated", - "offset": 0, - "slot": "13", - "type": "t_bool" - }, - { - "astId": 29194, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "finalized", - "offset": 1, - "slot": "13", - "type": "t_bool" - }, - { - "astId": 29196, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "altTarget", - "offset": 2, - "slot": "13", - "type": "t_address" - }, - { - "astId": 29198, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "sig", - "offset": 22, - "slot": "13", - "type": "t_bytes4" - }, - { - "astId": 29200, - "contract": "contracts/extensions/votingReputation/VotingReputationStaking.sol:VotingReputationStaking", - "label": "action", - "offset": 0, - "slot": "14", - "type": "t_bytes_storage" - } - ], - "numberOfBytes": "480" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage.json b/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage.json deleted file mode 100644 index 28463962b4..0000000000 --- a/.storage-layouts/contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage.json +++ /dev/null @@ -1,477 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 30905, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "state", - "offset": 21, - "slot": "3", - "type": "t_enum(ExtensionState)29153" - }, - { - "astId": 30908, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "colonyNetwork", - "offset": 0, - "slot": "4", - "type": "t_contract(IColonyNetwork)17371" - }, - { - "astId": 30911, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "tokenLocking", - "offset": 0, - "slot": "5", - "type": "t_contract(ITokenLocking)43685" - }, - { - "astId": 30913, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "token", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 30915, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "totalStakeFraction", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 30917, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "voterRewardFraction", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 30919, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "userMinStakeFraction", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 30921, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "maxVoteFraction", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 30923, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "stakePeriod", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 30925, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "submitPeriod", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 30927, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "revealPeriod", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 30929, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "escalationPeriod", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 30931, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "motionCount", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 30936, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "motions", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(Motion)29201_storage)" - }, - { - "astId": 30944, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "stakes", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 30950, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "voteSecrets", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))" - }, - { - "astId": 30954, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "expenditurePastVotes_DEPRECATED", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_bytes32,t_uint256)" - }, - { - "astId": 30958, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "expenditureMotionCounts_DEPRECATED", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_bytes32,t_uint256)" - }, - { - "astId": 30962, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "metatransactionNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 30966, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "expenditurePastVotes", - "offset": 0, - "slot": "22", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 30970, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "expenditureMotionLocks", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 30972, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "motionCountV10", - "offset": 0, - "slot": "24", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_array(t_uint256)2_storage": { - "base": "t_uint256", - "encoding": "inplace", - "label": "uint256[2]", - "numberOfBytes": "64" - }, - "t_array(t_uint64)3_storage": { - "base": "t_uint64", - "encoding": "inplace", - "label": "uint64[3]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_bytes_storage": { - "encoding": "bytes", - "label": "bytes", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_contract(IColonyNetwork)17371": { - "encoding": "inplace", - "label": "contract IColonyNetwork", - "numberOfBytes": "20" - }, - "t_contract(ITokenLocking)43685": { - "encoding": "inplace", - "label": "contract ITokenLocking", - "numberOfBytes": "20" - }, - "t_enum(ExtensionState)29153": { - "encoding": "inplace", - "label": "enum VotingReputationDataTypes.ExtensionState", - "numberOfBytes": "1" - }, - "t_mapping(t_address,t_bytes32)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_uint256)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_bytes32)" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_uint256,t_struct(Motion)29201_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct VotingReputationDataTypes.Motion)", - "numberOfBytes": "32", - "value": "t_struct(Motion)29201_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(Motion)29201_storage": { - "encoding": "inplace", - "label": "struct VotingReputationDataTypes.Motion", - "members": [ - { - "astId": 29166, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "events", - "offset": 0, - "slot": "0", - "type": "t_array(t_uint64)3_storage" - }, - { - "astId": 29168, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "rootHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 29170, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 29172, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "skillId", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 29174, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "skillRep", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 29176, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "repSubmitted", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 29178, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "paidVoterComp", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 29182, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "pastVoterComp", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29186, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "stakes", - "offset": 0, - "slot": "9", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29190, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "votes", - "offset": 0, - "slot": "11", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 29192, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "escalated", - "offset": 0, - "slot": "13", - "type": "t_bool" - }, - { - "astId": 29194, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "finalized", - "offset": 1, - "slot": "13", - "type": "t_bool" - }, - { - "astId": 29196, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "altTarget", - "offset": 2, - "slot": "13", - "type": "t_address" - }, - { - "astId": 29198, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "sig", - "offset": 22, - "slot": "13", - "type": "t_bytes4" - }, - { - "astId": 29200, - "contract": "contracts/extensions/votingReputation/VotingReputationStorage.sol:VotingReputationStorage", - "label": "action", - "offset": 0, - "slot": "14", - "type": "t_bytes_storage" - } - ], - "numberOfBytes": "480" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta.json b/.storage-layouts/contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta.json deleted file mode 100644 index 50d33b112b..0000000000 --- a/.storage-layouts/contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "storage": [ - { - "astId": 32006, - "contract": "contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 32008, - "contract": "contracts/metaTxToken/DSAuthMeta.sol:DSAuthMeta", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - } - } -} diff --git a/.storage-layouts/contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta.json b/.storage-layouts/contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta.json deleted file mode 100644 index 4c08366697..0000000000 --- a/.storage-layouts/contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "storage": [ - { - "astId": 32139, - "contract": "contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta", - "label": "_supply", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 32143, - "contract": "contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta", - "label": "_balances", - "offset": 0, - "slot": "1", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 32149, - "contract": "contracts/metaTxToken/DSTokenBaseMeta.sol:DSTokenBaseMeta", - "label": "_approvals", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/metaTxToken/MetaTxToken.sol:MetaTxToken.json b/.storage-layouts/contracts/metaTxToken/MetaTxToken.sol:MetaTxToken.json deleted file mode 100644 index bbe8b670b6..0000000000 --- a/.storage-layouts/contracts/metaTxToken/MetaTxToken.sol:MetaTxToken.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "storage": [ - { - "astId": 32139, - "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", - "label": "_supply", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 32143, - "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", - "label": "_balances", - "offset": 0, - "slot": "1", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 32149, - "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", - "label": "_approvals", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 32006, - "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", - "label": "authority", - "offset": 0, - "slot": "3", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 32008, - "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", - "label": "owner", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 32337, - "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", - "label": "symbol", - "offset": 0, - "slot": "5", - "type": "t_string_storage" - }, - { - "astId": 32339, - "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", - "label": "name", - "offset": 0, - "slot": "6", - "type": "t_string_storage" - }, - { - "astId": 32341, - "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", - "label": "locked", - "offset": 0, - "slot": "7", - "type": "t_bool" - }, - { - "astId": 32347, - "contract": "contracts/metaTxToken/MetaTxToken.sol:MetaTxToken", - "label": "metatransactionNonces", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_string_storage": { - "encoding": "bytes", - "label": "string", - "numberOfBytes": "32" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/patriciaTree/PatriciaTree.sol:PatriciaTree.json b/.storage-layouts/contracts/patriciaTree/PatriciaTree.sol:PatriciaTree.json deleted file mode 100644 index 84ef1e0169..0000000000 --- a/.storage-layouts/contracts/patriciaTree/PatriciaTree.sol:PatriciaTree.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "storage": [ - { - "astId": 38158, - "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", - "label": "tree", - "offset": 0, - "slot": "0", - "type": "t_struct(Tree)37267_storage" - } - ], - "types": { - "t_array(t_struct(Edge)37250_storage)2_storage": { - "base": "t_struct(Edge)37250_storage", - "encoding": "inplace", - "label": "struct Data.Edge[2]", - "numberOfBytes": "192" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_mapping(t_bytes32,t_struct(Node)37256_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct Data.Node)", - "numberOfBytes": "32", - "value": "t_struct(Node)37256_storage" - }, - "t_struct(Edge)37250_storage": { - "encoding": "inplace", - "label": "struct Data.Edge", - "members": [ - { - "astId": 37246, - "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", - "label": "node", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37249, - "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", - "label": "label", - "offset": 0, - "slot": "1", - "type": "t_struct(Label)37244_storage" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Label)37244_storage": { - "encoding": "inplace", - "label": "struct Data.Label", - "members": [ - { - "astId": 37241, - "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", - "label": "data", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37243, - "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", - "label": "length", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_struct(Node)37256_storage": { - "encoding": "inplace", - "label": "struct Data.Node", - "members": [ - { - "astId": 37255, - "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", - "label": "children", - "offset": 0, - "slot": "0", - "type": "t_array(t_struct(Edge)37250_storage)2_storage" - } - ], - "numberOfBytes": "192" - }, - "t_struct(Tree)37267_storage": { - "encoding": "inplace", - "label": "struct Data.Tree", - "members": [ - { - "astId": 37258, - "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", - "label": "root", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37261, - "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", - "label": "rootEdge", - "offset": 0, - "slot": "1", - "type": "t_struct(Edge)37250_storage" - }, - { - "astId": 37266, - "contract": "contracts/patriciaTree/PatriciaTree.sol:PatriciaTree", - "label": "nodes", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_bytes32,t_struct(Node)37256_storage)" - } - ], - "numberOfBytes": "160" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase.json b/.storage-layouts/contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase.json deleted file mode 100644 index 6b320a30a5..0000000000 --- a/.storage-layouts/contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "storage": [ - { - "astId": 38158, - "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", - "label": "tree", - "offset": 0, - "slot": "0", - "type": "t_struct(Tree)37267_storage" - } - ], - "types": { - "t_array(t_struct(Edge)37250_storage)2_storage": { - "base": "t_struct(Edge)37250_storage", - "encoding": "inplace", - "label": "struct Data.Edge[2]", - "numberOfBytes": "192" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_mapping(t_bytes32,t_struct(Node)37256_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct Data.Node)", - "numberOfBytes": "32", - "value": "t_struct(Node)37256_storage" - }, - "t_struct(Edge)37250_storage": { - "encoding": "inplace", - "label": "struct Data.Edge", - "members": [ - { - "astId": 37246, - "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", - "label": "node", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37249, - "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", - "label": "label", - "offset": 0, - "slot": "1", - "type": "t_struct(Label)37244_storage" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Label)37244_storage": { - "encoding": "inplace", - "label": "struct Data.Label", - "members": [ - { - "astId": 37241, - "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", - "label": "data", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37243, - "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", - "label": "length", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_struct(Node)37256_storage": { - "encoding": "inplace", - "label": "struct Data.Node", - "members": [ - { - "astId": 37255, - "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", - "label": "children", - "offset": 0, - "slot": "0", - "type": "t_array(t_struct(Edge)37250_storage)2_storage" - } - ], - "numberOfBytes": "192" - }, - "t_struct(Tree)37267_storage": { - "encoding": "inplace", - "label": "struct Data.Tree", - "members": [ - { - "astId": 37258, - "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", - "label": "root", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37261, - "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", - "label": "rootEdge", - "offset": 0, - "slot": "1", - "type": "t_struct(Edge)37250_storage" - }, - { - "astId": 37266, - "contract": "contracts/patriciaTree/PatriciaTreeBase.sol:PatriciaTreeBase", - "label": "nodes", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_bytes32,t_struct(Node)37256_storage)" - } - ], - "numberOfBytes": "160" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash.json b/.storage-layouts/contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash.json deleted file mode 100644 index af097dffc6..0000000000 --- a/.storage-layouts/contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "storage": [ - { - "astId": 38158, - "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", - "label": "tree", - "offset": 0, - "slot": "0", - "type": "t_struct(Tree)37267_storage" - } - ], - "types": { - "t_array(t_struct(Edge)37250_storage)2_storage": { - "base": "t_struct(Edge)37250_storage", - "encoding": "inplace", - "label": "struct Data.Edge[2]", - "numberOfBytes": "192" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_mapping(t_bytes32,t_struct(Node)37256_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => struct Data.Node)", - "numberOfBytes": "32", - "value": "t_struct(Node)37256_storage" - }, - "t_struct(Edge)37250_storage": { - "encoding": "inplace", - "label": "struct Data.Edge", - "members": [ - { - "astId": 37246, - "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", - "label": "node", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37249, - "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", - "label": "label", - "offset": 0, - "slot": "1", - "type": "t_struct(Label)37244_storage" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Label)37244_storage": { - "encoding": "inplace", - "label": "struct Data.Label", - "members": [ - { - "astId": 37241, - "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", - "label": "data", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37243, - "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", - "label": "length", - "offset": 0, - "slot": "1", - "type": "t_uint256" - } - ], - "numberOfBytes": "64" - }, - "t_struct(Node)37256_storage": { - "encoding": "inplace", - "label": "struct Data.Node", - "members": [ - { - "astId": 37255, - "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", - "label": "children", - "offset": 0, - "slot": "0", - "type": "t_array(t_struct(Edge)37250_storage)2_storage" - } - ], - "numberOfBytes": "192" - }, - "t_struct(Tree)37267_storage": { - "encoding": "inplace", - "label": "struct Data.Tree", - "members": [ - { - "astId": 37258, - "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", - "label": "root", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37261, - "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", - "label": "rootEdge", - "offset": 0, - "slot": "1", - "type": "t_struct(Edge)37250_storage" - }, - { - "astId": 37266, - "contract": "contracts/patriciaTree/PatriciaTreeNoHash.sol:PatriciaTreeNoHash", - "label": "nodes", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_bytes32,t_struct(Node)37256_storage)" - } - ], - "numberOfBytes": "160" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle.json b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle.json deleted file mode 100644 index 327ac109f8..0000000000 --- a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle.json +++ /dev/null @@ -1,468 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 39731, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 39733, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "3", - "type": "t_address_payable" - }, - { - "astId": 39735, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 39737, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "clnyTokenAddress", - "offset": 0, - "slot": "5", - "type": "t_address" - }, - { - "astId": 39741, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "reputationUpdateLog", - "offset": 0, - "slot": "6", - "type": "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage" - }, - { - "astId": 39750, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "submittedHashes", - "offset": 0, - "slot": "7", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))" - }, - { - "astId": 39755, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "reputationHashSubmissions", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_address,t_struct(Submission)37257_storage)" - }, - { - "astId": 39757, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "reputationMiningWindowOpenTimestamp", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 39763, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "disputeRounds", - "offset": 0, - "slot": "10", - "type": "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)" - }, - { - "astId": 39767, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "nHashesCompletedChallengeRound", - "offset": 0, - "slot": "11", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 39770, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "nUniqueSubmittedHashes", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 39773, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "nInvalidatedHashes", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 39779, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "submittedEntries", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 39798, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "firstIncompleteRound", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 39802, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "respondedToChallenge", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 39804, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "stakeLost", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 39806, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "rewardsPaidOut", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 39808, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "cachedDisputeRewardSize", - "offset": 0, - "slot": "19", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_address)dyn_storage": { - "base": "t_address", - "encoding": "dynamic_array", - "label": "address[]", - "numberOfBytes": "32" - }, - "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage": { - "base": "t_struct(DisputedEntry)37278_storage", - "encoding": "dynamic_array", - "label": "struct ReputationMiningCycleDataTypes.DisputedEntry[]", - "numberOfBytes": "32" - }, - "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage": { - "base": "t_struct(ReputationLogEntry)37248_storage", - "encoding": "dynamic_array", - "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_struct(Submission)37257_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ReputationMiningCycleDataTypes.Submission)", - "numberOfBytes": "32", - "value": "t_struct(Submission)37257_storage" - }, - "t_mapping(t_bytes32,t_array(t_address)dyn_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => address[])", - "numberOfBytes": "32", - "value": "t_array(t_address)dyn_storage" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => mapping(bytes32 => address[])))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))" - }, - "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ReputationMiningCycleDataTypes.DisputedEntry[])", - "numberOfBytes": "32", - "value": "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(bytes32 => address[]))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes32,t_array(t_address)dyn_storage)" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(DisputedEntry)37278_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.DisputedEntry", - "members": [ - { - "astId": 37259, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "firstSubmitter", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 37261, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "lastResponseTimestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 37263, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "challengeStepCompleted", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 37265, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "intermediateReputationHash", - "offset": 0, - "slot": "3", - "type": "t_bytes32" - }, - { - "astId": 37267, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "intermediateReputationNLeaves", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 37269, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "lowerBound", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 37271, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "upperBound", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 37273, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "targetHashDuringSearch", - "offset": 0, - "slot": "7", - "type": "t_bytes32" - }, - { - "astId": 37275, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "hash1", - "offset": 0, - "slot": "8", - "type": "t_bytes32" - }, - { - "astId": 37277, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "hash2", - "offset": 0, - "slot": "9", - "type": "t_bytes32" - } - ], - "numberOfBytes": "320" - }, - "t_struct(ReputationLogEntry)37248_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 37237, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 37239, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 37241, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 37243, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 37245, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 37247, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Submission)37257_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.Submission", - "members": [ - { - "astId": 37250, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "proposedNewRootHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37252, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "nLeaves", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 37254, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "jrh", - "offset": 0, - "slot": "2", - "type": "t_bytes32" - }, - { - "astId": 37256, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycle.sol:ReputationMiningCycle", - "label": "jrhNLeaves", - "offset": 0, - "slot": "3", - "type": "t_uint256" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch.json b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch.json deleted file mode 100644 index 1b46873c10..0000000000 --- a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch.json +++ /dev/null @@ -1,468 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 39731, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 39733, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "3", - "type": "t_address_payable" - }, - { - "astId": 39735, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 39737, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "clnyTokenAddress", - "offset": 0, - "slot": "5", - "type": "t_address" - }, - { - "astId": 39741, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "reputationUpdateLog", - "offset": 0, - "slot": "6", - "type": "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage" - }, - { - "astId": 39750, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "submittedHashes", - "offset": 0, - "slot": "7", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))" - }, - { - "astId": 39755, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "reputationHashSubmissions", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_address,t_struct(Submission)37257_storage)" - }, - { - "astId": 39757, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "reputationMiningWindowOpenTimestamp", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 39763, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "disputeRounds", - "offset": 0, - "slot": "10", - "type": "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)" - }, - { - "astId": 39767, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "nHashesCompletedChallengeRound", - "offset": 0, - "slot": "11", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 39770, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "nUniqueSubmittedHashes", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 39773, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "nInvalidatedHashes", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 39779, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "submittedEntries", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 39798, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "firstIncompleteRound", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 39802, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "respondedToChallenge", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 39804, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "stakeLost", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 39806, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "rewardsPaidOut", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 39808, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "cachedDisputeRewardSize", - "offset": 0, - "slot": "19", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_address)dyn_storage": { - "base": "t_address", - "encoding": "dynamic_array", - "label": "address[]", - "numberOfBytes": "32" - }, - "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage": { - "base": "t_struct(DisputedEntry)37278_storage", - "encoding": "dynamic_array", - "label": "struct ReputationMiningCycleDataTypes.DisputedEntry[]", - "numberOfBytes": "32" - }, - "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage": { - "base": "t_struct(ReputationLogEntry)37248_storage", - "encoding": "dynamic_array", - "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_struct(Submission)37257_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ReputationMiningCycleDataTypes.Submission)", - "numberOfBytes": "32", - "value": "t_struct(Submission)37257_storage" - }, - "t_mapping(t_bytes32,t_array(t_address)dyn_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => address[])", - "numberOfBytes": "32", - "value": "t_array(t_address)dyn_storage" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => mapping(bytes32 => address[])))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))" - }, - "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ReputationMiningCycleDataTypes.DisputedEntry[])", - "numberOfBytes": "32", - "value": "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(bytes32 => address[]))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes32,t_array(t_address)dyn_storage)" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(DisputedEntry)37278_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.DisputedEntry", - "members": [ - { - "astId": 37259, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "firstSubmitter", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 37261, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "lastResponseTimestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 37263, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "challengeStepCompleted", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 37265, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "intermediateReputationHash", - "offset": 0, - "slot": "3", - "type": "t_bytes32" - }, - { - "astId": 37267, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "intermediateReputationNLeaves", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 37269, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "lowerBound", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 37271, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "upperBound", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 37273, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "targetHashDuringSearch", - "offset": 0, - "slot": "7", - "type": "t_bytes32" - }, - { - "astId": 37275, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "hash1", - "offset": 0, - "slot": "8", - "type": "t_bytes32" - }, - { - "astId": 37277, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "hash2", - "offset": 0, - "slot": "9", - "type": "t_bytes32" - } - ], - "numberOfBytes": "320" - }, - "t_struct(ReputationLogEntry)37248_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 37237, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 37239, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 37241, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 37243, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 37245, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 37247, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Submission)37257_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.Submission", - "members": [ - { - "astId": 37250, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "proposedNewRootHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37252, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "nLeaves", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 37254, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "jrh", - "offset": 0, - "slot": "2", - "type": "t_bytes32" - }, - { - "astId": 37256, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleBinarySearch.sol:ReputationMiningCycleBinarySearch", - "label": "jrhNLeaves", - "offset": 0, - "slot": "3", - "type": "t_uint256" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon.json b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon.json deleted file mode 100644 index 94363e2332..0000000000 --- a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon.json +++ /dev/null @@ -1,468 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 39731, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 39733, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "3", - "type": "t_address_payable" - }, - { - "astId": 39735, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 39737, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "clnyTokenAddress", - "offset": 0, - "slot": "5", - "type": "t_address" - }, - { - "astId": 39741, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "reputationUpdateLog", - "offset": 0, - "slot": "6", - "type": "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage" - }, - { - "astId": 39750, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "submittedHashes", - "offset": 0, - "slot": "7", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))" - }, - { - "astId": 39755, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "reputationHashSubmissions", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_address,t_struct(Submission)37257_storage)" - }, - { - "astId": 39757, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "reputationMiningWindowOpenTimestamp", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 39763, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "disputeRounds", - "offset": 0, - "slot": "10", - "type": "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)" - }, - { - "astId": 39767, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "nHashesCompletedChallengeRound", - "offset": 0, - "slot": "11", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 39770, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "nUniqueSubmittedHashes", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 39773, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "nInvalidatedHashes", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 39779, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "submittedEntries", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 39798, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "firstIncompleteRound", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 39802, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "respondedToChallenge", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 39804, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "stakeLost", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 39806, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "rewardsPaidOut", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 39808, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "cachedDisputeRewardSize", - "offset": 0, - "slot": "19", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_address)dyn_storage": { - "base": "t_address", - "encoding": "dynamic_array", - "label": "address[]", - "numberOfBytes": "32" - }, - "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage": { - "base": "t_struct(DisputedEntry)37278_storage", - "encoding": "dynamic_array", - "label": "struct ReputationMiningCycleDataTypes.DisputedEntry[]", - "numberOfBytes": "32" - }, - "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage": { - "base": "t_struct(ReputationLogEntry)37248_storage", - "encoding": "dynamic_array", - "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_struct(Submission)37257_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ReputationMiningCycleDataTypes.Submission)", - "numberOfBytes": "32", - "value": "t_struct(Submission)37257_storage" - }, - "t_mapping(t_bytes32,t_array(t_address)dyn_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => address[])", - "numberOfBytes": "32", - "value": "t_array(t_address)dyn_storage" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => mapping(bytes32 => address[])))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))" - }, - "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ReputationMiningCycleDataTypes.DisputedEntry[])", - "numberOfBytes": "32", - "value": "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(bytes32 => address[]))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes32,t_array(t_address)dyn_storage)" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(DisputedEntry)37278_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.DisputedEntry", - "members": [ - { - "astId": 37259, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "firstSubmitter", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 37261, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "lastResponseTimestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 37263, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "challengeStepCompleted", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 37265, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "intermediateReputationHash", - "offset": 0, - "slot": "3", - "type": "t_bytes32" - }, - { - "astId": 37267, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "intermediateReputationNLeaves", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 37269, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "lowerBound", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 37271, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "upperBound", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 37273, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "targetHashDuringSearch", - "offset": 0, - "slot": "7", - "type": "t_bytes32" - }, - { - "astId": 37275, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "hash1", - "offset": 0, - "slot": "8", - "type": "t_bytes32" - }, - { - "astId": 37277, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "hash2", - "offset": 0, - "slot": "9", - "type": "t_bytes32" - } - ], - "numberOfBytes": "320" - }, - "t_struct(ReputationLogEntry)37248_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 37237, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 37239, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 37241, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 37243, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 37245, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 37247, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Submission)37257_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.Submission", - "members": [ - { - "astId": 37250, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "proposedNewRootHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37252, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "nLeaves", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 37254, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "jrh", - "offset": 0, - "slot": "2", - "type": "t_bytes32" - }, - { - "astId": 37256, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleCommon.sol:ReputationMiningCycleCommon", - "label": "jrhNLeaves", - "offset": 0, - "slot": "3", - "type": "t_uint256" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond.json b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond.json deleted file mode 100644 index bc3bc9e143..0000000000 --- a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond.json +++ /dev/null @@ -1,468 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 39731, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 39733, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "3", - "type": "t_address_payable" - }, - { - "astId": 39735, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 39737, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "clnyTokenAddress", - "offset": 0, - "slot": "5", - "type": "t_address" - }, - { - "astId": 39741, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "reputationUpdateLog", - "offset": 0, - "slot": "6", - "type": "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage" - }, - { - "astId": 39750, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "submittedHashes", - "offset": 0, - "slot": "7", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))" - }, - { - "astId": 39755, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "reputationHashSubmissions", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_address,t_struct(Submission)37257_storage)" - }, - { - "astId": 39757, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "reputationMiningWindowOpenTimestamp", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 39763, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "disputeRounds", - "offset": 0, - "slot": "10", - "type": "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)" - }, - { - "astId": 39767, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "nHashesCompletedChallengeRound", - "offset": 0, - "slot": "11", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 39770, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "nUniqueSubmittedHashes", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 39773, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "nInvalidatedHashes", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 39779, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "submittedEntries", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 39798, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "firstIncompleteRound", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 39802, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "respondedToChallenge", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 39804, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "stakeLost", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 39806, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "rewardsPaidOut", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 39808, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "cachedDisputeRewardSize", - "offset": 0, - "slot": "19", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_address)dyn_storage": { - "base": "t_address", - "encoding": "dynamic_array", - "label": "address[]", - "numberOfBytes": "32" - }, - "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage": { - "base": "t_struct(DisputedEntry)37278_storage", - "encoding": "dynamic_array", - "label": "struct ReputationMiningCycleDataTypes.DisputedEntry[]", - "numberOfBytes": "32" - }, - "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage": { - "base": "t_struct(ReputationLogEntry)37248_storage", - "encoding": "dynamic_array", - "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_struct(Submission)37257_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ReputationMiningCycleDataTypes.Submission)", - "numberOfBytes": "32", - "value": "t_struct(Submission)37257_storage" - }, - "t_mapping(t_bytes32,t_array(t_address)dyn_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => address[])", - "numberOfBytes": "32", - "value": "t_array(t_address)dyn_storage" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => mapping(bytes32 => address[])))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))" - }, - "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ReputationMiningCycleDataTypes.DisputedEntry[])", - "numberOfBytes": "32", - "value": "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(bytes32 => address[]))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes32,t_array(t_address)dyn_storage)" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(DisputedEntry)37278_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.DisputedEntry", - "members": [ - { - "astId": 37259, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "firstSubmitter", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 37261, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "lastResponseTimestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 37263, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "challengeStepCompleted", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 37265, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "intermediateReputationHash", - "offset": 0, - "slot": "3", - "type": "t_bytes32" - }, - { - "astId": 37267, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "intermediateReputationNLeaves", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 37269, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "lowerBound", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 37271, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "upperBound", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 37273, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "targetHashDuringSearch", - "offset": 0, - "slot": "7", - "type": "t_bytes32" - }, - { - "astId": 37275, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "hash1", - "offset": 0, - "slot": "8", - "type": "t_bytes32" - }, - { - "astId": 37277, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "hash2", - "offset": 0, - "slot": "9", - "type": "t_bytes32" - } - ], - "numberOfBytes": "320" - }, - "t_struct(ReputationLogEntry)37248_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 37237, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 37239, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 37241, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 37243, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 37245, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 37247, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Submission)37257_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.Submission", - "members": [ - { - "astId": 37250, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "proposedNewRootHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37252, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "nLeaves", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 37254, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "jrh", - "offset": 0, - "slot": "2", - "type": "t_bytes32" - }, - { - "astId": 37256, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleRespond.sol:ReputationMiningCycleRespond", - "label": "jrhNLeaves", - "offset": 0, - "slot": "3", - "type": "t_uint256" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage.json b/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage.json deleted file mode 100644 index 0f12c14fd5..0000000000 --- a/.storage-layouts/contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage.json +++ /dev/null @@ -1,468 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 39731, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 39733, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "3", - "type": "t_address_payable" - }, - { - "astId": 39735, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 39737, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "clnyTokenAddress", - "offset": 0, - "slot": "5", - "type": "t_address" - }, - { - "astId": 39741, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "reputationUpdateLog", - "offset": 0, - "slot": "6", - "type": "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage" - }, - { - "astId": 39750, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "submittedHashes", - "offset": 0, - "slot": "7", - "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))" - }, - { - "astId": 39755, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "reputationHashSubmissions", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_address,t_struct(Submission)37257_storage)" - }, - { - "astId": 39757, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "reputationMiningWindowOpenTimestamp", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 39763, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "disputeRounds", - "offset": 0, - "slot": "10", - "type": "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)" - }, - { - "astId": 39767, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "nHashesCompletedChallengeRound", - "offset": 0, - "slot": "11", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 39770, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "nUniqueSubmittedHashes", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 39773, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "nInvalidatedHashes", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 39779, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "submittedEntries", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 39798, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "firstIncompleteRound", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 39802, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "respondedToChallenge", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_address,t_bool)" - }, - { - "astId": 39804, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "stakeLost", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 39806, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "rewardsPaidOut", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 39808, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "cachedDisputeRewardSize", - "offset": 0, - "slot": "19", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_address)dyn_storage": { - "base": "t_address", - "encoding": "dynamic_array", - "label": "address[]", - "numberOfBytes": "32" - }, - "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage": { - "base": "t_struct(DisputedEntry)37278_storage", - "encoding": "dynamic_array", - "label": "struct ReputationMiningCycleDataTypes.DisputedEntry[]", - "numberOfBytes": "32" - }, - "t_array(t_struct(ReputationLogEntry)37248_storage)dyn_storage": { - "base": "t_struct(ReputationLogEntry)37248_storage", - "encoding": "dynamic_array", - "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_struct(Submission)37257_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct ReputationMiningCycleDataTypes.Submission)", - "numberOfBytes": "32", - "value": "t_struct(Submission)37257_storage" - }, - "t_mapping(t_bytes32,t_array(t_address)dyn_storage)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => address[])", - "numberOfBytes": "32", - "value": "t_array(t_address)dyn_storage" - }, - "t_mapping(t_bytes32,t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage)))": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => mapping(uint256 => mapping(bytes32 => address[])))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))" - }, - "t_mapping(t_uint256,t_array(t_struct(DisputedEntry)37278_storage)dyn_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ReputationMiningCycleDataTypes.DisputedEntry[])", - "numberOfBytes": "32", - "value": "t_array(t_struct(DisputedEntry)37278_storage)dyn_storage" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_bytes32,t_array(t_address)dyn_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(bytes32 => address[]))", - "numberOfBytes": "32", - "value": "t_mapping(t_bytes32,t_array(t_address)dyn_storage)" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(DisputedEntry)37278_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.DisputedEntry", - "members": [ - { - "astId": 37259, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "firstSubmitter", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 37261, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "lastResponseTimestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 37263, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "challengeStepCompleted", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 37265, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "intermediateReputationHash", - "offset": 0, - "slot": "3", - "type": "t_bytes32" - }, - { - "astId": 37267, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "intermediateReputationNLeaves", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 37269, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "lowerBound", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 37271, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "upperBound", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 37273, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "targetHashDuringSearch", - "offset": 0, - "slot": "7", - "type": "t_bytes32" - }, - { - "astId": 37275, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "hash1", - "offset": 0, - "slot": "8", - "type": "t_bytes32" - }, - { - "astId": 37277, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "hash2", - "offset": 0, - "slot": "9", - "type": "t_bytes32" - } - ], - "numberOfBytes": "320" - }, - "t_struct(ReputationLogEntry)37248_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.ReputationLogEntry", - "members": [ - { - "astId": 37237, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address" - }, - { - "astId": 37239, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "amount", - "offset": 0, - "slot": "1", - "type": "t_int256" - }, - { - "astId": 37241, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "skillId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 37243, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 37245, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "nUpdates", - "offset": 0, - "slot": "4", - "type": "t_uint128" - }, - { - "astId": 37247, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "nPreviousUpdates", - "offset": 16, - "slot": "4", - "type": "t_uint128" - } - ], - "numberOfBytes": "160" - }, - "t_struct(Submission)37257_storage": { - "encoding": "inplace", - "label": "struct ReputationMiningCycleDataTypes.Submission", - "members": [ - { - "astId": 37250, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "proposedNewRootHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 37252, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "nLeaves", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 37254, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "jrh", - "offset": 0, - "slot": "2", - "type": "t_bytes32" - }, - { - "astId": 37256, - "contract": "contracts/reputationMiningCycle/ReputationMiningCycleStorage.sol:ReputationMiningCycleStorage", - "label": "jrhNLeaves", - "offset": 0, - "slot": "3", - "type": "t_uint256" - } - ], - "numberOfBytes": "128" - }, - "t_uint128": { - "encoding": "inplace", - "label": "uint128", - "numberOfBytes": "16" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/BridgeMock.sol:BridgeMock.json b/.storage-layouts/contracts/testHelpers/BridgeMock.sol:BridgeMock.json deleted file mode 100644 index 1f63455847..0000000000 --- a/.storage-layouts/contracts/testHelpers/BridgeMock.sol:BridgeMock.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "storage": [ - { - "astId": 44865, - "contract": "contracts/testHelpers/BridgeMock.sol:BridgeMock", - "label": "bridgeEnabled", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 44867, - "contract": "contracts/testHelpers/BridgeMock.sol:BridgeMock", - "label": "messageSender", - "offset": 1, - "slot": "0", - "type": "t_address" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/ERC721Mock.sol:ERC721Mock.json b/.storage-layouts/contracts/testHelpers/ERC721Mock.sol:ERC721Mock.json deleted file mode 100644 index 82fe34d4b5..0000000000 --- a/.storage-layouts/contracts/testHelpers/ERC721Mock.sol:ERC721Mock.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "storage": [ - { - "astId": 45151, - "contract": "contracts/testHelpers/ERC721Mock.sol:ERC721Mock", - "label": "_balances", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 45155, - "contract": "contracts/testHelpers/ERC721Mock.sol:ERC721Mock", - "label": "_owners", - "offset": 0, - "slot": "1", - "type": "t_mapping(t_uint256,t_address)" - }, - { - "astId": 45161, - "contract": "contracts/testHelpers/ERC721Mock.sol:ERC721Mock", - "label": "_operatorApprovals", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_address,t_mapping(t_address,t_bool))" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_mapping(t_address,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_bool)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json b/.storage-layouts/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json deleted file mode 100644 index 91be4a150d..0000000000 --- a/.storage-layouts/contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony.json +++ /dev/null @@ -1,1051 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8102, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 8104, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "token", - "offset": 0, - "slot": "7", - "type": "t_address" - }, - { - "astId": 8106, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "rewardInverse", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 8108, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "DEPRECATED_taskCount", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 8110, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "fundingPotCount", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 8112, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "domainCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 8119, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "DEPRECATED_reviewers", - "offset": 0, - "slot": "12", - "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" - }, - { - "astId": 8123, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "DEPRECATED_roleAssignmentSigs", - "offset": 0, - "slot": "13", - "type": "t_mapping(t_bytes4,t_bool)" - }, - { - "astId": 8128, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "DEPRECATED_tasks", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" - }, - { - "astId": 8133, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "fundingPots", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" - }, - { - "astId": 8138, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "rewardPayoutCycles", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" - }, - { - "astId": 8142, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "pendingRewardPayments", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8146, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "nonRewardPotsTotal", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8151, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "DEPRECATED_taskWorkRatings", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" - }, - { - "astId": 8156, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "domains", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" - }, - { - "astId": 8160, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "DEPRECATED_taskChangeNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 8162, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "DEPRECATED_paymentCount", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 8167, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "DEPRECATED_payments", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" - }, - { - "astId": 8169, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "expenditureCount", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 8174, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "expenditures", - "offset": 0, - "slot": "25", - "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" - }, - { - "astId": 8181, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "expenditureSlots", - "offset": 0, - "slot": "26", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" - }, - { - "astId": 8189, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "expenditureSlotPayouts", - "offset": 0, - "slot": "27", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 8197, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "approvals", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8205, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "obligations", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8207, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "30", - "type": "t_address" - }, - { - "astId": 8213, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "tokenLocks", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 8219, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "tokenApprovals", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 8223, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "tokenApprovalTotals", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8225, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "defaultGlobalClaimDelay", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 8232, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "metatransactionNonces", - "offset": 0, - "slot": "35", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8234, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "rootLocalSkill", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 8238, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "DEPRECATED_localSkills", - "offset": 0, - "slot": "37", - "type": "t_mapping(t_uint256,t_bool)" - }, - { - "astId": 8243, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "localSkills", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_enum(TaskRole)3600)2_storage": { - "base": "t_enum(TaskRole)3600", - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole[2]", - "numberOfBytes": "32" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_enum(ExpenditureStatus)3409": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.ExpenditureStatus", - "numberOfBytes": "1" - }, - "t_enum(FundingPotAssociatedType)3424": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.FundingPotAssociatedType", - "numberOfBytes": "1" - }, - "t_enum(TaskRatings)3596": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRatings", - "numberOfBytes": "1" - }, - "t_enum(TaskRole)3600": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole", - "numberOfBytes": "1" - }, - "t_enum(TaskStatus)3604": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskStatus", - "numberOfBytes": "1" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", - "numberOfBytes": "32", - "value": "t_array(t_enum(TaskRole)3600)2_storage" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" - }, - "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", - "numberOfBytes": "32", - "value": "t_struct(Domain)3447_storage" - }, - "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", - "numberOfBytes": "32", - "value": "t_struct(Expenditure)3394_storage" - }, - "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", - "numberOfBytes": "32", - "value": "t_struct(ExpenditureSlot)3404_storage" - }, - "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", - "numberOfBytes": "32", - "value": "t_struct(FundingPot)3440_storage" - }, - "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", - "numberOfBytes": "32", - "value": "t_struct(LocalSkill)3452_storage" - }, - "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", - "numberOfBytes": "32", - "value": "t_struct(Payment)3663_storage" - }, - "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", - "numberOfBytes": "32", - "value": "t_struct(RatingSecrets)3651_storage" - }, - "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", - "numberOfBytes": "32", - "value": "t_struct(RewardPayoutCycle)3380_storage" - }, - "t_mapping(t_uint256,t_struct(Task)3634_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Task)", - "numberOfBytes": "32", - "value": "t_struct(Task)3634_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint8,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint8,t_struct(Role)3642_storage)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => struct ColonyDataTypes.Role)", - "numberOfBytes": "32", - "value": "t_struct(Role)3642_storage" - }, - "t_struct(Domain)3447_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Domain", - "members": [ - { - "astId": 3442, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "skillId", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3444, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3446, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "deprecated", - "offset": 0, - "slot": "2", - "type": "t_bool" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Expenditure)3394_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Expenditure", - "members": [ - { - "astId": 3383, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "status", - "offset": 0, - "slot": "0", - "type": "t_enum(ExpenditureStatus)3409" - }, - { - "astId": 3385, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "owner", - "offset": 1, - "slot": "0", - "type": "t_address" - }, - { - "astId": 3387, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3389, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3391, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "finalizedTimestamp", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3393, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "globalClaimDelay", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ExpenditureSlot)3404_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.ExpenditureSlot", - "members": [ - { - "astId": 3396, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3398, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "claimDelay", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3400, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "payoutModifier", - "offset": 0, - "slot": "2", - "type": "t_int256" - }, - { - "astId": 3403, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(FundingPot)3440_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.FundingPot", - "members": [ - { - "astId": 3428, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "balance", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3431, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "associatedType", - "offset": 0, - "slot": "1", - "type": "t_enum(FundingPotAssociatedType)3424" - }, - { - "astId": 3433, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "associatedTypeId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3437, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "payouts", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3439, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "payoutsWeCannotMake", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(LocalSkill)3452_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.LocalSkill", - "members": [ - { - "astId": 3449, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "exists", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3451, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "deprecated", - "offset": 1, - "slot": "0", - "type": "t_bool" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Payment)3663_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Payment", - "members": [ - { - "astId": 3653, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3655, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "finalized", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3657, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3659, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3662, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(RatingSecrets)3651_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RatingSecrets", - "members": [ - { - "astId": 3644, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "count", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3646, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3650, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "secret", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_uint8,t_bytes32)" - } - ], - "numberOfBytes": "96" - }, - "t_struct(RewardPayoutCycle)3380_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RewardPayoutCycle", - "members": [ - { - "astId": 3365, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "reputationState", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3367, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "colonyWideReputation", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3369, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "totalTokens", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3371, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "amount", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3373, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "tokenAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 3375, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "blockTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3377, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "amountRemaining", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3379, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "finalized", - "offset": 0, - "slot": "7", - "type": "t_bool" - } - ], - "numberOfBytes": "256" - }, - "t_struct(Role)3642_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Role", - "members": [ - { - "astId": 3636, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3638, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "rateFail", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3641, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "rating", - "offset": 21, - "slot": "0", - "type": "t_enum(TaskRatings)3596" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Task)3634_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Task", - "members": [ - { - "astId": 3606, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "specificationHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3608, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "deliverableHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 3611, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "status", - "offset": 0, - "slot": "2", - "type": "t_enum(TaskStatus)3604" - }, - { - "astId": 3613, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "dueDate", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3615, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "fundingPotId", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 3617, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "completionTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3619, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "domainId", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3622, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "skills", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 3627, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "roles", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" - }, - { - "astId": 3633, - "contract": "contracts/testHelpers/FunctionsNotAvailableOnColony.sol:FunctionsNotAvailableOnColony", - "label": "payouts", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" - } - ], - "numberOfBytes": "320" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - }, - "t_uint8": { - "encoding": "inplace", - "label": "uint8", - "numberOfBytes": "1" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/GasGuzzler.sol:GasGuzzler.json b/.storage-layouts/contracts/testHelpers/GasGuzzler.sol:GasGuzzler.json deleted file mode 100644 index 0a3ac85ff4..0000000000 --- a/.storage-layouts/contracts/testHelpers/GasGuzzler.sol:GasGuzzler.json +++ /dev/null @@ -1,350 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20666, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 20694, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 20696, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 20698, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 20700, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 20702, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 20704, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 20706, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 20708, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 20710, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 20712, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 20714, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 20716, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 20718, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 20720, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 20722, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 20724, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": "t_uint256" - }, - { - "astId": 20726, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": "t_uint256" - }, - { - "astId": 20728, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 20730, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": "t_uint256" - }, - { - "astId": 20732, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 20734, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": "t_uint256" - }, - { - "astId": 20736, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": "t_uint256" - }, - { - "astId": 20738, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": "t_uint256" - }, - { - "astId": 20740, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": "t_uint256" - }, - { - "astId": 20742, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": "t_uint256" - }, - { - "astId": 20744, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": "t_uint256" - }, - { - "astId": 20746, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": "t_uint256" - }, - { - "astId": 20748, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": "t_uint256" - }, - { - "astId": 20750, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": "t_uint256" - }, - { - "astId": 20752, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 20754, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 20756, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 39845, - "contract": "contracts/testHelpers/GasGuzzler.sol:GasGuzzler", - "label": "storageVar", - "offset": 0, - "slot": "37", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json b/.storage-layouts/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json deleted file mode 100644 index 42a78ab91e..0000000000 --- a/.storage-layouts/contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains.json +++ /dev/null @@ -1,1051 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 17759, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 17761, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "recoveryMode", - "offset": 20, - "slot": "2", - "type": "t_bool" - }, - { - "astId": 17763, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "recoveryRolesCount", - "offset": 21, - "slot": "2", - "type": "t_uint64" - }, - { - "astId": 17765, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "recoveryApprovalCount", - "offset": 0, - "slot": "3", - "type": "t_uint64" - }, - { - "astId": 17767, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "recoveryEditedTimestamp", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 17771, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "recoveryApprovalTimestamps", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8102, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "colonyNetworkAddress", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 8104, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "token", - "offset": 0, - "slot": "7", - "type": "t_address" - }, - { - "astId": 8106, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "rewardInverse", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 8108, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "DEPRECATED_taskCount", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 8110, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "fundingPotCount", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 8112, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "domainCount", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 8119, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "DEPRECATED_reviewers", - "offset": 0, - "slot": "12", - "type": "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)" - }, - { - "astId": 8123, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "DEPRECATED_roleAssignmentSigs", - "offset": 0, - "slot": "13", - "type": "t_mapping(t_bytes4,t_bool)" - }, - { - "astId": 8128, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "DEPRECATED_tasks", - "offset": 0, - "slot": "14", - "type": "t_mapping(t_uint256,t_struct(Task)3634_storage)" - }, - { - "astId": 8133, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "fundingPots", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)" - }, - { - "astId": 8138, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "rewardPayoutCycles", - "offset": 0, - "slot": "16", - "type": "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)" - }, - { - "astId": 8142, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "pendingRewardPayments", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8146, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "nonRewardPotsTotal", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8151, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "DEPRECATED_taskWorkRatings", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)" - }, - { - "astId": 8156, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "domains", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_uint256,t_struct(Domain)3447_storage)" - }, - { - "astId": 8160, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "DEPRECATED_taskChangeNonces", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 8162, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "DEPRECATED_paymentCount", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 8167, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "DEPRECATED_payments", - "offset": 0, - "slot": "23", - "type": "t_mapping(t_uint256,t_struct(Payment)3663_storage)" - }, - { - "astId": 8169, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "expenditureCount", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 8174, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "expenditures", - "offset": 0, - "slot": "25", - "type": "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)" - }, - { - "astId": 8181, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "expenditureSlots", - "offset": 0, - "slot": "26", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))" - }, - { - "astId": 8189, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "expenditureSlotPayouts", - "offset": 0, - "slot": "27", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 8197, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "approvals", - "offset": 0, - "slot": "28", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8205, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "obligations", - "offset": 0, - "slot": "29", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 8207, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "tokenLockingAddress", - "offset": 0, - "slot": "30", - "type": "t_address" - }, - { - "astId": 8213, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "tokenLocks", - "offset": 0, - "slot": "31", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_bool))" - }, - { - "astId": 8219, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "tokenApprovals", - "offset": 0, - "slot": "32", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 8223, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "tokenApprovalTotals", - "offset": 0, - "slot": "33", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8225, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "defaultGlobalClaimDelay", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 8232, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "metatransactionNonces", - "offset": 0, - "slot": "35", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 8234, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "rootLocalSkill", - "offset": 0, - "slot": "36", - "type": "t_uint256" - }, - { - "astId": 8238, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "DEPRECATED_localSkills", - "offset": 0, - "slot": "37", - "type": "t_mapping(t_uint256,t_bool)" - }, - { - "astId": 8243, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "localSkills", - "offset": 0, - "slot": "38", - "type": "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "encoding": "inplace", - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_enum(TaskRole)3600)2_storage": { - "base": "t_enum(TaskRole)3600", - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole[2]", - "numberOfBytes": "32" - }, - "t_array(t_uint256)dyn_storage": { - "base": "t_uint256", - "encoding": "dynamic_array", - "label": "uint256[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes4": { - "encoding": "inplace", - "label": "bytes4", - "numberOfBytes": "4" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_enum(ExpenditureStatus)3409": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.ExpenditureStatus", - "numberOfBytes": "1" - }, - "t_enum(FundingPotAssociatedType)3424": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.FundingPotAssociatedType", - "numberOfBytes": "1" - }, - "t_enum(TaskRatings)3596": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRatings", - "numberOfBytes": "1" - }, - "t_enum(TaskRole)3600": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskRole", - "numberOfBytes": "1" - }, - "t_enum(TaskStatus)3604": { - "encoding": "inplace", - "label": "enum ColonyDataTypes.TaskStatus", - "numberOfBytes": "1" - }, - "t_int256": { - "encoding": "inplace", - "label": "int256", - "numberOfBytes": "32" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_bool))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => bool))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_bool)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes4,t_array(t_enum(TaskRole)3600)2_storage)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => enum ColonyDataTypes.TaskRole[2])", - "numberOfBytes": "32", - "value": "t_array(t_enum(TaskRole)3600)2_storage" - }, - "t_mapping(t_bytes4,t_bool)": { - "encoding": "mapping", - "key": "t_bytes4", - "label": "mapping(bytes4 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_bool)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)" - }, - "t_mapping(t_uint256,t_struct(Domain)3447_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Domain)", - "numberOfBytes": "32", - "value": "t_struct(Domain)3447_storage" - }, - "t_mapping(t_uint256,t_struct(Expenditure)3394_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Expenditure)", - "numberOfBytes": "32", - "value": "t_struct(Expenditure)3394_storage" - }, - "t_mapping(t_uint256,t_struct(ExpenditureSlot)3404_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.ExpenditureSlot)", - "numberOfBytes": "32", - "value": "t_struct(ExpenditureSlot)3404_storage" - }, - "t_mapping(t_uint256,t_struct(FundingPot)3440_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.FundingPot)", - "numberOfBytes": "32", - "value": "t_struct(FundingPot)3440_storage" - }, - "t_mapping(t_uint256,t_struct(LocalSkill)3452_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.LocalSkill)", - "numberOfBytes": "32", - "value": "t_struct(LocalSkill)3452_storage" - }, - "t_mapping(t_uint256,t_struct(Payment)3663_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Payment)", - "numberOfBytes": "32", - "value": "t_struct(Payment)3663_storage" - }, - "t_mapping(t_uint256,t_struct(RatingSecrets)3651_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RatingSecrets)", - "numberOfBytes": "32", - "value": "t_struct(RatingSecrets)3651_storage" - }, - "t_mapping(t_uint256,t_struct(RewardPayoutCycle)3380_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.RewardPayoutCycle)", - "numberOfBytes": "32", - "value": "t_struct(RewardPayoutCycle)3380_storage" - }, - "t_mapping(t_uint256,t_struct(Task)3634_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct ColonyDataTypes.Task)", - "numberOfBytes": "32", - "value": "t_struct(Task)3634_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint8,t_bytes32)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_uint8,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_uint8,t_struct(Role)3642_storage)": { - "encoding": "mapping", - "key": "t_uint8", - "label": "mapping(uint8 => struct ColonyDataTypes.Role)", - "numberOfBytes": "32", - "value": "t_struct(Role)3642_storage" - }, - "t_struct(Domain)3447_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Domain", - "members": [ - { - "astId": 3442, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "skillId", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3444, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3446, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "deprecated", - "offset": 0, - "slot": "2", - "type": "t_bool" - } - ], - "numberOfBytes": "96" - }, - "t_struct(Expenditure)3394_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Expenditure", - "members": [ - { - "astId": 3383, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "status", - "offset": 0, - "slot": "0", - "type": "t_enum(ExpenditureStatus)3409" - }, - { - "astId": 3385, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "owner", - "offset": 1, - "slot": "0", - "type": "t_address" - }, - { - "astId": 3387, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3389, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3391, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "finalizedTimestamp", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3393, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "globalClaimDelay", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(ExpenditureSlot)3404_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.ExpenditureSlot", - "members": [ - { - "astId": 3396, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3398, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "claimDelay", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3400, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "payoutModifier", - "offset": 0, - "slot": "2", - "type": "t_int256" - }, - { - "astId": 3403, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(FundingPot)3440_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.FundingPot", - "members": [ - { - "astId": 3428, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "balance", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3431, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "associatedType", - "offset": 0, - "slot": "1", - "type": "t_enum(FundingPotAssociatedType)3424" - }, - { - "astId": 3433, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "associatedTypeId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3437, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "payouts", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 3439, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "payoutsWeCannotMake", - "offset": 0, - "slot": "4", - "type": "t_uint256" - } - ], - "numberOfBytes": "160" - }, - "t_struct(LocalSkill)3452_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.LocalSkill", - "members": [ - { - "astId": 3449, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "exists", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3451, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "deprecated", - "offset": 1, - "slot": "0", - "type": "t_bool" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Payment)3663_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Payment", - "members": [ - { - "astId": 3653, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "recipient", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3655, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "finalized", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3657, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "fundingPotId", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3659, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3662, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "skills", - "offset": 0, - "slot": "3", - "type": "t_array(t_uint256)dyn_storage" - } - ], - "numberOfBytes": "128" - }, - "t_struct(RatingSecrets)3651_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RatingSecrets", - "members": [ - { - "astId": 3644, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "count", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 3646, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "timestamp", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3650, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "secret", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_uint8,t_bytes32)" - } - ], - "numberOfBytes": "96" - }, - "t_struct(RewardPayoutCycle)3380_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.RewardPayoutCycle", - "members": [ - { - "astId": 3365, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "reputationState", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3367, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "colonyWideReputation", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 3369, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "totalTokens", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 3371, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "amount", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3373, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "tokenAddress", - "offset": 0, - "slot": "4", - "type": "t_address" - }, - { - "astId": 3375, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "blockTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3377, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "amountRemaining", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3379, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "finalized", - "offset": 0, - "slot": "7", - "type": "t_bool" - } - ], - "numberOfBytes": "256" - }, - "t_struct(Role)3642_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Role", - "members": [ - { - "astId": 3636, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "user", - "offset": 0, - "slot": "0", - "type": "t_address_payable" - }, - { - "astId": 3638, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "rateFail", - "offset": 20, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 3641, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "rating", - "offset": 21, - "slot": "0", - "type": "t_enum(TaskRatings)3596" - } - ], - "numberOfBytes": "32" - }, - "t_struct(Task)3634_storage": { - "encoding": "inplace", - "label": "struct ColonyDataTypes.Task", - "members": [ - { - "astId": 3606, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "specificationHash", - "offset": 0, - "slot": "0", - "type": "t_bytes32" - }, - { - "astId": 3608, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "deliverableHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 3611, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "status", - "offset": 0, - "slot": "2", - "type": "t_enum(TaskStatus)3604" - }, - { - "astId": 3613, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "dueDate", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 3615, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "fundingPotId", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 3617, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "completionTimestamp", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 3619, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "domainId", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 3622, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "skills", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)dyn_storage" - }, - { - "astId": 3627, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "roles", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_uint8,t_struct(Role)3642_storage)" - }, - { - "astId": 3633, - "contract": "contracts/testHelpers/NoLimitSubdomains.sol:NoLimitSubdomains", - "label": "payouts", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_uint8,t_mapping(t_address,t_uint256))" - } - ], - "numberOfBytes": "320" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - }, - "t_uint8": { - "encoding": "inplace", - "label": "uint8", - "numberOfBytes": "1" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/ToggleableToken.sol:ToggleableToken.json b/.storage-layouts/contracts/testHelpers/ToggleableToken.sol:ToggleableToken.json deleted file mode 100644 index 21b2968177..0000000000 --- a/.storage-layouts/contracts/testHelpers/ToggleableToken.sol:ToggleableToken.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "storage": [ - { - "astId": 45664, - "contract": "contracts/testHelpers/ToggleableToken.sol:ToggleableToken", - "label": "_supply", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 45668, - "contract": "contracts/testHelpers/ToggleableToken.sol:ToggleableToken", - "label": "_balances", - "offset": 0, - "slot": "1", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 45674, - "contract": "contracts/testHelpers/ToggleableToken.sol:ToggleableToken", - "label": "_approvals", - "offset": 0, - "slot": "2", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 45677, - "contract": "contracts/testHelpers/ToggleableToken.sol:ToggleableToken", - "label": "locked", - "offset": 0, - "slot": "3", - "type": "t_bool" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned.json b/.storage-layouts/contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned.json deleted file mode 100644 index 740978cf8c..0000000000 --- a/.storage-layouts/contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned.json +++ /dev/null @@ -1,440 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 40226, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "state", - "offset": 21, - "slot": "3", - "type": "t_enum(ExtensionState)40223" - }, - { - "astId": 40229, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "colonyNetwork", - "offset": 0, - "slot": "4", - "type": "t_contract(IColonyNetwork)17371" - }, - { - "astId": 40232, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "tokenLocking", - "offset": 0, - "slot": "5", - "type": "t_contract(ITokenLocking)43685" - }, - { - "astId": 40234, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "token", - "offset": 0, - "slot": "6", - "type": "t_address" - }, - { - "astId": 40236, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "totalStakeFraction", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 40238, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "voterRewardFraction", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 40240, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "userMinStakeFraction", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 40242, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "maxVoteFraction", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 40244, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "stakePeriod", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 40246, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "submitPeriod", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 40248, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "revealPeriod", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 40250, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "escalationPeriod", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 40254, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "metatransactionNonces", - "offset": 0, - "slot": "15", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 40586, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "motionCount", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 40591, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "motions", - "offset": 0, - "slot": "17", - "type": "t_mapping(t_uint256,t_struct(Motion)40584_storage)" - }, - { - "astId": 40599, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "stakes", - "offset": 0, - "slot": "18", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))" - }, - { - "astId": 40605, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "voteSecrets", - "offset": 0, - "slot": "19", - "type": "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))" - }, - { - "astId": 40609, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "expenditurePastVotes", - "offset": 0, - "slot": "20", - "type": "t_mapping(t_bytes32,t_uint256)" - }, - { - "astId": 40613, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "expenditureMotionCounts", - "offset": 0, - "slot": "21", - "type": "t_mapping(t_bytes32,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_array(t_uint256)2_storage": { - "base": "t_uint256", - "encoding": "inplace", - "label": "uint256[2]", - "numberOfBytes": "64" - }, - "t_array(t_uint64)3_storage": { - "base": "t_uint64", - "encoding": "inplace", - "label": "uint64[3]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_bytes_storage": { - "encoding": "bytes", - "label": "bytes", - "numberOfBytes": "32" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_contract(IColonyNetwork)17371": { - "encoding": "inplace", - "label": "contract IColonyNetwork", - "numberOfBytes": "20" - }, - "t_contract(ITokenLocking)43685": { - "encoding": "inplace", - "label": "contract ITokenLocking", - "numberOfBytes": "20" - }, - "t_enum(ExtensionState)40223": { - "encoding": "inplace", - "label": "enum VotingReputationMisaligned.ExtensionState", - "numberOfBytes": "1" - }, - "t_mapping(t_address,t_bytes32)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bytes32)", - "numberOfBytes": "32", - "value": "t_bytes32" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_uint256)" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_bytes32,t_uint256)": { - "encoding": "mapping", - "key": "t_bytes32", - "label": "mapping(bytes32 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_bytes32))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => bytes32))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_bytes32)" - }, - "t_mapping(t_uint256,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(address => mapping(uint256 => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))" - }, - "t_mapping(t_uint256,t_struct(Motion)40584_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct VotingReputationMisaligned.Motion)", - "numberOfBytes": "32", - "value": "t_struct(Motion)40584_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(Motion)40584_storage": { - "encoding": "inplace", - "label": "struct VotingReputationMisaligned.Motion", - "members": [ - { - "astId": 40551, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "events", - "offset": 0, - "slot": "0", - "type": "t_array(t_uint64)3_storage" - }, - { - "astId": 40553, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "rootHash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 40555, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "domainId", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 40557, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "skillId", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 40559, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "skillRep", - "offset": 0, - "slot": "4", - "type": "t_uint256" - }, - { - "astId": 40561, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "repSubmitted", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 40563, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "paidVoterComp", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 40567, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "pastVoterComp", - "offset": 0, - "slot": "7", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 40571, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "stakes", - "offset": 0, - "slot": "9", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 40575, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "votes", - "offset": 0, - "slot": "11", - "type": "t_array(t_uint256)2_storage" - }, - { - "astId": 40577, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "escalated", - "offset": 0, - "slot": "13", - "type": "t_bool" - }, - { - "astId": 40579, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "finalized", - "offset": 1, - "slot": "13", - "type": "t_bool" - }, - { - "astId": 40581, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "altTarget", - "offset": 2, - "slot": "13", - "type": "t_address" - }, - { - "astId": 40583, - "contract": "contracts/testHelpers/VotingReputationMisaligned.sol:VotingReputationMisaligned", - "label": "action", - "offset": 0, - "slot": "14", - "type": "t_bytes_storage" - } - ], - "numberOfBytes": "480" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/WormholeMock.sol:WormholeMock.json b/.storage-layouts/contracts/testHelpers/WormholeMock.sol:WormholeMock.json deleted file mode 100644 index 981a57015b..0000000000 --- a/.storage-layouts/contracts/testHelpers/WormholeMock.sol:WormholeMock.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "storage": [ - { - "astId": 49161, - "contract": "contracts/testHelpers/WormholeMock.sol:WormholeMock", - "label": "bridgeEnabled", - "offset": 0, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 49164, - "contract": "contracts/testHelpers/WormholeMock.sol:WormholeMock", - "label": "cumulativeSequence", - "offset": 1, - "slot": "0", - "type": "t_uint64" - }, - { - "astId": 49167, - "contract": "contracts/testHelpers/WormholeMock.sol:WormholeMock", - "label": "vmResult", - "offset": 9, - "slot": "0", - "type": "t_bool" - }, - { - "astId": 49170, - "contract": "contracts/testHelpers/WormholeMock.sol:WormholeMock", - "label": "invalidVMReason", - "offset": 0, - "slot": "1", - "type": "t_string_storage" - } - ], - "types": { - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_string_storage": { - "encoding": "bytes", - "label": "string", - "numberOfBytes": "32" - }, - "t_uint64": { - "encoding": "inplace", - "label": "uint64", - "numberOfBytes": "8" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/ZodiacBridgeModuleMock.sol:ZodiacBridgeModuleMock.json b/.storage-layouts/contracts/testHelpers/ZodiacBridgeModuleMock.sol:ZodiacBridgeModuleMock.json deleted file mode 100644 index bbf57b3555..0000000000 --- a/.storage-layouts/contracts/testHelpers/ZodiacBridgeModuleMock.sol:ZodiacBridgeModuleMock.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "storage": [ - { - "astId": 49542, - "contract": "contracts/testHelpers/ZodiacBridgeModuleMock.sol:ZodiacBridgeModuleMock", - "label": "avatar", - "offset": 0, - "slot": "0", - "type": "t_address" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0.json b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0.json deleted file mode 100644 index b0275f2b79..0000000000 --- a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0.json +++ /dev/null @@ -1,342 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20666, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 20694, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 20696, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 20698, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 20700, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 20702, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 20704, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 20706, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 20708, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 20710, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 20712, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 20714, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 20716, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 20718, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 20720, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 20722, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 20724, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": "t_uint256" - }, - { - "astId": 20726, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": "t_uint256" - }, - { - "astId": 20728, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 20730, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": "t_uint256" - }, - { - "astId": 20732, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 20734, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": "t_uint256" - }, - { - "astId": 20736, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": "t_uint256" - }, - { - "astId": 20738, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": "t_uint256" - }, - { - "astId": 20740, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": "t_uint256" - }, - { - "astId": 20742, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": "t_uint256" - }, - { - "astId": 20744, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": "t_uint256" - }, - { - "astId": 20746, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": "t_uint256" - }, - { - "astId": 20748, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": "t_uint256" - }, - { - "astId": 20750, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": "t_uint256" - }, - { - "astId": 20752, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 20754, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 20756, - "contract": "contracts/testHelpers/testExtensions/TestExtension0.sol:TestExtension0", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1.json b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1.json deleted file mode 100644 index 91d5c9ce92..0000000000 --- a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1.json +++ /dev/null @@ -1,342 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20666, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 20694, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 20696, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 20698, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 20700, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 20702, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 20704, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 20706, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 20708, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 20710, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 20712, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 20714, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 20716, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 20718, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 20720, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 20722, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 20724, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": "t_uint256" - }, - { - "astId": 20726, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": "t_uint256" - }, - { - "astId": 20728, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 20730, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": "t_uint256" - }, - { - "astId": 20732, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 20734, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": "t_uint256" - }, - { - "astId": 20736, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": "t_uint256" - }, - { - "astId": 20738, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": "t_uint256" - }, - { - "astId": 20740, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": "t_uint256" - }, - { - "astId": 20742, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": "t_uint256" - }, - { - "astId": 20744, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": "t_uint256" - }, - { - "astId": 20746, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": "t_uint256" - }, - { - "astId": 20748, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": "t_uint256" - }, - { - "astId": 20750, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": "t_uint256" - }, - { - "astId": 20752, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 20754, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 20756, - "contract": "contracts/testHelpers/testExtensions/TestExtension1.sol:TestExtension1", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2.json b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2.json deleted file mode 100644 index f25932c9fc..0000000000 --- a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2.json +++ /dev/null @@ -1,342 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20666, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 20694, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 20696, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 20698, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 20700, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 20702, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 20704, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 20706, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 20708, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 20710, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 20712, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 20714, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 20716, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 20718, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 20720, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 20722, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 20724, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": "t_uint256" - }, - { - "astId": 20726, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": "t_uint256" - }, - { - "astId": 20728, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 20730, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": "t_uint256" - }, - { - "astId": 20732, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 20734, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": "t_uint256" - }, - { - "astId": 20736, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": "t_uint256" - }, - { - "astId": 20738, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": "t_uint256" - }, - { - "astId": 20740, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": "t_uint256" - }, - { - "astId": 20742, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": "t_uint256" - }, - { - "astId": 20744, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": "t_uint256" - }, - { - "astId": 20746, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": "t_uint256" - }, - { - "astId": 20748, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": "t_uint256" - }, - { - "astId": 20750, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": "t_uint256" - }, - { - "astId": 20752, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 20754, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 20756, - "contract": "contracts/testHelpers/testExtensions/TestExtension2.sol:TestExtension2", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3.json b/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3.json deleted file mode 100644 index 86ad7c6a3a..0000000000 --- a/.storage-layouts/contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3.json +++ /dev/null @@ -1,342 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20666, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 20694, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 20696, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 20698, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 20700, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 20702, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 20704, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 20706, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 20708, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 20710, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 20712, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 20714, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 20716, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 20718, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 20720, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 20722, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 20724, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": "t_uint256" - }, - { - "astId": 20726, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": "t_uint256" - }, - { - "astId": 20728, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 20730, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": "t_uint256" - }, - { - "astId": 20732, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 20734, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": "t_uint256" - }, - { - "astId": 20736, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": "t_uint256" - }, - { - "astId": 20738, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": "t_uint256" - }, - { - "astId": 20740, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": "t_uint256" - }, - { - "astId": 20742, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": "t_uint256" - }, - { - "astId": 20744, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": "t_uint256" - }, - { - "astId": 20746, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": "t_uint256" - }, - { - "astId": 20748, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": "t_uint256" - }, - { - "astId": 20750, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": "t_uint256" - }, - { - "astId": 20752, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 20754, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 20756, - "contract": "contracts/testHelpers/testExtensions/TestExtension3.sol:TestExtension3", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken.json b/.storage-layouts/contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken.json deleted file mode 100644 index c94efba809..0000000000 --- a/.storage-layouts/contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken.json +++ /dev/null @@ -1,342 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 20435, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 20438, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "colony", - "offset": 0, - "slot": "3", - "type": "t_contract(IColony)10058" - }, - { - "astId": 20440, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "deprecated", - "offset": 20, - "slot": "3", - "type": "t_bool" - }, - { - "astId": 20666, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "metatransactionNonces", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 20694, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder00", - "offset": 0, - "slot": "5", - "type": "t_uint256" - }, - { - "astId": 20696, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder01", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 20698, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder02", - "offset": 0, - "slot": "7", - "type": "t_uint256" - }, - { - "astId": 20700, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder03", - "offset": 0, - "slot": "8", - "type": "t_uint256" - }, - { - "astId": 20702, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder04", - "offset": 0, - "slot": "9", - "type": "t_uint256" - }, - { - "astId": 20704, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder05", - "offset": 0, - "slot": "10", - "type": "t_uint256" - }, - { - "astId": 20706, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder06", - "offset": 0, - "slot": "11", - "type": "t_uint256" - }, - { - "astId": 20708, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder07", - "offset": 0, - "slot": "12", - "type": "t_uint256" - }, - { - "astId": 20710, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder08", - "offset": 0, - "slot": "13", - "type": "t_uint256" - }, - { - "astId": 20712, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder09", - "offset": 0, - "slot": "14", - "type": "t_uint256" - }, - { - "astId": 20714, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder10", - "offset": 0, - "slot": "15", - "type": "t_uint256" - }, - { - "astId": 20716, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder11", - "offset": 0, - "slot": "16", - "type": "t_uint256" - }, - { - "astId": 20718, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder12", - "offset": 0, - "slot": "17", - "type": "t_uint256" - }, - { - "astId": 20720, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder13", - "offset": 0, - "slot": "18", - "type": "t_uint256" - }, - { - "astId": 20722, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder14", - "offset": 0, - "slot": "19", - "type": "t_uint256" - }, - { - "astId": 20724, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder15", - "offset": 0, - "slot": "20", - "type": "t_uint256" - }, - { - "astId": 20726, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder16", - "offset": 0, - "slot": "21", - "type": "t_uint256" - }, - { - "astId": 20728, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder17", - "offset": 0, - "slot": "22", - "type": "t_uint256" - }, - { - "astId": 20730, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder18", - "offset": 0, - "slot": "23", - "type": "t_uint256" - }, - { - "astId": 20732, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder19", - "offset": 0, - "slot": "24", - "type": "t_uint256" - }, - { - "astId": 20734, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder20", - "offset": 0, - "slot": "25", - "type": "t_uint256" - }, - { - "astId": 20736, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder21", - "offset": 0, - "slot": "26", - "type": "t_uint256" - }, - { - "astId": 20738, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder22", - "offset": 0, - "slot": "27", - "type": "t_uint256" - }, - { - "astId": 20740, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder23", - "offset": 0, - "slot": "28", - "type": "t_uint256" - }, - { - "astId": 20742, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder24", - "offset": 0, - "slot": "29", - "type": "t_uint256" - }, - { - "astId": 20744, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder25", - "offset": 0, - "slot": "30", - "type": "t_uint256" - }, - { - "astId": 20746, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder26", - "offset": 0, - "slot": "31", - "type": "t_uint256" - }, - { - "astId": 20748, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder27", - "offset": 0, - "slot": "32", - "type": "t_uint256" - }, - { - "astId": 20750, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder28", - "offset": 0, - "slot": "33", - "type": "t_uint256" - }, - { - "astId": 20752, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder29", - "offset": 0, - "slot": "34", - "type": "t_uint256" - }, - { - "astId": 20754, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder30", - "offset": 0, - "slot": "35", - "type": "t_uint256" - }, - { - "astId": 20756, - "contract": "contracts/testHelpers/testExtensions/TestVotingToken.sol:TestVotingToken", - "label": "placeholder31", - "offset": 0, - "slot": "36", - "type": "t_uint256" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_contract(IColony)10058": { - "encoding": "inplace", - "label": "contract IColony", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/tokenLocking/TokenLocking.sol:TokenLocking.json b/.storage-layouts/contracts/tokenLocking/TokenLocking.sol:TokenLocking.json deleted file mode 100644 index 791136859b..0000000000 --- a/.storage-layouts/contracts/tokenLocking/TokenLocking.sol:TokenLocking.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 44740, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 44742, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "colonyNetwork", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 44749, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "userLocks", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_mapping(t_address,t_struct(Lock)44726_storage))" - }, - { - "astId": 44753, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "totalLockCount", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 44761, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "approvals", - "offset": 0, - "slot": "6", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 44769, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "obligations", - "offset": 0, - "slot": "7", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 44775, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "totalObligations", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 44781, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "lockers", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_address))" - }, - { - "astId": 44785, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "metatransactionNonces", - "offset": 0, - "slot": "10", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_struct(Lock)44726_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => struct TokenLockingDataTypes.Lock))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_struct(Lock)44726_storage)" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_address))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => address))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_address)" - }, - "t_mapping(t_address,t_struct(Lock)44726_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct TokenLockingDataTypes.Lock)", - "numberOfBytes": "32", - "value": "t_struct(Lock)44726_storage" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_struct(Lock)44726_storage": { - "encoding": "inplace", - "label": "struct TokenLockingDataTypes.Lock", - "members": [ - { - "astId": 44719, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "lockCount", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 44721, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "balance", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 44723, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "DEPRECATED_timestamp", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 44725, - "contract": "contracts/tokenLocking/TokenLocking.sol:TokenLocking", - "label": "pendingBalance", - "offset": 0, - "slot": "3", - "type": "t_uint256" - } - ], - "numberOfBytes": "128" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} diff --git a/.storage-layouts/contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage.json b/.storage-layouts/contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage.json deleted file mode 100644 index aa46f11d34..0000000000 --- a/.storage-layouts/contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "storage": [ - { - "astId": 45121, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "authority", - "offset": 0, - "slot": "0", - "type": "t_contract(DSAuthority)45107" - }, - { - "astId": 45123, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "owner", - "offset": 0, - "slot": "1", - "type": "t_address" - }, - { - "astId": 44740, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "resolver", - "offset": 0, - "slot": "2", - "type": "t_address" - }, - { - "astId": 44742, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "colonyNetwork", - "offset": 0, - "slot": "3", - "type": "t_address" - }, - { - "astId": 44749, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "userLocks", - "offset": 0, - "slot": "4", - "type": "t_mapping(t_address,t_mapping(t_address,t_struct(Lock)44726_storage))" - }, - { - "astId": 44753, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "totalLockCount", - "offset": 0, - "slot": "5", - "type": "t_mapping(t_address,t_uint256)" - }, - { - "astId": 44761, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "approvals", - "offset": 0, - "slot": "6", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 44769, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "obligations", - "offset": 0, - "slot": "7", - "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))" - }, - { - "astId": 44775, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "totalObligations", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - { - "astId": 44781, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "lockers", - "offset": 0, - "slot": "9", - "type": "t_mapping(t_address,t_mapping(t_uint256,t_address))" - }, - { - "astId": 44785, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "metatransactionNonces", - "offset": 0, - "slot": "10", - "type": "t_mapping(t_address,t_uint256)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_contract(DSAuthority)45107": { - "encoding": "inplace", - "label": "contract DSAuthority", - "numberOfBytes": "20" - }, - "t_mapping(t_address,t_mapping(t_address,t_mapping(t_address,t_uint256)))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => mapping(address => uint256)))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_mapping(t_address,t_uint256))" - }, - "t_mapping(t_address,t_mapping(t_address,t_struct(Lock)44726_storage))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => struct TokenLockingDataTypes.Lock))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_struct(Lock)44726_storage)" - }, - "t_mapping(t_address,t_mapping(t_address,t_uint256))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(address => uint256))", - "numberOfBytes": "32", - "value": "t_mapping(t_address,t_uint256)" - }, - "t_mapping(t_address,t_mapping(t_uint256,t_address))": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => mapping(uint256 => address))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_address)" - }, - "t_mapping(t_address,t_struct(Lock)44726_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct TokenLockingDataTypes.Lock)", - "numberOfBytes": "32", - "value": "t_struct(Lock)44726_storage" - }, - "t_mapping(t_address,t_uint256)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_mapping(t_uint256,t_address)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_struct(Lock)44726_storage": { - "encoding": "inplace", - "label": "struct TokenLockingDataTypes.Lock", - "members": [ - { - "astId": 44719, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "lockCount", - "offset": 0, - "slot": "0", - "type": "t_uint256" - }, - { - "astId": 44721, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "balance", - "offset": 0, - "slot": "1", - "type": "t_uint256" - }, - { - "astId": 44723, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "DEPRECATED_timestamp", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 44725, - "contract": "contracts/tokenLocking/TokenLockingStorage.sol:TokenLockingStorage", - "label": "pendingBalance", - "offset": 0, - "slot": "3", - "type": "t_uint256" - } - ], - "numberOfBytes": "128" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - } - } -} From 122680fdaeb8eb8e1fdb6fb2abaa1862650675b9 Mon Sep 17 00:00:00 2001 From: Alex Rea Date: Mon, 7 Oct 2024 17:39:40 +0100 Subject: [PATCH 15/15] Update tests post version-bump --- test/extensions/one-tx-payment.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/extensions/one-tx-payment.js b/test/extensions/one-tx-payment.js index d4f475028f..45b5a1a25e 100644 --- a/test/extensions/one-tx-payment.js +++ b/test/extensions/one-tx-payment.js @@ -36,7 +36,6 @@ const { deployColonyVersionGLWSS4, deployColonyNetworkVersionGLWSS4, deployColonyVersionHMWSS, - deployColonyVersionIMWSS, } = require("../../scripts/deployOldUpgradeableVersion"); contract("One transaction payments", (accounts) => { @@ -576,7 +575,6 @@ contract("One transaction payments", (accounts) => { await deployColonyNetworkVersionGLWSS4(); await deployColonyVersionGLWSS4(colonyNetwork); await deployColonyVersionHMWSS(colonyNetwork); - await deployColonyVersionIMWSS(colonyNetwork); }); beforeEach(async () => { @@ -637,10 +635,7 @@ contract("One transaction payments", (accounts) => { await token.mint(colony.address, INITIAL_FUNDING); await colony.claimColonyFunds(token.address); - await colony.upgrade(14); - await colony.upgrade(15); - await colony.upgrade(16); - + await upgradeColonyOnceThenToLatest(colony); // Confirm this colony has the new domain structure const domain = await colony.getDomain(1); expect(domain.deprecated).to.be.false;