@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,370 @@
|
|
|
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
|
+
GovernorBravoEventsV2,
|
|
9
|
+
GovernorBravoEventsV2Interface,
|
|
10
|
+
} from "../../../../contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2";
|
|
11
|
+
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
12
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
13
|
+
|
|
14
|
+
const _abi = [
|
|
15
|
+
{
|
|
16
|
+
anonymous: false,
|
|
17
|
+
inputs: [
|
|
18
|
+
{
|
|
19
|
+
indexed: false,
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "oldAdmin",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
indexed: false,
|
|
26
|
+
internalType: "address",
|
|
27
|
+
name: "newAdmin",
|
|
28
|
+
type: "address",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "NewAdmin",
|
|
32
|
+
type: "event",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
anonymous: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
indexed: false,
|
|
39
|
+
internalType: "address",
|
|
40
|
+
name: "oldGuardian",
|
|
41
|
+
type: "address",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
indexed: false,
|
|
45
|
+
internalType: "address",
|
|
46
|
+
name: "newGuardian",
|
|
47
|
+
type: "address",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
name: "NewGuardian",
|
|
51
|
+
type: "event",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
anonymous: false,
|
|
55
|
+
inputs: [
|
|
56
|
+
{
|
|
57
|
+
indexed: false,
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "oldImplementation",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: false,
|
|
64
|
+
internalType: "address",
|
|
65
|
+
name: "newImplementation",
|
|
66
|
+
type: "address",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
name: "NewImplementation",
|
|
70
|
+
type: "event",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
anonymous: false,
|
|
74
|
+
inputs: [
|
|
75
|
+
{
|
|
76
|
+
indexed: false,
|
|
77
|
+
internalType: "address",
|
|
78
|
+
name: "oldPendingAdmin",
|
|
79
|
+
type: "address",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
indexed: false,
|
|
83
|
+
internalType: "address",
|
|
84
|
+
name: "newPendingAdmin",
|
|
85
|
+
type: "address",
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
name: "NewPendingAdmin",
|
|
89
|
+
type: "event",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
anonymous: false,
|
|
93
|
+
inputs: [
|
|
94
|
+
{
|
|
95
|
+
indexed: false,
|
|
96
|
+
internalType: "uint256",
|
|
97
|
+
name: "id",
|
|
98
|
+
type: "uint256",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
name: "ProposalCanceled",
|
|
102
|
+
type: "event",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
anonymous: false,
|
|
106
|
+
inputs: [
|
|
107
|
+
{
|
|
108
|
+
indexed: false,
|
|
109
|
+
internalType: "uint256",
|
|
110
|
+
name: "id",
|
|
111
|
+
type: "uint256",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
indexed: false,
|
|
115
|
+
internalType: "address",
|
|
116
|
+
name: "proposer",
|
|
117
|
+
type: "address",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
indexed: false,
|
|
121
|
+
internalType: "address[]",
|
|
122
|
+
name: "targets",
|
|
123
|
+
type: "address[]",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
indexed: false,
|
|
127
|
+
internalType: "uint256[]",
|
|
128
|
+
name: "values",
|
|
129
|
+
type: "uint256[]",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
indexed: false,
|
|
133
|
+
internalType: "string[]",
|
|
134
|
+
name: "signatures",
|
|
135
|
+
type: "string[]",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
indexed: false,
|
|
139
|
+
internalType: "bytes[]",
|
|
140
|
+
name: "calldatas",
|
|
141
|
+
type: "bytes[]",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
indexed: false,
|
|
145
|
+
internalType: "uint256",
|
|
146
|
+
name: "startBlock",
|
|
147
|
+
type: "uint256",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
indexed: false,
|
|
151
|
+
internalType: "uint256",
|
|
152
|
+
name: "endBlock",
|
|
153
|
+
type: "uint256",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
indexed: false,
|
|
157
|
+
internalType: "string",
|
|
158
|
+
name: "description",
|
|
159
|
+
type: "string",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
indexed: false,
|
|
163
|
+
internalType: "uint8",
|
|
164
|
+
name: "proposalType",
|
|
165
|
+
type: "uint8",
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
name: "ProposalCreated",
|
|
169
|
+
type: "event",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
anonymous: false,
|
|
173
|
+
inputs: [
|
|
174
|
+
{
|
|
175
|
+
indexed: false,
|
|
176
|
+
internalType: "uint256",
|
|
177
|
+
name: "id",
|
|
178
|
+
type: "uint256",
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
name: "ProposalExecuted",
|
|
182
|
+
type: "event",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
anonymous: false,
|
|
186
|
+
inputs: [
|
|
187
|
+
{
|
|
188
|
+
indexed: false,
|
|
189
|
+
internalType: "uint256",
|
|
190
|
+
name: "oldMaxOperations",
|
|
191
|
+
type: "uint256",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
indexed: false,
|
|
195
|
+
internalType: "uint256",
|
|
196
|
+
name: "newMaxOperations",
|
|
197
|
+
type: "uint256",
|
|
198
|
+
},
|
|
199
|
+
],
|
|
200
|
+
name: "ProposalMaxOperationsUpdated",
|
|
201
|
+
type: "event",
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
anonymous: false,
|
|
205
|
+
inputs: [
|
|
206
|
+
{
|
|
207
|
+
indexed: false,
|
|
208
|
+
internalType: "uint256",
|
|
209
|
+
name: "id",
|
|
210
|
+
type: "uint256",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
indexed: false,
|
|
214
|
+
internalType: "uint256",
|
|
215
|
+
name: "eta",
|
|
216
|
+
type: "uint256",
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
name: "ProposalQueued",
|
|
220
|
+
type: "event",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
anonymous: false,
|
|
224
|
+
inputs: [
|
|
225
|
+
{
|
|
226
|
+
indexed: false,
|
|
227
|
+
internalType: "uint256",
|
|
228
|
+
name: "oldProposalThreshold",
|
|
229
|
+
type: "uint256",
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
indexed: false,
|
|
233
|
+
internalType: "uint256",
|
|
234
|
+
name: "newProposalThreshold",
|
|
235
|
+
type: "uint256",
|
|
236
|
+
},
|
|
237
|
+
],
|
|
238
|
+
name: "ProposalThresholdSet",
|
|
239
|
+
type: "event",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
anonymous: false,
|
|
243
|
+
inputs: [
|
|
244
|
+
{
|
|
245
|
+
indexed: true,
|
|
246
|
+
internalType: "address",
|
|
247
|
+
name: "voter",
|
|
248
|
+
type: "address",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
indexed: false,
|
|
252
|
+
internalType: "uint256",
|
|
253
|
+
name: "proposalId",
|
|
254
|
+
type: "uint256",
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
indexed: false,
|
|
258
|
+
internalType: "uint8",
|
|
259
|
+
name: "support",
|
|
260
|
+
type: "uint8",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
indexed: false,
|
|
264
|
+
internalType: "uint256",
|
|
265
|
+
name: "votes",
|
|
266
|
+
type: "uint256",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
indexed: false,
|
|
270
|
+
internalType: "string",
|
|
271
|
+
name: "reason",
|
|
272
|
+
type: "string",
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
name: "VoteCast",
|
|
276
|
+
type: "event",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
anonymous: false,
|
|
280
|
+
inputs: [
|
|
281
|
+
{
|
|
282
|
+
indexed: false,
|
|
283
|
+
internalType: "uint256",
|
|
284
|
+
name: "oldVotingDelay",
|
|
285
|
+
type: "uint256",
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
indexed: false,
|
|
289
|
+
internalType: "uint256",
|
|
290
|
+
name: "newVotingDelay",
|
|
291
|
+
type: "uint256",
|
|
292
|
+
},
|
|
293
|
+
],
|
|
294
|
+
name: "VotingDelaySet",
|
|
295
|
+
type: "event",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
anonymous: false,
|
|
299
|
+
inputs: [
|
|
300
|
+
{
|
|
301
|
+
indexed: false,
|
|
302
|
+
internalType: "uint256",
|
|
303
|
+
name: "oldVotingPeriod",
|
|
304
|
+
type: "uint256",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
indexed: false,
|
|
308
|
+
internalType: "uint256",
|
|
309
|
+
name: "newVotingPeriod",
|
|
310
|
+
type: "uint256",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
name: "VotingPeriodSet",
|
|
314
|
+
type: "event",
|
|
315
|
+
},
|
|
316
|
+
] as const;
|
|
317
|
+
|
|
318
|
+
const _bytecode =
|
|
319
|
+
"0x6080604052348015600f57600080fd5b50604c80601d6000396000f3fe6080604052600080fdfea365627a7a723158200f63769915acc84dc0c56af4ee01a78605ccfcbb62ce538b18a3cff9de8874f96c6578706572696d656e74616cf564736f6c63430005100040";
|
|
320
|
+
|
|
321
|
+
type GovernorBravoEventsV2ConstructorParams =
|
|
322
|
+
| [signer?: Signer]
|
|
323
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
324
|
+
|
|
325
|
+
const isSuperArgs = (
|
|
326
|
+
xs: GovernorBravoEventsV2ConstructorParams
|
|
327
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
328
|
+
|
|
329
|
+
export class GovernorBravoEventsV2__factory extends ContractFactory {
|
|
330
|
+
constructor(...args: GovernorBravoEventsV2ConstructorParams) {
|
|
331
|
+
if (isSuperArgs(args)) {
|
|
332
|
+
super(...args);
|
|
333
|
+
} else {
|
|
334
|
+
super(_abi, _bytecode, args[0]);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
override deploy(
|
|
339
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
340
|
+
): Promise<GovernorBravoEventsV2> {
|
|
341
|
+
return super.deploy(overrides || {}) as Promise<GovernorBravoEventsV2>;
|
|
342
|
+
}
|
|
343
|
+
override getDeployTransaction(
|
|
344
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
345
|
+
): TransactionRequest {
|
|
346
|
+
return super.getDeployTransaction(overrides || {});
|
|
347
|
+
}
|
|
348
|
+
override attach(address: string): GovernorBravoEventsV2 {
|
|
349
|
+
return super.attach(address) as GovernorBravoEventsV2;
|
|
350
|
+
}
|
|
351
|
+
override connect(signer: Signer): GovernorBravoEventsV2__factory {
|
|
352
|
+
return super.connect(signer) as GovernorBravoEventsV2__factory;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
static readonly bytecode = _bytecode;
|
|
356
|
+
static readonly abi = _abi;
|
|
357
|
+
static createInterface(): GovernorBravoEventsV2Interface {
|
|
358
|
+
return new utils.Interface(_abi) as GovernorBravoEventsV2Interface;
|
|
359
|
+
}
|
|
360
|
+
static connect(
|
|
361
|
+
address: string,
|
|
362
|
+
signerOrProvider: Signer | Provider
|
|
363
|
+
): GovernorBravoEventsV2 {
|
|
364
|
+
return new Contract(
|
|
365
|
+
address,
|
|
366
|
+
_abi,
|
|
367
|
+
signerOrProvider
|
|
368
|
+
) as GovernorBravoEventsV2;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
export { GovernorBravoDelegateStorageV1__factory } from "./GovernorBravoDelegateStorageV1__factory";
|
|
5
|
+
export { GovernorBravoDelegateStorageV2__factory } from "./GovernorBravoDelegateStorageV2__factory";
|
|
6
|
+
export { GovernorBravoDelegatorStorage__factory } from "./GovernorBravoDelegatorStorage__factory";
|
|
7
|
+
export { GovernorBravoEventsV2__factory } from "./GovernorBravoEventsV2__factory";
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
export * as govenorBravoV1Sol from "./GovenorBravoV1.sol";
|
|
5
|
+
export * as govenorBravoV2Sol from "./GovenorBravoV2.sol";
|
|
5
6
|
export * as governorAlphaSol from "./GovernorAlpha.sol";
|
|
6
7
|
export * as governorAlpha2Sol from "./GovernorAlpha2.sol";
|
|
7
8
|
export * as governorBravoInterfacesSol from "./GovernorBravoInterfaces.sol";
|
|
9
|
+
export * as governorBravoInterfacesV2Sol from "./GovernorBravoInterfacesV2.sol";
|
|
8
10
|
export { GovernorBravoDelegateV1__factory } from "./GovernorBravoDelegateV1__factory";
|
|
11
|
+
export { GovernorBravoDelegateV2__factory } from "./GovernorBravoDelegateV2__factory";
|
package/typechain/index.ts
CHANGED
|
@@ -103,6 +103,8 @@ export type { GovernorBravoDelegateStorageV1 } from "./contracts/Governance/Gove
|
|
|
103
103
|
export { GovernorBravoDelegateStorageV1__factory } from "./factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory";
|
|
104
104
|
export type { GovernorBravoDelegateStorageV2 } from "./contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2";
|
|
105
105
|
export { GovernorBravoDelegateStorageV2__factory } from "./factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2__factory";
|
|
106
|
+
export type { GovernorBravoDelegateStorageV3 } from "./contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3";
|
|
107
|
+
export { GovernorBravoDelegateStorageV3__factory } from "./factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3__factory";
|
|
106
108
|
export type { GovernorBravoDelegatorStorage } from "./contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage";
|
|
107
109
|
export { GovernorBravoDelegatorStorage__factory } from "./factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory";
|
|
108
110
|
export type { GovernorBravoEvents } from "./contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents";
|
|
@@ -129,8 +131,12 @@ export type { GovernorAlpha2 } from "./contracts/legacy/GovernorAlpha2.sol/Gover
|
|
|
129
131
|
export { GovernorAlpha2__factory } from "./factories/contracts/legacy/GovernorAlpha2.sol/GovernorAlpha2__factory";
|
|
130
132
|
export type { GovernorBravoDelegateV1 } from "./contracts/legacy/GovernorBravoDelegateV1";
|
|
131
133
|
export { GovernorBravoDelegateV1__factory } from "./factories/contracts/legacy/GovernorBravoDelegateV1__factory";
|
|
134
|
+
export type { GovernorBravoDelegateV2 } from "./contracts/legacy/GovernorBravoDelegateV2";
|
|
135
|
+
export { GovernorBravoDelegateV2__factory } from "./factories/contracts/legacy/GovernorBravoDelegateV2__factory";
|
|
132
136
|
export type { GovernorBravoEventsV1 } from "./contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1";
|
|
133
137
|
export { GovernorBravoEventsV1__factory } from "./factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1__factory";
|
|
138
|
+
export type { GovernorBravoEventsV2 } from "./contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2";
|
|
139
|
+
export { GovernorBravoEventsV2__factory } from "./factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2__factory";
|
|
134
140
|
export type { MockAccessTest } from "./contracts/test/MockAccessTest";
|
|
135
141
|
export { MockAccessTest__factory } from "./factories/contracts/test/MockAccessTest__factory";
|
|
136
142
|
export type { MockXVSVault } from "./contracts/test/MockXVSVault";
|