@underscore-finance/sdk 1.2.18 → 1.2.19

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 (167) hide show
  1. package/AGENTS.md +161 -0
  2. package/README.md +17 -116
  3. package/abis.json +179426 -0
  4. package/addresses.json +75 -0
  5. package/dist/contracts/AaveV3.d.ts.map +1 -1
  6. package/dist/contracts/AaveV3.js +1898 -1919
  7. package/dist/contracts/AeroClassic.d.ts.map +1 -1
  8. package/dist/contracts/AeroClassic.js +1518 -1533
  9. package/dist/contracts/AeroSlipstream.d.ts.map +1 -1
  10. package/dist/contracts/AeroSlipstream.js +1620 -1641
  11. package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -1
  12. package/dist/contracts/AgentSenderGeneric.js +3059 -3074
  13. package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -1
  14. package/dist/contracts/AgentSenderSpecial.js +1474 -1489
  15. package/dist/contracts/AgentSenderSpecialSigHelper.d.ts.map +1 -1
  16. package/dist/contracts/AgentSenderSpecialSigHelper.js +1728 -1728
  17. package/dist/contracts/AgentWrapper.d.ts.map +1 -1
  18. package/dist/contracts/AgentWrapper.js +1899 -1902
  19. package/dist/contracts/AgentWrapperV1.d.ts.map +1 -1
  20. package/dist/contracts/AgentWrapperV1.js +2693 -2708
  21. package/dist/contracts/AgentWrapperV2.d.ts.map +1 -1
  22. package/dist/contracts/AgentWrapperV2.js +1806 -1809
  23. package/dist/contracts/Appraiser.d.ts.map +1 -1
  24. package/dist/contracts/Appraiser.js +404 -410
  25. package/dist/contracts/Avantis.d.ts.map +1 -1
  26. package/dist/contracts/Avantis.js +1905 -1929
  27. package/dist/contracts/Billing.d.ts.map +1 -1
  28. package/dist/contracts/Billing.js +235 -247
  29. package/dist/contracts/ChequeBook.d.ts.map +1 -1
  30. package/dist/contracts/ChequeBook.js +867 -876
  31. package/dist/contracts/CompoundV3.d.ts.map +1 -1
  32. package/dist/contracts/CompoundV3.js +1919 -1943
  33. package/dist/contracts/ConvertVaultToken.d.ts.map +1 -1
  34. package/dist/contracts/ConvertVaultToken.js +31 -31
  35. package/dist/contracts/Curve.d.ts.map +1 -1
  36. package/dist/contracts/Curve.js +787 -802
  37. package/dist/contracts/DefaultsBase.d.ts.map +1 -1
  38. package/dist/contracts/DefaultsBase.js +178 -178
  39. package/dist/contracts/ERC20.d.ts.map +1 -1
  40. package/dist/contracts/ERC20.js +186 -192
  41. package/dist/contracts/EarnVault.d.ts.map +1 -1
  42. package/dist/contracts/EarnVault.js +1262 -1292
  43. package/dist/contracts/EarnVaultAgent.d.ts.map +1 -1
  44. package/dist/contracts/EarnVaultAgent.js +745 -760
  45. package/dist/contracts/EarnVaultAgentSigHelper.d.ts.map +1 -1
  46. package/dist/contracts/EarnVaultAgentSigHelper.js +665 -665
  47. package/dist/contracts/Euler.d.ts.map +1 -1
  48. package/dist/contracts/Euler.js +1948 -1975
  49. package/dist/contracts/ExtraFi.d.ts.map +1 -1
  50. package/dist/contracts/ExtraFi.js +1929 -1953
  51. package/dist/contracts/Fluid.d.ts.map +1 -1
  52. package/dist/contracts/Fluid.js +1927 -1951
  53. package/dist/contracts/FortyAcres.d.ts.map +1 -1
  54. package/dist/contracts/FortyAcres.js +1916 -1940
  55. package/dist/contracts/Hatchery.d.ts.map +1 -1
  56. package/dist/contracts/Hatchery.js +255 -264
  57. package/dist/contracts/Helpers.d.ts.map +1 -1
  58. package/dist/contracts/Helpers.js +1069 -1123
  59. package/dist/contracts/HighCommand.d.ts.map +1 -1
  60. package/dist/contracts/HighCommand.js +1395 -1407
  61. package/dist/contracts/Kernel.d.ts.map +1 -1
  62. package/dist/contracts/Kernel.js +224 -236
  63. package/dist/contracts/Ledger.d.ts +9 -12
  64. package/dist/contracts/Ledger.d.ts.map +1 -1
  65. package/dist/contracts/Ledger.js +480 -486
  66. package/dist/contracts/LegoBook.d.ts.map +1 -1
  67. package/dist/contracts/LegoBook.js +1069 -1123
  68. package/dist/contracts/LegoTools.d.ts +16 -22
  69. package/dist/contracts/LegoTools.d.ts.map +1 -1
  70. package/dist/contracts/LegoTools.js +1420 -1426
  71. package/dist/contracts/LevgVault.d.ts.map +1 -1
  72. package/dist/contracts/LevgVault.js +1544 -1580
  73. package/dist/contracts/LevgVaultAgent.d.ts.map +1 -1
  74. package/dist/contracts/LevgVaultAgent.js +1514 -1529
  75. package/dist/contracts/LevgVaultAgentSigHelper.d.ts.map +1 -1
  76. package/dist/contracts/LevgVaultAgentSigHelper.js +1769 -1769
  77. package/dist/contracts/LevgVaultHelper.d.ts.map +1 -1
  78. package/dist/contracts/LevgVaultHelper.js +732 -732
  79. package/dist/contracts/LevgVaultTools.d.ts.map +1 -1
  80. package/dist/contracts/LevgVaultTools.js +2118 -2118
  81. package/dist/contracts/LootDistributor.d.ts.map +1 -1
  82. package/dist/contracts/LootDistributor.js +753 -789
  83. package/dist/contracts/Migrator.d.ts.map +1 -1
  84. package/dist/contracts/Migrator.js +168 -174
  85. package/dist/contracts/MissionControl.d.ts.map +1 -1
  86. package/dist/contracts/MissionControl.js +956 -962
  87. package/dist/contracts/Moonwell.d.ts.map +1 -1
  88. package/dist/contracts/Moonwell.js +1918 -1942
  89. package/dist/contracts/Morpho.d.ts.map +1 -1
  90. package/dist/contracts/Morpho.js +1948 -1975
  91. package/dist/contracts/Paymaster.d.ts.map +1 -1
  92. package/dist/contracts/Paymaster.js +1203 -1224
  93. package/dist/contracts/RipeLego.d.ts.map +1 -1
  94. package/dist/contracts/RipeLego.js +2134 -2176
  95. package/dist/contracts/Sentinel.d.ts +32 -41
  96. package/dist/contracts/Sentinel.d.ts.map +1 -1
  97. package/dist/contracts/Sentinel.js +1398 -1398
  98. package/dist/contracts/SignatureHelper.d.ts.map +1 -1
  99. package/dist/contracts/SignatureHelper.js +3202 -3202
  100. package/dist/contracts/SignatureHelperV1.d.ts.map +1 -1
  101. package/dist/contracts/SignatureHelperV1.js +3202 -3202
  102. package/dist/contracts/SkyPsm.d.ts.map +1 -1
  103. package/dist/contracts/SkyPsm.js +1953 -1980
  104. package/dist/contracts/Switchboard.d.ts.map +1 -1
  105. package/dist/contracts/Switchboard.js +1085 -1139
  106. package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
  107. package/dist/contracts/SwitchboardAlpha.js +2333 -2474
  108. package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
  109. package/dist/contracts/SwitchboardBravo.js +1138 -1216
  110. package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
  111. package/dist/contracts/SwitchboardCharlie.js +2295 -2475
  112. package/dist/contracts/UnderscoreLego.d.ts.map +1 -1
  113. package/dist/contracts/UnderscoreLego.js +1894 -1918
  114. package/dist/contracts/UndyAero.d.ts.map +1 -1
  115. package/dist/contracts/UndyAero.js +1342 -1372
  116. package/dist/contracts/UndyBtc.d.ts.map +1 -1
  117. package/dist/contracts/UndyBtc.js +1342 -1372
  118. package/dist/contracts/UndyCbeth.d.ts.map +1 -1
  119. package/dist/contracts/UndyCbeth.js +1342 -1372
  120. package/dist/contracts/UndyEth.d.ts.map +1 -1
  121. package/dist/contracts/UndyEth.js +1342 -1372
  122. package/dist/contracts/UndyEurc.d.ts.map +1 -1
  123. package/dist/contracts/UndyEurc.js +1342 -1372
  124. package/dist/contracts/UndyGho.d.ts.map +1 -1
  125. package/dist/contracts/UndyGho.js +1342 -1372
  126. package/dist/contracts/UndyHq.d.ts.map +1 -1
  127. package/dist/contracts/UndyHq.js +1234 -1300
  128. package/dist/contracts/UndyRewardsLego.d.ts.map +1 -1
  129. package/dist/contracts/UndyRewardsLego.js +1120 -1120
  130. package/dist/contracts/UndyUsd.d.ts.map +1 -1
  131. package/dist/contracts/UndyUsd.js +1342 -1372
  132. package/dist/contracts/UndyUsds.d.ts.map +1 -1
  133. package/dist/contracts/UndyUsds.js +1342 -1372
  134. package/dist/contracts/UndyVirtual.d.ts.map +1 -1
  135. package/dist/contracts/UndyVirtual.js +1363 -1396
  136. package/dist/contracts/UniswapV2.d.ts.map +1 -1
  137. package/dist/contracts/UniswapV2.js +1518 -1533
  138. package/dist/contracts/UniswapV3.d.ts.map +1 -1
  139. package/dist/contracts/UniswapV3.js +1620 -1641
  140. package/dist/contracts/UserWallet.d.ts.map +1 -1
  141. package/dist/contracts/UserWallet.js +1999 -2005
  142. package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
  143. package/dist/contracts/UserWalletConfig.js +2572 -2593
  144. package/dist/contracts/UserWalletConfigV1.d.ts.map +1 -1
  145. package/dist/contracts/UserWalletConfigV1.js +2327 -2348
  146. package/dist/contracts/UserWalletSignatureHelper.d.ts.map +1 -1
  147. package/dist/contracts/UserWalletSignatureHelper.js +3436 -3436
  148. package/dist/contracts/UserWalletV1.d.ts.map +1 -1
  149. package/dist/contracts/UserWalletV1.js +1914 -1920
  150. package/dist/contracts/VaultRegistry.d.ts +11 -14
  151. package/dist/contracts/VaultRegistry.d.ts.map +1 -1
  152. package/dist/contracts/VaultRegistry.js +2343 -2439
  153. package/dist/contracts/WalletBackpack.d.ts.map +1 -1
  154. package/dist/contracts/WalletBackpack.js +926 -965
  155. package/dist/contracts/Wasabi.d.ts.map +1 -1
  156. package/dist/contracts/Wasabi.js +1916 -1940
  157. package/dist/contracts/sdk.d.ts.map +1 -1
  158. package/dist/index.d.ts.map +1 -1
  159. package/dist/index.js +9 -5
  160. package/package.json +44 -24
  161. package/LICENSE +0 -41
  162. package/dist/contracts/Agent.d.ts +0 -3773
  163. package/dist/contracts/Agent.d.ts.map +0 -1
  164. package/dist/contracts/Agent.js +0 -4942
  165. package/dist/getContracts.d.ts +0 -77
  166. package/dist/getContracts.d.ts.map +0 -1
  167. package/dist/getContracts.js +0 -64
