Skip to content

Commit b0ee1e6

Browse files
committed
Update OZ Upgrade Manifest with latest deployment of TokenStaking
1 parent 8a9a53a commit b0ee1e6

File tree

1 file changed

+339
-0
lines changed

1 file changed

+339
-0
lines changed

.openzeppelin/mainnet.json

+339
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,345 @@
601601
}
602602
}
603603
}
604+
},
605+
"40b8240693018995484efa92b24b6696ac17c23f628218c008afd9037f6ec1fa": {
606+
"address": "0x409bf77A8E3Fe384497227eA508029B5364933DE",
607+
"txHash": "0x512a709abe19dbf5a9985dbb64b27089134604e50aaee01732a7029b3f6f165b",
608+
"layout": {
609+
"solcVersion": "0.8.9",
610+
"storage": [
611+
{
612+
"label": "_initialized",
613+
"offset": 0,
614+
"slot": "0",
615+
"type": "t_bool",
616+
"contract": "Initializable",
617+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:39"
618+
},
619+
{
620+
"label": "_initializing",
621+
"offset": 1,
622+
"slot": "0",
623+
"type": "t_bool",
624+
"contract": "Initializable",
625+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:44"
626+
},
627+
{
628+
"label": "_delegates",
629+
"offset": 0,
630+
"slot": "1",
631+
"type": "t_mapping(t_address,t_address)",
632+
"contract": "Checkpoints",
633+
"src": "contracts/governance/Checkpoints.sol:49"
634+
},
635+
{
636+
"label": "_checkpoints",
637+
"offset": 0,
638+
"slot": "2",
639+
"type": "t_mapping(t_address,t_array(t_uint128)dyn_storage)",
640+
"contract": "Checkpoints",
641+
"src": "contracts/governance/Checkpoints.sol:49"
642+
},
643+
{
644+
"label": "_totalSupplyCheckpoints",
645+
"offset": 0,
646+
"slot": "3",
647+
"type": "t_array(t_uint128)dyn_storage",
648+
"contract": "Checkpoints",
649+
"src": "contracts/governance/Checkpoints.sol:51"
650+
},
651+
{
652+
"label": "__gap",
653+
"offset": 0,
654+
"slot": "4",
655+
"type": "t_array(t_uint256)47_storage",
656+
"contract": "Checkpoints",
657+
"src": "contracts/governance/Checkpoints.sol:61"
658+
},
659+
{
660+
"label": "governance",
661+
"offset": 0,
662+
"slot": "51",
663+
"type": "t_address",
664+
"contract": "TokenStaking",
665+
"src": "contracts/staking/TokenStaking.sol:114"
666+
},
667+
{
668+
"label": "minTStakeAmount",
669+
"offset": 20,
670+
"slot": "51",
671+
"type": "t_uint96",
672+
"contract": "TokenStaking",
673+
"src": "contracts/staking/TokenStaking.sol:115"
674+
},
675+
{
676+
"label": "authorizationCeiling",
677+
"offset": 0,
678+
"slot": "52",
679+
"type": "t_uint256",
680+
"contract": "TokenStaking",
681+
"src": "contracts/staking/TokenStaking.sol:116"
682+
},
683+
{
684+
"label": "stakeDiscrepancyPenalty",
685+
"offset": 0,
686+
"slot": "53",
687+
"type": "t_uint96",
688+
"contract": "TokenStaking",
689+
"src": "contracts/staking/TokenStaking.sol:118"
690+
},
691+
{
692+
"label": "stakeDiscrepancyRewardMultiplier",
693+
"offset": 0,
694+
"slot": "54",
695+
"type": "t_uint256",
696+
"contract": "TokenStaking",
697+
"src": "contracts/staking/TokenStaking.sol:119"
698+
},
699+
{
700+
"label": "notifiersTreasury",
701+
"offset": 0,
702+
"slot": "55",
703+
"type": "t_uint256",
704+
"contract": "TokenStaking",
705+
"src": "contracts/staking/TokenStaking.sol:121"
706+
},
707+
{
708+
"label": "notificationReward",
709+
"offset": 0,
710+
"slot": "56",
711+
"type": "t_uint256",
712+
"contract": "TokenStaking",
713+
"src": "contracts/staking/TokenStaking.sol:122"
714+
},
715+
{
716+
"label": "stakingProviders",
717+
"offset": 0,
718+
"slot": "57",
719+
"type": "t_mapping(t_address,t_struct(StakingProviderInfo)12815_storage)",
720+
"contract": "TokenStaking",
721+
"src": "contracts/staking/TokenStaking.sol:125"
722+
},
723+
{
724+
"label": "applicationInfo",
725+
"offset": 0,
726+
"slot": "58",
727+
"type": "t_mapping(t_address,t_struct(ApplicationInfo)12826_storage)",
728+
"contract": "TokenStaking",
729+
"src": "contracts/staking/TokenStaking.sol:126"
730+
},
731+
{
732+
"label": "applications",
733+
"offset": 0,
734+
"slot": "59",
735+
"type": "t_array(t_address)dyn_storage",
736+
"contract": "TokenStaking",
737+
"src": "contracts/staking/TokenStaking.sol:128"
738+
},
739+
{
740+
"label": "slashingQueue",
741+
"offset": 0,
742+
"slot": "60",
743+
"type": "t_array(t_struct(SlashingEvent)12831_storage)dyn_storage",
744+
"contract": "TokenStaking",
745+
"src": "contracts/staking/TokenStaking.sol:130"
746+
},
747+
{
748+
"label": "slashingQueueIndex",
749+
"offset": 0,
750+
"slot": "61",
751+
"type": "t_uint256",
752+
"contract": "TokenStaking",
753+
"src": "contracts/staking/TokenStaking.sol:131"
754+
}
755+
],
756+
"types": {
757+
"t_address": {
758+
"label": "address",
759+
"numberOfBytes": "20"
760+
},
761+
"t_address_payable": {
762+
"label": "address payable",
763+
"numberOfBytes": "20"
764+
},
765+
"t_array(t_address)dyn_storage": {
766+
"label": "address[]",
767+
"numberOfBytes": "32"
768+
},
769+
"t_array(t_struct(SlashingEvent)12831_storage)dyn_storage": {
770+
"label": "struct TokenStaking.SlashingEvent[]",
771+
"numberOfBytes": "32"
772+
},
773+
"t_array(t_uint128)dyn_storage": {
774+
"label": "uint128[]",
775+
"numberOfBytes": "32"
776+
},
777+
"t_array(t_uint256)47_storage": {
778+
"label": "uint256[47]",
779+
"numberOfBytes": "1504"
780+
},
781+
"t_bool": {
782+
"label": "bool",
783+
"numberOfBytes": "1"
784+
},
785+
"t_enum(ApplicationStatus)12792": {
786+
"label": "enum TokenStaking.ApplicationStatus",
787+
"members": [
788+
"NOT_APPROVED",
789+
"APPROVED",
790+
"PAUSED",
791+
"DISABLED"
792+
],
793+
"numberOfBytes": "1"
794+
},
795+
"t_mapping(t_address,t_address)": {
796+
"label": "mapping(address => address)",
797+
"numberOfBytes": "32"
798+
},
799+
"t_mapping(t_address,t_array(t_uint128)dyn_storage)": {
800+
"label": "mapping(address => uint128[])",
801+
"numberOfBytes": "32"
802+
},
803+
"t_mapping(t_address,t_struct(AppAuthorization)12820_storage)": {
804+
"label": "mapping(address => struct TokenStaking.AppAuthorization)",
805+
"numberOfBytes": "32"
806+
},
807+
"t_mapping(t_address,t_struct(ApplicationInfo)12826_storage)": {
808+
"label": "mapping(address => struct TokenStaking.ApplicationInfo)",
809+
"numberOfBytes": "32"
810+
},
811+
"t_mapping(t_address,t_struct(StakingProviderInfo)12815_storage)": {
812+
"label": "mapping(address => struct TokenStaking.StakingProviderInfo)",
813+
"numberOfBytes": "32"
814+
},
815+
"t_struct(AppAuthorization)12820_storage": {
816+
"label": "struct TokenStaking.AppAuthorization",
817+
"members": [
818+
{
819+
"label": "authorized",
820+
"type": "t_uint96",
821+
"offset": 0,
822+
"slot": "0"
823+
},
824+
{
825+
"label": "deauthorizing",
826+
"type": "t_uint96",
827+
"offset": 12,
828+
"slot": "0"
829+
}
830+
],
831+
"numberOfBytes": "32"
832+
},
833+
"t_struct(ApplicationInfo)12826_storage": {
834+
"label": "struct TokenStaking.ApplicationInfo",
835+
"members": [
836+
{
837+
"label": "status",
838+
"type": "t_enum(ApplicationStatus)12792",
839+
"offset": 0,
840+
"slot": "0"
841+
},
842+
{
843+
"label": "panicButton",
844+
"type": "t_address",
845+
"offset": 1,
846+
"slot": "0"
847+
}
848+
],
849+
"numberOfBytes": "32"
850+
},
851+
"t_struct(SlashingEvent)12831_storage": {
852+
"label": "struct TokenStaking.SlashingEvent",
853+
"members": [
854+
{
855+
"label": "stakingProvider",
856+
"type": "t_address",
857+
"offset": 0,
858+
"slot": "0"
859+
},
860+
{
861+
"label": "amount",
862+
"type": "t_uint96",
863+
"offset": 20,
864+
"slot": "0"
865+
}
866+
],
867+
"numberOfBytes": "32"
868+
},
869+
"t_struct(StakingProviderInfo)12815_storage": {
870+
"label": "struct TokenStaking.StakingProviderInfo",
871+
"members": [
872+
{
873+
"label": "nuInTStake",
874+
"type": "t_uint96",
875+
"offset": 0,
876+
"slot": "0"
877+
},
878+
{
879+
"label": "owner",
880+
"type": "t_address",
881+
"offset": 12,
882+
"slot": "0"
883+
},
884+
{
885+
"label": "keepInTStake",
886+
"type": "t_uint96",
887+
"offset": 0,
888+
"slot": "1"
889+
},
890+
{
891+
"label": "beneficiary",
892+
"type": "t_address_payable",
893+
"offset": 12,
894+
"slot": "1"
895+
},
896+
{
897+
"label": "tStake",
898+
"type": "t_uint96",
899+
"offset": 0,
900+
"slot": "2"
901+
},
902+
{
903+
"label": "authorizer",
904+
"type": "t_address",
905+
"offset": 12,
906+
"slot": "2"
907+
},
908+
{
909+
"label": "authorizations",
910+
"type": "t_mapping(t_address,t_struct(AppAuthorization)12820_storage)",
911+
"offset": 0,
912+
"slot": "3"
913+
},
914+
{
915+
"label": "authorizedApplications",
916+
"type": "t_array(t_address)dyn_storage",
917+
"offset": 0,
918+
"slot": "4"
919+
},
920+
{
921+
"label": "startStakingTimestamp",
922+
"type": "t_uint256",
923+
"offset": 0,
924+
"slot": "5"
925+
}
926+
],
927+
"numberOfBytes": "192"
928+
},
929+
"t_uint128": {
930+
"label": "uint128",
931+
"numberOfBytes": "16"
932+
},
933+
"t_uint256": {
934+
"label": "uint256",
935+
"numberOfBytes": "32"
936+
},
937+
"t_uint96": {
938+
"label": "uint96",
939+
"numberOfBytes": "12"
940+
}
941+
}
942+
}
604943
}
605944
}
606945
}

0 commit comments

Comments
 (0)