@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
package/typechain/factories/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1__factory.ts
ADDED
|
@@ -0,0 +1,519 @@
|
|
|
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
|
+
GovernorBravoDelegatorV1,
|
|
9
|
+
GovernorBravoDelegatorV1Interface,
|
|
10
|
+
} from "../../../../contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1";
|
|
11
|
+
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
12
|
+
import {
|
|
13
|
+
Signer,
|
|
14
|
+
utils,
|
|
15
|
+
Contract,
|
|
16
|
+
ContractFactory,
|
|
17
|
+
BigNumberish,
|
|
18
|
+
Overrides,
|
|
19
|
+
} from "ethers";
|
|
20
|
+
|
|
21
|
+
const _abi = [
|
|
22
|
+
{
|
|
23
|
+
inputs: [
|
|
24
|
+
{
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "timelock_",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
internalType: "address",
|
|
31
|
+
name: "xvsVault_",
|
|
32
|
+
type: "address",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
internalType: "address",
|
|
36
|
+
name: "admin_",
|
|
37
|
+
type: "address",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
internalType: "address",
|
|
41
|
+
name: "implementation_",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
internalType: "uint256",
|
|
46
|
+
name: "votingPeriod_",
|
|
47
|
+
type: "uint256",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
internalType: "uint256",
|
|
51
|
+
name: "votingDelay_",
|
|
52
|
+
type: "uint256",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
internalType: "uint256",
|
|
56
|
+
name: "proposalThreshold_",
|
|
57
|
+
type: "uint256",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
internalType: "address",
|
|
61
|
+
name: "guardian_",
|
|
62
|
+
type: "address",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
payable: false,
|
|
66
|
+
stateMutability: "nonpayable",
|
|
67
|
+
type: "constructor",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
anonymous: false,
|
|
71
|
+
inputs: [
|
|
72
|
+
{
|
|
73
|
+
indexed: false,
|
|
74
|
+
internalType: "address",
|
|
75
|
+
name: "oldAdmin",
|
|
76
|
+
type: "address",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
indexed: false,
|
|
80
|
+
internalType: "address",
|
|
81
|
+
name: "newAdmin",
|
|
82
|
+
type: "address",
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
name: "NewAdmin",
|
|
86
|
+
type: "event",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
anonymous: false,
|
|
90
|
+
inputs: [
|
|
91
|
+
{
|
|
92
|
+
indexed: false,
|
|
93
|
+
internalType: "address",
|
|
94
|
+
name: "oldGuardian",
|
|
95
|
+
type: "address",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
indexed: false,
|
|
99
|
+
internalType: "address",
|
|
100
|
+
name: "newGuardian",
|
|
101
|
+
type: "address",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
name: "NewGuardian",
|
|
105
|
+
type: "event",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
anonymous: false,
|
|
109
|
+
inputs: [
|
|
110
|
+
{
|
|
111
|
+
indexed: false,
|
|
112
|
+
internalType: "address",
|
|
113
|
+
name: "oldImplementation",
|
|
114
|
+
type: "address",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
indexed: false,
|
|
118
|
+
internalType: "address",
|
|
119
|
+
name: "newImplementation",
|
|
120
|
+
type: "address",
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
name: "NewImplementation",
|
|
124
|
+
type: "event",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
anonymous: false,
|
|
128
|
+
inputs: [
|
|
129
|
+
{
|
|
130
|
+
indexed: false,
|
|
131
|
+
internalType: "address",
|
|
132
|
+
name: "oldPendingAdmin",
|
|
133
|
+
type: "address",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
indexed: false,
|
|
137
|
+
internalType: "address",
|
|
138
|
+
name: "newPendingAdmin",
|
|
139
|
+
type: "address",
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
name: "NewPendingAdmin",
|
|
143
|
+
type: "event",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
anonymous: false,
|
|
147
|
+
inputs: [
|
|
148
|
+
{
|
|
149
|
+
indexed: false,
|
|
150
|
+
internalType: "uint256",
|
|
151
|
+
name: "id",
|
|
152
|
+
type: "uint256",
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
name: "ProposalCanceled",
|
|
156
|
+
type: "event",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
anonymous: false,
|
|
160
|
+
inputs: [
|
|
161
|
+
{
|
|
162
|
+
indexed: false,
|
|
163
|
+
internalType: "uint256",
|
|
164
|
+
name: "id",
|
|
165
|
+
type: "uint256",
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
indexed: false,
|
|
169
|
+
internalType: "address",
|
|
170
|
+
name: "proposer",
|
|
171
|
+
type: "address",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
indexed: false,
|
|
175
|
+
internalType: "address[]",
|
|
176
|
+
name: "targets",
|
|
177
|
+
type: "address[]",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
indexed: false,
|
|
181
|
+
internalType: "uint256[]",
|
|
182
|
+
name: "values",
|
|
183
|
+
type: "uint256[]",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
indexed: false,
|
|
187
|
+
internalType: "string[]",
|
|
188
|
+
name: "signatures",
|
|
189
|
+
type: "string[]",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
indexed: false,
|
|
193
|
+
internalType: "bytes[]",
|
|
194
|
+
name: "calldatas",
|
|
195
|
+
type: "bytes[]",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
indexed: false,
|
|
199
|
+
internalType: "uint256",
|
|
200
|
+
name: "startBlock",
|
|
201
|
+
type: "uint256",
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
indexed: false,
|
|
205
|
+
internalType: "uint256",
|
|
206
|
+
name: "endBlock",
|
|
207
|
+
type: "uint256",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
indexed: false,
|
|
211
|
+
internalType: "string",
|
|
212
|
+
name: "description",
|
|
213
|
+
type: "string",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
name: "ProposalCreated",
|
|
217
|
+
type: "event",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
anonymous: false,
|
|
221
|
+
inputs: [
|
|
222
|
+
{
|
|
223
|
+
indexed: false,
|
|
224
|
+
internalType: "uint256",
|
|
225
|
+
name: "id",
|
|
226
|
+
type: "uint256",
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
name: "ProposalExecuted",
|
|
230
|
+
type: "event",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
anonymous: false,
|
|
234
|
+
inputs: [
|
|
235
|
+
{
|
|
236
|
+
indexed: false,
|
|
237
|
+
internalType: "uint256",
|
|
238
|
+
name: "oldMaxOperations",
|
|
239
|
+
type: "uint256",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
indexed: false,
|
|
243
|
+
internalType: "uint256",
|
|
244
|
+
name: "newMaxOperations",
|
|
245
|
+
type: "uint256",
|
|
246
|
+
},
|
|
247
|
+
],
|
|
248
|
+
name: "ProposalMaxOperationsUpdated",
|
|
249
|
+
type: "event",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
anonymous: false,
|
|
253
|
+
inputs: [
|
|
254
|
+
{
|
|
255
|
+
indexed: false,
|
|
256
|
+
internalType: "uint256",
|
|
257
|
+
name: "id",
|
|
258
|
+
type: "uint256",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
indexed: false,
|
|
262
|
+
internalType: "uint256",
|
|
263
|
+
name: "eta",
|
|
264
|
+
type: "uint256",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
name: "ProposalQueued",
|
|
268
|
+
type: "event",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
anonymous: false,
|
|
272
|
+
inputs: [
|
|
273
|
+
{
|
|
274
|
+
indexed: false,
|
|
275
|
+
internalType: "uint256",
|
|
276
|
+
name: "oldProposalThreshold",
|
|
277
|
+
type: "uint256",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
indexed: false,
|
|
281
|
+
internalType: "uint256",
|
|
282
|
+
name: "newProposalThreshold",
|
|
283
|
+
type: "uint256",
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
name: "ProposalThresholdSet",
|
|
287
|
+
type: "event",
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
anonymous: false,
|
|
291
|
+
inputs: [
|
|
292
|
+
{
|
|
293
|
+
indexed: true,
|
|
294
|
+
internalType: "address",
|
|
295
|
+
name: "voter",
|
|
296
|
+
type: "address",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
indexed: false,
|
|
300
|
+
internalType: "uint256",
|
|
301
|
+
name: "proposalId",
|
|
302
|
+
type: "uint256",
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
indexed: false,
|
|
306
|
+
internalType: "uint8",
|
|
307
|
+
name: "support",
|
|
308
|
+
type: "uint8",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
indexed: false,
|
|
312
|
+
internalType: "uint256",
|
|
313
|
+
name: "votes",
|
|
314
|
+
type: "uint256",
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
indexed: false,
|
|
318
|
+
internalType: "string",
|
|
319
|
+
name: "reason",
|
|
320
|
+
type: "string",
|
|
321
|
+
},
|
|
322
|
+
],
|
|
323
|
+
name: "VoteCast",
|
|
324
|
+
type: "event",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
anonymous: false,
|
|
328
|
+
inputs: [
|
|
329
|
+
{
|
|
330
|
+
indexed: false,
|
|
331
|
+
internalType: "uint256",
|
|
332
|
+
name: "oldVotingDelay",
|
|
333
|
+
type: "uint256",
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
indexed: false,
|
|
337
|
+
internalType: "uint256",
|
|
338
|
+
name: "newVotingDelay",
|
|
339
|
+
type: "uint256",
|
|
340
|
+
},
|
|
341
|
+
],
|
|
342
|
+
name: "VotingDelaySet",
|
|
343
|
+
type: "event",
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
anonymous: false,
|
|
347
|
+
inputs: [
|
|
348
|
+
{
|
|
349
|
+
indexed: false,
|
|
350
|
+
internalType: "uint256",
|
|
351
|
+
name: "oldVotingPeriod",
|
|
352
|
+
type: "uint256",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
indexed: false,
|
|
356
|
+
internalType: "uint256",
|
|
357
|
+
name: "newVotingPeriod",
|
|
358
|
+
type: "uint256",
|
|
359
|
+
},
|
|
360
|
+
],
|
|
361
|
+
name: "VotingPeriodSet",
|
|
362
|
+
type: "event",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
payable: true,
|
|
366
|
+
stateMutability: "payable",
|
|
367
|
+
type: "fallback",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
constant: false,
|
|
371
|
+
inputs: [
|
|
372
|
+
{
|
|
373
|
+
internalType: "address",
|
|
374
|
+
name: "implementation_",
|
|
375
|
+
type: "address",
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
name: "_setImplementation",
|
|
379
|
+
outputs: [],
|
|
380
|
+
payable: false,
|
|
381
|
+
stateMutability: "nonpayable",
|
|
382
|
+
type: "function",
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
constant: true,
|
|
386
|
+
inputs: [],
|
|
387
|
+
name: "admin",
|
|
388
|
+
outputs: [
|
|
389
|
+
{
|
|
390
|
+
internalType: "address",
|
|
391
|
+
name: "",
|
|
392
|
+
type: "address",
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
payable: false,
|
|
396
|
+
stateMutability: "view",
|
|
397
|
+
type: "function",
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
constant: true,
|
|
401
|
+
inputs: [],
|
|
402
|
+
name: "implementation",
|
|
403
|
+
outputs: [
|
|
404
|
+
{
|
|
405
|
+
internalType: "address",
|
|
406
|
+
name: "",
|
|
407
|
+
type: "address",
|
|
408
|
+
},
|
|
409
|
+
],
|
|
410
|
+
payable: false,
|
|
411
|
+
stateMutability: "view",
|
|
412
|
+
type: "function",
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
constant: true,
|
|
416
|
+
inputs: [],
|
|
417
|
+
name: "pendingAdmin",
|
|
418
|
+
outputs: [
|
|
419
|
+
{
|
|
420
|
+
internalType: "address",
|
|
421
|
+
name: "",
|
|
422
|
+
type: "address",
|
|
423
|
+
},
|
|
424
|
+
],
|
|
425
|
+
payable: false,
|
|
426
|
+
stateMutability: "view",
|
|
427
|
+
type: "function",
|
|
428
|
+
},
|
|
429
|
+
] as const;
|
|
430
|
+
|
|
431
|
+
const _bytecode =
|
|
432
|
+
"0x60806040523480156200001157600080fd5b50604051620009963803806200099683398101604081905262000034916200023f565b600080546001600160a01b031916331790556040516200009e9086906200006a908b908b90899089908990899060240162000438565b60408051601f198184030181529190526020810180516001600160e01b0390811663b1a5d12d60e01b17909152620000e116565b620000b2856001600160e01b036200015d16565b5050600080546001600160a01b0319166001600160a01b039590951694909417909355506200053d9350505050565b60006060836001600160a01b031683604051620000ff919062000404565b600060405180830381855af49150503d80600081146200013c576040519150601f19603f3d011682016040523d82523d6000602084013e62000141565b606091505b5091509150600082141562000157573d60208201fd5b50505050565b6000546001600160a01b03163314620001935760405162461bcd60e51b81526004016200018a90620004b0565b60405180910390fd5b6001600160a01b038116620001bc5760405162461bcd60e51b81526004016200018a906200049e565b600280546001600160a01b038381166001600160a01b031983161792839055604051918116927fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9262000213928592169062000419565b60405180910390a15050565b80516200022c8162000518565b92915050565b80516200022c8162000532565b600080600080600080600080610100898b0312156200025d57600080fd5b60006200026b8b8b6200021f565b98505060206200027e8b828c016200021f565b9750506040620002918b828c016200021f565b9650506060620002a48b828c016200021f565b9550506080620002b78b828c0162000232565b94505060a0620002ca8b828c0162000232565b93505060c0620002dd8b828c0162000232565b92505060e0620002f08b828c016200021f565b9150509295985092959890939650565b6200030b81620004d4565b82525050565b60006200031e82620004c2565b6200032a8185620004c6565b93506200033c818560208601620004e9565b9290920192915050565b600062000355604a83620004cb565b6000805160206200097683398151915281527f656d656e746174696f6e3a20696e76616c696420696d706c656d656e746174696020820152696f6e206164647265737360b01b604082015260600192915050565b6000620003b8603683620004cb565b6000805160206200097683398151915281527f656d656e746174696f6e3a2061646d696e206f6e6c7900000000000000000000602082015260400192915050565b6200030b81620004e6565b600062000412828462000311565b9392505050565b6040810162000429828562000300565b62000412602083018462000300565b60c0810162000448828962000300565b62000457602083018862000300565b620004666040830187620003f9565b620004756060830186620003f9565b620004846080830185620003f9565b6200049360a083018462000300565b979650505050505050565b602080825281016200022c8162000346565b602080825281016200022c81620003a9565b5190565b919050565b90815260200190565b60006001600160a01b0382166200022c565b90565b60005b8381101562000506578181015183820152602001620004ec565b83811115620001575750506000910152565b6200052381620004d4565b81146200052f57600080fd5b50565b6200052381620004e6565b610429806200054d6000396000f3fe60806040526004361061003f5760003560e01c806326782247146100ba5780635c60da1b146100e5578063bb913f41146100fa578063f851a4401461011c575b6002546040516000916001600160a01b03169061005f9083903690610347565b600060405180830381855af49150503d806000811461009a576040519150601f19603f3d011682016040523d82523d6000602084013e61009f565b606091505b505090506040513d6000823e8180156100b6573d82f35b3d82fd5b3480156100c657600080fd5b506100cf610131565b6040516100dc9190610354565b60405180910390f35b3480156100f157600080fd5b506100cf610140565b34801561010657600080fd5b5061011a610115366004610229565b61014f565b005b34801561012857600080fd5b506100cf610209565b6001546001600160a01b031681565b6002546001600160a01b031681565b6000546001600160a01b031633146101825760405162461bcd60e51b815260040161017990610394565b60405180910390fd5b6001600160a01b0381166101a85760405162461bcd60e51b815260040161017990610384565b600280546001600160a01b038381166001600160a01b031983161792839055604051918116927fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a926101fd9285921690610362565b60405180910390a15050565b6000546001600160a01b031681565b8035610223816103cf565b92915050565b60006020828403121561023b57600080fd5b60006102478484610218565b949350505050565b610258816103b2565b82525050565b600061026a83856103a4565b93506102778385846103c3565b50500190565b600061028a604a836103a9565b7f476f7665726e6f72427261766f44656c656761746f723a3a5f736574496d706c81527f656d656e746174696f6e3a20696e76616c696420696d706c656d656e746174696020820152696f6e206164647265737360b01b604082015260600192915050565b60006102fc6036836103a9565b7f476f7665726e6f72427261766f44656c656761746f723a3a5f736574496d706c815275656d656e746174696f6e3a2061646d696e206f6e6c7960501b602082015260400192915050565b600061024782848661025e565b60208101610223828461024f565b60408101610370828561024f565b61037d602083018461024f565b9392505050565b602080825281016102238161027d565b60208082528101610223816102ef565b919050565b90815260200190565b60006001600160a01b038216610223565b82818337506000910152565b6103d8816103b2565b81146103e357600080fd5b5056fea365627a7a72315820cea3bfb5a3eca034b600e5326d972a176d3e7f2b9ec4fcdf018f372a3b6967cc6c6578706572696d656e74616cf564736f6c63430005100040476f7665726e6f72427261766f44656c656761746f723a3a5f736574496d706c";
|
|
433
|
+
|
|
434
|
+
type GovernorBravoDelegatorV1ConstructorParams =
|
|
435
|
+
| [signer?: Signer]
|
|
436
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
437
|
+
|
|
438
|
+
const isSuperArgs = (
|
|
439
|
+
xs: GovernorBravoDelegatorV1ConstructorParams
|
|
440
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
441
|
+
|
|
442
|
+
export class GovernorBravoDelegatorV1__factory extends ContractFactory {
|
|
443
|
+
constructor(...args: GovernorBravoDelegatorV1ConstructorParams) {
|
|
444
|
+
if (isSuperArgs(args)) {
|
|
445
|
+
super(...args);
|
|
446
|
+
} else {
|
|
447
|
+
super(_abi, _bytecode, args[0]);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
override deploy(
|
|
452
|
+
timelock_: PromiseOrValue<string>,
|
|
453
|
+
xvsVault_: PromiseOrValue<string>,
|
|
454
|
+
admin_: PromiseOrValue<string>,
|
|
455
|
+
implementation_: PromiseOrValue<string>,
|
|
456
|
+
votingPeriod_: PromiseOrValue<BigNumberish>,
|
|
457
|
+
votingDelay_: PromiseOrValue<BigNumberish>,
|
|
458
|
+
proposalThreshold_: PromiseOrValue<BigNumberish>,
|
|
459
|
+
guardian_: PromiseOrValue<string>,
|
|
460
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
461
|
+
): Promise<GovernorBravoDelegatorV1> {
|
|
462
|
+
return super.deploy(
|
|
463
|
+
timelock_,
|
|
464
|
+
xvsVault_,
|
|
465
|
+
admin_,
|
|
466
|
+
implementation_,
|
|
467
|
+
votingPeriod_,
|
|
468
|
+
votingDelay_,
|
|
469
|
+
proposalThreshold_,
|
|
470
|
+
guardian_,
|
|
471
|
+
overrides || {}
|
|
472
|
+
) as Promise<GovernorBravoDelegatorV1>;
|
|
473
|
+
}
|
|
474
|
+
override getDeployTransaction(
|
|
475
|
+
timelock_: PromiseOrValue<string>,
|
|
476
|
+
xvsVault_: PromiseOrValue<string>,
|
|
477
|
+
admin_: PromiseOrValue<string>,
|
|
478
|
+
implementation_: PromiseOrValue<string>,
|
|
479
|
+
votingPeriod_: PromiseOrValue<BigNumberish>,
|
|
480
|
+
votingDelay_: PromiseOrValue<BigNumberish>,
|
|
481
|
+
proposalThreshold_: PromiseOrValue<BigNumberish>,
|
|
482
|
+
guardian_: PromiseOrValue<string>,
|
|
483
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
484
|
+
): TransactionRequest {
|
|
485
|
+
return super.getDeployTransaction(
|
|
486
|
+
timelock_,
|
|
487
|
+
xvsVault_,
|
|
488
|
+
admin_,
|
|
489
|
+
implementation_,
|
|
490
|
+
votingPeriod_,
|
|
491
|
+
votingDelay_,
|
|
492
|
+
proposalThreshold_,
|
|
493
|
+
guardian_,
|
|
494
|
+
overrides || {}
|
|
495
|
+
);
|
|
496
|
+
}
|
|
497
|
+
override attach(address: string): GovernorBravoDelegatorV1 {
|
|
498
|
+
return super.attach(address) as GovernorBravoDelegatorV1;
|
|
499
|
+
}
|
|
500
|
+
override connect(signer: Signer): GovernorBravoDelegatorV1__factory {
|
|
501
|
+
return super.connect(signer) as GovernorBravoDelegatorV1__factory;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
static readonly bytecode = _bytecode;
|
|
505
|
+
static readonly abi = _abi;
|
|
506
|
+
static createInterface(): GovernorBravoDelegatorV1Interface {
|
|
507
|
+
return new utils.Interface(_abi) as GovernorBravoDelegatorV1Interface;
|
|
508
|
+
}
|
|
509
|
+
static connect(
|
|
510
|
+
address: string,
|
|
511
|
+
signerOrProvider: Signer | Provider
|
|
512
|
+
): GovernorBravoDelegatorV1 {
|
|
513
|
+
return new Contract(
|
|
514
|
+
address,
|
|
515
|
+
_abi,
|
|
516
|
+
signerOrProvider
|
|
517
|
+
) as GovernorBravoDelegatorV1;
|
|
518
|
+
}
|
|
519
|
+
}
|