@@ -3,1484 +3,1484 @@
3
3
  /* eslint-disable */
4
4
  /* @ts-nocheck */
5
5
  import { singleQuery, mutate } from '@dappql/async';
6
- import { encodeEventTopics, parseEventLogs, } from 'viem';
6
+ import { encodeEventTopics, parseEventLogs } from 'viem';
7
7
  export const abi = [
8
8
  {
9
- name: 'ChequeCreated',
10
- inputs: [
9
+ "name": "ChequeCreated",
10
+ "inputs": [
11
11
  {
12
- name: 'user',
13
- type: 'address',
14
- indexed: true,
12
+ "name": "user",
13
+ "type": "address",
14
+ "indexed": true
15
15
  },
16
16
  {
17
- name: 'recipient',
18
- type: 'address',
19
- indexed: true,
17
+ "name": "recipient",
18
+ "type": "address",
19
+ "indexed": true
20
20
  },
21
21
  {
22
- name: 'asset',
23
- type: 'address',
24
- indexed: false,
22
+ "name": "asset",
23
+ "type": "address",
24
+ "indexed": false
25
25
  },
26
26
  {
27
- name: 'amount',
28
- type: 'uint256',
29
- indexed: false,
27
+ "name": "amount",
28
+ "type": "uint256",
29
+ "indexed": false
30
30
  },
31
31
  {
32
- name: 'usdValue',
33
- type: 'uint256',
34
- indexed: false,
32
+ "name": "usdValue",
33
+ "type": "uint256",
34
+ "indexed": false
35
35
  },
36
36
  {
37
- name: 'unlockBlock',
38
- type: 'uint256',
39
- indexed: false,
37
+ "name": "unlockBlock",
38
+ "type": "uint256",
39
+ "indexed": false
40
40
  },
41
41
  {
42
- name: 'expiryBlock',
43
- type: 'uint256',
44
- indexed: false,
42
+ "name": "expiryBlock",
43
+ "type": "uint256",
44
+ "indexed": false
45
45
  },
46
46
  {
47
- name: 'canManagerPay',
48
- type: 'bool',
49
- indexed: false,
47
+ "name": "canManagerPay",
48
+ "type": "bool",
49
+ "indexed": false
50
50
  },
51
51
  {
52
- name: 'canBePulled',
53
- type: 'bool',
54
- indexed: false,
52
+ "name": "canBePulled",
53
+ "type": "bool",
54
+ "indexed": false
55
55
  },
56
56
  {
57
- name: 'creator',
58
- type: 'address',
59
- indexed: true,
60
- },
57
+ "name": "creator",
58
+ "type": "address",
59
+ "indexed": true
60
+ }
61
61
  ],
62
- anonymous: false,
63
- type: 'event',
62
+ "anonymous": false,
63
+ "type": "event"
64
64
  },
65
65
  {
66
- name: 'ChequeCancelled',
67
- inputs: [
66
+ "name": "ChequeCancelled",
67
+ "inputs": [
68
68
  {
69
- name: 'user',
70
- type: 'address',
71
- indexed: true,
69
+ "name": "user",
70
+ "type": "address",
71
+ "indexed": true
72
72
  },
73
73
  {
74
- name: 'recipient',
75
- type: 'address',
76
- indexed: true,
74
+ "name": "recipient",
75
+ "type": "address",
76
+ "indexed": true
77
77
  },
78
78
  {
79
- name: 'asset',
80
- type: 'address',
81
- indexed: false,
79
+ "name": "asset",
80
+ "type": "address",
81
+ "indexed": false
82
82
  },
83
83
  {
84
- name: 'amount',
85
- type: 'uint256',
86
- indexed: false,
84
+ "name": "amount",
85
+ "type": "uint256",
86
+ "indexed": false
87
87
  },
88
88
  {
89
- name: 'usdValue',
90
- type: 'uint256',
91
- indexed: false,
89
+ "name": "usdValue",
90
+ "type": "uint256",
91
+ "indexed": false
92
92
  },
93
93
  {
94
- name: 'unlockBlock',
95
- type: 'uint256',
96
- indexed: false,
94
+ "name": "unlockBlock",
95
+ "type": "uint256",
96
+ "indexed": false
97
97
  },
98
98
  {
99
- name: 'expiryBlock',
100
- type: 'uint256',
101
- indexed: false,
99
+ "name": "expiryBlock",
100
+ "type": "uint256",
101
+ "indexed": false
102
102
  },
103
103
  {
104
- name: 'canManagerPay',
105
- type: 'bool',
106
- indexed: false,
104
+ "name": "canManagerPay",
105
+ "type": "bool",
106
+ "indexed": false
107
107
  },
108
108
  {
109
- name: 'canBePulled',
110
- type: 'bool',
111
- indexed: false,
109
+ "name": "canBePulled",
110
+ "type": "bool",
111
+ "indexed": false
112
112
  },
113
113
  {
114
- name: 'cancelledBy',
115
- type: 'address',
116
- indexed: true,
117
- },
114
+ "name": "cancelledBy",
115
+ "type": "address",
116
+ "indexed": true
117
+ }
118
118
  ],
119
- anonymous: false,
120
- type: 'event',
119
+ "anonymous": false,
120
+ "type": "event"
121
121
  },
122
122
  {
123
- name: 'ChequeSettingsModified',
124
- inputs: [
123
+ "name": "ChequeSettingsModified",
124
+ "inputs": [
125
125
  {
126
- name: 'user',
127
- type: 'address',
128
- indexed: true,
126
+ "name": "user",
127
+ "type": "address",
128
+ "indexed": true
129
129
  },
130
130
  {
131
- name: 'maxNumActiveCheques',
132
- type: 'uint256',
133
- indexed: false,
131
+ "name": "maxNumActiveCheques",
132
+ "type": "uint256",
133
+ "indexed": false
134
134
  },
135
135
  {
136
- name: 'maxChequeUsdValue',
137
- type: 'uint256',
138
- indexed: false,
136
+ "name": "maxChequeUsdValue",
137
+ "type": "uint256",
138
+ "indexed": false
139
139
  },
140
140
  {
141
- name: 'instantUsdThreshold',
142
- type: 'uint256',
143
- indexed: false,
141
+ "name": "instantUsdThreshold",
142
+ "type": "uint256",
143
+ "indexed": false
144
144
  },
145
145
  {
146
- name: 'perPeriodPaidUsdCap',
147
- type: 'uint256',
148
- indexed: false,
146
+ "name": "perPeriodPaidUsdCap",
147
+ "type": "uint256",
148
+ "indexed": false
149
149
  },
150
150
  {
151
- name: 'maxNumChequesPaidPerPeriod',
152
- type: 'uint256',
153
- indexed: false,
151
+ "name": "maxNumChequesPaidPerPeriod",
152
+ "type": "uint256",
153
+ "indexed": false
154
154
  },
155
155
  {
156
- name: 'payCooldownBlocks',
157
- type: 'uint256',
158
- indexed: false,
156
+ "name": "payCooldownBlocks",
157
+ "type": "uint256",
158
+ "indexed": false
159
159
  },
160
160
  {
161
- name: 'perPeriodCreatedUsdCap',
162
- type: 'uint256',
163
- indexed: false,
161
+ "name": "perPeriodCreatedUsdCap",
162
+ "type": "uint256",
163
+ "indexed": false
164
164
  },
165
165
  {
166
- name: 'maxNumChequesCreatedPerPeriod',
167
- type: 'uint256',
168
- indexed: false,
166
+ "name": "maxNumChequesCreatedPerPeriod",
167
+ "type": "uint256",
168
+ "indexed": false
169
169
  },
170
170
  {
171
- name: 'createCooldownBlocks',
172
- type: 'uint256',
173
- indexed: false,
171
+ "name": "createCooldownBlocks",
172
+ "type": "uint256",
173
+ "indexed": false
174
174
  },
175
175
  {
176
- name: 'periodLength',
177
- type: 'uint256',
178
- indexed: false,
176
+ "name": "periodLength",
177
+ "type": "uint256",
178
+ "indexed": false
179
179
  },
180
180
  {
181
- name: 'expensiveDelayBlocks',
182
- type: 'uint256',
183
- indexed: false,
181
+ "name": "expensiveDelayBlocks",
182
+ "type": "uint256",
183
+ "indexed": false
184
184
  },
185
185
  {
186
- name: 'defaultExpiryBlocks',
187
- type: 'uint256',
188
- indexed: false,
186
+ "name": "defaultExpiryBlocks",
187
+ "type": "uint256",
188
+ "indexed": false
189
189
  },
190
190
  {
191
- name: 'canManagersCreateCheques',
192
- type: 'bool',
193
- indexed: false,
191
+ "name": "canManagersCreateCheques",
192
+ "type": "bool",
193
+ "indexed": false
194
194
  },
195
195
  {
196
- name: 'canManagerPay',
197
- type: 'bool',
198
- indexed: false,
196
+ "name": "canManagerPay",
197
+ "type": "bool",
198
+ "indexed": false
199
199
  },
200
200
  {
201
- name: 'canBePulled',
202
- type: 'bool',
203
- indexed: false,
204
- },
201
+ "name": "canBePulled",
202
+ "type": "bool",
203
+ "indexed": false
204
+ }
205
205
  ],
206
- anonymous: false,
207
- type: 'event',
206
+ "anonymous": false,
207
+ "type": "event"
208
208
  },
209
209
  {
210
- stateMutability: 'nonpayable',
211
- type: 'function',
212
- name: 'createCheque',
213
- inputs: [
210
+ "stateMutability": "nonpayable",
211
+ "type": "function",
212
+ "name": "createCheque",
213
+ "inputs": [
214
214
  {
215
- name: '_userWallet',
216
- type: 'address',
215
+ "name": "_userWallet",
216
+ "type": "address"
217
217
  },
218
218
  {
219
- name: '_recipient',
220
- type: 'address',
219
+ "name": "_recipient",
220
+ "type": "address"
221
221
  },
222
222
  {
223
- name: '_asset',
224
- type: 'address',
223
+ "name": "_asset",
224
+ "type": "address"
225
225
  },
226
226
  {
227
- name: '_amount',
228
- type: 'uint256',
227
+ "name": "_amount",
228
+ "type": "uint256"
229
229
  },
230
230
  {
231
- name: '_unlockNumBlocks',
232
- type: 'uint256',
231
+ "name": "_unlockNumBlocks",
232
+ "type": "uint256"
233
233
  },
234
234
  {
235
- name: '_expiryNumBlocks',
236
- type: 'uint256',
235
+ "name": "_expiryNumBlocks",
236
+ "type": "uint256"
237
237
  },
238
238
  {
239
- name: '_canManagerPay',
240
- type: 'bool',
239
+ "name": "_canManagerPay",
240
+ "type": "bool"
241
241
  },
242
242
  {
243
- name: '_canBePulled',
244
- type: 'bool',
245
- },
243
+ "name": "_canBePulled",
244
+ "type": "bool"
245
+ }
246
246
  ],
247
- outputs: [
247
+ "outputs": [
248
248
  {
249
- name: '',
250
- type: 'bool',
251
- },
252
- ],
249
+ "name": "",
250
+ "type": "bool"
251
+ }
252
+ ]
253
253
  },
