levr-sdk 0.3.0 → 0.4.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 (115) hide show
  1. package/dist/esm/abis/IClankerFeeLocker.js +215 -0
  2. package/dist/esm/abis/IClankerLpLockerFeeConversion.js +26 -0
  3. package/dist/esm/abis/LevrDeployer_v1.js +86 -0
  4. package/dist/esm/abis/LevrFactory_v1.js +603 -66
  5. package/dist/esm/abis/LevrFeeSplitter_v1.js +5 -58
  6. package/dist/esm/abis/LevrGovernor_v1.js +215 -14
  7. package/dist/esm/abis/LevrStakedToken_v1.js +15 -0
  8. package/dist/esm/abis/LevrStaking_v1.js +318 -63
  9. package/dist/esm/abis/LevrTreasury_v1.js +34 -38
  10. package/dist/esm/abis/index.js +2 -0
  11. package/dist/esm/airdrop.js +29 -14
  12. package/dist/esm/airdrop.js.map +1 -1
  13. package/dist/esm/build-calldatas-v4.js +2 -1
  14. package/dist/esm/build-calldatas-v4.js.map +1 -1
  15. package/dist/esm/build-clanker-v4.js +6 -1
  16. package/dist/esm/build-clanker-v4.js.map +1 -1
  17. package/dist/esm/client/hook/use-project.js +6 -3
  18. package/dist/esm/client/hook/use-project.js.map +1 -1
  19. package/dist/esm/client/hook/use-register.js +1 -1
  20. package/dist/esm/client/hook/use-stake.js +1 -1
  21. package/dist/esm/client/levr-provider.js +43 -72
  22. package/dist/esm/client/levr-provider.js.map +1 -1
  23. package/dist/esm/client/query-keys.js +1 -1
  24. package/dist/esm/client/query-keys.js.map +1 -1
  25. package/dist/esm/constants/clanker.js +84 -0
  26. package/dist/esm/constants/clanker.js.map +1 -0
  27. package/dist/esm/constants/config.js +71 -0
  28. package/dist/esm/constants/config.js.map +1 -0
  29. package/dist/esm/constants/index.js +52 -0
  30. package/dist/esm/constants/index.js.map +1 -0
  31. package/dist/esm/constants/levr.js +34 -0
  32. package/dist/esm/constants/levr.js.map +1 -0
  33. package/dist/esm/constants/uniswap.js +86 -0
  34. package/dist/esm/constants/uniswap.js.map +1 -0
  35. package/dist/esm/deploy-v4.js +1 -1
  36. package/dist/esm/factory.js +84 -7
  37. package/dist/esm/factory.js.map +1 -1
  38. package/dist/esm/fee-receivers.js +1 -1
  39. package/dist/esm/fee-splitter.js +1 -1
  40. package/dist/esm/governance.js +4 -3
  41. package/dist/esm/governance.js.map +1 -1
  42. package/dist/esm/index.js +1 -1
  43. package/dist/esm/pool-key.js +1 -1
  44. package/dist/esm/pool.js +1 -1
  45. package/dist/esm/project.js +194 -55
  46. package/dist/esm/project.js.map +1 -1
  47. package/dist/esm/proposal.js +1 -0
  48. package/dist/esm/proposal.js.map +1 -1
  49. package/dist/esm/quote/v4.js +1 -1
  50. package/dist/esm/schema/levr.schema.js +37 -10
  51. package/dist/esm/schema/levr.schema.js.map +1 -1
  52. package/dist/esm/stake.js +137 -61
  53. package/dist/esm/stake.js.map +1 -1
  54. package/dist/esm/swap-v4.js +1 -1
  55. package/dist/esm/usd-price.js +1 -1
  56. package/dist/esm/user.js +13 -6
  57. package/dist/esm/user.js.map +1 -1
  58. package/dist/esm/util.js +58 -2
  59. package/dist/esm/util.js.map +1 -1
  60. package/dist/esm/vault.js +1 -1
  61. package/dist/types/abis/IClankerFeeLocker.d.ts +169 -0
  62. package/dist/types/abis/IClankerLpLockerFeeConversion.d.ts +20 -0
  63. package/dist/types/abis/LevrDeployer_v1.d.ts +67 -0
  64. package/dist/types/abis/LevrFactory_v1.d.ts +454 -39
  65. package/dist/types/abis/LevrFeeSplitter_v1.d.ts +4 -44
  66. package/dist/types/abis/LevrGovernor_v1.d.ts +172 -14
  67. package/dist/types/abis/LevrStakedToken_v1.d.ts +12 -0
  68. package/dist/types/abis/LevrStaking_v1.d.ts +258 -61
  69. package/dist/types/abis/LevrTreasury_v1.d.ts +29 -31
  70. package/dist/types/abis/index.d.ts +2 -0
  71. package/dist/types/airdrop.d.ts +2 -1
  72. package/dist/types/airdrop.d.ts.map +1 -1
  73. package/dist/types/build-calldatas-v4.d.ts +1 -0
  74. package/dist/types/build-calldatas-v4.d.ts.map +1 -1
  75. package/dist/types/build-clanker-v4.d.ts +2 -1
  76. package/dist/types/build-clanker-v4.d.ts.map +1 -1
  77. package/dist/types/client/hook/use-factory.d.ts +2 -0
  78. package/dist/types/client/hook/use-factory.d.ts.map +1 -1
  79. package/dist/types/client/hook/use-project.d.ts.map +1 -1
  80. package/dist/types/client/levr-provider.d.ts.map +1 -1
  81. package/dist/types/client/query-keys.d.ts +1 -1
  82. package/dist/types/client/query-keys.d.ts.map +1 -1
  83. package/dist/types/constants/clanker.d.ts +31 -0
  84. package/dist/types/constants/clanker.d.ts.map +1 -0
  85. package/dist/types/constants/config.d.ts +71 -0
  86. package/dist/types/constants/config.d.ts.map +1 -0
  87. package/dist/types/constants/index.d.ts +35 -0
  88. package/dist/types/constants/index.d.ts.map +1 -0
  89. package/dist/types/constants/levr.d.ts +17 -0
  90. package/dist/types/constants/levr.d.ts.map +1 -0
  91. package/dist/types/constants/uniswap.d.ts +37 -0
  92. package/dist/types/constants/uniswap.d.ts.map +1 -0
  93. package/dist/types/factory.d.ts +20 -3
  94. package/dist/types/factory.d.ts.map +1 -1
  95. package/dist/types/fee-receivers.d.ts +17 -177
  96. package/dist/types/fee-receivers.d.ts.map +1 -1
  97. package/dist/types/governance.d.ts +2 -0
  98. package/dist/types/governance.d.ts.map +1 -1
  99. package/dist/types/project.d.ts +17 -2
  100. package/dist/types/project.d.ts.map +1 -1
  101. package/dist/types/proposal.d.ts +344 -28
  102. package/dist/types/proposal.d.ts.map +1 -1
  103. package/dist/types/schema/levr.schema.d.ts +21 -0
  104. package/dist/types/schema/levr.schema.d.ts.map +1 -1
  105. package/dist/types/stake.d.ts +20 -34
  106. package/dist/types/stake.d.ts.map +1 -1
  107. package/dist/types/user.d.ts +813 -1
  108. package/dist/types/user.d.ts.map +1 -1
  109. package/dist/types/util.d.ts +4 -0
  110. package/dist/types/util.d.ts.map +1 -1
  111. package/package.json +2 -1
  112. package/dist/esm/constants.js +0 -300
  113. package/dist/esm/constants.js.map +0 -1
  114. package/dist/types/constants.d.ts +0 -177
  115. package/dist/types/constants.d.ts.map +0 -1
