@peeramid-labs/sdk 3.11.3 → 3.12.0

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 (274) hide show
  1. package/cli/abis/Address.js +18 -0
  2. package/cli/abis/Address.js.map +1 -0
  3. package/cli/abis/Governor.js +1735 -0
  4. package/cli/abis/Governor.js.map +1 -0
  5. package/cli/abis/GovernorCountingSimpleUpgradeable.js +1365 -0
  6. package/cli/abis/GovernorCountingSimpleUpgradeable.js.map +1 -0
  7. package/cli/abis/GovernorSettingsUpgradeable.js +1432 -0
  8. package/cli/abis/GovernorSettingsUpgradeable.js.map +1 -0
  9. package/cli/abis/GovernorStorageUpgradeable.js +1461 -0
  10. package/cli/abis/GovernorStorageUpgradeable.js.map +1 -0
  11. package/cli/abis/GovernorUpgradeable.js +1336 -0
  12. package/cli/abis/GovernorUpgradeable.js.map +1 -0
  13. package/cli/abis/GovernorVotesQuorumFractionUpgradeable.js +1447 -0
  14. package/cli/abis/GovernorVotesQuorumFractionUpgradeable.js.map +1 -0
  15. package/cli/abis/GovernorVotesUpgradeable.js +1349 -0
  16. package/cli/abis/GovernorVotesUpgradeable.js.map +1 -0
  17. package/cli/abis/IGovernor.js +1043 -0
  18. package/cli/abis/IGovernor.js.map +1 -0
  19. package/cli/abis/IRankifyInstance.js +58 -0
  20. package/cli/abis/IRankifyInstance.js.map +1 -1
  21. package/cli/abis/MAODistribution.js +49 -19
  22. package/cli/abis/MAODistribution.js.map +1 -1
  23. package/cli/abis/RankifyDiamondInstance.js +353 -49
  24. package/cli/abis/RankifyDiamondInstance.js.map +1 -1
  25. package/cli/abis/RankifyInstanceEventMock.js +0 -49
  26. package/cli/abis/RankifyInstanceEventMock.js.map +1 -1
  27. package/cli/abis/RankifyInstanceGameMastersFacet.js +131 -22
  28. package/cli/abis/RankifyInstanceGameMastersFacet.js.map +1 -1
  29. package/cli/abis/RankifyInstanceMainFacet.js +196 -6
  30. package/cli/abis/RankifyInstanceMainFacet.js.map +1 -1
  31. package/cli/abis/RankifyInstanceRequirementsFacet.js +26 -21
  32. package/cli/abis/RankifyInstanceRequirementsFacet.js.map +1 -1
  33. package/cli/abis/index.js +39 -3
  34. package/cli/abis/index.js.map +1 -1
  35. package/cli/abis/superinterface.js +609 -20
  36. package/cli/abis/superinterface.js.map +1 -1
  37. package/cli/cli/commands/fellowship/create.js +39 -7
  38. package/cli/cli/commands/fellowship/create.js.map +1 -1
  39. package/cli/cli/commands/fellowship/game/create.js +5 -1
  40. package/cli/cli/commands/fellowship/game/create.js.map +1 -1
  41. package/cli/cli/commands/fellowship/game/end-proposing.js +53 -0
  42. package/cli/cli/commands/fellowship/game/end-proposing.js.map +1 -0
  43. package/cli/cli/commands/fellowship/game/{end-turn.js → end-voting.js} +8 -8
  44. package/cli/cli/commands/fellowship/game/end-voting.js.map +1 -0
  45. package/cli/cli/commands/fellowship/game/force-end-stale.js +50 -0
  46. package/cli/cli/commands/fellowship/game/force-end-stale.js.map +1 -0
  47. package/cli/cli/commands/fellowship/game/index.js +10 -4
  48. package/cli/cli/commands/fellowship/game/index.js.map +1 -1
  49. package/cli/cli/commands/fellowship/game/start.js +2 -2
  50. package/cli/cli/commands/fellowship/game/start.js.map +1 -1
  51. package/cli/rankify/GameMaster.js +133 -110
  52. package/cli/rankify/GameMaster.js.map +1 -1
  53. package/cli/rankify/InstanceBase.js +35 -47
  54. package/cli/rankify/InstanceBase.js.map +1 -1
  55. package/cli/rankify/MAODistributor.js +9 -3
  56. package/cli/rankify/MAODistributor.js.map +1 -1
  57. package/cli/rankify/Player.js +8 -3
  58. package/cli/rankify/Player.js.map +1 -1
  59. package/cli/utils/EnvioGraphQLClient.js +94 -74
  60. package/cli/utils/EnvioGraphQLClient.js.map +1 -1
  61. package/cli/utils/index.js +4 -3
  62. package/cli/utils/index.js.map +1 -1
  63. package/docs/classes/EnvioGraphQLClient.md +46 -28
  64. package/docs/classes/GameMaster.md +64 -27
  65. package/docs/classes/InstanceBase.md +12 -12
  66. package/docs/classes/InstancePlayer.md +17 -14
  67. package/docs/classes/MAODistributorClient.md +4 -2
  68. package/docs/docs/classes/EnvioGraphQLClient.md +46 -28
  69. package/docs/docs/classes/GameMaster.md +64 -27
  70. package/docs/docs/classes/InstanceBase.md +12 -12
  71. package/docs/docs/classes/InstancePlayer.md +17 -14
  72. package/docs/docs/classes/MAODistributorClient.md +4 -2
  73. package/docs/docs/index.md +2 -139
  74. package/docs/docs/interfaces/MAOInstanceContracts.md +9 -0
  75. package/docs/docs/interfaces/MAOInstances.md +9 -0
  76. package/docs/index.md +2 -139
  77. package/docs/interfaces/MAOInstanceContracts.md +9 -0
  78. package/docs/interfaces/MAOInstances.md +9 -0
  79. package/lib.commonjs/abis/Address.d.ts +11 -0
  80. package/lib.commonjs/abis/Address.d.ts.map +1 -0
  81. package/lib.commonjs/abis/Address.js +18 -0
  82. package/lib.commonjs/abis/Address.js.map +1 -0
  83. package/lib.commonjs/abis/Governor.d.ts +1329 -0
  84. package/lib.commonjs/abis/Governor.d.ts.map +1 -0
  85. package/lib.commonjs/abis/Governor.js +1735 -0
  86. package/lib.commonjs/abis/Governor.js.map +1 -0
  87. package/lib.commonjs/abis/GovernorCountingSimpleUpgradeable.d.ts +1043 -0
  88. package/lib.commonjs/abis/GovernorCountingSimpleUpgradeable.d.ts.map +1 -0
  89. package/lib.commonjs/abis/GovernorCountingSimpleUpgradeable.js +1365 -0
  90. package/lib.commonjs/abis/GovernorCountingSimpleUpgradeable.js.map +1 -0
  91. package/lib.commonjs/abis/GovernorSettingsUpgradeable.d.ts +1096 -0
  92. package/lib.commonjs/abis/GovernorSettingsUpgradeable.d.ts.map +1 -0
  93. package/lib.commonjs/abis/GovernorSettingsUpgradeable.js +1432 -0
  94. package/lib.commonjs/abis/GovernorSettingsUpgradeable.js.map +1 -0
  95. package/lib.commonjs/abis/GovernorStorageUpgradeable.d.ts +1117 -0
  96. package/lib.commonjs/abis/GovernorStorageUpgradeable.d.ts.map +1 -0
  97. package/lib.commonjs/abis/GovernorStorageUpgradeable.js +1461 -0
  98. package/lib.commonjs/abis/GovernorStorageUpgradeable.js.map +1 -0
  99. package/lib.commonjs/abis/GovernorUpgradeable.d.ts +1021 -0
  100. package/lib.commonjs/abis/GovernorUpgradeable.d.ts.map +1 -0
  101. package/lib.commonjs/abis/GovernorUpgradeable.js +1336 -0
  102. package/lib.commonjs/abis/GovernorUpgradeable.js.map +1 -0
  103. package/lib.commonjs/abis/GovernorVotesQuorumFractionUpgradeable.d.ts +1106 -0
  104. package/lib.commonjs/abis/GovernorVotesQuorumFractionUpgradeable.d.ts.map +1 -0
  105. package/lib.commonjs/abis/GovernorVotesQuorumFractionUpgradeable.js +1447 -0
  106. package/lib.commonjs/abis/GovernorVotesQuorumFractionUpgradeable.js.map +1 -0
  107. package/lib.commonjs/abis/GovernorVotesUpgradeable.d.ts +1031 -0
  108. package/lib.commonjs/abis/GovernorVotesUpgradeable.d.ts.map +1 -0
  109. package/lib.commonjs/abis/GovernorVotesUpgradeable.js +1349 -0
  110. package/lib.commonjs/abis/GovernorVotesUpgradeable.js.map +1 -0
  111. package/lib.commonjs/abis/IGovernor.d.ts +795 -0
  112. package/lib.commonjs/abis/IGovernor.d.ts.map +1 -0
  113. package/lib.commonjs/abis/IGovernor.js +1043 -0
  114. package/lib.commonjs/abis/IGovernor.js.map +1 -0
  115. package/lib.commonjs/abis/IRankifyInstance.d.ts +45 -0
  116. package/lib.commonjs/abis/IRankifyInstance.d.ts.map +1 -1
  117. package/lib.commonjs/abis/IRankifyInstance.js +58 -0
  118. package/lib.commonjs/abis/IRankifyInstance.js.map +1 -1
  119. package/lib.commonjs/abis/MAODistribution.d.ts +40 -16
  120. package/lib.commonjs/abis/MAODistribution.d.ts.map +1 -1
  121. package/lib.commonjs/abis/MAODistribution.js +49 -19
  122. package/lib.commonjs/abis/MAODistribution.js.map +1 -1
  123. package/lib.commonjs/abis/RankifyDiamondInstance.d.ts +278 -43
  124. package/lib.commonjs/abis/RankifyDiamondInstance.d.ts.map +1 -1
  125. package/lib.commonjs/abis/RankifyDiamondInstance.js +353 -49
  126. package/lib.commonjs/abis/RankifyDiamondInstance.js.map +1 -1
  127. package/lib.commonjs/abis/RankifyInstanceEventMock.d.ts +0 -40
  128. package/lib.commonjs/abis/RankifyInstanceEventMock.d.ts.map +1 -1
  129. package/lib.commonjs/abis/RankifyInstanceEventMock.js +0 -49
  130. package/lib.commonjs/abis/RankifyInstanceEventMock.js.map +1 -1
  131. package/lib.commonjs/abis/RankifyInstanceGameMastersFacet.d.ts +106 -21
  132. package/lib.commonjs/abis/RankifyInstanceGameMastersFacet.d.ts.map +1 -1
  133. package/lib.commonjs/abis/RankifyInstanceGameMastersFacet.js +131 -22
  134. package/lib.commonjs/abis/RankifyInstanceGameMastersFacet.js.map +1 -1
  135. package/lib.commonjs/abis/RankifyInstanceMainFacet.d.ts +151 -5
  136. package/lib.commonjs/abis/RankifyInstanceMainFacet.d.ts.map +1 -1
  137. package/lib.commonjs/abis/RankifyInstanceMainFacet.js +196 -6
  138. package/lib.commonjs/abis/RankifyInstanceMainFacet.js.map +1 -1
  139. package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.d.ts +21 -17
  140. package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.d.ts.map +1 -1
  141. package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.js +26 -21
  142. package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.js.map +1 -1
  143. package/lib.commonjs/abis/index.d.ts +10 -31084
  144. package/lib.commonjs/abis/index.d.ts.map +1 -1
  145. package/lib.commonjs/abis/index.js +39 -3
  146. package/lib.commonjs/abis/index.js.map +1 -1
  147. package/lib.commonjs/abis/superinterface.d.ts +1 -1
  148. package/lib.commonjs/abis/superinterface.d.ts.map +1 -1
  149. package/lib.commonjs/abis/superinterface.js +609 -20
  150. package/lib.commonjs/abis/superinterface.js.map +1 -1
  151. package/lib.commonjs/rankify/GameMaster.d.ts +26 -15
  152. package/lib.commonjs/rankify/GameMaster.d.ts.map +1 -1
  153. package/lib.commonjs/rankify/GameMaster.js +133 -110
  154. package/lib.commonjs/rankify/GameMaster.js.map +1 -1
  155. package/lib.commonjs/rankify/InstanceBase.d.ts +19 -27
  156. package/lib.commonjs/rankify/InstanceBase.d.ts.map +1 -1
  157. package/lib.commonjs/rankify/InstanceBase.js +35 -47
  158. package/lib.commonjs/rankify/InstanceBase.js.map +1 -1
  159. package/lib.commonjs/rankify/MAODistributor.d.ts +6 -1
  160. package/lib.commonjs/rankify/MAODistributor.d.ts.map +1 -1
  161. package/lib.commonjs/rankify/MAODistributor.js +9 -3
  162. package/lib.commonjs/rankify/MAODistributor.js.map +1 -1
  163. package/lib.commonjs/rankify/Player.d.ts +3 -2
  164. package/lib.commonjs/rankify/Player.d.ts.map +1 -1
  165. package/lib.commonjs/rankify/Player.js +8 -3
  166. package/lib.commonjs/rankify/Player.js.map +1 -1
  167. package/lib.commonjs/types/contracts.d.ts +2 -0
  168. package/lib.commonjs/types/contracts.d.ts.map +1 -1
  169. package/lib.commonjs/utils/EnvioGraphQLClient.d.ts +35 -23
  170. package/lib.commonjs/utils/EnvioGraphQLClient.d.ts.map +1 -1
  171. package/lib.commonjs/utils/EnvioGraphQLClient.js +94 -74
  172. package/lib.commonjs/utils/EnvioGraphQLClient.js.map +1 -1
  173. package/lib.commonjs/utils/index.d.ts.map +1 -1
  174. package/lib.commonjs/utils/index.js +4 -3
  175. package/lib.commonjs/utils/index.js.map +1 -1
  176. package/lib.esm/abis/Address.d.ts +11 -0
  177. package/lib.esm/abis/Address.d.ts.map +1 -0
  178. package/lib.esm/abis/Address.js +15 -0
  179. package/lib.esm/abis/Address.js.map +1 -0
  180. package/lib.esm/abis/Governor.d.ts +1329 -0
  181. package/lib.esm/abis/Governor.d.ts.map +1 -0
  182. package/lib.esm/abis/Governor.js +1732 -0
  183. package/lib.esm/abis/Governor.js.map +1 -0
  184. package/lib.esm/abis/GovernorCountingSimpleUpgradeable.d.ts +1043 -0
  185. package/lib.esm/abis/GovernorCountingSimpleUpgradeable.d.ts.map +1 -0
  186. package/lib.esm/abis/GovernorCountingSimpleUpgradeable.js +1362 -0
  187. package/lib.esm/abis/GovernorCountingSimpleUpgradeable.js.map +1 -0
  188. package/lib.esm/abis/GovernorSettingsUpgradeable.d.ts +1096 -0
  189. package/lib.esm/abis/GovernorSettingsUpgradeable.d.ts.map +1 -0
  190. package/lib.esm/abis/GovernorSettingsUpgradeable.js +1429 -0
  191. package/lib.esm/abis/GovernorSettingsUpgradeable.js.map +1 -0
  192. package/lib.esm/abis/GovernorStorageUpgradeable.d.ts +1117 -0
  193. package/lib.esm/abis/GovernorStorageUpgradeable.d.ts.map +1 -0
  194. package/lib.esm/abis/GovernorStorageUpgradeable.js +1458 -0
  195. package/lib.esm/abis/GovernorStorageUpgradeable.js.map +1 -0
  196. package/lib.esm/abis/GovernorUpgradeable.d.ts +1021 -0
  197. package/lib.esm/abis/GovernorUpgradeable.d.ts.map +1 -0
  198. package/lib.esm/abis/GovernorUpgradeable.js +1333 -0
  199. package/lib.esm/abis/GovernorUpgradeable.js.map +1 -0
  200. package/lib.esm/abis/GovernorVotesQuorumFractionUpgradeable.d.ts +1106 -0
  201. package/lib.esm/abis/GovernorVotesQuorumFractionUpgradeable.d.ts.map +1 -0
  202. package/lib.esm/abis/GovernorVotesQuorumFractionUpgradeable.js +1444 -0
  203. package/lib.esm/abis/GovernorVotesQuorumFractionUpgradeable.js.map +1 -0
  204. package/lib.esm/abis/GovernorVotesUpgradeable.d.ts +1031 -0
  205. package/lib.esm/abis/GovernorVotesUpgradeable.d.ts.map +1 -0
  206. package/lib.esm/abis/GovernorVotesUpgradeable.js +1346 -0
  207. package/lib.esm/abis/GovernorVotesUpgradeable.js.map +1 -0
  208. package/lib.esm/abis/IGovernor.d.ts +795 -0
  209. package/lib.esm/abis/IGovernor.d.ts.map +1 -0
  210. package/lib.esm/abis/IGovernor.js +1040 -0
  211. package/lib.esm/abis/IGovernor.js.map +1 -0
  212. package/lib.esm/abis/IRankifyInstance.d.ts +45 -0
  213. package/lib.esm/abis/IRankifyInstance.d.ts.map +1 -1
  214. package/lib.esm/abis/IRankifyInstance.js +58 -0
  215. package/lib.esm/abis/IRankifyInstance.js.map +1 -1
  216. package/lib.esm/abis/MAODistribution.d.ts +40 -16
  217. package/lib.esm/abis/MAODistribution.d.ts.map +1 -1
  218. package/lib.esm/abis/MAODistribution.js +49 -19
  219. package/lib.esm/abis/MAODistribution.js.map +1 -1
  220. package/lib.esm/abis/RankifyDiamondInstance.d.ts +278 -43
  221. package/lib.esm/abis/RankifyDiamondInstance.d.ts.map +1 -1
  222. package/lib.esm/abis/RankifyDiamondInstance.js +353 -49
  223. package/lib.esm/abis/RankifyDiamondInstance.js.map +1 -1
  224. package/lib.esm/abis/RankifyInstanceEventMock.d.ts +0 -40
  225. package/lib.esm/abis/RankifyInstanceEventMock.d.ts.map +1 -1
  226. package/lib.esm/abis/RankifyInstanceEventMock.js +0 -49
  227. package/lib.esm/abis/RankifyInstanceEventMock.js.map +1 -1
  228. package/lib.esm/abis/RankifyInstanceGameMastersFacet.d.ts +106 -21
  229. package/lib.esm/abis/RankifyInstanceGameMastersFacet.d.ts.map +1 -1
  230. package/lib.esm/abis/RankifyInstanceGameMastersFacet.js +131 -22
  231. package/lib.esm/abis/RankifyInstanceGameMastersFacet.js.map +1 -1
  232. package/lib.esm/abis/RankifyInstanceMainFacet.d.ts +151 -5
  233. package/lib.esm/abis/RankifyInstanceMainFacet.d.ts.map +1 -1
  234. package/lib.esm/abis/RankifyInstanceMainFacet.js +196 -6
  235. package/lib.esm/abis/RankifyInstanceMainFacet.js.map +1 -1
  236. package/lib.esm/abis/RankifyInstanceRequirementsFacet.d.ts +21 -17
  237. package/lib.esm/abis/RankifyInstanceRequirementsFacet.d.ts.map +1 -1
  238. package/lib.esm/abis/RankifyInstanceRequirementsFacet.js +26 -21
  239. package/lib.esm/abis/RankifyInstanceRequirementsFacet.js.map +1 -1
  240. package/lib.esm/abis/index.d.ts +10 -31084
  241. package/lib.esm/abis/index.d.ts.map +1 -1
  242. package/lib.esm/abis/index.js +27 -0
  243. package/lib.esm/abis/index.js.map +1 -1
  244. package/lib.esm/abis/superinterface.d.ts +1 -1
  245. package/lib.esm/abis/superinterface.d.ts.map +1 -1
  246. package/lib.esm/abis/superinterface.js +609 -20
  247. package/lib.esm/abis/superinterface.js.map +1 -1
  248. package/lib.esm/rankify/GameMaster.d.ts +26 -15
  249. package/lib.esm/rankify/GameMaster.d.ts.map +1 -1
  250. package/lib.esm/rankify/GameMaster.js +133 -110
  251. package/lib.esm/rankify/GameMaster.js.map +1 -1
  252. package/lib.esm/rankify/InstanceBase.d.ts +19 -27
  253. package/lib.esm/rankify/InstanceBase.d.ts.map +1 -1
  254. package/lib.esm/rankify/InstanceBase.js +35 -47
  255. package/lib.esm/rankify/InstanceBase.js.map +1 -1
  256. package/lib.esm/rankify/MAODistributor.d.ts +6 -1
  257. package/lib.esm/rankify/MAODistributor.d.ts.map +1 -1
  258. package/lib.esm/rankify/MAODistributor.js +9 -3
  259. package/lib.esm/rankify/MAODistributor.js.map +1 -1
  260. package/lib.esm/rankify/Player.d.ts +3 -2
  261. package/lib.esm/rankify/Player.d.ts.map +1 -1
  262. package/lib.esm/rankify/Player.js +8 -3
  263. package/lib.esm/rankify/Player.js.map +1 -1
  264. package/lib.esm/types/contracts.d.ts +2 -0
  265. package/lib.esm/types/contracts.d.ts.map +1 -1
  266. package/lib.esm/utils/EnvioGraphQLClient.d.ts +35 -23
  267. package/lib.esm/utils/EnvioGraphQLClient.d.ts.map +1 -1
  268. package/lib.esm/utils/EnvioGraphQLClient.js +94 -74
  269. package/lib.esm/utils/EnvioGraphQLClient.js.map +1 -1
  270. package/lib.esm/utils/index.d.ts.map +1 -1
  271. package/lib.esm/utils/index.js +4 -3
  272. package/lib.esm/utils/index.js.map +1 -1
  273. package/package.json +2 -2
  274. package/cli/cli/commands/fellowship/game/end-turn.js.map +0 -1