254
254
  {
255
- stateMutability: 'view',
256
- type: 'function',
257
- name: 'canCreateCheque',
258
- inputs: [
255
+ "stateMutability": "view",
256
+ "type": "function",
257
+ "name": "canCreateCheque",
258
+ "inputs": [
259
259
  {
260
- name: '_isCreatorOwner',
261
- type: 'bool',
260
+ "name": "_isCreatorOwner",
261
+ "type": "bool"
262
262
  },
263
263
  {
264
- name: '_isCreatorManager',
265
- type: 'bool',
264
+ "name": "_isCreatorManager",
265
+ "type": "bool"
266
266
  },
267
267
  {
268
- name: '_canManagersCreateCheques',
269
- type: 'bool',
268
+ "name": "_canManagersCreateCheques",
269
+ "type": "bool"
270
270
  },
271
271
  {
272
- name: '_asset',
273
- type: 'address',
272
+ "name": "_asset",
273
+ "type": "address"
274
274
  },
275
275
  {
276
- name: '_globalManagerSettings',
277
- type: 'tuple',
278
- components: [
276
+ "name": "_globalManagerSettings",
277
+ "type": "tuple",
278
+ "components": [
279
279
  {
280
- name: 'managerPeriod',
281
- type: 'uint256',
280
+ "name": "managerPeriod",
281
+ "type": "uint256"
282
282
  },
283
283
  {
284
- name: 'startDelay',
285
- type: 'uint256',
284
+ "name": "startDelay",
285
+ "type": "uint256"
286
286
  },
287
287
  {
288
- name: 'activationLength',
289
- type: 'uint256',
288
+ "name": "activationLength",
289
+ "type": "uint256"
290
290
  },
291
291
  {
292
- name: 'canOwnerManage',
293
- type: 'bool',
292
+ "name": "canOwnerManage",
293
+ "type": "bool"
294
294
  },
295
295
  {
296
- name: 'limits',
297
- type: 'tuple',
298
- components: [
296
+ "name": "limits",
297
+ "type": "tuple",
298
+ "components": [
299
299
  {
300
- name: 'maxUsdValuePerTx',
301
- type: 'uint256',
300
+ "name": "maxUsdValuePerTx",
301
+ "type": "uint256"
302
302
  },
303
303
  {
304
- name: 'maxUsdValuePerPeriod',
305
- type: 'uint256',
304
+ "name": "maxUsdValuePerPeriod",
305
+ "type": "uint256"
306
306
  },
307
307
  {
308
- name: 'maxUsdValueLifetime',
309
- type: 'uint256',
308
+ "name": "maxUsdValueLifetime",
309
+ "type": "uint256"
310
310
  },
311
311
  {
312
- name: 'maxNumTxsPerPeriod',
313
- type: 'uint256',
312
+ "name": "maxNumTxsPerPeriod",
313
+ "type": "uint256"
314
314
  },
315
315
  {
316
- name: 'txCooldownBlocks',
317
- type: 'uint256',
316
+ "name": "txCooldownBlocks",
317
+ "type": "uint256"
318
318
  },
319
319
  {
320
- name: 'failOnZeroPrice',
321
- type: 'bool',
322
- },
323
- ],
320
+ "name": "failOnZeroPrice",
321
+ "type": "bool"
322
+ }
323
+ ]
324
324
  },
325
325
  {
326
- name: 'legoPerms',
327
- type: 'tuple',
328
- components: [
326
+ "name": "legoPerms",
327
+ "type": "tuple",
328
+ "components": [
329
329
  {
330
- name: 'canManageYield',
331
- type: 'bool',
330
+ "name": "canManageYield",
331
+ "type": "bool"
332
332
  },
333
333
  {
334
- name: 'canBuyAndSell',
335
- type: 'bool',
334
+ "name": "canBuyAndSell",
335
+ "type": "bool"
336
336
  },
337
337
  {
338
- name: 'canManageDebt',
339
- type: 'bool',
338
+ "name": "canManageDebt",
339
+ "type": "bool"
340
340
  },
341
341
  {
342
- name: 'canManageLiq',
343
- type: 'bool',
342
+ "name": "canManageLiq",
343
+ "type": "bool"
344
344
  },
345
345
  {
346
- name: 'canClaimRewards',
347
- type: 'bool',
346
+ "name": "canClaimRewards",
347
+ "type": "bool"
348
348
  },
349
349
  {
350
- name: 'onlyApprovedYieldOpps',
351
- type: 'bool',
350
+ "name": "onlyApprovedYieldOpps",
351
+ "type": "bool"
352
352
  },
353
353
  {
354
- name: 'allowedLegos',
355
- type: 'uint256[]',
356
- },
357
- ],
354
+ "name": "allowedLegos",
355
+ "type": "uint256[]"
356
+ }
357
+ ]
358
358
  },
359
359
  {
360
- name: 'swapPerms',
361
- type: 'tuple',
362
- components: [
360
+ "name": "swapPerms",
361
+ "type": "tuple",
362
+ "components": [
363
363
  {
364
- name: 'mustHaveUsdValue',
365
- type: 'bool',
364
+ "name": "mustHaveUsdValue",
365
+ "type": "bool"
366
366
  },
367
367
  {
368
- name: 'maxNumSwapsPerPeriod',
369
- type: 'uint256',
368
+ "name": "maxNumSwapsPerPeriod",
369
+ "type": "uint256"
370
370
  },
371
371
  {
372
- name: 'maxSlippage',
373
- type: 'uint256',
374
- },
375
- ],
372
+ "name": "maxSlippage",
373
+ "type": "uint256"
374
+ }
375
+ ]
376
376
  },
377
377
  {
378
- name: 'whitelistPerms',
379
- type: 'tuple',
380
- components: [
378
+ "name": "whitelistPerms",
379
+ "type": "tuple",
380
+ "components": [
381
381
  {
382
- name: 'canAddPending',
383
- type: 'bool',
382
+ "name": "canAddPending",
383
+ "type": "bool"
384
384
  },
385
385
  {
386
- name: 'canConfirm',
387
- type: 'bool',
386
+ "name": "canConfirm",
387
+ "type": "bool"
388
388
  },
389
389
  {
390
- name: 'canCancel',
391
- type: 'bool',
390
+ "name": "canCancel",
391
+ "type": "bool"
392
392
  },
393
393
  {
394
- name: 'canRemove',
395
- type: 'bool',
396
- },
397
- ],
394
+ "name": "canRemove",
395
+ "type": "bool"
396
+ }
397
+ ]
398
398
  },
399
399
  {
400
- name: 'transferPerms',
401
- type: 'tuple',
402
- components: [
400
+ "name": "transferPerms",
401
+ "type": "tuple",
402
+ "components": [
403
403
  {
404
- name: 'canTransfer',
405
- type: 'bool',
404
+ "name": "canTransfer",
405
+ "type": "bool"
406
406
  },
407
407
  {
408
- name: 'canCreateCheque',
409
- type: 'bool',
408
+ "name": "canCreateCheque",
409
+ "type": "bool"
410
410
  },
411
411
  {
412
- name: 'canAddPendingPayee',
413
- type: 'bool',
412
+ "name": "canAddPendingPayee",
413
+ "type": "bool"
414
414
  },
415
415
  {
416
- name: 'allowedPayees',
417
- type: 'address[]',
418
- },
419
- ],
416
+ "name": "allowedPayees",
417
+ "type": "address[]"
418
+ }
419
+ ]
420
420
  },
421
421
  {
422
- name: 'allowedAssets',
423
- type: 'address[]',
424
- },
425
- ],
422
+ "name": "allowedAssets",
423
+ "type": "address[]"
424
+ }
425
+ ]
426
426
  },
