@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.
Files changed (223) hide show
  1. package/artifacts/build-info/3b47d4ce14ec7fb090660b6af43c54be.json +1 -0
  2. package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.dbg.json +1 -1
  3. package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.json +208 -62
  4. package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.dbg.json +1 -1
  5. package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.json +82 -2
  6. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorAlphaInterface.dbg.json +1 -1
  7. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.dbg.json +1 -1
  8. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.json +2 -2
  9. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.dbg.json +1 -1
  10. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.json +2 -2
  11. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.dbg.json +4 -0
  12. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.json +365 -0
  13. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.dbg.json +1 -1
  14. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.json +2 -2
  15. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.dbg.json +1 -1
  16. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.json +82 -2
  17. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/TimelockInterface.dbg.json +1 -1
  18. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/XvsVaultInterface.dbg.json +1 -1
  19. package/artifacts/contracts/legacy/GovenorBravoV1.sol/GovernorBravoDelegatorV1.dbg.json +1 -1
  20. package/artifacts/contracts/legacy/GovenorBravoV1.sol/GovernorBravoDelegatorV1.json +2 -2
  21. package/artifacts/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.dbg.json +4 -0
  22. package/artifacts/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.json +418 -0
  23. package/artifacts/contracts/legacy/GovernorBravoDelegateV1.sol/GovernorBravoDelegateV1.dbg.json +1 -1
  24. package/artifacts/contracts/legacy/GovernorBravoDelegateV1.sol/GovernorBravoDelegateV1.json +2 -2
  25. package/artifacts/contracts/legacy/GovernorBravoDelegateV2.sol/GovernorBravoDelegateV2.dbg.json +4 -0
  26. package/artifacts/contracts/legacy/GovernorBravoDelegateV2.sol/GovernorBravoDelegateV2.json +1173 -0
  27. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.dbg.json +1 -1
  28. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.json +2 -2
  29. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.dbg.json +1 -1
  30. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.json +2 -2
  31. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1.dbg.json +1 -1
  32. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1.json +2 -2
  33. package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.dbg.json +4 -0
  34. package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.json +283 -0
  35. package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.dbg.json +4 -0
  36. package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.json +335 -0
  37. package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.dbg.json +4 -0
  38. package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.json +56 -0
  39. package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.dbg.json +4 -0
  40. package/artifacts/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.json +312 -0
  41. package/contracts/Governance/GovernorBravoDelegate.sol +80 -30
  42. package/contracts/Governance/GovernorBravoInterfaces.sol +33 -1
  43. package/contracts/legacy/GovenorBravoV2.sol +97 -0
  44. package/contracts/legacy/GovernorBravoDelegateV2.sol +521 -0
  45. package/contracts/legacy/GovernorBravoInterfacesV2.sol +208 -0
  46. package/deploy/011-deploy-governor-bravo.ts +32 -0
  47. package/deployments/bscmainnet/GovernorBravoDelegate.json +877 -62
  48. package/deployments/bscmainnet/solcInputs/ad770aaa336e097c7b976e7839cb0f59.json +48 -0
  49. package/deployments/bscmainnet.json +207 -61
  50. package/deployments/bscmainnet_addresses.json +1 -1
  51. package/deployments/bsctestnet/GovernorBravoDelegate.json +877 -62
  52. package/deployments/bsctestnet/solcInputs/39afa7d975793de62f715dc8afa71529.json +48 -0
  53. package/deployments/bsctestnet/solcInputs/51535febbc2fed693ac575b5f75633d2.json +48 -0
  54. package/deployments/bsctestnet/solcInputs/ad770aaa336e097c7b976e7839cb0f59.json +48 -0
  55. package/deployments/bsctestnet.json +207 -61
  56. package/deployments/bsctestnet_addresses.json +1 -1
  57. package/dist/deploy/011-deploy-governor-bravo.d.ts +4 -0
  58. package/dist/deploy/011-deploy-governor-bravo.d.ts.map +1 -0
  59. package/dist/deploy/011-deploy-governor-bravo.js +36 -0
  60. package/dist/deploy/011-deploy-governor-bravo.js.map +1 -0
  61. package/dist/deployments/bscmainnet.json +207 -61
  62. package/dist/deployments/bsctestnet.json +207 -61
  63. package/dist/typechain/contracts/Governance/GovernorBravoDelegate.d.ts +137 -39
  64. package/dist/typechain/contracts/Governance/GovernorBravoDelegate.d.ts.map +1 -1
  65. package/dist/typechain/contracts/Governance/GovernorBravoDelegator.d.ts +40 -0
  66. package/dist/typechain/contracts/Governance/GovernorBravoDelegator.d.ts.map +1 -1
  67. package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.d.ts +297 -0
  68. package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.d.ts.map +1 -0
  69. package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.js +3 -0
  70. package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.js.map +1 -0
  71. package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.d.ts +40 -0
  72. package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.d.ts.map +1 -1
  73. package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/index.d.ts +1 -0
  74. package/dist/typechain/contracts/Governance/GovernorBravoInterfaces.sol/index.d.ts.map +1 -1
  75. package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.d.ts +259 -0
  76. package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.d.ts.map +1 -0
  77. package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.js +3 -0
  78. package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.js.map +1 -0
  79. package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/index.d.ts +2 -0
  80. package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/index.d.ts.map +1 -0
  81. package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/index.js +3 -0
  82. package/dist/typechain/contracts/legacy/GovenorBravoV2.sol/index.js.map +1 -0
  83. package/dist/typechain/contracts/legacy/GovernorBravoDelegateV2.d.ts +833 -0
  84. package/dist/typechain/contracts/legacy/GovernorBravoDelegateV2.d.ts.map +1 -0
  85. package/dist/typechain/contracts/legacy/GovernorBravoDelegateV2.js +3 -0
  86. package/dist/typechain/contracts/legacy/GovernorBravoDelegateV2.js.map +1 -0
  87. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.d.ts +219 -0
  88. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.d.ts.map +1 -0
  89. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.js +3 -0
  90. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.js.map +1 -0
  91. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.d.ts +259 -0
  92. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.d.ts.map +1 -0
  93. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.js +3 -0
  94. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.js.map +1 -0
  95. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.d.ts +59 -0
  96. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.d.ts.map +1 -0
  97. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.js +3 -0
  98. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.js.map +1 -0
  99. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.d.ts +215 -0
  100. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.d.ts.map +1 -0
  101. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.js +3 -0
  102. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.js.map +1 -0
  103. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/index.d.ts +5 -0
  104. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/index.d.ts.map +1 -0
  105. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/index.js +3 -0
  106. package/dist/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/index.js.map +1 -0
  107. package/dist/typechain/contracts/legacy/index.d.ts +5 -0
  108. package/dist/typechain/contracts/legacy/index.d.ts.map +1 -1
  109. package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegate__factory.d.ts +165 -49
  110. package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegate__factory.d.ts.map +1 -1
  111. package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegate__factory.js +207 -61
  112. package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegate__factory.js.map +1 -1
  113. package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegator__factory.d.ts +66 -1
  114. package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegator__factory.d.ts.map +1 -1
  115. package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegator__factory.js +81 -1
  116. package/dist/typechain/factories/contracts/Governance/GovernorBravoDelegator__factory.js.map +1 -1
  117. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.d.ts +1 -1
  118. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.js +1 -1
  119. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2__factory.d.ts +1 -1
  120. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2__factory.js +1 -1
  121. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3__factory.d.ts +302 -0
  122. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3__factory.d.ts.map +1 -0
  123. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3__factory.js +394 -0
  124. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3__factory.js.map +1 -0
  125. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.d.ts +1 -1
  126. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.js +1 -1
  127. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents__factory.d.ts +66 -1
  128. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents__factory.d.ts.map +1 -1
  129. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents__factory.js +81 -1
  130. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents__factory.js.map +1 -1
  131. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/index.d.ts +1 -0
  132. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/index.d.ts.map +1 -1
  133. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/index.js +3 -1
  134. package/dist/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/index.js.map +1 -1
  135. package/dist/typechain/factories/contracts/legacy/GovenorBravoV1.sol/GovernorBravoDelegatorV1__factory.d.ts +1 -1
  136. package/dist/typechain/factories/contracts/legacy/GovenorBravoV1.sol/GovernorBravoDelegatorV1__factory.js +1 -1
  137. package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1__factory.d.ts +346 -0
  138. package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1__factory.d.ts.map +1 -0
  139. package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1__factory.js +447 -0
  140. package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1__factory.js.map +1 -0
  141. package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/index.d.ts +2 -0
  142. package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/index.d.ts.map +1 -0
  143. package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/index.js +6 -0
  144. package/dist/typechain/factories/contracts/legacy/GovenorBravoV2.sol/index.js.map +1 -0
  145. package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV1__factory.d.ts +1 -1
  146. package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV1__factory.js +1 -1
  147. package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV2__factory.d.ts +944 -0
  148. package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV2__factory.d.ts.map +1 -0
  149. package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV2__factory.js +1202 -0
  150. package/dist/typechain/factories/contracts/legacy/GovernorBravoDelegateV2__factory.js.map +1 -0
  151. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.d.ts +1 -1
  152. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.js +1 -1
  153. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.d.ts +1 -1
  154. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.js +1 -1
  155. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1__factory.d.ts +1 -1
  156. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1__factory.js +1 -1
  157. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1__factory.d.ts +238 -0
  158. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1__factory.d.ts.map +1 -0
  159. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1__factory.js +312 -0
  160. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1__factory.js.map +1 -0
  161. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2__factory.d.ts +278 -0
  162. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2__factory.d.ts.map +1 -0
  163. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2__factory.js +364 -0
  164. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2__factory.js.map +1 -0
  165. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage__factory.d.ts +58 -0
  166. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage__factory.d.ts.map +1 -0
  167. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage__factory.js +85 -0
  168. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage__factory.js.map +1 -0
  169. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2__factory.d.ts +262 -0
  170. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2__factory.d.ts.map +1 -0
  171. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2__factory.js +341 -0
  172. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2__factory.js.map +1 -0
  173. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/index.d.ts +5 -0
  174. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/index.d.ts.map +1 -0
  175. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/index.js +12 -0
  176. package/dist/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/index.js.map +1 -0
  177. package/dist/typechain/factories/contracts/legacy/index.d.ts +3 -0
  178. package/dist/typechain/factories/contracts/legacy/index.d.ts.map +1 -1
  179. package/dist/typechain/factories/contracts/legacy/index.js +5 -1
  180. package/dist/typechain/factories/contracts/legacy/index.js.map +1 -1
  181. package/dist/typechain/index.d.ts +6 -0
  182. package/dist/typechain/index.d.ts.map +1 -1
  183. package/dist/typechain/index.js +8 -2
  184. package/dist/typechain/index.js.map +1 -1
  185. package/package.json +1 -1
  186. package/typechain/contracts/Governance/GovernorBravoDelegate.ts +221 -81
  187. package/typechain/contracts/Governance/GovernorBravoDelegator.ts +76 -0
  188. package/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3.ts +573 -0
  189. package/typechain/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.ts +76 -0
  190. package/typechain/contracts/Governance/GovernorBravoInterfaces.sol/index.ts +1 -0
  191. package/typechain/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1.ts +477 -0
  192. package/typechain/contracts/legacy/GovenorBravoV2.sol/index.ts +4 -0
  193. package/typechain/contracts/legacy/GovernorBravoDelegateV2.ts +1716 -0
  194. package/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1.ts +438 -0
  195. package/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2.ts +526 -0
  196. package/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage.ts +125 -0
  197. package/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2.ts +371 -0
  198. package/typechain/contracts/legacy/GovernorBravoInterfacesV2.sol/index.ts +7 -0
  199. package/typechain/contracts/legacy/index.ts +7 -0
  200. package/typechain/factories/contracts/Governance/GovernorBravoDelegate__factory.ts +207 -61
  201. package/typechain/factories/contracts/Governance/GovernorBravoDelegator__factory.ts +81 -1
  202. package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.ts +1 -1
  203. package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2__factory.ts +1 -1
  204. package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV3__factory.ts +425 -0
  205. package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.ts +1 -1
  206. package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents__factory.ts +81 -1
  207. package/typechain/factories/contracts/Governance/GovernorBravoInterfaces.sol/index.ts +1 -0
  208. package/typechain/factories/contracts/legacy/GovenorBravoV1.sol/GovernorBravoDelegatorV1__factory.ts +1 -1
  209. package/typechain/factories/contracts/legacy/GovenorBravoV2.sol/GovernorBravoDelegatorV1__factory.ts +519 -0
  210. package/typechain/factories/contracts/legacy/GovenorBravoV2.sol/index.ts +4 -0
  211. package/typechain/factories/contracts/legacy/GovernorBravoDelegateV1__factory.ts +1 -1
  212. package/typechain/factories/contracts/legacy/GovernorBravoDelegateV2__factory.ts +1231 -0
  213. package/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1__factory.ts +1 -1
  214. package/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage__factory.ts +1 -1
  215. package/typechain/factories/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1__factory.ts +1 -1
  216. package/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1__factory.ts +343 -0
  217. package/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2__factory.ts +395 -0
  218. package/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegatorStorage__factory.ts +116 -0
  219. package/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoEventsV2__factory.ts +370 -0
  220. package/typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/index.ts +7 -0
  221. package/typechain/factories/contracts/legacy/index.ts +3 -0
  222. package/typechain/index.ts +6 -0
  223. package/artifacts/build-info/da11d367dd07d3f79bea1d8c5833588f.json +0 -1