@@ -0,0 +1,1040 @@
1
+ export const IGovernorAbi = [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "voter",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "name": "GovernorAlreadyCastVote",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "uint256",
17
+ "name": "proposalId",
18
+ "type": "uint256"
19
+ }
20
+ ],
21
+ "name": "GovernorAlreadyQueuedProposal",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "inputs": [],
26
+ "name": "GovernorDisabledDeposit",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [
31
+ {
32
+ "internalType": "address",
33
+ "name": "proposer",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "internalType": "uint256",
38
+ "name": "votes",
39
+ "type": "uint256"
40
+ },
41
+ {
42
+ "internalType": "uint256",
43
+ "name": "threshold",
44
+ "type": "uint256"
45
+ }
46
+ ],
47
+ "name": "GovernorInsufficientProposerVotes",
48
+ "type": "error"
49
+ },
50
+ {
51
+ "inputs": [
52
+ {
53
+ "internalType": "uint256",
54
+ "name": "targets",
55
+ "type": "uint256"
56
+ },
57
+ {
58
+ "internalType": "uint256",
59
+ "name": "calldatas",
60
+ "type": "uint256"
61
+ },
62
+ {
63
+ "internalType": "uint256",
64
+ "name": "values",
65
+ "type": "uint256"
66
+ }
67
+ ],
68
+ "name": "GovernorInvalidProposalLength",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "voter",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "GovernorInvalidSignature",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "GovernorInvalidVoteParams",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "GovernorInvalidVoteType",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "uint256",
96
+ "name": "votingPeriod",
97
+ "type": "uint256"
98
+ }
99
+ ],
100
+ "name": "GovernorInvalidVotingPeriod",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "uint256",
107
+ "name": "proposalId",
108
+ "type": "uint256"
109
+ }
110
+ ],
111
+ "name": "GovernorNonexistentProposal",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "uint256",
118
+ "name": "proposalId",
119
+ "type": "uint256"
120
+ }
121
+ ],
122
+ "name": "GovernorNotQueuedProposal",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "address",
129
+ "name": "account",
130
+ "type": "address"
131
+ }
132
+ ],
133
+ "name": "GovernorOnlyExecutor",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "address",
140
+ "name": "account",
141
+ "type": "address"
142
+ }
143
+ ],
144
+ "name": "GovernorOnlyProposer",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [],
149
+ "name": "GovernorQueueNotImplemented",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "address",
156
+ "name": "proposer",
157
+ "type": "address"
158
+ }
159
+ ],
160
+ "name": "GovernorRestrictedProposer",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "uint256",
167
+ "name": "proposalId",
168
+ "type": "uint256"
169
+ },
170
+ {
171
+ "internalType": "enum IGovernor.ProposalState",
172
+ "name": "current",
173
+ "type": "uint8"
174
+ },
175
+ {
176
+ "internalType": "bytes32",
177
+ "name": "expectedStates",
178
+ "type": "bytes32"
179
+ }
180
+ ],
181
+ "name": "GovernorUnexpectedProposalState",
182
+ "type": "error"
183
+ },
184
+ {
185
+ "anonymous": false,
186
+ "inputs": [
187
+ {
188
+ "indexed": false,
189
+ "internalType": "uint256",
190
+ "name": "proposalId",
191
+ "type": "uint256"
192
+ }
193
+ ],
194
+ "name": "ProposalCanceled",
195
+ "type": "event"
196
+ },
197
+ {
198
+ "anonymous": false,
199
+ "inputs": [
200
+ {
201
+ "indexed": false,
202
+ "internalType": "uint256",
203
+ "name": "proposalId",
204
+ "type": "uint256"
205
+ },
206
+ {
207
+ "indexed": false,
208
+ "internalType": "address",
209
+ "name": "proposer",
210
+ "type": "address"
211
+ },
212
+ {
213
+ "indexed": false,
214
+ "internalType": "address[]",
215
+ "name": "targets",
216
+ "type": "address[]"
217
+ },
218
+ {
219
+ "indexed": false,
220
+ "internalType": "uint256[]",
221
+ "name": "values",
222
+ "type": "uint256[]"
223
+ },
224
+ {
225
+ "indexed": false,
226
+ "internalType": "string[]",
227
+ "name": "signatures",
228
+ "type": "string[]"
229
+ },
230
+ {
231
+ "indexed": false,
232
+ "internalType": "bytes[]",
233
+ "name": "calldatas",
234
+ "type": "bytes[]"
235
+ },
236
+ {
237
+ "indexed": false,
238
+ "internalType": "uint256",
239
+ "name": "voteStart",
240
+ "type": "uint256"
241
+ },
242
+ {
243
+ "indexed": false,
244
+ "internalType": "uint256",
245
+ "name": "voteEnd",
246
+ "type": "uint256"
247
+ },
248
+ {
249
+ "indexed": false,
250
+ "internalType": "string",
251
+ "name": "description",
252
+ "type": "string"
253
+ }
254
+ ],
255
+ "name": "ProposalCreated",
256
+ "type": "event"
257
+ },
258
+ {
259
+ "anonymous": false,
260
+ "inputs": [
261
+ {
262
+ "indexed": false,
263
+ "internalType": "uint256",
264
+ "name": "proposalId",
265
+ "type": "uint256"
266
+ }
267
+ ],
268
+ "name": "ProposalExecuted",
269
+ "type": "event"
270
+ },
271
+ {
272
+ "anonymous": false,
273
+ "inputs": [
274
+ {
275
+ "indexed": false,
276
+ "internalType": "uint256",
277
+ "name": "proposalId",
278
+ "type": "uint256"
279
+ },
280
+ {
281
+ "indexed": false,
282
+ "internalType": "uint256",
283
+ "name": "etaSeconds",
284
+ "type": "uint256"
285
+ }
286
+ ],
287
+ "name": "ProposalQueued",
288
+ "type": "event"
289
+ },
290
+ {
291
+ "anonymous": false,
292
+ "inputs": [
293
+ {
294
+ "indexed": true,
295
+ "internalType": "address",
296
+ "name": "voter",
297
+ "type": "address"
298
+ },
299
+ {
300
+ "indexed": false,
301
+ "internalType": "uint256",
302
+ "name": "proposalId",
303
+ "type": "uint256"
304
+ },
305
+ {
306
+ "indexed": false,
307
+ "internalType": "uint8",
308
+ "name": "support",
309
+ "type": "uint8"
310
+ },
311
+ {
312
+ "indexed": false,
313
+ "internalType": "uint256",
314
+ "name": "weight",
315
+ "type": "uint256"
316
+ },
317
+ {
318
+ "indexed": false,
319
+ "internalType": "string",
320
+ "name": "reason",
321
+ "type": "string"
322
+ }
323
+ ],
324
+ "name": "VoteCast",
325
+ "type": "event"
326
+ },
327
+ {
328
+ "anonymous": false,
329
+ "inputs": [
330
+ {
331
+ "indexed": true,
332
+ "internalType": "address",
333
+ "name": "voter",
334
+ "type": "address"
335
+ },
336
+ {
337
+ "indexed": false,
338
+ "internalType": "uint256",
339
+ "name": "proposalId",
340
+ "type": "uint256"
341
+ },
342
+ {
343
+ "indexed": false,
344
+ "internalType": "uint8",
345
+ "name": "support",
346
+ "type": "uint8"
347
+ },
348
+ {
349
+ "indexed": false,
350
+ "internalType": "uint256",
351
+ "name": "weight",
352
+ "type": "uint256"
353
+ },
354
+ {
355
+ "indexed": false,
356
+ "internalType": "string",
357
+ "name": "reason",
358
+ "type": "string"
359
+ },
360
+ {
361
+ "indexed": false,
362
+ "internalType": "bytes",
363
+ "name": "params",
364
+ "type": "bytes"
365
+ }
366
+ ],
367
+ "name": "VoteCastWithParams",
368
+ "type": "event"
369
+ },
370
+ {
371
+ "inputs": [],
372
+ "name": "CLOCK_MODE",
373
+ "outputs": [
374
+ {
375
+ "internalType": "string",
376
+ "name": "",
377
+ "type": "string"
378
+ }
379
+ ],
380
+ "stateMutability": "view",
381
+ "type": "function"
382
+ },
383
+ {
384
+ "inputs": [],
385
+ "name": "COUNTING_MODE",
386
+ "outputs": [
387
+ {
388
+ "internalType": "string",
389
+ "name": "",
390
+ "type": "string"
391
+ }
392
+ ],
393
+ "stateMutability": "view",
394
+ "type": "function"
395
+ },
396
+ {
397
+ "inputs": [
398
+ {
399
+ "internalType": "address[]",
400
+ "name": "targets",
401
+ "type": "address[]"
402
+ },
403
+ {
404
+ "internalType": "uint256[]",
405
+ "name": "values",
406
+ "type": "uint256[]"
407
+ },
408
+ {
409
+ "internalType": "bytes[]",
410
+ "name": "calldatas",
411
+ "type": "bytes[]"
412
+ },
413
+ {
414
+ "internalType": "bytes32",
415
+ "name": "descriptionHash",
416
+ "type": "bytes32"
417
+ }
418
+ ],
419
+ "name": "cancel",
420
+ "outputs": [
421
+ {
422
+ "internalType": "uint256",
423
+ "name": "proposalId",
424
+ "type": "uint256"
425
+ }
426
+ ],
427
+ "stateMutability": "nonpayable",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [
432
+ {
433
+ "internalType": "uint256",
434
+ "name": "proposalId",
435
+ "type": "uint256"
436
+ },
437
+ {
438
+ "internalType": "uint8",
439
+ "name": "support",
440
+ "type": "uint8"
441
+ }
442
+ ],
443
+ "name": "castVote",
444
+ "outputs": [
445
+ {
446
+ "internalType": "uint256",
447
+ "name": "balance",
448
+ "type": "uint256"
449
+ }
450
+ ],
451
+ "stateMutability": "nonpayable",
452
+ "type": "function"
453
+ },
454
+ {
455
+ "inputs": [
456
+ {
457
+ "internalType": "uint256",
458
+ "name": "proposalId",
459
+ "type": "uint256"
460
+ },
461
+ {
462
+ "internalType": "uint8",
463
+ "name": "support",
464
+ "type": "uint8"
465
+ },
466
+ {
467
+ "internalType": "address",
468
+ "name": "voter",
469
+ "type": "address"
470
+ },
471
+ {
472
+ "internalType": "bytes",
473
+ "name": "signature",
474
+ "type": "bytes"
475
+ }
476
+ ],
477
+ "name": "castVoteBySig",
478
+ "outputs": [
479
+ {
480
+ "internalType": "uint256",
481
+ "name": "balance",
482
+ "type": "uint256"
483
+ }
484
+ ],
485
+ "stateMutability": "nonpayable",
486
+ "type": "function"
487
+ },
488
+ {
489
+ "inputs": [
490
+ {
491
+ "internalType": "uint256",
492
+ "name": "proposalId",
493
+ "type": "uint256"
494
+ },
495
+ {
496
+ "internalType": "uint8",
497
+ "name": "support",
498
+ "type": "uint8"
499
+ },
500
+ {
501
+ "internalType": "string",
502
+ "name": "reason",
503
+ "type": "string"
504
+ }
505
+ ],
506
+ "name": "castVoteWithReason",
507
+ "outputs": [
508
+ {
509
+ "internalType": "uint256",
510
+ "name": "balance",
511
+ "type": "uint256"
512
+ }
513
+ ],
514
+ "stateMutability": "nonpayable",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [
519
+ {
520
+ "internalType": "uint256",
521
+ "name": "proposalId",
522
+ "type": "uint256"
523
+ },
524
+ {
525
+ "internalType": "uint8",
526
+ "name": "support",
527
+ "type": "uint8"
528
+ },
529
+ {
530
+ "internalType": "string",
531
+ "name": "reason",
532
+ "type": "string"
533
+ },
534
+ {
535
+ "internalType": "bytes",
536
+ "name": "params",
537
+ "type": "bytes"
538
+ }
539
+ ],
540
+ "name": "castVoteWithReasonAndParams",
541
+ "outputs": [
542
+ {
543
+ "internalType": "uint256",
544
+ "name": "balance",
545
+ "type": "uint256"
546
+ }
547
+ ],
548
+ "stateMutability": "nonpayable",
549
+ "type": "function"
550
+ },
551
+ {
552
+ "inputs": [
553
+ {
554
+ "internalType": "uint256",
555
+ "name": "proposalId",
556
+ "type": "uint256"
557
+ },
558
+ {
559
+ "internalType": "uint8",
560
+ "name": "support",
561
+ "type": "uint8"
562
+ },
563
+ {
564
+ "internalType": "address",
565
+ "name": "voter",
566
+ "type": "address"
567
+ },
568
+ {
569
+ "internalType": "string",
570
+ "name": "reason",
571
+ "type": "string"
572
+ },
573
+ {
574
+ "internalType": "bytes",
575
+ "name": "params",
576
+ "type": "bytes"
577
+ },
578
+ {
579
+ "internalType": "bytes",
580
+ "name": "signature",
581
+ "type": "bytes"
582
+ }
583
+ ],
584
+ "name": "castVoteWithReasonAndParamsBySig",
585
+ "outputs": [
586
+ {
587
+ "internalType": "uint256",
588
+ "name": "balance",
589
+ "type": "uint256"
590
+ }
591
+ ],
592
+ "stateMutability": "nonpayable",
593
+ "type": "function"
594
+ },
595
+ {
596
+ "inputs": [],
597
+ "name": "clock",
598
+ "outputs": [
599
+ {
600
+ "internalType": "uint48",
601
+ "name": "",
602
+ "type": "uint48"
603
+ }
604
+ ],
605
+ "stateMutability": "view",
606
+ "type": "function"
607
+ },
608
+ {
609
+ "inputs": [
610
+ {
611
+ "internalType": "address[]",
612
+ "name": "targets",
613
+ "type": "address[]"
614
+ },
615
+ {
616
+ "internalType": "uint256[]",
617
+ "name": "values",
618
+ "type": "uint256[]"
619
+ },
620
+ {
621
+ "internalType": "bytes[]",
622
+ "name": "calldatas",
623
+ "type": "bytes[]"
624
+ },
625
+ {
626
+ "internalType": "bytes32",
627
+ "name": "descriptionHash",
628
+ "type": "bytes32"
629
+ }
630
+ ],
631
+ "name": "execute",
632
+ "outputs": [
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "proposalId",
636
+ "type": "uint256"
637
+ }
638
+ ],
639
+ "stateMutability": "payable",
640
+ "type": "function"
641
+ },
642
+ {
643
+ "inputs": [
644
+ {
645
+ "internalType": "address",
646
+ "name": "account",
647
+ "type": "address"
648
+ },
649
+ {
650
+ "internalType": "uint256",
651
+ "name": "timepoint",
652
+ "type": "uint256"
653
+ }
654
+ ],
655
+ "name": "getVotes",
656
+ "outputs": [
657
+ {
658
+ "internalType": "uint256",
659
+ "name": "",
660
+ "type": "uint256"
661
+ }
662
+ ],
663
+ "stateMutability": "view",
664
+ "type": "function"
665
+ },
666
+ {
667
+ "inputs": [
668
+ {
669
+ "internalType": "address",
670
+ "name": "account",
671
+ "type": "address"
672
+ },
673
+ {
674
+ "internalType": "uint256",
675
+ "name": "timepoint",
676
+ "type": "uint256"
677
+ },
678
+ {
679
+ "internalType": "bytes",
680
+ "name": "params",
681
+ "type": "bytes"
682
+ }
683
+ ],
684
+ "name": "getVotesWithParams",
685
+ "outputs": [
686
+ {
687
+ "internalType": "uint256",
688
+ "name": "",
689
+ "type": "uint256"
690
+ }
691
+ ],
692
+ "stateMutability": "view",
693
+ "type": "function"
694
+ },
695
+ {
696
+ "inputs": [
697
+ {
698
+ "internalType": "uint256",
699
+ "name": "proposalId",
700
+ "type": "uint256"
701
+ },
702
+ {
703
+ "internalType": "address",
704
+ "name": "account",
705
+ "type": "address"
706
+ }
707
+ ],
708
+ "name": "hasVoted",
709
+ "outputs": [
710
+ {
711
+ "internalType": "bool",
712
+ "name": "",
713
+ "type": "bool"
714
+ }
715
+ ],
716
+ "stateMutability": "view",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "address[]",
723
+ "name": "targets",
724
+ "type": "address[]"
725
+ },
726
+ {
727
+ "internalType": "uint256[]",
728
+ "name": "values",
729
+ "type": "uint256[]"
730
+ },
731
+ {
732
+ "internalType": "bytes[]",
733
+ "name": "calldatas",
734
+ "type": "bytes[]"
735
+ },
736
+ {
737
+ "internalType": "bytes32",
738
+ "name": "descriptionHash",
739
+ "type": "bytes32"
740
+ }
741
+ ],
742
+ "name": "hashProposal",
743
+ "outputs": [
744
+ {
745
+ "internalType": "uint256",
746
+ "name": "",
747
+ "type": "uint256"
748
+ }
749
+ ],
750
+ "stateMutability": "pure",
751
+ "type": "function"
752
+ },
753
+ {
754
+ "inputs": [],
755
+ "name": "name",
756
+ "outputs": [
757
+ {
758
+ "internalType": "string",
759
+ "name": "",
760
+ "type": "string"
761
+ }
762
+ ],
763
+ "stateMutability": "view",
764
+ "type": "function"
765
+ },
766
+ {
767
+ "inputs": [
768
+ {
769
+ "internalType": "uint256",
770
+ "name": "proposalId",
771
+ "type": "uint256"
772
+ }
773
+ ],
774
+ "name": "proposalDeadline",
775
+ "outputs": [
776
+ {
777
+ "internalType": "uint256",
778
+ "name": "",
779
+ "type": "uint256"
780
+ }
781
+ ],
782
+ "stateMutability": "view",
783
+ "type": "function"
784
+ },
785
+ {
786
+ "inputs": [
787
+ {
788
+ "internalType": "uint256",
789
+ "name": "proposalId",
790
+ "type": "uint256"
791
+ }
792
+ ],
793
+ "name": "proposalEta",
794
+ "outputs": [
795
+ {
796
+ "internalType": "uint256",
797
+ "name": "",
798
+ "type": "uint256"
799
+ }
800
+ ],
801
+ "stateMutability": "view",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [
806
+ {
807
+ "internalType": "uint256",
808
+ "name": "proposalId",
809
+ "type": "uint256"
810
+ }
811
+ ],
812
+ "name": "proposalNeedsQueuing",
813
+ "outputs": [
814
+ {
815
+ "internalType": "bool",
816
+ "name": "",
817
+ "type": "bool"
818
+ }
819
+ ],
820
+ "stateMutability": "view",
821
+ "type": "function"
822
+ },
823
+ {
824
+ "inputs": [
825
+ {
826
+ "internalType": "uint256",
827
+ "name": "proposalId",
828
+ "type": "uint256"
829
+ }
830
+ ],
831
+ "name": "proposalProposer",
832
+ "outputs": [
833
+ {
834
+ "internalType": "address",
835
+ "name": "",
836
+ "type": "address"
837
+ }
838
+ ],
839
+ "stateMutability": "view",
840
+ "type": "function"
841
+ },
842
+ {
843
+ "inputs": [
844
+ {
845
+ "internalType": "uint256",
846
+ "name": "proposalId",
847
+ "type": "uint256"
848
+ }
849
+ ],
850
+ "name": "proposalSnapshot",
851
+ "outputs": [
852
+ {
853
+ "internalType": "uint256",
854
+ "name": "",
855
+ "type": "uint256"
856
+ }
857
+ ],
858
+ "stateMutability": "view",
859
+ "type": "function"
860
+ },
861
+ {
862
+ "inputs": [],
863
+ "name": "proposalThreshold",
864
+ "outputs": [
865
+ {
866
+ "internalType": "uint256",
867
+ "name": "",
868
+ "type": "uint256"
869
+ }
870
+ ],
871
+ "stateMutability": "view",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [
876
+ {
877
+ "internalType": "address[]",
878
+ "name": "targets",
879
+ "type": "address[]"
880
+ },
881
+ {
882
+ "internalType": "uint256[]",
883
+ "name": "values",
884
+ "type": "uint256[]"
885
+ },
886
+ {
887
+ "internalType": "bytes[]",
888
+ "name": "calldatas",
889
+ "type": "bytes[]"
890
+ },
891
+ {
892
+ "internalType": "string",
893
+ "name": "description",
894
+ "type": "string"
895
+ }
896
+ ],
897
+ "name": "propose",
898
+ "outputs": [
899
+ {
900
+ "internalType": "uint256",
901
+ "name": "proposalId",
902
+ "type": "uint256"
903
+ }
904
+ ],
905
+ "stateMutability": "nonpayable",
906
+ "type": "function"
907
+ },
908
+ {
909
+ "inputs": [
910
+ {
911
+ "internalType": "address[]",
912
+ "name": "targets",
913
+ "type": "address[]"
914
+ },
915
+ {
916
+ "internalType": "uint256[]",
917
+ "name": "values",
918
+ "type": "uint256[]"
919
+ },
920
+ {
921
+ "internalType": "bytes[]",
922
+ "name": "calldatas",
923
+ "type": "bytes[]"
924
+ },
925
+ {
926
+ "internalType": "bytes32",
927
+ "name": "descriptionHash",
928
+ "type": "bytes32"
929
+ }
930
+ ],
931
+ "name": "queue",
932
+ "outputs": [
933
+ {
934
+ "internalType": "uint256",
935
+ "name": "proposalId",
936
+ "type": "uint256"
937
+ }
938
+ ],
939
+ "stateMutability": "nonpayable",
940
+ "type": "function"
941
+ },
942
+ {
943
+ "inputs": [
944
+ {
945
+ "internalType": "uint256",
946
+ "name": "timepoint",
947
+ "type": "uint256"
948
+ }
949
+ ],
950
+ "name": "quorum",
951
+ "outputs": [
952
+ {
953
+ "internalType": "uint256",
954
+ "name": "",
955
+ "type": "uint256"
956
+ }
957
+ ],
958
+ "stateMutability": "view",
959
+ "type": "function"
960
+ },
961
+ {
962
+ "inputs": [
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "proposalId",
966
+ "type": "uint256"
967
+ }
968
+ ],
969
+ "name": "state",
970
+ "outputs": [
971
+ {
972
+ "internalType": "enum IGovernor.ProposalState",
973
+ "name": "",
974
+ "type": "uint8"
975
+ }
976
+ ],
977
+ "stateMutability": "view",
978
+ "type": "function"
979
+ },
980
+ {
981
+ "inputs": [
982
+ {
983
+ "internalType": "bytes4",
984
+ "name": "interfaceId",
985
+ "type": "bytes4"
986
+ }
987
+ ],
988
+ "name": "supportsInterface",
989
+ "outputs": [
990
+ {
991
+ "internalType": "bool",
992
+ "name": "",
993
+ "type": "bool"
994
+ }
995
+ ],
996
+ "stateMutability": "view",
997
+ "type": "function"
998
+ },
999
+ {
1000
+ "inputs": [],
1001
+ "name": "version",
1002
+ "outputs": [
1003
+ {
1004
+ "internalType": "string",
1005
+ "name": "",
1006
+ "type": "string"
1007
+ }
1008
+ ],
1009
+ "stateMutability": "view",
1010
+ "type": "function"
1011
+ },
1012
+ {
1013
+ "inputs": [],
1014
+ "name": "votingDelay",
1015
+ "outputs": [
1016
+ {
1017
+ "internalType": "uint256",
1018
+ "name": "",
1019
+ "type": "uint256"
1020
+ }
1021
+ ],
1022
+ "stateMutability": "view",
1023
+ "type": "function"
1024
+ },
1025
+ {
1026
+ "inputs": [],
1027
+ "name": "votingPeriod",
1028
+ "outputs": [
1029
+ {
1030
+ "internalType": "uint256",
1031
+ "name": "",
1032
+ "type": "uint256"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "view",
1036
+ "type": "function"
1037
+ }
1038
+ ];
1039
+ export default IGovernorAbi;
1040
+ //# sourceMappingURL=IGovernor.js.map