427
427
  {
428
- name: '_managerSettings',
429
- type: 'tuple',
430
- components: [
428
+ "name": "_managerSettings",
429
+ "type": "tuple",
430
+ "components": [
431
431
  {
432
- name: 'startBlock',
433
- type: 'uint256',
432
+ "name": "startBlock",
433
+ "type": "uint256"
434
434
  },
435
435
  {
436
- name: 'expiryBlock',
437
- type: 'uint256',
436
+ "name": "expiryBlock",
437
+ "type": "uint256"
438
438
  },
439
439
  {
440
- name: 'limits',
441
- type: 'tuple',
442
- components: [
440
+ "name": "limits",
441
+ "type": "tuple",
442
+ "components": [
443
443
  {
444
- name: 'maxUsdValuePerTx',
445
- type: 'uint256',
444
+ "name": "maxUsdValuePerTx",
445
+ "type": "uint256"
446
446
  },
447
447
  {
448
- name: 'maxUsdValuePerPeriod',
449
- type: 'uint256',
448
+ "name": "maxUsdValuePerPeriod",
449
+ "type": "uint256"
450
450
  },
451
451
  {
452
- name: 'maxUsdValueLifetime',
453
- type: 'uint256',
452
+ "name": "maxUsdValueLifetime",
453
+ "type": "uint256"
454
454
  },
455
455
  {
456
- name: 'maxNumTxsPerPeriod',
457
- type: 'uint256',
456
+ "name": "maxNumTxsPerPeriod",
457
+ "type": "uint256"
458
458
  },
459
459
  {
460
- name: 'txCooldownBlocks',
461
- type: 'uint256',
460
+ "name": "txCooldownBlocks",
461
+ "type": "uint256"
462
462
  },
463
463
  {
464
- name: 'failOnZeroPrice',
465
- type: 'bool',
466
- },
467
- ],
464
+ "name": "failOnZeroPrice",
465
+ "type": "bool"
466
+ }
467
+ ]
468
468
  },
469
469
  {
470
- name: 'legoPerms',
471
- type: 'tuple',
472
- components: [
470
+ "name": "legoPerms",
471
+ "type": "tuple",
472
+ "components": [
473
473
  {
474
- name: 'canManageYield',
475
- type: 'bool',
474
+ "name": "canManageYield",
475
+ "type": "bool"
476
476
  },
477
477
  {
478
- name: 'canBuyAndSell',
479
- type: 'bool',
478
+ "name": "canBuyAndSell",
479
+ "type": "bool"
480
480
  },
481
481
  {
482
- name: 'canManageDebt',
483
- type: 'bool',
482
+ "name": "canManageDebt",
483
+ "type": "bool"
484
484
  },
485
485
  {
486
- name: 'canManageLiq',
487
- type: 'bool',
486
+ "name": "canManageLiq",
487
+ "type": "bool"
488
488
  },
489
489
  {
490
- name: 'canClaimRewards',
491
- type: 'bool',
490
+ "name": "canClaimRewards",
491
+ "type": "bool"
492
492
  },
493
493
  {
494
- name: 'onlyApprovedYieldOpps',
495
- type: 'bool',
494
+ "name": "onlyApprovedYieldOpps",
495
+ "type": "bool"
496
496
  },
497
497
  {
498
- name: 'allowedLegos',
499
- type: 'uint256[]',
500
- },
501
- ],
498
+ "name": "allowedLegos",
499
+ "type": "uint256[]"
500
+ }
501
+ ]
502
502
  },
503
503
  {
504
- name: 'swapPerms',
505
- type: 'tuple',
506
- components: [
504
+ "name": "swapPerms",
505
+ "type": "tuple",
506
+ "components": [
507
507
  {
508
- name: 'mustHaveUsdValue',
509
- type: 'bool',
508
+ "name": "mustHaveUsdValue",
509
+ "type": "bool"
510
510
  },
511
511
  {
512
- name: 'maxNumSwapsPerPeriod',
513
- type: 'uint256',
512
+ "name": "maxNumSwapsPerPeriod",
513
+ "type": "uint256"
514
514
  },
515
515
  {
516
- name: 'maxSlippage',
517
- type: 'uint256',
518
- },
519
- ],
516
+ "name": "maxSlippage",
517
+ "type": "uint256"
518
+ }
519
+ ]
520
520
  },
521
521
  {
522
- name: 'whitelistPerms',
523
- type: 'tuple',
524
- components: [
522
+ "name": "whitelistPerms",
523
+ "type": "tuple",
524
+ "components": [
525
525
  {
526
- name: 'canAddPending',
527
- type: 'bool',
526
+ "name": "canAddPending",
527
+ "type": "bool"
528
528
  },
529
529
  {
530
- name: 'canConfirm',
531
- type: 'bool',
530
+ "name": "canConfirm",
531
+ "type": "bool"
532
532
  },
533
533
  {
534
- name: 'canCancel',
535
- type: 'bool',
534
+ "name": "canCancel",
535
+ "type": "bool"
536
536
  },
537
537
  {
538
- name: 'canRemove',
539
- type: 'bool',
540
- },
541
- ],
538
+ "name": "canRemove",
539
+ "type": "bool"
540
+ }
541
+ ]
542
542
  },
543
543
  {
544
- name: 'transferPerms',
545
- type: 'tuple',
546
- components: [
544
+ "name": "transferPerms",
545
+ "type": "tuple",
546
+ "components": [
547
547
  {
548
- name: 'canTransfer',
549
- type: 'bool',
548
+ "name": "canTransfer",
549
+ "type": "bool"
550
550
  },
551
551
  {
552
- name: 'canCreateCheque',
553
- type: 'bool',
552
+ "name": "canCreateCheque",
553
+ "type": "bool"
554
554
  },
555
555
  {
556
- name: 'canAddPendingPayee',
557
- type: 'bool',
556
+ "name": "canAddPendingPayee",
557
+ "type": "bool"
558
558
  },
559
559
  {
560
- name: 'allowedPayees',
561
- type: 'address[]',
562
- },
563
- ],
560
+ "name": "allowedPayees",
561
+ "type": "address[]"
562
+ }
563
+ ]
564
564
  },
565
565
  {
566
- name: 'allowedAssets',
567
- type: 'address[]',
566
+ "name": "allowedAssets",
567
+ "type": "address[]"
568
568
  },
569
569
  {
570
- name: 'canClaimLoot',
571
- type: 'bool',
572
- },
573
- ],
574
- },
570
+ "name": "canClaimLoot",
571
+ "type": "bool"
572
+ }
573
+ ]
574
+ }
575
575
  ],
576
- outputs: [
576
+ "outputs": [
577
577
  {
578
- name: '',
579
- type: 'bool',
580
- },
581
- ],
578
+ "name": "",
579
+ "type": "bool"
580
+ }
581
+ ]
582
582
  },
