Skip to content

Commit

Permalink
Update storage layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
area committed May 29, 2024
1 parent 58d4d6e commit 1929430
Show file tree
Hide file tree
Showing 65 changed files with 901 additions and 882 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,17 @@
"numberOfBytes": "256"
}
}
},
{
"contract": "contracts/extensions/StreamingPayments.sol:StreamingPayments",
"label": "nUnresolvedStreamingPayments",
"offset": 0,
"slot": "39",
"type": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"storage": [
{
"astId": 50364,
"astId": 50657,
"contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony",
"label": "authority",
"offset": 0,
"slot": "0",
"type": "t_contract(DSAuthority)50350"
"type": "t_contract(DSAuthority)50643"
},
{
"astId": 50366,
"astId": 50659,
"contract": "contracts/bridging/WormholeBridgeForColony.sol:WormholeBridgeForColony",
"label": "owner",
"offset": 0,
Expand All @@ -30,7 +30,7 @@
"label": "wormhole",
"offset": 0,
"slot": "3",
"type": "t_contract(IWormhole)54240"
"type": "t_contract(IWormhole)54533"
},
{
"astId": 2588,
Expand All @@ -55,12 +55,12 @@
"label": "address",
"numberOfBytes": "20"
},
"t_contract(DSAuthority)50350": {
"t_contract(DSAuthority)50643": {
"encoding": "inplace",
"label": "contract DSAuthority",
"numberOfBytes": "20"
},
"t_contract(IWormhole)54240": {
"t_contract(IWormhole)54533": {
"encoding": "inplace",
"label": "contract IWormhole",
"numberOfBytes": "20"
Expand Down
8 changes: 4 additions & 4 deletions .storage-layouts/contracts/colony/Colony.sol:Colony.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"storage": [
{
"astId": 50364,
"astId": 50657,
"contract": "contracts/colony/Colony.sol:Colony",
"label": "authority",
"offset": 0,
"slot": "0",
"type": "t_contract(DSAuthority)50350"
"type": "t_contract(DSAuthority)50643"
},
{
"astId": 50366,
"astId": 50659,
"contract": "contracts/colony/Colony.sol:Colony",
"label": "owner",
"offset": 0,
Expand Down Expand Up @@ -359,7 +359,7 @@
"label": "bytes4",
"numberOfBytes": "4"
},
"t_contract(DSAuthority)50350": {
"t_contract(DSAuthority)50643": {
"encoding": "inplace",
"label": "contract DSAuthority",
"numberOfBytes": "20"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"storage": [
{
"astId": 50364,
"astId": 50657,
"contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction",
"label": "authority",
"offset": 0,
"slot": "0",
"type": "t_contract(DSAuthority)50350"
"type": "t_contract(DSAuthority)50643"
},
{
"astId": 50366,
"astId": 50659,
"contract": "contracts/colony/ColonyArbitraryTransaction.sol:ColonyArbitraryTransaction",
"label": "owner",
"offset": 0,
Expand Down Expand Up @@ -359,7 +359,7 @@
"label": "bytes4",
"numberOfBytes": "4"
},
"t_contract(DSAuthority)50350": {
"t_contract(DSAuthority)50643": {
"encoding": "inplace",
"label": "contract DSAuthority",
"numberOfBytes": "20"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
{
"storage": [
{
"astId": 50364,
"astId": 50657,
"contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority",
"label": "authority",
"offset": 0,
"slot": "0",
"type": "t_contract(DSAuthority)50350"
"type": "t_contract(DSAuthority)50643"
},
{
"astId": 50366,
"astId": 50659,
"contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority",
"label": "owner",
"offset": 0,
"slot": "1",
"type": "t_address"
},
{
"astId": 50848,
"astId": 51141,
"contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority",
"label": "_root_users",
"offset": 0,
"slot": "2",
"type": "t_mapping(t_address,t_bool)"
},
{
"astId": 50852,
"astId": 51145,
"contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority",
"label": "_user_roles",
"offset": 0,
"slot": "3",
"type": "t_mapping(t_address,t_bytes32)"
},
{
"astId": 50858,
"astId": 51151,
"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": 50864,
"astId": 51157,
"contract": "contracts/colony/ColonyAuthority.sol:ColonyAuthority",
"label": "_public_capabilities",
"offset": 0,
Expand Down Expand Up @@ -86,7 +86,7 @@
"label": "bytes4",
"numberOfBytes": "4"
},
"t_contract(DSAuthority)50350": {
"t_contract(DSAuthority)50643": {
"encoding": "inplace",
"label": "contract DSAuthority",
"numberOfBytes": "20"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"storage": [
{
"astId": 50364,
"astId": 50657,
"contract": "contracts/colony/ColonyDomains.sol:ColonyDomains",
"label": "authority",
"offset": 0,
"slot": "0",
"type": "t_contract(DSAuthority)50350"
"type": "t_contract(DSAuthority)50643"
},
{
"astId": 50366,
"astId": 50659,
"contract": "contracts/colony/ColonyDomains.sol:ColonyDomains",
"label": "owner",
"offset": 0,
Expand Down Expand Up @@ -359,7 +359,7 @@
"label": "bytes4",
"numberOfBytes": "4"
},
"t_contract(DSAuthority)50350": {
"t_contract(DSAuthority)50643": {
"encoding": "inplace",
"label": "contract DSAuthority",
"numberOfBytes": "20"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"storage": [
{
"astId": 50364,
"astId": 50657,
"contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure",
"label": "authority",
"offset": 0,
"slot": "0",
"type": "t_contract(DSAuthority)50350"
"type": "t_contract(DSAuthority)50643"
},
{
"astId": 50366,
"astId": 50659,
"contract": "contracts/colony/ColonyExpenditure.sol:ColonyExpenditure",
"label": "owner",
"offset": 0,
Expand Down Expand Up @@ -359,7 +359,7 @@
"label": "bytes4",
"numberOfBytes": "4"
},
"t_contract(DSAuthority)50350": {
"t_contract(DSAuthority)50643": {
"encoding": "inplace",
"label": "contract DSAuthority",
"numberOfBytes": "20"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"storage": [
{
"astId": 50364,
"astId": 50657,
"contract": "contracts/colony/ColonyFunding.sol:ColonyFunding",
"label": "authority",
"offset": 0,
"slot": "0",
"type": "t_contract(DSAuthority)50350"
"type": "t_contract(DSAuthority)50643"
},
{
"astId": 50366,
"astId": 50659,
"contract": "contracts/colony/ColonyFunding.sol:ColonyFunding",
"label": "owner",
"offset": 0,
Expand Down Expand Up @@ -359,7 +359,7 @@
"label": "bytes4",
"numberOfBytes": "4"
},
"t_contract(DSAuthority)50350": {
"t_contract(DSAuthority)50643": {
"encoding": "inplace",
"label": "contract DSAuthority",
"numberOfBytes": "20"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"storage": [
{
"astId": 50364,
"astId": 50657,
"contract": "contracts/colony/ColonyRewards.sol:ColonyRewards",
"label": "authority",
"offset": 0,
"slot": "0",
"type": "t_contract(DSAuthority)50350"
"type": "t_contract(DSAuthority)50643"
},
{
"astId": 50366,
"astId": 50659,
"contract": "contracts/colony/ColonyRewards.sol:ColonyRewards",
"label": "owner",
"offset": 0,
Expand Down Expand Up @@ -359,7 +359,7 @@
"label": "bytes4",
"numberOfBytes": "4"
},
"t_contract(DSAuthority)50350": {
"t_contract(DSAuthority)50643": {
"encoding": "inplace",
"label": "contract DSAuthority",
"numberOfBytes": "20"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"storage": [
{
"astId": 50364,
"astId": 50657,
"contract": "contracts/colony/ColonyRoles.sol:ColonyRoles",
"label": "authority",
"offset": 0,
"slot": "0",
"type": "t_contract(DSAuthority)50350"
"type": "t_contract(DSAuthority)50643"
},
{
"astId": 50366,
"astId": 50659,
"contract": "contracts/colony/ColonyRoles.sol:ColonyRoles",
"label": "owner",
"offset": 0,
Expand Down Expand Up @@ -359,7 +359,7 @@
"label": "bytes4",
"numberOfBytes": "4"
},
"t_contract(DSAuthority)50350": {
"t_contract(DSAuthority)50643": {
"encoding": "inplace",
"label": "contract DSAuthority",
"numberOfBytes": "20"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"storage": [
{
"astId": 50364,
"astId": 50657,
"contract": "contracts/colony/ColonyStorage.sol:ColonyStorage",
"label": "authority",
"offset": 0,
"slot": "0",
"type": "t_contract(DSAuthority)50350"
"type": "t_contract(DSAuthority)50643"
},
{
"astId": 50366,
"astId": 50659,
"contract": "contracts/colony/ColonyStorage.sol:ColonyStorage",
"label": "owner",
"offset": 0,
Expand Down Expand Up @@ -359,7 +359,7 @@
"label": "bytes4",
"numberOfBytes": "4"
},
"t_contract(DSAuthority)50350": {
"t_contract(DSAuthority)50643": {
"encoding": "inplace",
"label": "contract DSAuthority",
"numberOfBytes": "20"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"storage": [
{
"astId": 50364,
"astId": 50657,
"contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork",
"label": "authority",
"offset": 0,
"slot": "0",
"type": "t_contract(DSAuthority)50350"
"type": "t_contract(DSAuthority)50643"
},
{
"astId": 50366,
"astId": 50659,
"contract": "contracts/colonyNetwork/ColonyNetwork.sol:ColonyNetwork",
"label": "owner",
"offset": 0,
Expand Down Expand Up @@ -444,7 +444,7 @@
"label": "bytes32",
"numberOfBytes": "32"
},
"t_contract(DSAuthority)50350": {
"t_contract(DSAuthority)50643": {
"encoding": "inplace",
"label": "contract DSAuthority",
"numberOfBytes": "20"
Expand Down
Loading

0 comments on commit 1929430

Please sign in to comment.