@venusprotocol/governance-contracts 2.11.1-dev.2 → 2.12.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/build-info/3b47d4ce14ec7fb090660b6af43c54be.json +1 -0
- package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.dbg.json +1 -1
- package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.json +208 -62
- package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.dbg.json +1 -1
- package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.json +82 -2
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorAlphaInterface.dbg.json +1 -1
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.dbg.json +1 -1
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.json +2 -2
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.dbg.json +1 -1
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.json +2 -2
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.dbg.json +4 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.json +365 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.dbg.json +1 -1
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.json +2 -2
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.dbg.json +1 -1
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.json +82 -2
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/TimelockInterface.dbg.json +1 -1
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/XvsVaultInterface.dbg.json +1 -1
- package/artifacts/contracts/legacy/GovenorBravoV1.sol/GovernorBravoDelegatorV1.dbg.json +1 -1
- package/artifacts/contracts/legacy/GovenorBravoV1.sol/GovernorBravoDelegatorV1.json +2 -2
- package/artifacts/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.dbg.json +4 -0
- package/artifacts/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.json +418 -0
- package/artifacts/contracts/legacy/GovernorBravoDelegateV1.sol/GovernorBravoDelegateV1.dbg.json +1 -1
- package/artifacts/contracts/legacy/GovernorBravoDelegateV1.sol/GovernorBravoDelegateV1.json +2 -2
- package/artifacts/contracts/legacy/GovernorBravoDelegateV2.sol/GovernorBravoDelegateV2.dbg.json +4 -0
- package/artifacts/contracts/legacy/GovernorBravoDelegateV2.sol/GovernorBravoDelegateV2.json +1173 -0
- package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.dbg.json +1 -1
- package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.json +2 -2
- package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.dbg.json +1 -1
- package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.json +2 -2
- package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1.dbg.json +1 -1
- package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1.json +2 -2
- package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.dbg.json +4 -0
- package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.json +283 -0
- package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.dbg.json +4 -0
- package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.json +335 -0
- package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.dbg.json +4 -0
- package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.json +56 -0
- package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.dbg.json +4 -0
- package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.json +312 -0
- package/contracts/Governance/GovernorBravoDelegate.sol +80 -30
- package/contracts/Governance/GovernorBravoInterfaces.sol +33 -1
- package/contracts/legacy/GovenorBravoV2.sol +97 -0
- package/contracts/legacy/GovernorBravoDelegateV2.sol +521 -0
- package/contracts/legacy/GovernorBravoInterfacesV2.sol +208 -0
- package/deploy/011-deploy-governor-bravo.ts +32 -0
- package/deployments/bscmainnet/GovernorBravoDelegate.json +877 -62
- package/deployments/bscmainnet/solcInputs/ad770aaa336e097c7b976e7839cb0f59.json +48 -0
- package/deployments/bscmainnet.json +207 -61
- package/deployments/bscmainnet_addresses.json +1 -1
- package/deployments/bsctestnet/GovernorBravoDelegate.json +877 -62
- package/deployments/bsctestnet/solcInputs/39afa7d975793de62f715dc8afa71529.json +48 -0
- package/deployments/bsctestnet/solcInputs/51535febbc2fed693ac575b5f75633d2.json +48 -0
- package/deployments/bsctestnet/solcInputs/ad770aaa336e097c7b976e7839cb0f59.json +48 -0
- package/deployments/bsctestnet.json +207 -61
- package/deployments/bsctestnet_addresses.json +1 -1
- package/dist/deploy/011-deploy-governor-bravo.d.ts +4 -0
- package/dist/deploy/011-deploy-governor-bravo.d.ts.map +1 -0
- package/dist/deploy/011-deploy-governor-bravo.js +36 -0
- package/dist/deploy/011-deploy-governor-bravo.js.map +1 -0
- package/dist/deployments/bscmainnet.json +207 -61
- package/dist/deployments/bsctestnet.json +207 -61
- package/dist/typechain/contracts/Governance/GovernorBravoDelegate.d.ts +137 -39
- package/dist/typechain/contracts/Governance/GovernorBravoDelegate.d.ts.map +1 -1
- package/dist/typechain/contracts/Governance/GovernorBravoDelegator.d.ts +40 -0
- package/dist/typechain/contracts/Governance/GovernorBravoDelegator.d.ts.map +1 -1
- package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.d.ts +297 -0
- package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.d.ts.map +1 -0
- package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.js +3 -0
- package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.js.map +1 -0
- package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.d.ts +40 -0
- package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.d.ts.map +1 -1
- package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/index.d.ts +1 -0
- package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/index.d.ts.map +1 -1
- package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.d.ts +259 -0
- package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.d.ts.map +1 -0
- package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.js +3 -0
- package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.js.map +1 -0
- package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/index.d.ts +2 -0
- package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/index.d.ts.map +1 -0
- package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/index.js +3 -0
- package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/index.js.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoDelegateV2.d.ts +833 -0
- package/dist/typechain/contracts/legacy/GovernorBravoDelegateV2.d.ts.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoDelegateV2.js +3 -0
- package/dist/typechain/contracts/legacy/GovernorBravoDelegateV2.js.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.d.ts +219 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.d.ts.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.js +3 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.js.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.d.ts +259 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.d.ts.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.js +3 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.js.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.d.ts +59 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.d.ts.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.js +3 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.js.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.d.ts +215 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.d.ts.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.js +3 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.js.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/index.d.ts +5 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/index.d.ts.map +1 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/index.js +3 -0
- package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/index.js.map +1 -0
- package/dist/typechain/contracts/legacy/index.d.ts +5 -0
- package/dist/typechain/contracts/legacy/index.d.ts.map +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegate__factory.d.ts +165 -49
- package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegate__factory.d.ts.map +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegate__factory.js +207 -61
- package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegate__factory.js.map +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegator__factory.d.ts +66 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegator__factory.d.ts.map +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegator__factory.js +81 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegator__factory.js.map +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.js +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2__factory.js +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3__factory.d.ts +302 -0
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3__factory.d.ts.map +1 -0
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3__factory.js +394 -0
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3__factory.js.map +1 -0
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.js +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents__factory.d.ts +66 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents__factory.d.ts.map +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents__factory.js +81 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents__factory.js.map +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/index.d.ts +1 -0
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/index.d.ts.map +1 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/index.js +3 -1
- package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/index.js.map +1 -1
- package/dist/typechain/factories/contracts/legacy/GovenorBravoV1.sol/GovernorBravoDelegatorV1__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/legacy/GovenorBravoV1.sol/GovernorBravoDelegatorV1__factory.js +1 -1
- package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1__factory.d.ts +346 -0
- package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1__factory.d.ts.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1__factory.js +447 -0
- package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1__factory.js.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/index.d.ts +2 -0
- package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/index.d.ts.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/index.js +6 -0
- package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/index.js.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV1__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV1__factory.js +1 -1
- package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV2__factory.d.ts +944 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV2__factory.d.ts.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV2__factory.js +1202 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV2__factory.js.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.js +1 -1
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.js +1 -1
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1__factory.js +1 -1
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1__factory.d.ts +238 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1__factory.d.ts.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1__factory.js +312 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1__factory.js.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2__factory.d.ts +278 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2__factory.d.ts.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2__factory.js +364 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2__factory.js.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage__factory.d.ts +58 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage__factory.d.ts.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage__factory.js +85 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage__factory.js.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2__factory.d.ts +262 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2__factory.d.ts.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2__factory.js +341 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2__factory.js.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/index.d.ts +5 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/index.d.ts.map +1 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/index.js +12 -0
- package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/index.js.map +1 -0
- package/dist/typechain/factories/contracts/legacy/index.d.ts +3 -0
- package/dist/typechain/factories/contracts/legacy/index.d.ts.map +1 -1
- package/dist/typechain/factories/contracts/legacy/index.js +5 -1
- package/dist/typechain/factories/contracts/legacy/index.js.map +1 -1
- package/dist/typechain/index.d.ts +6 -0
- package/dist/typechain/index.d.ts.map +1 -1
- package/dist/typechain/index.js +8 -2
- package/dist/typechain/index.js.map +1 -1
- package/package.json +1 -1
- package/typechain/contracts/Governance/GovernorBravoDelegate.ts +221 -81
- package/typechain/contracts/Governance/GovernorBravoDelegator.ts +76 -0
- package/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.ts +573 -0
- package/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.ts +76 -0
- package/typechain/contracts/Governance/GovernorBravoInterfaces.sol/index.ts +1 -0
- package/typechain/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.ts +477 -0
- package/typechain/contracts/legacy/GovenorBravoV2.sol/index.ts +4 -0
- package/typechain/contracts/legacy/GovernorBravoDelegateV2.ts +1716 -0
- package/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.ts +438 -0
- package/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.ts +526 -0
- package/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.ts +125 -0
- package/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.ts +371 -0
- package/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/index.ts +7 -0
- package/typechain/contracts/legacy/index.ts +7 -0
- package/typechain/factories/contracts/Governance/GovernorBravoDelegate__factory.ts +207 -61
- package/typechain/factories/contracts/Governance/GovernorBravoDelegator__factory.ts +81 -1
- package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.ts +1 -1
- package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2__factory.ts +1 -1
- package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3__factory.ts +425 -0
- package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.ts +1 -1
- package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents__factory.ts +81 -1
- package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/index.ts +1 -0
- package/typechain/factories/contracts/legacy/GovenorBravoV1.sol/GovernorBravoDelegatorV1__factory.ts +1 -1
- package/typechain/factories/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1__factory.ts +519 -0
- package/typechain/factories/contracts/legacy/GovenorBravoV2.sol/index.ts +4 -0
- package/typechain/factories/contracts/legacy/GovernorBravoDelegateV1__factory.ts +1 -1
- package/typechain/factories/contracts/legacy/GovernorBravoDelegateV2__factory.ts +1231 -0
- package/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.ts +1 -1
- package/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.ts +1 -1
- package/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1__factory.ts +1 -1
- package/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1__factory.ts +343 -0
- package/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2__factory.ts +395 -0
- package/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage__factory.ts +116 -0
- package/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2__factory.ts +370 -0
- package/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/index.ts +7 -0
- package/typechain/factories/contracts/legacy/index.ts +3 -0
- package/typechain/index.ts +6 -0
- package/artifacts/build-info/da11d367dd07d3f79bea1d8c5833588f.json +0 -1
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
import type { PromiseOrValue } from "../../../../common";
|
|
7
|
+
import type {
|
|
8
|
+
GovernorBravoDelegateStorageV3,
|
|
9
|
+
GovernorBravoDelegateStorageV3Interface,
|
|
10
|
+
} from "../../../../contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3";
|
|
11
|
+
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
12
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
13
|
+
|
|
14
|
+
const _abi = [
|
|
15
|
+
{
|
|
16
|
+
constant: true,
|
|
17
|
+
inputs: [],
|
|
18
|
+
name: "admin",
|
|
19
|
+
outputs: [
|
|
20
|
+
{
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
payable: false,
|
|
27
|
+
stateMutability: "view",
|
|
28
|
+
type: "function",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
constant: true,
|
|
32
|
+
inputs: [],
|
|
33
|
+
name: "guardian",
|
|
34
|
+
outputs: [
|
|
35
|
+
{
|
|
36
|
+
internalType: "address",
|
|
37
|
+
name: "",
|
|
38
|
+
type: "address",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
payable: false,
|
|
42
|
+
stateMutability: "view",
|
|
43
|
+
type: "function",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
constant: true,
|
|
47
|
+
inputs: [],
|
|
48
|
+
name: "implementation",
|
|
49
|
+
outputs: [
|
|
50
|
+
{
|
|
51
|
+
internalType: "address",
|
|
52
|
+
name: "",
|
|
53
|
+
type: "address",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
payable: false,
|
|
57
|
+
stateMutability: "view",
|
|
58
|
+
type: "function",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
constant: true,
|
|
62
|
+
inputs: [],
|
|
63
|
+
name: "initialProposalId",
|
|
64
|
+
outputs: [
|
|
65
|
+
{
|
|
66
|
+
internalType: "uint256",
|
|
67
|
+
name: "",
|
|
68
|
+
type: "uint256",
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
payable: false,
|
|
72
|
+
stateMutability: "view",
|
|
73
|
+
type: "function",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
constant: true,
|
|
77
|
+
inputs: [
|
|
78
|
+
{
|
|
79
|
+
internalType: "address",
|
|
80
|
+
name: "",
|
|
81
|
+
type: "address",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
name: "latestProposalIds",
|
|
85
|
+
outputs: [
|
|
86
|
+
{
|
|
87
|
+
internalType: "uint256",
|
|
88
|
+
name: "",
|
|
89
|
+
type: "uint256",
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
payable: false,
|
|
93
|
+
stateMutability: "view",
|
|
94
|
+
type: "function",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
constant: true,
|
|
98
|
+
inputs: [],
|
|
99
|
+
name: "pendingAdmin",
|
|
100
|
+
outputs: [
|
|
101
|
+
{
|
|
102
|
+
internalType: "address",
|
|
103
|
+
name: "",
|
|
104
|
+
type: "address",
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
payable: false,
|
|
108
|
+
stateMutability: "view",
|
|
109
|
+
type: "function",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
constant: true,
|
|
113
|
+
inputs: [
|
|
114
|
+
{
|
|
115
|
+
internalType: "uint256",
|
|
116
|
+
name: "",
|
|
117
|
+
type: "uint256",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
name: "proposalConfigs",
|
|
121
|
+
outputs: [
|
|
122
|
+
{
|
|
123
|
+
internalType: "uint256",
|
|
124
|
+
name: "votingDelay",
|
|
125
|
+
type: "uint256",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
internalType: "uint256",
|
|
129
|
+
name: "votingPeriod",
|
|
130
|
+
type: "uint256",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
internalType: "uint256",
|
|
134
|
+
name: "proposalThreshold",
|
|
135
|
+
type: "uint256",
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
payable: false,
|
|
139
|
+
stateMutability: "view",
|
|
140
|
+
type: "function",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
constant: true,
|
|
144
|
+
inputs: [],
|
|
145
|
+
name: "proposalCount",
|
|
146
|
+
outputs: [
|
|
147
|
+
{
|
|
148
|
+
internalType: "uint256",
|
|
149
|
+
name: "",
|
|
150
|
+
type: "uint256",
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
payable: false,
|
|
154
|
+
stateMutability: "view",
|
|
155
|
+
type: "function",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
constant: true,
|
|
159
|
+
inputs: [],
|
|
160
|
+
name: "proposalMaxOperations",
|
|
161
|
+
outputs: [
|
|
162
|
+
{
|
|
163
|
+
internalType: "uint256",
|
|
164
|
+
name: "",
|
|
165
|
+
type: "uint256",
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
payable: false,
|
|
169
|
+
stateMutability: "view",
|
|
170
|
+
type: "function",
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
constant: true,
|
|
174
|
+
inputs: [],
|
|
175
|
+
name: "proposalThreshold",
|
|
176
|
+
outputs: [
|
|
177
|
+
{
|
|
178
|
+
internalType: "uint256",
|
|
179
|
+
name: "",
|
|
180
|
+
type: "uint256",
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
payable: false,
|
|
184
|
+
stateMutability: "view",
|
|
185
|
+
type: "function",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
constant: true,
|
|
189
|
+
inputs: [
|
|
190
|
+
{
|
|
191
|
+
internalType: "uint256",
|
|
192
|
+
name: "",
|
|
193
|
+
type: "uint256",
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
name: "proposalTimelocks",
|
|
197
|
+
outputs: [
|
|
198
|
+
{
|
|
199
|
+
internalType: "contract TimelockInterface",
|
|
200
|
+
name: "",
|
|
201
|
+
type: "address",
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
payable: false,
|
|
205
|
+
stateMutability: "view",
|
|
206
|
+
type: "function",
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
constant: true,
|
|
210
|
+
inputs: [
|
|
211
|
+
{
|
|
212
|
+
internalType: "uint256",
|
|
213
|
+
name: "",
|
|
214
|
+
type: "uint256",
|
|
215
|
+
},
|
|
216
|
+
],
|
|
217
|
+
name: "proposals",
|
|
218
|
+
outputs: [
|
|
219
|
+
{
|
|
220
|
+
internalType: "uint256",
|
|
221
|
+
name: "id",
|
|
222
|
+
type: "uint256",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
internalType: "address",
|
|
226
|
+
name: "proposer",
|
|
227
|
+
type: "address",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
internalType: "uint256",
|
|
231
|
+
name: "eta",
|
|
232
|
+
type: "uint256",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
internalType: "uint256",
|
|
236
|
+
name: "startBlock",
|
|
237
|
+
type: "uint256",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
internalType: "uint256",
|
|
241
|
+
name: "endBlock",
|
|
242
|
+
type: "uint256",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
internalType: "uint256",
|
|
246
|
+
name: "forVotes",
|
|
247
|
+
type: "uint256",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
internalType: "uint256",
|
|
251
|
+
name: "againstVotes",
|
|
252
|
+
type: "uint256",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
internalType: "uint256",
|
|
256
|
+
name: "abstainVotes",
|
|
257
|
+
type: "uint256",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
internalType: "bool",
|
|
261
|
+
name: "canceled",
|
|
262
|
+
type: "bool",
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
internalType: "bool",
|
|
266
|
+
name: "executed",
|
|
267
|
+
type: "bool",
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
internalType: "uint8",
|
|
271
|
+
name: "proposalType",
|
|
272
|
+
type: "uint8",
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
payable: false,
|
|
276
|
+
stateMutability: "view",
|
|
277
|
+
type: "function",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
constant: true,
|
|
281
|
+
inputs: [],
|
|
282
|
+
name: "timelock",
|
|
283
|
+
outputs: [
|
|
284
|
+
{
|
|
285
|
+
internalType: "contract TimelockInterface",
|
|
286
|
+
name: "",
|
|
287
|
+
type: "address",
|
|
288
|
+
},
|
|
289
|
+
],
|
|
290
|
+
payable: false,
|
|
291
|
+
stateMutability: "view",
|
|
292
|
+
type: "function",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
constant: true,
|
|
296
|
+
inputs: [],
|
|
297
|
+
name: "validationParams",
|
|
298
|
+
outputs: [
|
|
299
|
+
{
|
|
300
|
+
internalType: "uint256",
|
|
301
|
+
name: "minVotingPeriod",
|
|
302
|
+
type: "uint256",
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
internalType: "uint256",
|
|
306
|
+
name: "maxVotingPeriod",
|
|
307
|
+
type: "uint256",
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
internalType: "uint256",
|
|
311
|
+
name: "minVotingDelay",
|
|
312
|
+
type: "uint256",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
internalType: "uint256",
|
|
316
|
+
name: "maxVotingDelay",
|
|
317
|
+
type: "uint256",
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
payable: false,
|
|
321
|
+
stateMutability: "view",
|
|
322
|
+
type: "function",
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
constant: true,
|
|
326
|
+
inputs: [],
|
|
327
|
+
name: "votingDelay",
|
|
328
|
+
outputs: [
|
|
329
|
+
{
|
|
330
|
+
internalType: "uint256",
|
|
331
|
+
name: "",
|
|
332
|
+
type: "uint256",
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
payable: false,
|
|
336
|
+
stateMutability: "view",
|
|
337
|
+
type: "function",
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
constant: true,
|
|
341
|
+
inputs: [],
|
|
342
|
+
name: "votingPeriod",
|
|
343
|
+
outputs: [
|
|
344
|
+
{
|
|
345
|
+
internalType: "uint256",
|
|
346
|
+
name: "",
|
|
347
|
+
type: "uint256",
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
payable: false,
|
|
351
|
+
stateMutability: "view",
|
|
352
|
+
type: "function",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
constant: true,
|
|
356
|
+
inputs: [],
|
|
357
|
+
name: "xvsVault",
|
|
358
|
+
outputs: [
|
|
359
|
+
{
|
|
360
|
+
internalType: "contract XvsVaultInterface",
|
|
361
|
+
name: "",
|
|
362
|
+
type: "address",
|
|
363
|
+
},
|
|
364
|
+
],
|
|
365
|
+
payable: false,
|
|
366
|
+
stateMutability: "view",
|
|
367
|
+
type: "function",
|
|
368
|
+
},
|
|
369
|
+
] as const;
|
|
370
|
+
|
|
371
|
+
const _bytecode =
|
|
372
|
+
"0x608060405234801561001057600080fd5b506105cb806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063452a9320116100a2578063d33219b411610071578063d33219b4146101f7578063da35c664146101ff578063ee9799ee14610207578063f851a4401461021a578063fc4eee42146102225761010b565b8063452a9320146101d75780635c60da1b146101df5780637bdbe4d0146101e7578063b58131b0146101ef5761010b565b806326782247116100de578063267822471461018057806334cf39091461019557806335a87de2146101ad5780633932abb1146101cf5761010b565b8063013cf08b1461011057806302a251a31461014357806317977c61146101585780631b9ce5751461016b575b600080fd5b61012361011e3660046103b3565b61022a565b60405161013a9b9a9998979695949392919061042e565b60405180910390f35b61014b610296565b60405161013a9190610420565b61014b61016636600461038d565b61029c565b6101736102ae565b60405161013a9190610412565b6101886102bd565b60405161013a9190610404565b61019d6102cc565b60405161013a94939291906104fa565b6101c06101bb3660046103b3565b6102db565b60405161013a939291906104d2565b61014b6102fc565b610188610302565b610188610311565b61014b610320565b61014b610326565b61017361032c565b61014b61033b565b6101736102153660046103b3565b610341565b61018861035c565b61014b61036b565b600a60208190526000918252604090912080546001820154600283015460078401546008850154600986015496860154600b870154600c880154600e9098015496986001600160a01b039096169794969395929492939192909160ff808316926101009004811691168b565b60045481565b600b6020526000908152604090205481565b6009546001600160a01b031681565b6001546001600160a01b031681565b60105460115460125460135484565b600e6020526000908152604090208054600182015460029092015490919083565b60035481565b600d546001600160a01b031681565b6002546001600160a01b031681565b600c5481565b60055481565b6008546001600160a01b031681565b60075481565b600f602052600090815260409020546001600160a01b031681565b6000546001600160a01b031681565b60065481565b803561037c81610568565b92915050565b803561037c8161057f565b60006020828403121561039f57600080fd5b60006103ab8484610371565b949350505050565b6000602082840312156103c557600080fd5b60006103ab8484610382565b6103da81610538565b82525050565b6103da81610543565b6103da8161055d565b6103da81610554565b6103da81610557565b6020810161037c82846103d1565b6020810161037c82846103e9565b6020810161037c82846103f2565b610160810161043d828e6103f2565b61044a602083018d6103d1565b610457604083018c6103f2565b610464606083018b6103f2565b610471608083018a6103f2565b61047e60a08301896103f2565b61048b60c08301886103f2565b61049860e08301876103f2565b6104a66101008301866103e0565b6104b46101208301856103e0565b6104c26101408301846103fb565b9c9b505050505050505050505050565b606081016104e082866103f2565b6104ed60208301856103f2565b6103ab60408301846103f2565b6080810161050882876103f2565b61051560208301866103f2565b61052260408301856103f2565b61052f60608301846103f2565b95945050505050565b600061037c82610548565b151590565b6001600160a01b031690565b90565b60ff1690565b600061037c82610538565b61057181610538565b811461057c57600080fd5b50565b6105718161055456fea365627a7a723158206b092dddbea658743225e44c571ce3d297356e797c50771b1a5bfb41f62905066c6578706572696d656e74616cf564736f6c63430005100040";
|
|
373
|
+
|
|
374
|
+
type GovernorBravoDelegateStorageV3ConstructorParams =
|
|
375
|
+
| [signer?: Signer]
|
|
376
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
377
|
+
|
|
378
|
+
const isSuperArgs = (
|
|
379
|
+
xs: GovernorBravoDelegateStorageV3ConstructorParams
|
|
380
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
381
|
+
|
|
382
|
+
export class GovernorBravoDelegateStorageV3__factory extends ContractFactory {
|
|
383
|
+
constructor(...args: GovernorBravoDelegateStorageV3ConstructorParams) {
|
|
384
|
+
if (isSuperArgs(args)) {
|
|
385
|
+
super(...args);
|
|
386
|
+
} else {
|
|
387
|
+
super(_abi, _bytecode, args[0]);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
override deploy(
|
|
392
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
393
|
+
): Promise<GovernorBravoDelegateStorageV3> {
|
|
394
|
+
return super.deploy(
|
|
395
|
+
overrides || {}
|
|
396
|
+
) as Promise<GovernorBravoDelegateStorageV3>;
|
|
397
|
+
}
|
|
398
|
+
override getDeployTransaction(
|
|
399
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
400
|
+
): TransactionRequest {
|
|
401
|
+
return super.getDeployTransaction(overrides || {});
|
|
402
|
+
}
|
|
403
|
+
override attach(address: string): GovernorBravoDelegateStorageV3 {
|
|
404
|
+
return super.attach(address) as GovernorBravoDelegateStorageV3;
|
|
405
|
+
}
|
|
406
|
+
override connect(signer: Signer): GovernorBravoDelegateStorageV3__factory {
|
|
407
|
+
return super.connect(signer) as GovernorBravoDelegateStorageV3__factory;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
static readonly bytecode = _bytecode;
|
|
411
|
+
static readonly abi = _abi;
|
|
412
|
+
static createInterface(): GovernorBravoDelegateStorageV3Interface {
|
|
413
|
+
return new utils.Interface(_abi) as GovernorBravoDelegateStorageV3Interface;
|
|
414
|
+
}
|
|
415
|
+
static connect(
|
|
416
|
+
address: string,
|
|
417
|
+
signerOrProvider: Signer | Provider
|
|
418
|
+
): GovernorBravoDelegateStorageV3 {
|
|
419
|
+
return new Contract(
|
|
420
|
+
address,
|
|
421
|
+
_abi,
|
|
422
|
+
signerOrProvider
|
|
423
|
+
) as GovernorBravoDelegateStorageV3;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
@@ -60,7 +60,7 @@ const _abi = [
|
|
|
60
60
|
] as const;
|
|
61
61
|
|
|
62
62
|
const _bytecode =
|
|
63
|
-
"
|
|
63
|
+
"0x608060405234801561001057600080fd5b50610106806100206000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c8063267822471460415780635c60da1b14605b578063f851a440146061575b600080fd5b60476067565b6040516052919060a1565b60405180910390f35b60476076565b60476085565b6001546001600160a01b031681565b6002546001600160a01b031681565b6000546001600160a01b031681565b609b8160b3565b82525050565b6020810160ad82846094565b92915050565b60006001600160a01b03821660ad56fea365627a7a723158200aa9ee3f48ad143c5a4478e68cb940c2eedaae6bfef8ae25c49eeef3ffbad0296c6578706572696d656e74616cf564736f6c63430005100040";
|
|
64
64
|
|
|
65
65
|
type GovernorBravoDelegatorStorageConstructorParams =
|
|
66
66
|
| [signer?: Signer]
|
|
@@ -238,6 +238,86 @@ const _abi = [
|
|
|
238
238
|
name: "ProposalThresholdSet",
|
|
239
239
|
type: "event",
|
|
240
240
|
},
|
|
241
|
+
{
|
|
242
|
+
anonymous: false,
|
|
243
|
+
inputs: [
|
|
244
|
+
{
|
|
245
|
+
indexed: false,
|
|
246
|
+
internalType: "uint256",
|
|
247
|
+
name: "votingPeriod",
|
|
248
|
+
type: "uint256",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
indexed: false,
|
|
252
|
+
internalType: "uint256",
|
|
253
|
+
name: "votingDelay",
|
|
254
|
+
type: "uint256",
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
indexed: false,
|
|
258
|
+
internalType: "uint256",
|
|
259
|
+
name: "proposalThreshold",
|
|
260
|
+
type: "uint256",
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
name: "SetProposalConfigs",
|
|
264
|
+
type: "event",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
anonymous: false,
|
|
268
|
+
inputs: [
|
|
269
|
+
{
|
|
270
|
+
indexed: false,
|
|
271
|
+
internalType: "uint256",
|
|
272
|
+
name: "oldMinVotingPeriod",
|
|
273
|
+
type: "uint256",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
indexed: false,
|
|
277
|
+
internalType: "uint256",
|
|
278
|
+
name: "newMinVotingPeriod",
|
|
279
|
+
type: "uint256",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
indexed: false,
|
|
283
|
+
internalType: "uint256",
|
|
284
|
+
name: "oldmaxVotingPeriod",
|
|
285
|
+
type: "uint256",
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
indexed: false,
|
|
289
|
+
internalType: "uint256",
|
|
290
|
+
name: "newmaxVotingPeriod",
|
|
291
|
+
type: "uint256",
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
indexed: false,
|
|
295
|
+
internalType: "uint256",
|
|
296
|
+
name: "oldminVotingDelay",
|
|
297
|
+
type: "uint256",
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
indexed: false,
|
|
301
|
+
internalType: "uint256",
|
|
302
|
+
name: "newminVotingDelay",
|
|
303
|
+
type: "uint256",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
indexed: false,
|
|
307
|
+
internalType: "uint256",
|
|
308
|
+
name: "oldmaxVotingDelay",
|
|
309
|
+
type: "uint256",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
indexed: false,
|
|
313
|
+
internalType: "uint256",
|
|
314
|
+
name: "newmaxVotingDelay",
|
|
315
|
+
type: "uint256",
|
|
316
|
+
},
|
|
317
|
+
],
|
|
318
|
+
name: "SetValidationParams",
|
|
319
|
+
type: "event",
|
|
320
|
+
},
|
|
241
321
|
{
|
|
242
322
|
anonymous: false,
|
|
243
323
|
inputs: [
|
|
@@ -316,7 +396,7 @@ const _abi = [
|
|
|
316
396
|
] as const;
|
|
317
397
|
|
|
318
398
|
const _bytecode =
|
|
319
|
-
"
|
|
399
|
+
"0x6080604052348015600f57600080fd5b50604c80601d6000396000f3fe6080604052600080fdfea365627a7a72315820882b1389cdf61ca4080e3308c4c24898301757d51bb8436b42fad5577b0d4d786c6578706572696d656e74616cf564736f6c63430005100040";
|
|
320
400
|
|
|
321
401
|
type GovernorBravoEventsConstructorParams =
|
|
322
402
|
| [signer?: Signer]
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
export { GovernorAlphaInterface__factory } from "./GovernorAlphaInterface__factory";
|
|
5
5
|
export { GovernorBravoDelegateStorageV1__factory } from "./GovernorBravoDelegateStorageV1__factory";
|
|
6
6
|
export { GovernorBravoDelegateStorageV2__factory } from "./GovernorBravoDelegateStorageV2__factory";
|
|
7
|
+
export { GovernorBravoDelegateStorageV3__factory } from "./GovernorBravoDelegateStorageV3__factory";
|
|
7
8
|
export { GovernorBravoDelegatorStorage__factory } from "./GovernorBravoDelegatorStorage__factory";
|
|
8
9
|
export { GovernorBravoEvents__factory } from "./GovernorBravoEvents__factory";
|
|
9
10
|
export { TimelockInterface__factory } from "./TimelockInterface__factory";
|
package/typechain/factories/contracts/legacy/GovenorBravoV1.sol/GovernorBravoDelegatorV1__factory.ts
CHANGED
|
@@ -429,7 +429,7 @@ const _abi = [
|
|
|
429
429
|
] as const;
|
|
430
430
|
|
|
431
431
|
const _bytecode =
|
|
432
|
-
"
|
|
432
|
+
"0x60806040523480156200001157600080fd5b50604051620009963803806200099683398101604081905262000034916200023f565b600080546001600160a01b031916331790556040516200009e9086906200006a908b908b90899089908990899060240162000438565b60408051601f198184030181529190526020810180516001600160e01b0390811663b1a5d12d60e01b17909152620000e116565b620000b2856001600160e01b036200015d16565b5050600080546001600160a01b0319166001600160a01b039590951694909417909355506200053d9350505050565b60006060836001600160a01b031683604051620000ff919062000404565b600060405180830381855af49150503d80600081146200013c576040519150601f19603f3d011682016040523d82523d6000602084013e62000141565b606091505b5091509150600082141562000157573d60208201fd5b50505050565b6000546001600160a01b03163314620001935760405162461bcd60e51b81526004016200018a90620004b0565b60405180910390fd5b6001600160a01b038116620001bc5760405162461bcd60e51b81526004016200018a906200049e565b600280546001600160a01b038381166001600160a01b031983161792839055604051918116927fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9262000213928592169062000419565b60405180910390a15050565b80516200022c8162000518565b92915050565b80516200022c8162000532565b600080600080600080600080610100898b0312156200025d57600080fd5b60006200026b8b8b6200021f565b98505060206200027e8b828c016200021f565b9750506040620002918b828c016200021f565b9650506060620002a48b828c016200021f565b9550506080620002b78b828c0162000232565b94505060a0620002ca8b828c0162000232565b93505060c0620002dd8b828c0162000232565b92505060e0620002f08b828c016200021f565b9150509295985092959890939650565b6200030b81620004d4565b82525050565b60006200031e82620004c2565b6200032a8185620004c6565b93506200033c818560208601620004e9565b9290920192915050565b600062000355604a83620004cb565b6000805160206200097683398151915281527f656d656e746174696f6e3a20696e76616c696420696d706c656d656e746174696020820152696f6e206164647265737360b01b604082015260600192915050565b6000620003b8603683620004cb565b6000805160206200097683398151915281527f656d656e746174696f6e3a2061646d696e206f6e6c7900000000000000000000602082015260400192915050565b6200030b81620004e6565b600062000412828462000311565b9392505050565b6040810162000429828562000300565b62000412602083018462000300565b60c0810162000448828962000300565b62000457602083018862000300565b620004666040830187620003f9565b620004756060830186620003f9565b620004846080830185620003f9565b6200049360a083018462000300565b979650505050505050565b602080825281016200022c8162000346565b602080825281016200022c81620003a9565b5190565b919050565b90815260200190565b60006001600160a01b0382166200022c565b90565b60005b8381101562000506578181015183820152602001620004ec565b83811115620001575750506000910152565b6200052381620004d4565b81146200052f57600080fd5b50565b6200052381620004e6565b610429806200054d6000396000f3fe60806040526004361061003f5760003560e01c806326782247146100ba5780635c60da1b146100e5578063bb913f41146100fa578063f851a4401461011c575b6002546040516000916001600160a01b03169061005f9083903690610347565b600060405180830381855af49150503d806000811461009a576040519150601f19603f3d011682016040523d82523d6000602084013e61009f565b606091505b505090506040513d6000823e8180156100b6573d82f35b3d82fd5b3480156100c657600080fd5b506100cf610131565b6040516100dc9190610354565b60405180910390f35b3480156100f157600080fd5b506100cf610140565b34801561010657600080fd5b5061011a610115366004610229565b61014f565b005b34801561012857600080fd5b506100cf610209565b6001546001600160a01b031681565b6002546001600160a01b031681565b6000546001600160a01b031633146101825760405162461bcd60e51b815260040161017990610394565b60405180910390fd5b6001600160a01b0381166101a85760405162461bcd60e51b815260040161017990610384565b600280546001600160a01b038381166001600160a01b031983161792839055604051918116927fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a926101fd9285921690610362565b60405180910390a15050565b6000546001600160a01b031681565b8035610223816103cf565b92915050565b60006020828403121561023b57600080fd5b60006102478484610218565b949350505050565b610258816103b2565b82525050565b600061026a83856103a4565b93506102778385846103c3565b50500190565b600061028a604a836103a9565b7f476f7665726e6f72427261766f44656c656761746f723a3a5f736574496d706c81527f656d656e746174696f6e3a20696e76616c696420696d706c656d656e746174696020820152696f6e206164647265737360b01b604082015260600192915050565b60006102fc6036836103a9565b7f476f7665726e6f72427261766f44656c656761746f723a3a5f736574496d706c815275656d656e746174696f6e3a2061646d696e206f6e6c7960501b602082015260400192915050565b600061024782848661025e565b60208101610223828461024f565b60408101610370828561024f565b61037d602083018461024f565b9392505050565b602080825281016102238161027d565b60208082528101610223816102ef565b919050565b90815260200190565b60006001600160a01b038216610223565b82818337506000910152565b6103d8816103b2565b81146103e357600080fd5b5056fea365627a7a7231582003a317d4f75701b1f3b4a097872ee5e167c39c2e4e7d9b4e33057dae9bd9d5ce6c6578706572696d656e74616cf564736f6c63430005100040476f7665726e6f72427261766f44656c656761746f723a3a5f736574496d706c";
|
|
433
433
|
|
|
434
434
|
type GovernorBravoDelegatorV1ConstructorParams =
|
|
435
435
|
| [signer?: Signer]
|