583
583
  {
584
- stateMutability: 'view',
585
- type: 'function',
586
- name: 'isValidNewCheque',
587
- inputs: [
584
+ "stateMutability": "view",
585
+ "type": "function",
586
+ "name": "isValidNewCheque",
587
+ "inputs": [
588
588
  {
589
- name: '_wallet',
590
- type: 'address',
589
+ "name": "_wallet",
590
+ "type": "address"
591
591
  },
592
592
  {
593
- name: '_walletConfig',
594
- type: 'address',
593
+ "name": "_walletConfig",
594
+ "type": "address"
595
595
  },
596
596
  {
597
- name: '_owner',
598
- type: 'address',
597
+ "name": "_owner",
598
+ "type": "address"
599
599
  },
600
600
  {
601
- name: '_isRecipientOnWhitelist',
602
- type: 'bool',
601
+ "name": "_isRecipientOnWhitelist",
602
+ "type": "bool"
603
603
  },
604
604
  {
605
- name: '_chequeSettings',
606
- type: 'tuple',
607
- components: [
605
+ "name": "_chequeSettings",
606
+ "type": "tuple",
607
+ "components": [
608
608
  {
609
- name: 'maxNumActiveCheques',
610
- type: 'uint256',
609
+ "name": "maxNumActiveCheques",
610
+ "type": "uint256"
611
611
  },
612
612
  {
613
- name: 'maxChequeUsdValue',
614
- type: 'uint256',
613
+ "name": "maxChequeUsdValue",
614
+ "type": "uint256"
615
615
  },
616
616
  {
617
- name: 'instantUsdThreshold',
618
- type: 'uint256',
617
+ "name": "instantUsdThreshold",
618
+ "type": "uint256"
619
619
  },
620
620
  {
621
- name: 'perPeriodPaidUsdCap',
622
- type: 'uint256',
621
+ "name": "perPeriodPaidUsdCap",
622
+ "type": "uint256"
623
623
  },
624
624
  {
625
- name: 'maxNumChequesPaidPerPeriod',
626
- type: 'uint256',
625
+ "name": "maxNumChequesPaidPerPeriod",
626
+ "type": "uint256"
627
627
  },
628
628
  {
629
- name: 'payCooldownBlocks',
630
- type: 'uint256',
629
+ "name": "payCooldownBlocks",
630
+ "type": "uint256"
631
631
  },
632
632
  {
633
- name: 'perPeriodCreatedUsdCap',
634
- type: 'uint256',
633
+ "name": "perPeriodCreatedUsdCap",
634
+ "type": "uint256"
635
635
  },
636
636
  {
637
- name: 'maxNumChequesCreatedPerPeriod',
638
- type: 'uint256',
637
+ "name": "maxNumChequesCreatedPerPeriod",
638
+ "type": "uint256"
639
639
  },
640
640
  {
641
- name: 'createCooldownBlocks',
642
- type: 'uint256',
641
+ "name": "createCooldownBlocks",
642
+ "type": "uint256"
643
643
  },
644
644
  {
645
- name: 'periodLength',
646
- type: 'uint256',
645
+ "name": "periodLength",
646
+ "type": "uint256"
647
647
  },
648
648
  {
649
- name: 'expensiveDelayBlocks',
650
- type: 'uint256',
649
+ "name": "expensiveDelayBlocks",
650
+ "type": "uint256"
651
651
  },
652
652
  {
653
- name: 'defaultExpiryBlocks',
654
- type: 'uint256',
653
+ "name": "defaultExpiryBlocks",
654
+ "type": "uint256"
655
655
  },
656
656
  {
657
- name: 'allowedAssets',
658
- type: 'address[]',
657
+ "name": "allowedAssets",
658
+ "type": "address[]"
659
659
  },
660
660
  {
661
- name: 'canManagersCreateCheques',
662
- type: 'bool',
661
+ "name": "canManagersCreateCheques",
662
+ "type": "bool"
663
663
  },
664
664
  {
665
- name: 'canManagerPay',
666
- type: 'bool',
665
+ "name": "canManagerPay",
666
+ "type": "bool"
667
667
  },
668
668
  {
669
- name: 'canBePulled',
670
- type: 'bool',
671
- },
672
- ],
669
+ "name": "canBePulled",
670
+ "type": "bool"
671
+ }
672
+ ]
673
673
  },
674
674
  {
675
- name: '_chequeData',
676
- type: 'tuple',
677
- components: [
675
+ "name": "_chequeData",
676
+ "type": "tuple",
677
+ "components": [
678
678
  {
679
- name: 'numChequesPaidInPeriod',
680
- type: 'uint256',
679
+ "name": "numChequesPaidInPeriod",
680
+ "type": "uint256"
681
681
  },
682
682
  {
683
- name: 'totalUsdValuePaidInPeriod',
684
- type: 'uint256',
683
+ "name": "totalUsdValuePaidInPeriod",
684
+ "type": "uint256"
685
685
  },
686
686
  {
687
- name: 'totalNumChequesPaid',
688
- type: 'uint256',
687
+ "name": "totalNumChequesPaid",
688
+ "type": "uint256"
689
689
  },
690
690
  {
691
- name: 'totalUsdValuePaid',
692
- type: 'uint256',
691
+ "name": "totalUsdValuePaid",
692
+ "type": "uint256"
693
693
  },
694
694
  {
695
- name: 'lastChequePaidBlock',
696
- type: 'uint256',
695
+ "name": "lastChequePaidBlock",
696
+ "type": "uint256"
697
697
  },
698
698
  {
699
- name: 'numChequesCreatedInPeriod',
700
- type: 'uint256',
699
+ "name": "numChequesCreatedInPeriod",
700
+ "type": "uint256"
701
701
  },
702
702
  {
703
- name: 'totalUsdValueCreatedInPeriod',
704
- type: 'uint256',
703
+ "name": "totalUsdValueCreatedInPeriod",
704
+ "type": "uint256"
705
705
  },
706
706
  {
707
- name: 'totalNumChequesCreated',
708
- type: 'uint256',
707
+ "name": "totalNumChequesCreated",
708
+ "type": "uint256"
709
709
  },
710
710
  {
711
- name: 'totalUsdValueCreated',
712
- type: 'uint256',
711
+ "name": "totalUsdValueCreated",
712
+ "type": "uint256"
713
713
  },
714
714
  {
715
- name: 'lastChequeCreatedBlock',
716
- type: 'uint256',
715
+ "name": "lastChequeCreatedBlock",
716
+ "type": "uint256"
717
717
  },
718
718
  {
719
- name: 'periodStartBlock',
720
- type: 'uint256',
721
- },
722
- ],
719
+ "name": "periodStartBlock",
720
+ "type": "uint256"
721
+ }
722
+ ]
723
723
  },
724
724
  {
725
- name: '_isExistingCheque',
726
- type: 'bool',
725
+ "name": "_isExistingCheque",
726
+ "type": "bool"
727
727
  },
728
728
  {
729
- name: '_numActiveCheques',
730
- type: 'uint256',
729
+ "name": "_numActiveCheques",
730
+ "type": "uint256"
731
731
  },
732
732
  {
733
- name: '_isExistingPayee',
734
- type: 'bool',
733
+ "name": "_isExistingPayee",
734
+ "type": "bool"
735
735
  },
736
736
  {
737
- name: '_timeLock',
738
- type: 'uint256',
737
+ "name": "_timeLock",
738
+ "type": "uint256"
739
739
  },
740
740
  {
741
- name: '_recipient',
742
- type: 'address',
741
+ "name": "_recipient",
742
+ "type": "address"
743
743
  },
744
744
  {
745
- name: '_asset',
746
- type: 'address',
745
+ "name": "_asset",
746
+ "type": "address"
747
747
  },
748
748
  {
749
- name: '_amount',
750
- type: 'uint256',
749
+ "name": "_amount",
750
+ "type": "uint256"
751
751
  },
752
752
  {
753
- name: '_unlockNumBlocks',
754
- type: 'uint256',
753
+ "name": "_unlockNumBlocks",
754
+ "type": "uint256"
755
755
  },
756
756
  {
757
- name: '_expiryNumBlocks',
758
- type: 'uint256',
757
+ "name": "_expiryNumBlocks",
758
+ "type": "uint256"
759
759
  },
760
760
  {
761
- name: '_canManagerPay',
762
- type: 'bool',
761
+ "name": "_canManagerPay",
762
+ "type": "bool"
763
763
  },
764
764
  {
765
- name: '_canBePulled',
766
- type: 'bool',
765
+ "name": "_canBePulled",
766
+ "type": "bool"
767
767
  },
768
768
  {
769
- name: '_creator',
770
- type: 'address',
769
+ "name": "_creator",
770
+ "type": "address"
771
771
  },
772
772
  {
773
- name: '_usdValue',
774
- type: 'uint256',
775
- },
773
+ "name": "_usdValue",
774
+ "type": "uint256"
775
+ }
776
776
  ],
777
- outputs: [
777
+ "outputs": [
778
778
  {
779
- name: '',
780
- type: 'bool',
781
- },
782
- ],
779
+ "name": "",
780
+ "type": "bool"
781
+ }
782
+ ]
783
783
  },
784
784
  {
785
- stateMutability: 'nonpayable',
786
- type: 'function',
787
- name: 'cancelCheque',
788
- inputs: [
785
+ "stateMutability": "nonpayable",
786
+ "type": "function",
787
+ "name": "cancelCheque",
788
+ "inputs": [
789
789
  {
790
- name: '_userWallet',
791
- type: 'address',
790
+ "name": "_userWallet",
791
+ "type": "address"
792
792
  },
793
793
  {
794
- name: '_recipient',
795
- type: 'address',
796
- },
794
+ "name": "_recipient",
795
+ "type": "address"
796
+ }
797
797
  ],
798
- outputs: [
798
+ "outputs": [
799
799
  {
800
- name: '',
801
- type: 'bool',
802
- },
803
- ],
800
+ "name": "",
801
+ "type": "bool"
802
+ }
803
+ ]
804
804
  },
805
805
  {
806
- stateMutability: 'nonpayable',
807
- type: 'function',
808
- name: 'setChequeSettings',
809
- inputs: [
806
+ "stateMutability": "nonpayable",
807
+ "type": "function",
808
+ "name": "setChequeSettings",
809
+ "inputs": [
810
810
  {
811
- name: '_userWallet',
812
- type: 'address',
811
+ "name": "_userWallet",
812
+ "type": "address"
813
813
  },
814
814
  {
815
- name: '_maxNumActiveCheques',
816
- type: 'uint256',
815
+ "name": "_maxNumActiveCheques",
816
+ "type": "uint256"
817
817
  },
818
818
  {
819
- name: '_maxChequeUsdValue',
820
- type: 'uint256',
819
+ "name": "_maxChequeUsdValue",
820
+ "type": "uint256"
821
821
  },
822
822
  {
823
- name: '_instantUsdThreshold',
824
- type: 'uint256',
823
+ "name": "_instantUsdThreshold",
824
+ "type": "uint256"
825
825
  },
826
826
  {
827
- name: '_perPeriodPaidUsdCap',
828
- type: 'uint256',
827
+ "name": "_perPeriodPaidUsdCap",
828
+ "type": "uint256"
829
829
  },
830
830
  {
831
- name: '_maxNumChequesPaidPerPeriod',
832
- type: 'uint256',
831
+ "name": "_maxNumChequesPaidPerPeriod",
832
+ "type": "uint256"
833
833
  },
834
834
  {
835
- name: '_payCooldownBlocks',
836
- type: 'uint256',
835
+ "name": "_payCooldownBlocks",
836
+ "type": "uint256"
837
837
  },
838
838
  {
839
- name: '_perPeriodCreatedUsdCap',
840
- type: 'uint256',
839
+ "name": "_perPeriodCreatedUsdCap",
840
+ "type": "uint256"
841
841
  },
842
842
  {
843
- name: '_maxNumChequesCreatedPerPeriod',
844
- type: 'uint256',
843
+ "name": "_maxNumChequesCreatedPerPeriod",
844
+ "type": "uint256"
845
845
  },
846
846
  {
847
- name: '_createCooldownBlocks',
848
- type: 'uint256',
847
+ "name": "_createCooldownBlocks",
848
+ "type": "uint256"
849
849
  },
850
850
  {
851
- name: '_periodLength',
852
- type: 'uint256',
851
+ "name": "_periodLength",
852
+ "type": "uint256"
853
853
  },
854
854
  {
855
- name: '_expensiveDelayBlocks',
856
- type: 'uint256',
855
+ "name": "_expensiveDelayBlocks",
856
+ "type": "uint256"
857
857
  },
858
858
  {
859
- name: '_defaultExpiryBlocks',
860
- type: 'uint256',
859
+ "name": "_defaultExpiryBlocks",
860
+ "type": "uint256"
861
861
  },
862
862
  {
863
- name: '_allowedAssets',
864
- type: 'address[]',
863
+ "name": "_allowedAssets",
864
+ "type": "address[]"
865
865
  },
866
866
  {
867
- name: '_canManagersCreateCheques',
868
- type: 'bool',
867
+ "name": "_canManagersCreateCheques",
868
+ "type": "bool"
869
869
  },
870
870
  {
871
- name: '_canManagerPay',
872
- type: 'bool',
871
+ "name": "_canManagerPay",
872
+ "type": "bool"
873
873
  },
874
874
  {
875
- name: '_canBePulled',
876
- type: 'bool',
877
- },
875
+ "name": "_canBePulled",
876
+ "type": "bool"
877
+ }
878
878
  ],
879
- outputs: [
879
+ "outputs": [
880
880
  {
881
- name: '',
882
- type: 'bool',
883
- },
884
- ],
881
+ "name": "",
882
+ "type": "bool"
883
+ }
884
+ ]
885
885
  },
