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