Skip to content

Commit dbc5c04

Browse files
committed
Update OZ Manifest for TokenStaking upgrade on Nov 22nd, 2023
New implementation: 0x4d333B9ECB75252342d82B7aF3610951f81e0888 See https://etherscan.io/tx/0x68ddee6b5651d5348a40555b0079b5066d05a63196e3832323afafae0095a656
1 parent a86ca21 commit dbc5c04

File tree

1 file changed

+348
-0
lines changed

1 file changed

+348
-0
lines changed

.openzeppelin/mainnet.json

Lines changed: 348 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -940,6 +940,354 @@
940940
}
941941
}
942942
}
943+
},
944+
"3579d70bc8c21d7cbecdefc34d616f4dfaf506e9c53438abaa4565b75c860547": {
945+
"address": "0x4d333B9ECB75252342d82B7aF3610951f81e0888",
946+
"txHash": "0xe05e8db03259711ea7c6bd785517f7e5eadf0bca7e0670bd557b8631f3f95cbc",
947+
"layout": {
948+
"solcVersion": "0.8.9",
949+
"storage": [
950+
{
951+
"label": "_initialized",
952+
"offset": 0,
953+
"slot": "0",
954+
"type": "t_bool",
955+
"contract": "Initializable",
956+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:39"
957+
},
958+
{
959+
"label": "_initializing",
960+
"offset": 1,
961+
"slot": "0",
962+
"type": "t_bool",
963+
"contract": "Initializable",
964+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:44"
965+
},
966+
{
967+
"label": "_delegates",
968+
"offset": 0,
969+
"slot": "1",
970+
"type": "t_mapping(t_address,t_address)",
971+
"contract": "Checkpoints",
972+
"src": "contracts/governance/Checkpoints.sol:49"
973+
},
974+
{
975+
"label": "_checkpoints",
976+
"offset": 0,
977+
"slot": "2",
978+
"type": "t_mapping(t_address,t_array(t_uint128)dyn_storage)",
979+
"contract": "Checkpoints",
980+
"src": "contracts/governance/Checkpoints.sol:49"
981+
},
982+
{
983+
"label": "_totalSupplyCheckpoints",
984+
"offset": 0,
985+
"slot": "3",
986+
"type": "t_array(t_uint128)dyn_storage",
987+
"contract": "Checkpoints",
988+
"src": "contracts/governance/Checkpoints.sol:51"
989+
},
990+
{
991+
"label": "__gap",
992+
"offset": 0,
993+
"slot": "4",
994+
"type": "t_array(t_uint256)47_storage",
995+
"contract": "Checkpoints",
996+
"src": "contracts/governance/Checkpoints.sol:61"
997+
},
998+
{
999+
"label": "governance",
1000+
"offset": 0,
1001+
"slot": "51",
1002+
"type": "t_address",
1003+
"contract": "TokenStaking",
1004+
"src": "contracts/staking/TokenStaking.sol:104"
1005+
},
1006+
{
1007+
"label": "minTStakeAmount",
1008+
"offset": 20,
1009+
"slot": "51",
1010+
"type": "t_uint96",
1011+
"contract": "TokenStaking",
1012+
"src": "contracts/staking/TokenStaking.sol:104"
1013+
},
1014+
{
1015+
"label": "authorizationCeiling",
1016+
"offset": 0,
1017+
"slot": "52",
1018+
"type": "t_uint256",
1019+
"contract": "TokenStaking",
1020+
"src": "contracts/staking/TokenStaking.sol:105"
1021+
},
1022+
{
1023+
"label": "legacyStakeDiscrepancyPenalty",
1024+
"offset": 0,
1025+
"slot": "53",
1026+
"type": "t_uint96",
1027+
"contract": "TokenStaking",
1028+
"src": "contracts/staking/TokenStaking.sol:111",
1029+
"renamedFrom": "stakeDiscrepancyPenalty"
1030+
},
1031+
{
1032+
"label": "legacyStakeDiscrepancyRewardMultiplier",
1033+
"offset": 0,
1034+
"slot": "54",
1035+
"type": "t_uint256",
1036+
"contract": "TokenStaking",
1037+
"src": "contracts/staking/TokenStaking.sol:120",
1038+
"renamedFrom": "stakeDiscrepancyRewardMultiplier"
1039+
},
1040+
{
1041+
"label": "notifiersTreasury",
1042+
"offset": 0,
1043+
"slot": "55",
1044+
"type": "t_uint256",
1045+
"contract": "TokenStaking",
1046+
"src": "contracts/staking/TokenStaking.sol:122"
1047+
},
1048+
{
1049+
"label": "notificationReward",
1050+
"offset": 0,
1051+
"slot": "56",
1052+
"type": "t_uint256",
1053+
"contract": "TokenStaking",
1054+
"src": "contracts/staking/TokenStaking.sol:123"
1055+
},
1056+
{
1057+
"label": "stakingProviders",
1058+
"offset": 0,
1059+
"slot": "57",
1060+
"type": "t_mapping(t_address,t_struct(StakingProviderInfo)4178_storage)",
1061+
"contract": "TokenStaking",
1062+
"src": "contracts/staking/TokenStaking.sol:126"
1063+
},
1064+
{
1065+
"label": "applicationInfo",
1066+
"offset": 0,
1067+
"slot": "58",
1068+
"type": "t_mapping(t_address,t_struct(ApplicationInfo)4189_storage)",
1069+
"contract": "TokenStaking",
1070+
"src": "contracts/staking/TokenStaking.sol:127"
1071+
},
1072+
{
1073+
"label": "applications",
1074+
"offset": 0,
1075+
"slot": "59",
1076+
"type": "t_array(t_address)dyn_storage",
1077+
"contract": "TokenStaking",
1078+
"src": "contracts/staking/TokenStaking.sol:129"
1079+
},
1080+
{
1081+
"label": "slashingQueue",
1082+
"offset": 0,
1083+
"slot": "60",
1084+
"type": "t_array(t_struct(SlashingEvent)4194_storage)dyn_storage",
1085+
"contract": "TokenStaking",
1086+
"src": "contracts/staking/TokenStaking.sol:131"
1087+
},
1088+
{
1089+
"label": "slashingQueueIndex",
1090+
"offset": 0,
1091+
"slot": "61",
1092+
"type": "t_uint256",
1093+
"contract": "TokenStaking",
1094+
"src": "contracts/staking/TokenStaking.sol:132"
1095+
}
1096+
],
1097+
"types": {
1098+
"t_address": {
1099+
"label": "address",
1100+
"numberOfBytes": "20"
1101+
},
1102+
"t_address_payable": {
1103+
"label": "address payable",
1104+
"numberOfBytes": "20"
1105+
},
1106+
"t_array(t_address)dyn_storage": {
1107+
"label": "address[]",
1108+
"numberOfBytes": "32"
1109+
},
1110+
"t_array(t_struct(SlashingEvent)4194_storage)dyn_storage": {
1111+
"label": "struct TokenStaking.SlashingEvent[]",
1112+
"numberOfBytes": "32"
1113+
},
1114+
"t_array(t_uint128)dyn_storage": {
1115+
"label": "uint128[]",
1116+
"numberOfBytes": "32"
1117+
},
1118+
"t_array(t_uint256)47_storage": {
1119+
"label": "uint256[47]",
1120+
"numberOfBytes": "1504"
1121+
},
1122+
"t_bool": {
1123+
"label": "bool",
1124+
"numberOfBytes": "1"
1125+
},
1126+
"t_enum(ApplicationStatus)4153": {
1127+
"label": "enum TokenStaking.ApplicationStatus",
1128+
"members": [
1129+
"NOT_APPROVED",
1130+
"APPROVED",
1131+
"PAUSED",
1132+
"DISABLED"
1133+
],
1134+
"numberOfBytes": "1"
1135+
},
1136+
"t_mapping(t_address,t_address)": {
1137+
"label": "mapping(address => address)",
1138+
"numberOfBytes": "32"
1139+
},
1140+
"t_mapping(t_address,t_array(t_uint128)dyn_storage)": {
1141+
"label": "mapping(address => uint128[])",
1142+
"numberOfBytes": "32"
1143+
},
1144+
"t_mapping(t_address,t_struct(AppAuthorization)4183_storage)": {
1145+
"label": "mapping(address => struct TokenStaking.AppAuthorization)",
1146+
"numberOfBytes": "32"
1147+
},
1148+
"t_mapping(t_address,t_struct(ApplicationInfo)4189_storage)": {
1149+
"label": "mapping(address => struct TokenStaking.ApplicationInfo)",
1150+
"numberOfBytes": "32"
1151+
},
1152+
"t_mapping(t_address,t_struct(StakingProviderInfo)4178_storage)": {
1153+
"label": "mapping(address => struct TokenStaking.StakingProviderInfo)",
1154+
"numberOfBytes": "32"
1155+
},
1156+
"t_struct(AppAuthorization)4183_storage": {
1157+
"label": "struct TokenStaking.AppAuthorization",
1158+
"members": [
1159+
{
1160+
"label": "authorized",
1161+
"type": "t_uint96",
1162+
"offset": 0,
1163+
"slot": "0"
1164+
},
1165+
{
1166+
"label": "deauthorizing",
1167+
"type": "t_uint96",
1168+
"offset": 12,
1169+
"slot": "0"
1170+
}
1171+
],
1172+
"numberOfBytes": "32"
1173+
},
1174+
"t_struct(ApplicationInfo)4189_storage": {
1175+
"label": "struct TokenStaking.ApplicationInfo",
1176+
"members": [
1177+
{
1178+
"label": "status",
1179+
"type": "t_enum(ApplicationStatus)4153",
1180+
"offset": 0,
1181+
"slot": "0"
1182+
},
1183+
{
1184+
"label": "panicButton",
1185+
"type": "t_address",
1186+
"offset": 1,
1187+
"slot": "0"
1188+
}
1189+
],
1190+
"numberOfBytes": "32"
1191+
},
1192+
"t_struct(SlashingEvent)4194_storage": {
1193+
"label": "struct TokenStaking.SlashingEvent",
1194+
"members": [
1195+
{
1196+
"label": "stakingProvider",
1197+
"type": "t_address",
1198+
"offset": 0,
1199+
"slot": "0"
1200+
},
1201+
{
1202+
"label": "amount",
1203+
"type": "t_uint96",
1204+
"offset": 20,
1205+
"slot": "0"
1206+
}
1207+
],
1208+
"numberOfBytes": "32"
1209+
},
1210+
"t_struct(StakingProviderInfo)4178_storage": {
1211+
"label": "struct TokenStaking.StakingProviderInfo",
1212+
"members": [
1213+
{
1214+
"label": "nuInTStake",
1215+
"type": "t_uint96",
1216+
"offset": 0,
1217+
"slot": "0"
1218+
},
1219+
{
1220+
"label": "owner",
1221+
"type": "t_address",
1222+
"offset": 12,
1223+
"slot": "0"
1224+
},
1225+
{
1226+
"label": "keepInTStake",
1227+
"type": "t_uint96",
1228+
"offset": 0,
1229+
"slot": "1"
1230+
},
1231+
{
1232+
"label": "beneficiary",
1233+
"type": "t_address_payable",
1234+
"offset": 12,
1235+
"slot": "1"
1236+
},
1237+
{
1238+
"label": "tStake",
1239+
"type": "t_uint96",
1240+
"offset": 0,
1241+
"slot": "2"
1242+
},
1243+
{
1244+
"label": "authorizer",
1245+
"type": "t_address",
1246+
"offset": 12,
1247+
"slot": "2"
1248+
},
1249+
{
1250+
"label": "authorizations",
1251+
"type": "t_mapping(t_address,t_struct(AppAuthorization)4183_storage)",
1252+
"offset": 0,
1253+
"slot": "3"
1254+
},
1255+
{
1256+
"label": "authorizedApplications",
1257+
"type": "t_array(t_address)dyn_storage",
1258+
"offset": 0,
1259+
"slot": "4"
1260+
},
1261+
{
1262+
"label": "startStakingTimestamp",
1263+
"type": "t_uint256",
1264+
"offset": 0,
1265+
"slot": "5"
1266+
},
1267+
{
1268+
"label": "autoIncrease",
1269+
"type": "t_bool",
1270+
"offset": 0,
1271+
"slot": "6"
1272+
}
1273+
],
1274+
"numberOfBytes": "224"
1275+
},
1276+
"t_uint128": {
1277+
"label": "uint128",
1278+
"numberOfBytes": "16"
1279+
},
1280+
"t_uint256": {
1281+
"label": "uint256",
1282+
"numberOfBytes": "32"
1283+
},
1284+
"t_uint96": {
1285+
"label": "uint96",
1286+
"numberOfBytes": "12"
1287+
}
1288+
},
1289+
"namespaces": {}
1290+
}
9431291
}
9441292
}
9451293
}

0 commit comments

Comments
 (0)