886
886
  {
887
- stateMutability: 'view',
888
- type: 'function',
889
- name: 'isValidChequeSettings',
890
- inputs: [
887
+ "stateMutability": "view",
888
+ "type": "function",
889
+ "name": "isValidChequeSettings",
890
+ "inputs": [
891
891
  {
892
- name: '_maxNumActiveCheques',
893
- type: 'uint256',
892
+ "name": "_maxNumActiveCheques",
893
+ "type": "uint256"
894
894
  },
895
895
  {
896
- name: '_maxChequeUsdValue',
897
- type: 'uint256',
896
+ "name": "_maxChequeUsdValue",
897
+ "type": "uint256"
898
898
  },
899
899
  {
900
- name: '_instantUsdThreshold',
901
- type: 'uint256',
900
+ "name": "_instantUsdThreshold",
901
+ "type": "uint256"
902
902
  },
903
903
  {
904
- name: '_perPeriodPaidUsdCap',
905
- type: 'uint256',
904
+ "name": "_perPeriodPaidUsdCap",
905
+ "type": "uint256"
906
906
  },
907
907
  {
908
- name: '_maxNumChequesPaidPerPeriod',
909
- type: 'uint256',
908
+ "name": "_maxNumChequesPaidPerPeriod",
909
+ "type": "uint256"
910
910
  },
911
911
  {
912
- name: '_payCooldownBlocks',
913
- type: 'uint256',
912
+ "name": "_payCooldownBlocks",
913
+ "type": "uint256"
914
914
  },
915
915
  {
916
- name: '_perPeriodCreatedUsdCap',
917
- type: 'uint256',
916
+ "name": "_perPeriodCreatedUsdCap",
917
+ "type": "uint256"
918
918
  },
919
919
  {
920
- name: '_maxNumChequesCreatedPerPeriod',
921
- type: 'uint256',
920
+ "name": "_maxNumChequesCreatedPerPeriod",
921
+ "type": "uint256"
922
922
  },
923
923
  {
924
- name: '_createCooldownBlocks',
925
- type: 'uint256',
924
+ "name": "_createCooldownBlocks",
925
+ "type": "uint256"
926
926
  },
927
927
  {
928
- name: '_periodLength',
929
- type: 'uint256',
928
+ "name": "_periodLength",
929
+ "type": "uint256"
930
930
  },
931
931
  {
932
- name: '_expensiveDelayBlocks',
933
- type: 'uint256',
932
+ "name": "_expensiveDelayBlocks",
933
+ "type": "uint256"
934
934
  },
935
935
  {
936
- name: '_defaultExpiryBlocks',
937
- type: 'uint256',
936
+ "name": "_defaultExpiryBlocks",
937
+ "type": "uint256"
938
938
  },
939
939
  {
940
- name: '_timeLock',
941
- type: 'uint256',
942
- },
940
+ "name": "_timeLock",
941
+ "type": "uint256"
942
+ }
943
943
  ],
944
- outputs: [
944
+ "outputs": [
945
945
  {
946
- name: '',
947
- type: 'bool',
948
- },
949
- ],
946
+ "name": "",
947
+ "type": "bool"
948
+ }
949
+ ]
950
950
  },
951
951
  {
952
- stateMutability: 'view',
953
- type: 'function',
954
- name: 'getChequeConfig',
955
- inputs: [
952
+ "stateMutability": "view",
953
+ "type": "function",
954
+ "name": "getChequeConfig",
955
+ "inputs": [
956
956
  {
957
- name: '_userWallet',
958
- type: 'address',
957
+ "name": "_userWallet",
958
+ "type": "address"
959
959
  },
960
960
  {
961
- name: '_creator',
962
- type: 'address',
961
+ "name": "_creator",
962
+ "type": "address"
963
963
  },
964
964
  {
965
- name: '_recipient',
966
- type: 'address',
967
- },
965
+ "name": "_recipient",
966
+ "type": "address"
967
+ }
968
968
  ],
969
- outputs: [
969
+ "outputs": [
970
970
  {
971
- name: '',
972
- type: 'tuple',
973
- components: [
971
+ "name": "",
972
+ "type": "tuple",
973
+ "components": [
974
974
  {
975
- name: 'wallet',
976
- type: 'address',
975
+ "name": "wallet",
976
+ "type": "address"
977
977
  },
978
978
  {
979
- name: 'walletConfig',
980
- type: 'address',
979
+ "name": "walletConfig",
980
+ "type": "address"
981
981
  },
982
982
  {
983
- name: 'owner',
984
- type: 'address',
983
+ "name": "owner",
984
+ "type": "address"
985
985
  },
986
986
  {
987
- name: 'isRecipientOnWhitelist',
988
- type: 'bool',
987
+ "name": "isRecipientOnWhitelist",
988
+ "type": "bool"
989
989
  },
990
990
  {
991
- name: 'isCreatorManager',
992
- type: 'bool',
991
+ "name": "isCreatorManager",
992
+ "type": "bool"
993
993
  },
994
994
  {
995
- name: 'managerSettings',
996
- type: 'tuple',
997
- components: [
995
+ "name": "managerSettings",
996
+ "type": "tuple",
997
+ "components": [
998
998
  {
999
- name: 'startBlock',
1000
- type: 'uint256',
999
+ "name": "startBlock",
1000
+ "type": "uint256"
1001
1001
  },
1002
1002
  {
1003
- name: 'expiryBlock',
1004
- type: 'uint256',
1003
+ "name": "expiryBlock",
1004
+ "type": "uint256"
1005
1005
  },
1006
1006
  {
1007
- name: 'limits',
1008
- type: 'tuple',
1009
- components: [
1007
+ "name": "limits",
1008
+ "type": "tuple",
1009
+ "components": [
1010
1010
  {
1011
- name: 'maxUsdValuePerTx',
1012
- type: 'uint256',
1011
+ "name": "maxUsdValuePerTx",
1012
+ "type": "uint256"
1013
1013
  },
1014
1014
  {
1015
- name: 'maxUsdValuePerPeriod',
1016
- type: 'uint256',
1015
+ "name": "maxUsdValuePerPeriod",
1016
+ "type": "uint256"
1017
1017
  },
1018
1018
  {
1019
- name: 'maxUsdValueLifetime',
1020
- type: 'uint256',
1019
+ "name": "maxUsdValueLifetime",
1020
+ "type": "uint256"
1021
1021
  },
1022
1022
  {
1023
- name: 'maxNumTxsPerPeriod',
1024
- type: 'uint256',
1023
+ "name": "maxNumTxsPerPeriod",
1024
+ "type": "uint256"
1025
1025
  },
1026
1026
  {
1027
- name: 'txCooldownBlocks',
1028
- type: 'uint256',
1027
+ "name": "txCooldownBlocks",
1028
+ "type": "uint256"
1029
1029
  },
1030
1030
  {
1031
- name: 'failOnZeroPrice',
1032
- type: 'bool',
1033
- },
1034
- ],
1031
+ "name": "failOnZeroPrice",
1032
+ "type": "bool"
1033
+ }
1034
+ ]
1035
1035
  },
1036
1036
  {
1037
- name: 'legoPerms',
1038
- type: 'tuple',
1039
- components: [
1037
+ "name": "legoPerms",
1038
+ "type": "tuple",
1039
+ "components": [
1040
1040
  {
1041
- name: 'canManageYield',
1042
- type: 'bool',
1041
+ "name": "canManageYield",
1042
+ "type": "bool"
1043
1043
  },
1044
1044
  {
1045
- name: 'canBuyAndSell',
1046
- type: 'bool',
1045
+ "name": "canBuyAndSell",
1046
+ "type": "bool"
1047
1047
  },
1048
1048
  {
1049
- name: 'canManageDebt',
1050
- type: 'bool',
1049
+ "name": "canManageDebt",
1050
+ "type": "bool"
1051
1051
  },
1052
1052
  {
1053
- name: 'canManageLiq',
1054
- type: 'bool',
1053
+ "name": "canManageLiq",
1054
+ "type": "bool"
1055
1055
  },
1056
1056
  {
1057
- name: 'canClaimRewards',
1058
- type: 'bool',
1057
+ "name": "canClaimRewards",
1058
+ "type": "bool"
1059
1059
  },
1060
1060
  {
1061
- name: 'onlyApprovedYieldOpps',
1062
- type: 'bool',
1061
+ "name": "onlyApprovedYieldOpps",
1062
+ "type": "bool"
1063
1063
  },
1064
1064
  {
1065
- name: 'allowedLegos',
1066
- type: 'uint256[]',
1067
- },
1068
- ],
1065
+ "name": "allowedLegos",
1066
+ "type": "uint256[]"
1067
+ }
1068
+ ]
1069
1069
  },
1070
1070
  {
1071
- name: 'swapPerms',
1072
- type: 'tuple',
1073
- components: [
1071
+ "name": "swapPerms",
1072
+ "type": "tuple",
1073
+ "components": [
1074
1074
  {
1075
- name: 'mustHaveUsdValue',
1076
- type: 'bool',
1075
+ "name": "mustHaveUsdValue",
1076
+ "type": "bool"
1077
1077
  },
1078
1078
  {
1079
- name: 'maxNumSwapsPerPeriod',
1080
- type: 'uint256',
1079
+ "name": "maxNumSwapsPerPeriod",
1080
+ "type": "uint256"
1081
1081
  },
1082
1082
  {
1083
- name: 'maxSlippage',
1084
- type: 'uint256',
1085
- },
1086
- ],
1083
+ "name": "maxSlippage",
1084
+ "type": "uint256"
1085
+ }
1086
+ ]
1087
1087
  },
1088
1088
  {
1089
- name: 'whitelistPerms',
1090
- type: 'tuple',
1091
- components: [
1089
+ "name": "whitelistPerms",
1090
+ "type": "tuple",
1091
+ "components": [
1092
1092
  {
1093
- name: 'canAddPending',
1094
- type: 'bool',
1093
+ "name": "canAddPending",
1094
+ "type": "bool"
1095
1095
  },
1096
1096
  {
1097
- name: 'canConfirm',
1098
- type: 'bool',
1097
+ "name": "canConfirm",
1098
+ "type": "bool"
1099
1099
  },
1100
1100
  {
1101
- name: 'canCancel',
1102
- type: 'bool',
1101
+ "name": "canCancel",
1102
+ "type": "bool"
1103
1103
  },
1104
1104
  {
1105
- name: 'canRemove',
1106
- type: 'bool',
1107
- },
1108
- ],
1105
+ "name": "canRemove",
1106
+ "type": "bool"
1107
+ }
1108
+ ]
1109
1109
  },
1110
1110
  {
1111
- name: 'transferPerms',
1112
- type: 'tuple',
1113
- components: [
1111
+ "name": "transferPerms",
1112
+ "type": "tuple",
1113
+ "components": [
1114
1114
  {
1115
- name: 'canTransfer',
1116
- type: 'bool',
1115
+ "name": "canTransfer",
1116
+ "type": "bool"
1117
1117
  },
1118
1118
  {
1119
- name: 'canCreateCheque',
1120
- type: 'bool',
1119
+ "name": "canCreateCheque",
1120
+ "type": "bool"
1121
1121
  },
1122
1122
  {
1123
- name: 'canAddPendingPayee',
1124
- type: 'bool',
1123
+ "name": "canAddPendingPayee",
1124
+ "type": "bool"
1125
1125
  },
1126
1126
  {
1127
- name: 'allowedPayees',
1128
- type: 'address[]',
1129
- },
1130
- ],
1127
+ "name": "allowedPayees",
1128
+ "type": "address[]"
1129
+ }
1130
+ ]
1131
1131
  },
1132
1132
  {
1133
- name: 'allowedAssets',
1134
- type: 'address[]',
1133
+ "name": "allowedAssets",
1134
+ "type": "address[]"
1135
1135
  },
1136
1136
  {
1137
- name: 'canClaimLoot',
1138
- type: 'bool',
1139
- },
1140
- ],
1137
+ "name": "canClaimLoot",
1138
+ "type": "bool"
1139
+ }
1140
+ ]
1141
1141
  },