@@ -0,0 +1,312 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GovernorBravoDelegateStorageV1__factory = void 0;
4
+ const ethers_1 = require("ethers");
5
+ const _abi = [
6
+ {
7
+ constant: true,
8
+ inputs: [],
9
+ name: "admin",
10
+ outputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "",
14
+ type: "address",
15
+ },
16
+ ],
17
+ payable: false,
18
+ stateMutability: "view",
19
+ type: "function",
20
+ },
21
+ {
22
+ constant: true,
23
+ inputs: [],
24
+ name: "guardian",
25
+ outputs: [
26
+ {
27
+ internalType: "address",
28
+ name: "",
29
+ type: "address",
30
+ },
31
+ ],
32
+ payable: false,
33
+ stateMutability: "view",
34
+ type: "function",
35
+ },
36
+ {
37
+ constant: true,
38
+ inputs: [],
39
+ name: "implementation",
40
+ outputs: [
41
+ {
42
+ internalType: "address",
43
+ name: "",
44
+ type: "address",
45
+ },
46
+ ],
47
+ payable: false,
48
+ stateMutability: "view",
49
+ type: "function",
50
+ },
51
+ {
52
+ constant: true,
53
+ inputs: [],
54
+ name: "initialProposalId",
55
+ outputs: [
56
+ {
57
+ internalType: "uint256",
58
+ name: "",
59
+ type: "uint256",
60
+ },
61
+ ],
62
+ payable: false,
63
+ stateMutability: "view",
64
+ type: "function",
65
+ },
66
+ {
67
+ constant: true,
68
+ inputs: [
69
+ {
70
+ internalType: "address",
71
+ name: "",
72
+ type: "address",
73
+ },
74
+ ],
75
+ name: "latestProposalIds",
76
+ outputs: [
77
+ {
78
+ internalType: "uint256",
79
+ name: "",
80
+ type: "uint256",
81
+ },
82
+ ],
83
+ payable: false,
84
+ stateMutability: "view",
85
+ type: "function",
86
+ },
87
+ {
88
+ constant: true,
89
+ inputs: [],
90
+ name: "pendingAdmin",
91
+ outputs: [
92
+ {
93
+ internalType: "address",
94
+ name: "",
95
+ type: "address",
96
+ },
97
+ ],
98
+ payable: false,
99
+ stateMutability: "view",
100
+ type: "function",
101
+ },
102
+ {
103
+ constant: true,
104
+ inputs: [],
105
+ name: "proposalCount",
106
+ outputs: [
107
+ {
108
+ internalType: "uint256",
109
+ name: "",
110
+ type: "uint256",
111
+ },
112
+ ],
113
+ payable: false,
114
+ stateMutability: "view",
115
+ type: "function",
116
+ },
117
+ {
118
+ constant: true,
119
+ inputs: [],
120
+ name: "proposalMaxOperations",
121
+ outputs: [
122
+ {
123
+ internalType: "uint256",
124
+ name: "",
125
+ type: "uint256",
126
+ },
127
+ ],
128
+ payable: false,
129
+ stateMutability: "view",
130
+ type: "function",
131
+ },
132
+ {
133
+ constant: true,
134
+ inputs: [],
135
+ name: "proposalThreshold",
136
+ outputs: [
137
+ {
138
+ internalType: "uint256",
139
+ name: "",
140
+ type: "uint256",
141
+ },
142
+ ],
143
+ payable: false,
144
+ stateMutability: "view",
145
+ type: "function",
146
+ },
147
+ {
148
+ constant: true,
149
+ inputs: [
150
+ {
151
+ internalType: "uint256",
152
+ name: "",
153
+ type: "uint256",
154
+ },
155
+ ],
156
+ name: "proposals",
157
+ outputs: [
158
+ {
159
+ internalType: "uint256",
160
+ name: "id",
161
+ type: "uint256",
162
+ },
163
+ {
164
+ internalType: "address",
165
+ name: "proposer",
166
+ type: "address",
167
+ },
168
+ {
169
+ internalType: "uint256",
170
+ name: "eta",
171
+ type: "uint256",
172
+ },
173
+ {
174
+ internalType: "uint256",
175
+ name: "startBlock",
176
+ type: "uint256",
177
+ },
178
+ {
179
+ internalType: "uint256",
180
+ name: "endBlock",
181
+ type: "uint256",
182
+ },
183
+ {
184
+ internalType: "uint256",
185
+ name: "forVotes",
186
+ type: "uint256",
187
+ },
188
+ {
189
+ internalType: "uint256",
190
+ name: "againstVotes",
191
+ type: "uint256",
192
+ },
193
+ {
194
+ internalType: "uint256",
195
+ name: "abstainVotes",
196
+ type: "uint256",
197
+ },
198
+ {
199
+ internalType: "bool",
200
+ name: "canceled",
201
+ type: "bool",
202
+ },
203
+ {
204
+ internalType: "bool",
205
+ name: "executed",
206
+ type: "bool",
207
+ },
208
+ {
209
+ internalType: "uint8",
210
+ name: "proposalType",
211
+ type: "uint8",
212
+ },
213
+ ],
214
+ payable: false,
215
+ stateMutability: "view",
216
+ type: "function",
217
+ },
218
+ {
219
+ constant: true,
220
+ inputs: [],
221
+ name: "timelock",
222
+ outputs: [
223
+ {
224
+ internalType: "contract TimelockInterface",
225
+ name: "",
226
+ type: "address",
227
+ },
228
+ ],
229
+ payable: false,
230
+ stateMutability: "view",
231
+ type: "function",
232
+ },
233
+ {
234
+ constant: true,
235
+ inputs: [],
236
+ name: "votingDelay",
237
+ outputs: [
238
+ {
239
+ internalType: "uint256",
240
+ name: "",
241
+ type: "uint256",
242
+ },
243
+ ],
244
+ payable: false,
245
+ stateMutability: "view",
246
+ type: "function",
247
+ },
248
+ {
249
+ constant: true,
250
+ inputs: [],
251
+ name: "votingPeriod",
252
+ outputs: [
253
+ {
254
+ internalType: "uint256",
255
+ name: "",
256
+ type: "uint256",
257
+ },
258
+ ],
259
+ payable: false,
260
+ stateMutability: "view",
261
+ type: "function",
262
+ },
263
+ {
264
+ constant: true,
265
+ inputs: [],
266
+ name: "xvsVault",
267
+ outputs: [
268
+ {
269
+ internalType: "contract XvsVaultInterface",
270
+ name: "",
271
+ type: "address",
272
+ },
273
+ ],
274
+ payable: false,
275
+ stateMutability: "view",
276
+ type: "function",
277
+ },
278
+ ];
279
+ const _bytecode = "0x608060405234801561001057600080fd5b506104ac806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635c60da1b1161008c578063d33219b411610066578063d33219b41461019c578063da35c664146101a4578063f851a440146101ac578063fc4eee42146101b4576100ea565b80635c60da1b146101845780637bdbe4d01461018c578063b58131b014610194576100ea565b80631b9ce575116100c85780631b9ce5751461014a578063267822471461015f5780633932abb114610174578063452a93201461017c576100ea565b8063013cf08b146100ef57806302a251a31461012257806317977c6114610137575b600080fd5b6101026100fd3660046102fa565b6101bc565b6040516101199b9a99989796959493929190610375565b60405180910390f35b61012a610228565b6040516101199190610367565b61012a6101453660046102d4565b61022e565b610152610240565b6040516101199190610359565b61016761024f565b604051610119919061034b565b61012a61025e565b610167610264565b610167610273565b61012a610282565b61012a610288565b61015261028e565b61012a61029d565b6101676102a3565b61012a6102b2565b600a60208190526000918252604090912080546001820154600283015460078401546008850154600986015496860154600b870154600c880154600e9098015496986001600160a01b039096169794969395929492939192909160ff808316926101009004811691168b565b60045481565b600b6020526000908152604090205481565b6009546001600160a01b031681565b6001546001600160a01b031681565b60035481565b600d546001600160a01b031681565b6002546001600160a01b031681565b600c5481565b60055481565b6008546001600160a01b031681565b60075481565b6000546001600160a01b031681565b60065481565b80356102c381610449565b92915050565b80356102c381610460565b6000602082840312156102e657600080fd5b60006102f284846102b8565b949350505050565b60006020828403121561030c57600080fd5b60006102f284846102c9565b61032181610419565b82525050565b61032181610424565b6103218161043e565b61032181610435565b61032181610438565b602081016102c38284610318565b602081016102c38284610330565b602081016102c38284610339565b6101608101610384828e610339565b610391602083018d610318565b61039e604083018c610339565b6103ab606083018b610339565b6103b8608083018a610339565b6103c560a0830189610339565b6103d260c0830188610339565b6103df60e0830187610339565b6103ed610100830186610327565b6103fb610120830185610327565b610409610140830184610342565b9c9b505050505050505050505050565b60006102c382610429565b151590565b6001600160a01b031690565b90565b60ff1690565b60006102c382610419565b61045281610419565b811461045d57600080fd5b50565b6104528161043556fea365627a7a723158201e671acfde71c634b7c7b376f9904e30018fc3335f589fbebde2e871235934bc6c6578706572696d656e74616cf564736f6c63430005100040";
280
+ const isSuperArgs = (xs) => xs.length > 1;
281
+ class GovernorBravoDelegateStorageV1__factory extends ethers_1.ContractFactory {
282
+ constructor(...args) {
283
+ if (isSuperArgs(args)) {
284
+ super(...args);
285
+ }
286
+ else {
287
+ super(_abi, _bytecode, args[0]);
288
+ }
289
+ }
290
+ deploy(overrides) {
291
+ return super.deploy(overrides || {});
292
+ }
293
+ getDeployTransaction(overrides) {
294
+ return super.getDeployTransaction(overrides || {});
295
+ }
296
+ attach(address) {
297
+ return super.attach(address);
298
+ }
299
+ connect(signer) {
300
+ return super.connect(signer);
301
+ }
302
+ static createInterface() {
303
+ return new ethers_1.utils.Interface(_abi);
304
+ }
305
+ static connect(address, signerOrProvider) {
306
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
307
+ }
308
+ }
309
+ exports.GovernorBravoDelegateStorageV1__factory = GovernorBravoDelegateStorageV1__factory;
310
+ GovernorBravoDelegateStorageV1__factory.bytecode = _bytecode;
311
+ GovernorBravoDelegateStorageV1__factory.abi = _abi;
312
+ //# sourceMappingURL=GovernorBravoDelegateStorageV1__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GovernorBravoDelegateStorageV1__factory.js","sourceRoot":"","sources":["../../../../../../typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV1__factory.ts"],"names":[],"mappings":";;;AAWA,mCAA6E;AAE7E,MAAM,IAAI,GAAG;IACX;QACE,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,OAAO;QACb,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,gBAAgB;QACtB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,QAAQ,EAAE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AAC,MAAM,GAAG,CAAC,CAAC;AAExE,MAAa,uCAAwC,SAAQ,wBAAe;IAC1E,YAAY,GAAG,IAAqD;QAClE,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CACjB,SAAS,IAAI,EAAE,CAC2B,CAAC;IAC/C,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAmC,CAAC;IACjE,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA4C,CAAC;IAC1E,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAA4C,CAAC;IAC9E,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACiB,CAAC;IACtC,CAAC;;AA1CH,0FA2CC;AAfiB,gDAAQ,GAAG,SAAS,CAAC;AACrB,2CAAG,GAAG,IAAI,CAAC"}
@@ -0,0 +1,278 @@
1
+ import type { PromiseOrValue } from "../../../../common";
2
+ import type { GovernorBravoDelegateStorageV2, GovernorBravoDelegateStorageV2Interface } from "../../../../contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2";
3
+ import type { Provider, TransactionRequest } from "@ethersproject/providers";
4
+ import { Signer, ContractFactory, Overrides } from "ethers";
5
+ type GovernorBravoDelegateStorageV2ConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class GovernorBravoDelegateStorageV2__factory extends ContractFactory {
7
+ constructor(...args: GovernorBravoDelegateStorageV2ConstructorParams);
8
+ deploy(overrides?: Overrides & {
9
+ from?: PromiseOrValue<string>;
10
+ }): Promise<GovernorBravoDelegateStorageV2>;
11
+ getDeployTransaction(overrides?: Overrides & {
12
+ from?: PromiseOrValue<string>;
13
+ }): TransactionRequest;
14
+ attach(address: string): GovernorBravoDelegateStorageV2;
15
+ connect(signer: Signer): GovernorBravoDelegateStorageV2__factory;
16
+ static readonly bytecode = "0x608060405234801561001057600080fd5b5061055b806100206000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80635c60da1b11610097578063da35c66411610066578063da35c664146101dc578063ee9799ee146101e4578063f851a440146101f7578063fc4eee42146101ff57610100565b80635c60da1b146101bc5780637bdbe4d0146101c4578063b58131b0146101cc578063d33219b4146101d457610100565b806326782247116100d3578063267822471461017557806335a87de21461018a5780633932abb1146101ac578063452a9320146101b457610100565b8063013cf08b1461010557806302a251a31461013857806317977c611461014d5780631b9ce57514610160575b600080fd5b610118610113366004610381565b610207565b60405161012f9b9a999897969594939291906103fc565b60405180910390f35b610140610273565b60405161012f91906103ee565b61014061015b36600461035b565b610279565b61016861028b565b60405161012f91906103e0565b61017d61029a565b60405161012f91906103d2565b61019d610198366004610381565b6102a9565b60405161012f939291906104a0565b6101406102ca565b61017d6102d0565b61017d6102df565b6101406102ee565b6101406102f4565b6101686102fa565b610140610309565b6101686101f2366004610381565b61030f565b61017d61032a565b610140610339565b600a60208190526000918252604090912080546001820154600283015460078401546008850154600986015496860154600b870154600c880154600e9098015496986001600160a01b039096169794969395929492939192909160ff808316926101009004811691168b565b60045481565b600b6020526000908152604090205481565b6009546001600160a01b031681565b6001546001600160a01b031681565b600e6020526000908152604090208054600182015460029092015490919083565b60035481565b600d546001600160a01b031681565b6002546001600160a01b031681565b600c5481565b60055481565b6008546001600160a01b031681565b60075481565b600f602052600090815260409020546001600160a01b031681565b6000546001600160a01b031681565b60065481565b803561034a816104f8565b92915050565b803561034a8161050f565b60006020828403121561036d57600080fd5b6000610379848461033f565b949350505050565b60006020828403121561039357600080fd5b60006103798484610350565b6103a8816104c8565b82525050565b6103a8816104d3565b6103a8816104ed565b6103a8816104e4565b6103a8816104e7565b6020810161034a828461039f565b6020810161034a82846103b7565b6020810161034a82846103c0565b610160810161040b828e6103c0565b610418602083018d61039f565b610425604083018c6103c0565b610432606083018b6103c0565b61043f608083018a6103c0565b61044c60a08301896103c0565b61045960c08301886103c0565b61046660e08301876103c0565b6104746101008301866103ae565b6104826101208301856103ae565b6104906101408301846103c9565b9c9b505050505050505050505050565b606081016104ae82866103c0565b6104bb60208301856103c0565b61037960408301846103c0565b600061034a826104d8565b151590565b6001600160a01b031690565b90565b60ff1690565b600061034a826104c8565b610501816104c8565b811461050c57600080fd5b50565b610501816104e456fea365627a7a723158201bd9d0ed166809c5f8f7b8c9f870d08a32cc53198f845512f17479597e3994166c6578706572696d656e74616cf564736f6c63430005100040";
17
+ static readonly abi: readonly [{
18
+ readonly constant: true;
19
+ readonly inputs: readonly [];
20
+ readonly name: "admin";
21
+ readonly outputs: readonly [{
22
+ readonly internalType: "address";
23
+ readonly name: "";
24
+ readonly type: "address";
25
+ }];
26
+ readonly payable: false;
27
+ readonly stateMutability: "view";
28
+ readonly type: "function";
29
+ }, {
30
+ readonly constant: true;
31
+ readonly inputs: readonly [];
32
+ readonly name: "guardian";
33
+ readonly outputs: readonly [{
34
+ readonly internalType: "address";
35
+ readonly name: "";
36
+ readonly type: "address";
37
+ }];
38
+ readonly payable: false;
39
+ readonly stateMutability: "view";
40
+ readonly type: "function";
41
+ }, {
42
+ readonly constant: true;
43
+ readonly inputs: readonly [];
44
+ readonly name: "implementation";
45
+ readonly outputs: readonly [{
46
+ readonly internalType: "address";
47
+ readonly name: "";
48
+ readonly type: "address";
49
+ }];
50
+ readonly payable: false;
51
+ readonly stateMutability: "view";
52
+ readonly type: "function";
53
+ }, {
54
+ readonly constant: true;
55
+ readonly inputs: readonly [];
56
+ readonly name: "initialProposalId";
57
+ readonly outputs: readonly [{
58
+ readonly internalType: "uint256";
59
+ readonly name: "";
60
+ readonly type: "uint256";
61
+ }];
62
+ readonly payable: false;
63
+ readonly stateMutability: "view";
64
+ readonly type: "function";
65
+ }, {
66
+ readonly constant: true;
67
+ readonly inputs: readonly [{
68
+ readonly internalType: "address";
69
+ readonly name: "";
70
+ readonly type: "address";
71
+ }];
72
+ readonly name: "latestProposalIds";
73
+ readonly outputs: readonly [{
74
+ readonly internalType: "uint256";
75
+ readonly name: "";
76
+ readonly type: "uint256";
77
+ }];
78
+ readonly payable: false;
79
+ readonly stateMutability: "view";
80
+ readonly type: "function";
81
+ }, {
82
+ readonly constant: true;
83
+ readonly inputs: readonly [];
84
+ readonly name: "pendingAdmin";
85
+ readonly outputs: readonly [{
86
+ readonly internalType: "address";
87
+ readonly name: "";
88
+ readonly type: "address";
89
+ }];
90
+ readonly payable: false;
91
+ readonly stateMutability: "view";
92
+ readonly type: "function";
93
+ }, {
94
+ readonly constant: true;
95
+ readonly inputs: readonly [{
96
+ readonly internalType: "uint256";
97
+ readonly name: "";
98
+ readonly type: "uint256";
99
+ }];
100
+ readonly name: "proposalConfigs";
101
+ readonly outputs: readonly [{
102
+ readonly internalType: "uint256";
103
+ readonly name: "votingDelay";
104
+ readonly type: "uint256";
105
+ }, {
106
+ readonly internalType: "uint256";
107
+ readonly name: "votingPeriod";
108
+ readonly type: "uint256";
109
+ }, {
110
+ readonly internalType: "uint256";
111
+ readonly name: "proposalThreshold";
112
+ readonly type: "uint256";
113
+ }];
114
+ readonly payable: false;
115
+ readonly stateMutability: "view";
116
+ readonly type: "function";
117
+ }, {
118
+ readonly constant: true;
119
+ readonly inputs: readonly [];
120
+ readonly name: "proposalCount";
121
+ readonly outputs: readonly [{
122
+ readonly internalType: "uint256";
123
+ readonly name: "";
124
+ readonly type: "uint256";
125
+ }];
126
+ readonly payable: false;
127
+ readonly stateMutability: "view";
128
+ readonly type: "function";
129
+ }, {
130
+ readonly constant: true;
131
+ readonly inputs: readonly [];
132
+ readonly name: "proposalMaxOperations";
133
+ readonly outputs: readonly [{
134
+ readonly internalType: "uint256";
135
+ readonly name: "";
136
+ readonly type: "uint256";
137
+ }];
138
+ readonly payable: false;
139
+ readonly stateMutability: "view";
140
+ readonly type: "function";
141
+ }, {
142
+ readonly constant: true;
143
+ readonly inputs: readonly [];
144
+ readonly name: "proposalThreshold";
145
+ readonly outputs: readonly [{
146
+ readonly internalType: "uint256";
147
+ readonly name: "";
148
+ readonly type: "uint256";
149
+ }];
150
+ readonly payable: false;
151
+ readonly stateMutability: "view";
152
+ readonly type: "function";
153
+ }, {
154
+ readonly constant: true;
155
+ readonly inputs: readonly [{
156
+ readonly internalType: "uint256";
157
+ readonly name: "";
158
+ readonly type: "uint256";
159
+ }];
160
+ readonly name: "proposalTimelocks";
161
+ readonly outputs: readonly [{
162
+ readonly internalType: "contract TimelockInterface";
163
+ readonly name: "";
164
+ readonly type: "address";
165
+ }];
166
+ readonly payable: false;
167
+ readonly stateMutability: "view";
168
+ readonly type: "function";
169
+ }, {
170
+ readonly constant: true;
171
+ readonly inputs: readonly [{
172
+ readonly internalType: "uint256";
173
+ readonly name: "";
174
+ readonly type: "uint256";
175
+ }];
176
+ readonly name: "proposals";
177
+ readonly outputs: readonly [{
178
+ readonly internalType: "uint256";
179
+ readonly name: "id";
180
+ readonly type: "uint256";
181
+ }, {
182
+ readonly internalType: "address";
183
+ readonly name: "proposer";
184
+ readonly type: "address";
185
+ }, {
186
+ readonly internalType: "uint256";
187
+ readonly name: "eta";
188
+ readonly type: "uint256";
189
+ }, {
190
+ readonly internalType: "uint256";
191
+ readonly name: "startBlock";
192
+ readonly type: "uint256";
193
+ }, {
194
+ readonly internalType: "uint256";
195
+ readonly name: "endBlock";
196
+ readonly type: "uint256";
197
+ }, {
198
+ readonly internalType: "uint256";
199
+ readonly name: "forVotes";
200
+ readonly type: "uint256";
201
+ }, {
202
+ readonly internalType: "uint256";
203
+ readonly name: "againstVotes";
204
+ readonly type: "uint256";
205
+ }, {
206
+ readonly internalType: "uint256";
207
+ readonly name: "abstainVotes";
208
+ readonly type: "uint256";
209
+ }, {
210
+ readonly internalType: "bool";
211
+ readonly name: "canceled";
212
+ readonly type: "bool";
213
+ }, {
214
+ readonly internalType: "bool";
215
+ readonly name: "executed";
216
+ readonly type: "bool";
217
+ }, {
218
+ readonly internalType: "uint8";
219
+ readonly name: "proposalType";
220
+ readonly type: "uint8";
221
+ }];
222
+ readonly payable: false;
223
+ readonly stateMutability: "view";
224
+ readonly type: "function";
225
+ }, {
226
+ readonly constant: true;
227
+ readonly inputs: readonly [];
228
+ readonly name: "timelock";
229
+ readonly outputs: readonly [{
230
+ readonly internalType: "contract TimelockInterface";
231
+ readonly name: "";
232
+ readonly type: "address";
233
+ }];
234
+ readonly payable: false;
235
+ readonly stateMutability: "view";
236
+ readonly type: "function";
237
+ }, {
238
+ readonly constant: true;
239
+ readonly inputs: readonly [];
240
+ readonly name: "votingDelay";
241
+ readonly outputs: readonly [{
242
+ readonly internalType: "uint256";
243
+ readonly name: "";
244
+ readonly type: "uint256";
245
+ }];
246
+ readonly payable: false;
247
+ readonly stateMutability: "view";
248
+ readonly type: "function";
249
+ }, {
250
+ readonly constant: true;
251
+ readonly inputs: readonly [];
252
+ readonly name: "votingPeriod";
253
+ readonly outputs: readonly [{
254
+ readonly internalType: "uint256";
255
+ readonly name: "";
256
+ readonly type: "uint256";
257
+ }];
258
+ readonly payable: false;
259
+ readonly stateMutability: "view";
260
+ readonly type: "function";
261
+ }, {
262
+ readonly constant: true;
263
+ readonly inputs: readonly [];
264
+ readonly name: "xvsVault";
265
+ readonly outputs: readonly [{
266
+ readonly internalType: "contract XvsVaultInterface";
267
+ readonly name: "";
268
+ readonly type: "address";
269
+ }];
270
+ readonly payable: false;
271
+ readonly stateMutability: "view";
272
+ readonly type: "function";
273
+ }];
274
+ static createInterface(): GovernorBravoDelegateStorageV2Interface;
275
+ static connect(address: string, signerOrProvider: Signer | Provider): GovernorBravoDelegateStorageV2;
276
+ }
277
+ export {};
278
+ //# sourceMappingURL=GovernorBravoDelegateStorageV2__factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GovernorBravoDelegateStorageV2__factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain/factories/contracts/legacy/GovernorBravoInterfacesV2.sol/GovernorBravoDelegateStorageV2__factory.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,8BAA8B,EAC9B,uCAAuC,EACxC,MAAM,2FAA2F,CAAC;AACnG,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AA4U7E,KAAK,+CAA+C,GAChD,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,uCAAwC,SAAQ,eAAe;gBAC9D,GAAG,IAAI,EAAE,+CAA+C;IAQ3D,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,8BAA8B,CAAC;IAKjC,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,8BAA8B;IAGvD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,uCAAuC;IAIzE,MAAM,CAAC,QAAQ,CAA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