@@ -57,6 +57,53 @@ export default [
57
57
  type: 'uint16',
58
58
  internalType: 'uint16',
59
59
  },
60
+ {
61
+ name: 'minimumQuorumBps',
62
+ type: 'uint16',
63
+ internalType: 'uint16',
64
+ },
65
+ ],
66
+ },
67
+ {
68
+ name: 'bounds',
69
+ type: 'tuple',
70
+ internalType: 'struct ILevrFactory_v1.ConfigBounds',
71
+ components: [
72
+ {
73
+ name: 'minStreamWindowSeconds',
74
+ type: 'uint32',
75
+ internalType: 'uint32',
76
+ },
77
+ {
78
+ name: 'minProposalWindowSeconds',
79
+ type: 'uint32',
80
+ internalType: 'uint32',
81
+ },
82
+ {
83
+ name: 'minVotingWindowSeconds',
84
+ type: 'uint32',
85
+ internalType: 'uint32',
86
+ },
87
+ {
88
+ name: 'minQuorumBps',
89
+ type: 'uint16',
90
+ internalType: 'uint16',
91
+ },
92
+ {
93
+ name: 'minApprovalBps',
94
+ type: 'uint16',
95
+ internalType: 'uint16',
96
+ },
97
+ {
98
+ name: 'minMinSTokenBpsToSubmit',
99
+ type: 'uint16',
100
+ internalType: 'uint16',
101
+ },
102
+ {
103
+ name: 'minMinimumQuorumBps',
104
+ type: 'uint16',
105
+ internalType: 'uint16',
106
+ },
60
107
  ],
61
108
  },