1142
1142
  {
1143
- name: 'chequeSettings',
1144
- type: 'tuple',
1145
- components: [
1143
+ "name": "chequeSettings",
1144
+ "type": "tuple",
1145
+ "components": [
1146
1146
  {
1147
- name: 'maxNumActiveCheques',
1148
- type: 'uint256',
1147
+ "name": "maxNumActiveCheques",
1148
+ "type": "uint256"
1149
1149
  },
1150
1150
  {
1151
- name: 'maxChequeUsdValue',
1152
- type: 'uint256',
1151
+ "name": "maxChequeUsdValue",
1152
+ "type": "uint256"
1153
1153
  },
1154
1154
  {
1155
- name: 'instantUsdThreshold',
1156
- type: 'uint256',
1155
+ "name": "instantUsdThreshold",
1156
+ "type": "uint256"
1157
1157
  },
1158
1158
  {
1159
- name: 'perPeriodPaidUsdCap',
1160
- type: 'uint256',
1159
+ "name": "perPeriodPaidUsdCap",
1160
+ "type": "uint256"
1161
1161
  },
1162
1162
  {
1163
- name: 'maxNumChequesPaidPerPeriod',
1164
- type: 'uint256',
1163
+ "name": "maxNumChequesPaidPerPeriod",
1164
+ "type": "uint256"
1165
1165
  },
1166
1166
  {
1167
- name: 'payCooldownBlocks',
1168
- type: 'uint256',
1167
+ "name": "payCooldownBlocks",
1168
+ "type": "uint256"
1169
1169
  },
1170
1170
  {
1171
- name: 'perPeriodCreatedUsdCap',
1172
- type: 'uint256',
1171
+ "name": "perPeriodCreatedUsdCap",
1172
+ "type": "uint256"
1173
1173
  },
1174
1174
  {
1175
- name: 'maxNumChequesCreatedPerPeriod',
1176
- type: 'uint256',
1175
+ "name": "maxNumChequesCreatedPerPeriod",
1176
+ "type": "uint256"
1177
1177
  },
1178
1178
  {
1179
- name: 'createCooldownBlocks',
1180
- type: 'uint256',
1179
+ "name": "createCooldownBlocks",
1180
+ "type": "uint256"
1181
1181
  },
1182
1182
  {
1183
- name: 'periodLength',
1184
- type: 'uint256',
1183
+ "name": "periodLength",
1184
+ "type": "uint256"
1185
1185
  },
1186
1186
  {
1187
- name: 'expensiveDelayBlocks',
1188
- type: 'uint256',
1187
+ "name": "expensiveDelayBlocks",
1188
+ "type": "uint256"
1189
1189
  },
1190
1190
  {
1191
- name: 'defaultExpiryBlocks',
1192
- type: 'uint256',
1191
+ "name": "defaultExpiryBlocks",
1192
+ "type": "uint256"
1193
1193
  },
1194
1194
  {
1195
- name: 'allowedAssets',
1196
- type: 'address[]',
1195
+ "name": "allowedAssets",
1196
+ "type": "address[]"
1197
1197
  },
1198
1198
  {
1199
- name: 'canManagersCreateCheques',
1200
- type: 'bool',
1199
+ "name": "canManagersCreateCheques",
1200
+ "type": "bool"
1201
1201
  },
1202
1202
  {
1203
- name: 'canManagerPay',
1204
- type: 'bool',
1203
+ "name": "canManagerPay",
1204
+ "type": "bool"
1205
1205
  },
1206
1206
  {
1207
- name: 'canBePulled',
1208
- type: 'bool',
1209
- },
1210
- ],
1207
+ "name": "canBePulled",
1208
+ "type": "bool"
1209
+ }
1210
+ ]
1211
1211
  },
1212
1212
  {
1213
- name: 'chequeData',
1214
- type: 'tuple',
1215
- components: [
1213
+ "name": "chequeData",
1214
+ "type": "tuple",
1215
+ "components": [
1216
1216
  {
1217
- name: 'numChequesPaidInPeriod',
1218
- type: 'uint256',
1217
+ "name": "numChequesPaidInPeriod",
1218
+ "type": "uint256"
1219
1219
  },
1220
1220
  {
1221
- name: 'totalUsdValuePaidInPeriod',
1222
- type: 'uint256',
1221
+ "name": "totalUsdValuePaidInPeriod",
1222
+ "type": "uint256"
1223
1223
  },
1224
1224
  {
1225
- name: 'totalNumChequesPaid',
1226
- type: 'uint256',
1225
+ "name": "totalNumChequesPaid",
1226
+ "type": "uint256"
1227
1227
  },
1228
1228
  {
1229
- name: 'totalUsdValuePaid',
1230
- type: 'uint256',
1229
+ "name": "totalUsdValuePaid",
1230
+ "type": "uint256"
1231
1231
  },
1232
1232
  {
1233
- name: 'lastChequePaidBlock',
1234
- type: 'uint256',
1233
+ "name": "lastChequePaidBlock",
1234
+ "type": "uint256"
1235
1235
  },
1236
1236
  {
1237
- name: 'numChequesCreatedInPeriod',
1238
- type: 'uint256',
1237
+ "name": "numChequesCreatedInPeriod",
1238
+ "type": "uint256"
1239
1239
  },
1240
1240
  {
1241
- name: 'totalUsdValueCreatedInPeriod',
1242
- type: 'uint256',
1241
+ "name": "totalUsdValueCreatedInPeriod",
1242
+ "type": "uint256"
1243
1243
  },
1244
1244
  {
1245
- name: 'totalNumChequesCreated',
1246
- type: 'uint256',
1245
+ "name": "totalNumChequesCreated",
1246
+ "type": "uint256"
1247
1247
  },
1248
1248
  {
1249
- name: 'totalUsdValueCreated',
1250
- type: 'uint256',
1249
+ "name": "totalUsdValueCreated",
1250
+ "type": "uint256"
1251
1251
  },
1252
1252
  {
1253
- name: 'lastChequeCreatedBlock',
1254
- type: 'uint256',
1253
+ "name": "lastChequeCreatedBlock",
1254
+ "type": "uint256"
1255
1255
  },
1256
1256
  {
1257
- name: 'periodStartBlock',
1258
- type: 'uint256',
1259
- },
1260
- ],
1257
+ "name": "periodStartBlock",
1258
+ "type": "uint256"
1259
+ }
1260
+ ]
1261
1261
  },
1262
1262
  {
1263
- name: 'isExistingCheque',
1264
- type: 'bool',
1263
+ "name": "isExistingCheque",
1264
+ "type": "bool"
1265
1265
  },
1266
1266
  {
1267
- name: 'numActiveCheques',
1268
- type: 'uint256',
1267
+ "name": "numActiveCheques",
1268
+ "type": "uint256"
1269
1269
  },
1270
1270
  {
1271
- name: 'isExistingPayee',
1272
- type: 'bool',
1271
+ "name": "isExistingPayee",
1272
+ "type": "bool"
1273
1273
  },
1274
1274
  {
1275
- name: 'timeLock',
1276
- type: 'uint256',
1277
- },
1278
- ],
1279
- },
1280
- ],
1275
+ "name": "timeLock",
1276
+ "type": "uint256"
1277
+ }
1278
+ ]
1279
+ }
1280
+ ]
1281
1281
  },
