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