62
109
  {
@@ -70,22 +117,41 @@ export default [
70
117
  internalType: 'address',
71
118
  },
72
119
  {
73
- name: 'clankerFactory_',
120
+ name: 'levrDeployer_',
74
121
  type: 'address',
75
122
  internalType: 'address',
76
123
  },
77
124
  {
78
- name: 'levrDeployer_',
125
+ name: 'initialWhitelistedTokens_',
126
+ type: 'address[]',
127
+ internalType: 'address[]',
128
+ },
129
+ ],
130
+ stateMutability: 'nonpayable',
131
+ },
132
+ {
133
+ type: 'function',
134
+ name: 'addTrustedClankerFactory',
135
+ inputs: [
136
+ {
137
+ name: 'factory',
79
138
  type: 'address',
80
139
  internalType: 'address',
81
140
  },
82
141
  ],
142
+ outputs: [],
83
143
  stateMutability: 'nonpayable',
84
144
  },
85
145
  {
86
146
  type: 'function',
87
147
  name: 'approvalBps',
88
- inputs: [],
148
+ inputs: [
149
+ {
150
+ name: 'c',
151
+ type: 'address',
152
+ internalType: 'address',
153
+ },
154
+ ],
89
155
  outputs: [
90
156
  {
91
157
  name: '',
@@ -97,52 +163,48 @@ export default [
97
163
  },
98
164
  {
99
165
  type: 'function',
100
- name: 'clankerFactory',
166
+ name: 'getConfigBounds',
101
167
  inputs: [],
102
168
  outputs: [
103
169
  {
104
170
  name: '',
105
- type: 'address',
106
- internalType: 'address',
107
- },
108
- ],
109
- stateMutability: 'view',
110
- },
111
- {
112
- type: 'function',
113
- name: 'getClankerMetadata',
114
- inputs: [
115
- {
116
- name: 'clankerToken',
117
- type: 'address',
118
- internalType: 'address',
119
- },
120
- ],
121
- outputs: [
122
- {
123
- name: 'metadata',
124
171
  type: 'tuple',
125
- internalType: 'struct ILevrFactory_v1.ClankerMetadata',
172
+ internalType: 'struct ILevrFactory_v1.ConfigBounds',
126
173
  components: [
127
174
  {
128
- name: 'feeLocker',
129
- type: 'address',
130
- internalType: 'address',
175
+ name: 'minStreamWindowSeconds',
176
+ type: 'uint32',
177
+ internalType: 'uint32',
131
178
  },
132
179
  {
133
- name: 'lpLocker',
134
- type: 'address',
135
- internalType: 'address',
180
+ name: 'minProposalWindowSeconds',
181
+ type: 'uint32',
182
+ internalType: 'uint32',
136
183
  },
137
184
  {
138
- name: 'hook',
139
- type: 'address',
140
- internalType: 'address',
185
+ name: 'minVotingWindowSeconds',
186
+ type: 'uint32',
187
+ internalType: 'uint32',
141
188
  },
142
189
  {
143
- name: 'exists',
144
- type: 'bool',
145
- internalType: 'bool',
190
+ name: 'minQuorumBps',
191
+ type: 'uint16',
192
+ internalType: 'uint16',
193
+ },
194
+ {
195
+ name: 'minApprovalBps',
196
+ type: 'uint16',
197
+ internalType: 'uint16',
198
+ },
199
+ {
200
+ name: 'minMinSTokenBpsToSubmit',
201
+ type: 'uint16',
202
+ internalType: 'uint16',
203
+ },
204
+ {
205
+ name: 'minMinimumQuorumBps',
206
+ type: 'uint16',
207
+ internalType: 'uint16',
146
208
  },
147
209
  ],
148
210
  },
@@ -151,7 +213,20 @@ export default [
151
213
  },
152
214
  {
153
215
  type: 'function',
154
- name: 'getProjectContracts',
216
+ name: 'getInitialWhitelist',
217
+ inputs: [],
218
+ outputs: [
219
+ {
220
+ name: '',
221
+ type: 'address[]',
222
+ internalType: 'address[]',
223
+ },
224
+ ],
225
+ stateMutability: 'view',
226
+ },
227
+ {
228
+ type: 'function',
229
+ name: 'getProject',
155
230
  inputs: [
156
231
  {
157
232
  name: 'clankerToken',
@@ -185,6 +260,11 @@ export default [
185
260
  type: 'address',
186
261
  internalType: 'address',
187
262
  },
263
+ {
264
+ name: 'verified',
265
+ type: 'bool',
266
+ internalType: 'bool',
267
+ },
188
268
  ],
189
269
  },
190
270
  ],
@@ -241,6 +321,11 @@ export default [
241
321
  type: 'address',
242
322
  internalType: 'address',
243
323
  },
324
+ {
325
+ name: 'verified',
326
+ type: 'bool',
327
+ internalType: 'bool',
328
+ },
244
329
  ],
245
330
  },
246
331
  ],
@@ -253,6 +338,38 @@ export default [
253
338
  ],
254
339
  stateMutability: 'view',
255
340
  },
341
+ {
342
+ type: 'function',
343
+ name: 'getTrustedClankerFactories',
344
+ inputs: [],
345
+ outputs: [
346
+ {
347
+ name: '',
348
+ type: 'address[]',
349
+ internalType: 'address[]',
350
+ },
351
+ ],
352
+ stateMutability: 'view',
353
+ },
354
+ {
355
+ type: 'function',
356
+ name: 'isTrustedClankerFactory',
357
+ inputs: [
358
+ {
359
+ name: 'factory',
360
+ type: 'address',
361
+ internalType: 'address',
362
+ },
363
+ ],
364
+ outputs: [
365
+ {
366
+ name: '',
367
+ type: 'bool',
368
+ internalType: 'bool',
369
+ },
370
+ ],
371
+ stateMutability: 'view',
372
+ },
256
373
  {
257
374
  type: 'function',
258
375
  name: 'isTrustedForwarder',
@@ -288,7 +405,13 @@ export default [
288
405
  {
289
406
  type: 'function',
290
407
  name: 'maxActiveProposals',
291
- inputs: [],
408
+ inputs: [
409
+ {
410
+ name: 'c',
411
+ type: 'address',
412
+ internalType: 'address',
413
+ },
414
+ ],
292
415
  outputs: [
293
416
  {
294
417
  name: '',
@@ -301,7 +424,13 @@ export default [
301
424
  {
302
425
  type: 'function',
303
426
  name: 'maxProposalAmountBps',
304
- inputs: [],
427
+ inputs: [
428
+ {
429
+ name: 'c',
430
+ type: 'address',
431
+ internalType: 'address',
432
+ },
433
+ ],
305
434
  outputs: [
306
435
  {
307
436
  name: '',
@@ -314,7 +443,32 @@ export default [
314
443
  {
315
444
  type: 'function',
316
445
  name: 'minSTokenBpsToSubmit',
317
- inputs: [],
446
+ inputs: [
447
+ {
448
+ name: 'c',
449
+ type: 'address',
450
+ internalType: 'address',
451
+ },
452
+ ],
453
+ outputs: [
454
+ {
455
+ name: '',
456
+ type: 'uint16',
457
+ internalType: 'uint16',
458
+ },
459
+ ],
460
+ stateMutability: 'view',
461
+ },
462
+ {
463
+ type: 'function',
464
+ name: 'minimumQuorumBps',
465
+ inputs: [
466
+ {
467
+ name: 'c',
468
+ type: 'address',
469
+ internalType: 'address',
470
+ },
471
+ ],
318
472
  outputs: [
319
473
  {
320
474
  name: '',
@@ -358,7 +512,13 @@ export default [
358
512
  {
359
513
  type: 'function',
360
514
  name: 'proposalWindowSeconds',
361
- inputs: [],
515
+ inputs: [
516
+ {
517
+ name: 'c',
518
+ type: 'address',
519
+ internalType: 'address',
520
+ },
521
+ ],
362
522
  outputs: [
363
523
  {
364
524
  name: '',
@@ -397,7 +557,13 @@ export default [
397
557
  {
398
558
  type: 'function',
399
559
  name: 'quorumBps',
400
- inputs: [],
560
+ inputs: [
561
+ {
562
+ name: 'c',
563
+ type: 'address',
564
+ internalType: 'address',
565
+ },
566
+ ],
401
567
  outputs: [
402
568
  {
403
569
  name: '',
@@ -443,11 +609,29 @@ export default [
443
609
  type: 'address',
444
610
  internalType: 'address',
445
611
  },
612
+ {
613
+ name: 'verified',
614
+ type: 'bool',
615
+ internalType: 'bool',
616
+ },
446
617
  ],
447
618
  },
448
619
  ],
449
620
  stateMutability: 'nonpayable',
450
621
  },
622
+ {
623
+ type: 'function',
624
+ name: 'removeTrustedClankerFactory',
625
+ inputs: [
626
+ {
627
+ name: 'factory',
628
+ type: 'address',
629
+ internalType: 'address',
630
+ },
631
+ ],
632
+ outputs: [],
633
+ stateMutability: 'nonpayable',
634
+ },
451
635
  {
452
636
  type: 'function',
453
637
  name: 'renounceOwnership',
@@ -458,7 +642,13 @@ export default [
458
642
  {
459
643
  type: 'function',
460
644
  name: 'streamWindowSeconds',
461
- inputs: [],
645
+ inputs: [
646
+ {
647
+ name: 'c',
648
+ type: 'address',
649
+ internalType: 'address',
650
+ },
651
+ ],
462
652
  outputs: [
463
653
  {
464
654
  name: '',
@@ -494,6 +684,19 @@ export default [
494
684
  ],
495
685
  stateMutability: 'view',
496
686
  },
687
+ {
688
+ type: 'function',
689
+ name: 'unverifyProject',
690
+ inputs: [
691
+ {
692
+ name: 'clankerToken',
693
+ type: 'address',
694
+ internalType: 'address',
695
+ },
696
+ ],
697
+ outputs: [],
698
+ stateMutability: 'nonpayable',
699
+ },
497
700
  {
498
701
  type: 'function',
499
702
  name: 'updateConfig',
@@ -553,6 +756,11 @@ export default [
553
756
  type: 'uint16',
554
757
  internalType: 'uint16',
555
758
  },
759
+ {
760
+ name: 'minimumQuorumBps',
761
+ type: 'uint16',
762
+ internalType: 'uint16',
763
+ },
556
764
  ],
557
765
  },
558
766
  ],
@@ -561,31 +769,240 @@ export default [
561
769
  },
562
770
  {
563
771
  type: 'function',
564
- name: 'votingWindowSeconds',
565
- inputs: [],
566
- outputs: [
567
- {
568
- name: '',
569
- type: 'uint32',
570
- internalType: 'uint32',
571
- },
572
- ],
573
- stateMutability: 'view',
574
- },
575
- {
576
- type: 'event',
577
- name: 'ConfigUpdated',
578
- inputs: [],
579
- anonymous: false,
580
- },
581
- {
582
- type: 'event',
583
- name: 'OwnershipTransferred',
772
+ name: 'updateConfigBounds',
584
773
  inputs: [
585
774
  {
586
- name: 'previousOwner',
587
- type: 'address',
588
- indexed: true,
775
+ name: 'bounds',
776
+ type: 'tuple',
777
+ internalType: 'struct ILevrFactory_v1.ConfigBounds',
778
+ components: [
779
+ {
780
+ name: 'minStreamWindowSeconds',
781
+ type: 'uint32',
782
+ internalType: 'uint32',
783
+ },
784
+ {
785
+ name: 'minProposalWindowSeconds',
786
+ type: 'uint32',
787
+ internalType: 'uint32',
788
+ },
789
+ {
790
+ name: 'minVotingWindowSeconds',
791
+ type: 'uint32',
792
+ internalType: 'uint32',
793
+ },
794
+ {
795
+ name: 'minQuorumBps',
796
+ type: 'uint16',
797
+ internalType: 'uint16',
798
+ },
799
+ {
800
+ name: 'minApprovalBps',
801
+ type: 'uint16',
802
+ internalType: 'uint16',
803
+ },
804
+ {
805
+ name: 'minMinSTokenBpsToSubmit',
806
+ type: 'uint16',
807
+ internalType: 'uint16',
808
+ },
809
+ {
810
+ name: 'minMinimumQuorumBps',
811
+ type: 'uint16',
812
+ internalType: 'uint16',
813
+ },
814
+ ],
815
+ },
816
+ ],
817
+ outputs: [],
818
+ stateMutability: 'nonpayable',
819
+ },
820
+ {
821
+ type: 'function',
822
+ name: 'updateInitialWhitelist',
823
+ inputs: [
824
+ {
825
+ name: 'tokens',
826
+ type: 'address[]',
827
+ internalType: 'address[]',
828
+ },
829
+ ],
830
+ outputs: [],
831
+ stateMutability: 'nonpayable',
832
+ },
833
+ {
834
+ type: 'function',
835
+ name: 'updateProjectConfig',
836
+ inputs: [
837
+ {
838
+ name: 'clankerToken',
839
+ type: 'address',
840
+ internalType: 'address',
841
+ },
842
+ {
843
+ name: 'cfg',
844
+ type: 'tuple',
845
+ internalType: 'struct ILevrFactory_v1.ProjectConfig',
846
+ components: [
847
+ {
848
+ name: 'streamWindowSeconds',
849
+ type: 'uint32',
850
+ internalType: 'uint32',
851
+ },
852
+ {
853
+ name: 'proposalWindowSeconds',
854
+ type: 'uint32',
855
+ internalType: 'uint32',
856
+ },
857
+ {
858
+ name: 'votingWindowSeconds',
859
+ type: 'uint32',
860
+ internalType: 'uint32',
861
+ },
862
+ {
863
+ name: 'maxActiveProposals',
864
+ type: 'uint16',
865
+ internalType: 'uint16',
866
+ },
867
+ {
868
+ name: 'quorumBps',
869
+ type: 'uint16',
870
+ internalType: 'uint16',
871
+ },
872
+ {
873
+ name: 'approvalBps',
874
+ type: 'uint16',
875
+ internalType: 'uint16',
876
+ },
877
+ {
878
+ name: 'minSTokenBpsToSubmit',
879
+ type: 'uint16',
880
+ internalType: 'uint16',
881
+ },
882
+ {
883
+ name: 'maxProposalAmountBps',
884
+ type: 'uint16',
885
+ internalType: 'uint16',
886
+ },
887
+ {
888
+ name: 'minimumQuorumBps',
889
+ type: 'uint16',
890
+ internalType: 'uint16',
891
+ },
892
+ ],
893
+ },
894
+ ],
895
+ outputs: [],
896
+ stateMutability: 'nonpayable',
897
+ },
898
+ {
899
+ type: 'function',
900
+ name: 'verifyProject',
901
+ inputs: [
902
+ {
903
+ name: 'clankerToken',
904
+ type: 'address',
905
+ internalType: 'address',
906
+ },
907
+ ],
908
+ outputs: [],
909
+ stateMutability: 'nonpayable',
910
+ },
911
+ {
912
+ type: 'function',
913
+ name: 'votingWindowSeconds',
914
+ inputs: [
915
+ {
916
+ name: 'c',
917
+ type: 'address',
918
+ internalType: 'address',
919
+ },
920
+ ],
921
+ outputs: [
922
+ {
923
+ name: '',
924
+ type: 'uint32',
925
+ internalType: 'uint32',
926
+ },
927
+ ],
928
+ stateMutability: 'view',
929
+ },
930
+ {
931
+ type: 'event',
932
+ name: 'ConfigBoundsUpdated',
933
+ inputs: [
934
+ {
935
+ name: 'minStreamWindowSeconds',
936
+ type: 'uint32',
937
+ indexed: false,
938
+ internalType: 'uint32',
939
+ },
940
+ {
941
+ name: 'minProposalWindowSeconds',
942
+ type: 'uint32',
943
+ indexed: false,
944
+ internalType: 'uint32',
945
+ },
946
+ {
947
+ name: 'minVotingWindowSeconds',
948
+ type: 'uint32',
949
+ indexed: false,
950
+ internalType: 'uint32',
951
+ },
952
+ {
953
+ name: 'minQuorumBps',
954
+ type: 'uint16',
955
+ indexed: false,
956
+ internalType: 'uint16',
957
+ },
958
+ {
959
+ name: 'minApprovalBps',
960
+ type: 'uint16',
961
+ indexed: false,
962
+ internalType: 'uint16',
963
+ },
964
+ {
965
+ name: 'minMinSTokenBpsToSubmit',
966
+ type: 'uint16',
967
+ indexed: false,
968
+ internalType: 'uint16',
969
+ },
970
+ {
971
+ name: 'minMinimumQuorumBps',
972
+ type: 'uint16',
973
+ indexed: false,
974
+ internalType: 'uint16',
975
+ },
976
+ ],
977
+ anonymous: false,
978
+ },
979
+ {
980
+ type: 'event',
981
+ name: 'ConfigUpdated',
982
+ inputs: [],
983
+ anonymous: false,
984
+ },
985
+ {
986
+ type: 'event',
987
+ name: 'InitialWhitelistUpdated',
988
+ inputs: [
989
+ {
990
+ name: 'tokens',
991
+ type: 'address[]',
992
+ indexed: false,
993
+ internalType: 'address[]',
994
+ },
995
+ ],
996
+ anonymous: false,
997
+ },
998
+ {
999
+ type: 'event',
1000
+ name: 'OwnershipTransferred',
1001
+ inputs: [
1002
+ {
1003
+ name: 'previousOwner',
1004
+ type: 'address',
1005
+ indexed: true,
589
1006
  internalType: 'address',
590
1007
  },
591
1008
  {
@@ -622,6 +1039,45 @@ export default [
622
1039
  ],
623
1040
  anonymous: false,
624
1041
  },
1042
+ {
1043
+ type: 'event',
1044
+ name: 'ProjectConfigUpdated',
1045
+ inputs: [
1046
+ {
1047
+ name: 'clankerToken',
1048
+ type: 'address',
1049
+ indexed: true,
1050
+ internalType: 'address',
1051
+ },
1052
+ ],
1053
+ anonymous: false,
1054
+ },
1055
+ {
1056
+ type: 'event',
1057
+ name: 'ProjectUnverified',
1058
+ inputs: [
1059
+ {
1060
+ name: 'clankerToken',
1061
+ type: 'address',
1062
+ indexed: true,
1063
+ internalType: 'address',
1064
+ },
1065
+ ],
1066
+ anonymous: false,
1067
+ },
1068
+ {
1069
+ type: 'event',
1070
+ name: 'ProjectVerified',
1071
+ inputs: [
1072
+ {
1073
+ name: 'clankerToken',
1074
+ type: 'address',
1075
+ indexed: true,
1076
+ internalType: 'address',
1077
+ },
1078
+ ],
1079
+ anonymous: false,
1080
+ },
625
1081
  {
626
1082
  type: 'event',
627
1083
  name: 'Registered',
@@ -659,6 +1115,67 @@ export default [
659
1115
  ],
660
1116
  anonymous: false,
661
1117
  },
1118
+ {
1119
+ type: 'event',
1120
+ name: 'TrustedClankerFactoryAdded',
1121
+ inputs: [
1122
+ {
1123
+ name: 'factory',
1124
+ type: 'address',
1125
+ indexed: true,
1126
+ internalType: 'address',
1127
+ },
1128
+ ],
1129
+ anonymous: false,
1130
+ },
1131
+ {
1132
+ type: 'event',
1133
+ name: 'TrustedClankerFactoryRemoved',
1134
+ inputs: [
1135
+ {
1136
+ name: 'factory',
1137
+ type: 'address',
1138
+ indexed: true,
1139
+ internalType: 'address',
1140
+ },
1141
+ ],
1142
+ anonymous: false,
1143
+ },
1144
+ {
1145
+ type: 'error',
1146
+ name: 'AlreadyRegistered',
1147
+ inputs: [],
1148
+ },
1149
+ {
1150
+ type: 'error',
1151
+ name: 'AlreadyTrusted',
1152
+ inputs: [],
1153
+ },
1154
+ {
1155
+ type: 'error',
1156
+ name: 'AlreadyVerified',
1157
+ inputs: [],
1158
+ },
1159
+ {
1160
+ type: 'error',
1161
+ name: 'DeployFailed',
1162
+ inputs: [],
1163
+ },
1164
+ {
1165
+ type: 'error',
1166
+ name: 'InvalidConfig',
1167
+ inputs: [],
1168
+ },
1169
+ {
1170
+ type: 'error',
1171
+ name: 'NoTrustedFactories',
1172
+ inputs: [],
1173
+ },
1174
+ {
1175
+ type: 'error',
1176
+ name: 'NotTrusted',
1177
+ inputs: [],
1178
+ },
662
1179
  {
663
1180
  type: 'error',
664
1181
  name: 'OwnableInvalidOwner',
@@ -681,14 +1198,34 @@ export default [
681
1198
  },
682
1199
  ],
683
1200
  },
1201
+ {
1202
+ type: 'error',
1203
+ name: 'ProjectNotFound',
1204
+ inputs: [],
1205
+ },
1206
+ {
1207
+ type: 'error',
1208
+ name: 'ProjectNotVerified',
1209
+ inputs: [],
1210
+ },
684
1211
  {
685
1212
  type: 'error',
686
1213
  name: 'ReentrancyGuardReentrantCall',
687
1214
  inputs: [],
688
1215
  },
1216
+ {
1217
+ type: 'error',
1218
+ name: 'TokenNotTrusted',
1219
+ inputs: [],
1220
+ },
689
1221
  {
690
1222
  type: 'error',
691
1223
  name: 'UnauthorizedCaller',
692
1224
  inputs: [],
693
1225
  },
1226
+ {
1227
+ type: 'error',
1228
+ name: 'ZeroAddress',
1229
+ inputs: [],
1230
+ },
694
1231
  ];