1282
1282
  {
1283
- stateMutability: 'view',
1284
- type: 'function',
1285
- name: 'createDefaultChequeSettings',
1286
- inputs: [
1283
+ "stateMutability": "view",
1284
+ "type": "function",
1285
+ "name": "createDefaultChequeSettings",
1286
+ "inputs": [
1287
1287
  {
1288
- name: '_maxNumActiveCheques',
1289
- type: 'uint256',
1288
+ "name": "_maxNumActiveCheques",
1289
+ "type": "uint256"
1290
1290
  },
1291
1291
  {
1292
- name: '_instantUsdThreshold',
1293
- type: 'uint256',
1292
+ "name": "_instantUsdThreshold",
1293
+ "type": "uint256"
1294
1294
  },
1295
1295
  {
1296
- name: '_periodLength',
1297
- type: 'uint256',
1296
+ "name": "_periodLength",
1297
+ "type": "uint256"
1298
1298
  },
1299
1299
  {
1300
- name: '_expensiveDelayBlocks',
1301
- type: 'uint256',
1300
+ "name": "_expensiveDelayBlocks",
1301
+ "type": "uint256"
1302
1302
  },
1303
1303
  {
1304
- name: '_defaultExpiryBlocks',
1305
- type: 'uint256',
1306
- },
1304
+ "name": "_defaultExpiryBlocks",
1305
+ "type": "uint256"
1306
+ }
1307
1307
  ],
1308
- outputs: [
1308
+ "outputs": [
1309
1309
  {
1310
- name: '',
1311
- type: 'tuple',
1312
- components: [
1310
+ "name": "",
1311
+ "type": "tuple",
1312
+ "components": [
1313
1313
  {
1314
- name: 'maxNumActiveCheques',
1315
- type: 'uint256',
1314
+ "name": "maxNumActiveCheques",
1315
+ "type": "uint256"
1316
1316
  },
1317
1317
  {
1318
- name: 'maxChequeUsdValue',
1319
- type: 'uint256',
1318
+ "name": "maxChequeUsdValue",
1319
+ "type": "uint256"
1320
1320
  },
1321
1321
  {
1322
- name: 'instantUsdThreshold',
1323
- type: 'uint256',
1322
+ "name": "instantUsdThreshold",
1323
+ "type": "uint256"
1324
1324
  },
1325
1325
  {
1326
- name: 'perPeriodPaidUsdCap',
1327
- type: 'uint256',
1326
+ "name": "perPeriodPaidUsdCap",
1327
+ "type": "uint256"
1328
1328
  },
1329
1329
  {
1330
- name: 'maxNumChequesPaidPerPeriod',
1331
- type: 'uint256',
1330
+ "name": "maxNumChequesPaidPerPeriod",
1331
+ "type": "uint256"
1332
1332
  },
1333
1333
  {
1334
- name: 'payCooldownBlocks',
1335
- type: 'uint256',
1334
+ "name": "payCooldownBlocks",
1335
+ "type": "uint256"
1336
1336
  },
1337
1337
  {
1338
- name: 'perPeriodCreatedUsdCap',
1339
- type: 'uint256',
1338
+ "name": "perPeriodCreatedUsdCap",
1339
+ "type": "uint256"
1340
1340
  },
1341
1341
  {
1342
- name: 'maxNumChequesCreatedPerPeriod',
1343
- type: 'uint256',
1342
+ "name": "maxNumChequesCreatedPerPeriod",
1343
+ "type": "uint256"
1344
1344
  },
1345
1345
  {
1346
- name: 'createCooldownBlocks',
1347
- type: 'uint256',
1346
+ "name": "createCooldownBlocks",
1347
+ "type": "uint256"
1348
1348
  },
1349
1349
  {
1350
- name: 'periodLength',
1351
- type: 'uint256',
1350
+ "name": "periodLength",
1351
+ "type": "uint256"
1352
1352
  },
1353
1353
  {
1354
- name: 'expensiveDelayBlocks',
1355
- type: 'uint256',
1354
+ "name": "expensiveDelayBlocks",
1355
+ "type": "uint256"
1356
1356
  },
1357
1357
  {
1358
- name: 'defaultExpiryBlocks',
1359
- type: 'uint256',
1358
+ "name": "defaultExpiryBlocks",
1359
+ "type": "uint256"
1360
1360
  },
1361
1361
  {
1362
- name: 'allowedAssets',
1363
- type: 'address[]',
1362
+ "name": "allowedAssets",
1363
+ "type": "address[]"
1364
1364
  },
1365
1365
  {
1366
- name: 'canManagersCreateCheques',
1367
- type: 'bool',
1366
+ "name": "canManagersCreateCheques",
1367
+ "type": "bool"
1368
1368
  },
1369
1369
  {
1370
- name: 'canManagerPay',
1371
- type: 'bool',
1370
+ "name": "canManagerPay",
1371
+ "type": "bool"
1372
1372
  },
1373
1373
  {
1374
- name: 'canBePulled',
1375
- type: 'bool',
1376
- },
1377
- ],
1378
- },
1379
- ],
1374
+ "name": "canBePulled",
1375
+ "type": "bool"
1376
+ }
1377
+ ]
1378
+ }
1379
+ ]
1380
1380
  },
1381
1381
  {
1382
- stateMutability: 'view',
1383
- type: 'function',
1384
- name: 'UNDY_HQ',
1385
- inputs: [],
1386
- outputs: [
1387
- {
1388
- name: '',
1389
- type: 'address',
1390
- },
1391
- ],
1382
+ "stateMutability": "view",
1383
+ "type": "function",
1384
+ "name": "UNDY_HQ",
1385
+ "inputs": [],
1386
+ "outputs": [
1387
+ {
1388
+ "name": "",
1389
+ "type": "address"
1390
+ }
1391
+ ]
1392
1392
  },
1393
1393
  {
1394
- stateMutability: 'view',
1395
- type: 'function',
1396
- name: 'MIN_CHEQUE_PERIOD',
1397
- inputs: [],
1398
- outputs: [
1399
- {
1400
- name: '',
1401
- type: 'uint256',
1402
- },
1403
- ],
1394
+ "stateMutability": "view",
1395
+ "type": "function",
1396
+ "name": "MIN_CHEQUE_PERIOD",
1397
+ "inputs": [],
1398
+ "outputs": [
1399
+ {
1400
+ "name": "",
1401
+ "type": "uint256"
1402
+ }
1403
+ ]
1404
1404
  },
1405
1405
  {
1406
- stateMutability: 'view',
1407
- type: 'function',
1408
- name: 'MAX_CHEQUE_PERIOD',
1409
- inputs: [],
1410
- outputs: [
1411
- {
1412
- name: '',
1413
- type: 'uint256',
1414
- },
1415
- ],
1406
+ "stateMutability": "view",
1407
+ "type": "function",
1408
+ "name": "MAX_CHEQUE_PERIOD",
1409
+ "inputs": [],
1410
+ "outputs": [
1411
+ {
1412
+ "name": "",
1413
+ "type": "uint256"
1414
+ }
1415
+ ]
1416
1416
  },
1417
1417
  {
1418
- stateMutability: 'view',
1419
- type: 'function',
1420
- name: 'MIN_EXPENSIVE_CHEQUE_DELAY',
1421
- inputs: [],
1422
- outputs: [
1423
- {
1424
- name: '',
1425
- type: 'uint256',
1426
- },
1427
- ],
1418
+ "stateMutability": "view",
1419
+ "type": "function",
1420
+ "name": "MIN_EXPENSIVE_CHEQUE_DELAY",
1421
+ "inputs": [],
1422
+ "outputs": [
1423
+ {
1424
+ "name": "",
1425
+ "type": "uint256"
1426
+ }
1427
+ ]
1428
1428
  },
1429
1429
  {
1430
- stateMutability: 'view',
1431
- type: 'function',
1432
- name: 'MAX_UNLOCK_BLOCKS',
1433
- inputs: [],
1434
- outputs: [
1435
- {
1436
- name: '',
1437
- type: 'uint256',
1438
- },
1439
- ],
1430
+ "stateMutability": "view",
1431
+ "type": "function",
1432
+ "name": "MAX_UNLOCK_BLOCKS",
1433
+ "inputs": [],
1434
+ "outputs": [
1435
+ {
1436
+ "name": "",
1437
+ "type": "uint256"
1438
+ }
1439
+ ]
1440
1440
  },
1441
1441
  {
1442
- stateMutability: 'view',
1443
- type: 'function',
1444
- name: 'MAX_EXPIRY_BLOCKS',
1445
- inputs: [],
1446
- outputs: [
1447
- {
1448
- name: '',
1449
- type: 'uint256',
1450
- },
1451
- ],
1442
+ "stateMutability": "view",
1443
+ "type": "function",
1444
+ "name": "MAX_EXPIRY_BLOCKS",
1445
+ "inputs": [],
1446
+ "outputs": [
1447
+ {
1448
+ "name": "",
1449
+ "type": "uint256"
1450
+ }
1451
+ ]
1452
1452
  },
1453
1453
  {
1454
- stateMutability: 'nonpayable',
1455
- type: 'constructor',
1456
- inputs: [
1454
+ "stateMutability": "nonpayable",
1455
+ "type": "constructor",
1456
+ "inputs": [
1457
1457
  {
1458
- name: '_undyHq',
1459
- type: 'address',
1458
+ "name": "_undyHq",
1459
+ "type": "address"
1460
1460
  },
1461
1461
  {
1462
- name: '_minChequePeriod',
1463
- type: 'uint256',
1462
+ "name": "_minChequePeriod",
1463
+ "type": "uint256"
1464
1464
  },
1465
1465
  {
1466
- name: '_maxChequePeriod',
1467
- type: 'uint256',
1466
+ "name": "_maxChequePeriod",
1467
+ "type": "uint256"
1468
1468
  },
1469
1469
  {
1470
- name: '_minExpensiveChequeDelay',
1471
- type: 'uint256',
1470
+ "name": "_minExpensiveChequeDelay",
1471
+ "type": "uint256"
1472
1472
  },
1473
1473
  {
1474
- name: '_maxUnlockBlocks',
1475
- type: 'uint256',
1474
+ "name": "_maxUnlockBlocks",
1475
+ "type": "uint256"
1476
1476
  },
1477
1477
  {
1478
- name: '_maxExpiryBlocks',
1479
- type: 'uint256',
1480
- },
1478
+ "name": "_maxExpiryBlocks",
1479
+ "type": "uint256"
1480
+ }
1481
1481
  ],
1482
- outputs: [],
1483
- },
1482
+ "outputs": []
1483
+ }
1484
1484
  ];
1485
1485
  export const deployAddress = '0x68ad259f7Fd1C734779EB4e8b94b826d7D11a61e';
1486
1486
  function getRequest(method, args, contractAddressOrOptions) {
@@ -1557,18 +1557,9 @@ export function toSdk(publicClient, walletClient, addressResolver) {
1557
1557
  deployAddress,
1558
1558
  abi,
1559
1559
  events: {
1560
- ChequeCreated: {
1561
- topic: getEventTopic('ChequeCreated'),
1562
- parse: (events) => parseEvents('ChequeCreated', events),
1563
- },
1564
- ChequeCancelled: {
1565
- topic: getEventTopic('ChequeCancelled'),
1566
- parse: (events) => parseEvents('ChequeCancelled', events),
1567
- },
1568
- ChequeSettingsModified: {
1569
- topic: getEventTopic('ChequeSettingsModified'),
1570
- parse: (events) => parseEvents('ChequeSettingsModified', events),
1571
- },
1560
+ ChequeCreated: { topic: getEventTopic('ChequeCreated'), parse: (events) => parseEvents('ChequeCreated', events) },
1561
+ ChequeCancelled: { topic: getEventTopic('ChequeCancelled'), parse: (events) => parseEvents('ChequeCancelled', events) },
1562
+ ChequeSettingsModified: { topic: getEventTopic('ChequeSettingsModified'), parse: (events) => parseEvents('ChequeSettingsModified', events) },
1572
1563
  },
1573
1564
  // Queries
1574
1565
  canCreateCheque: (...args) => singleQuery(publicClient, call.canCreateCheque(...args), {}, addressResolver),