@usdu-finance/usdu-core 0.0.3 → 0.0.5
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.
- package/dist/index.d.mts +895 -4
- package/dist/index.d.ts +895 -4
- package/dist/index.js +520 -12
- package/dist/index.mjs +516 -9
- package/exports/abis/aragon/AragonDao.ts +500 -0
- package/exports/abis/aragon/{StagedProposalProcessor.ts → AragonDelayedAction.ts} +1 -1
- package/exports/abis/aragon/{MultiSig.ts → AragonMultiSig.ts} +1 -1
- package/exports/abis/aragon/{VetoMultiSig.ts → AragonVetoMultiSig.ts} +1 -1
- package/exports/address.config.ts +4 -0
- package/exports/address.types.ts +4 -0
- package/exports/index.ts +4 -3
- package/package.json +1 -1
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
export const AragonDao_ABI = [
|
|
2
|
+
{ inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
|
|
3
|
+
{ inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }], name: 'ActionFailed', type: 'error' },
|
|
4
|
+
{ inputs: [], name: 'AlreadyInitialized', type: 'error' },
|
|
5
|
+
{ inputs: [], name: 'AnyAddressDisallowedForWhoAndWhere', type: 'error' },
|
|
6
|
+
{
|
|
7
|
+
inputs: [{ internalType: 'contract IPermissionCondition', name: 'condition', type: 'address' }],
|
|
8
|
+
name: 'ConditionInterfaceNotSupported',
|
|
9
|
+
type: 'error',
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
inputs: [{ internalType: 'contract IPermissionCondition', name: 'condition', type: 'address' }],
|
|
13
|
+
name: 'ConditionNotAContract',
|
|
14
|
+
type: 'error',
|
|
15
|
+
},
|
|
16
|
+
{ inputs: [], name: 'FunctionRemoved', type: 'error' },
|
|
17
|
+
{ inputs: [], name: 'GrantWithConditionNotSupported', type: 'error' },
|
|
18
|
+
{ inputs: [], name: 'InsufficientGas', type: 'error' },
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{ internalType: 'uint256', name: 'expected', type: 'uint256' },
|
|
22
|
+
{ internalType: 'uint256', name: 'actual', type: 'uint256' },
|
|
23
|
+
],
|
|
24
|
+
name: 'NativeTokenDepositAmountMismatch',
|
|
25
|
+
type: 'error',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
inputs: [
|
|
29
|
+
{ internalType: 'address', name: 'where', type: 'address' },
|
|
30
|
+
{ internalType: 'address', name: 'who', type: 'address' },
|
|
31
|
+
{ internalType: 'bytes32', name: 'permissionId', type: 'bytes32' },
|
|
32
|
+
{ internalType: 'address', name: 'currentCondition', type: 'address' },
|
|
33
|
+
{ internalType: 'address', name: 'newCondition', type: 'address' },
|
|
34
|
+
],
|
|
35
|
+
name: 'PermissionAlreadyGrantedForDifferentCondition',
|
|
36
|
+
type: 'error',
|
|
37
|
+
},
|
|
38
|
+
{ inputs: [], name: 'PermissionsForAnyAddressDisallowed', type: 'error' },
|
|
39
|
+
{
|
|
40
|
+
inputs: [{ internalType: 'uint8[3]', name: 'protocolVersion', type: 'uint8[3]' }],
|
|
41
|
+
name: 'ProtocolVersionUpgradeNotSupported',
|
|
42
|
+
type: 'error',
|
|
43
|
+
},
|
|
44
|
+
{ inputs: [], name: 'ReentrantCall', type: 'error' },
|
|
45
|
+
{ inputs: [], name: 'TooManyActions', type: 'error' },
|
|
46
|
+
{
|
|
47
|
+
inputs: [
|
|
48
|
+
{ internalType: 'address', name: 'where', type: 'address' },
|
|
49
|
+
{ internalType: 'address', name: 'who', type: 'address' },
|
|
50
|
+
{ internalType: 'bytes32', name: 'permissionId', type: 'bytes32' },
|
|
51
|
+
],
|
|
52
|
+
name: 'Unauthorized',
|
|
53
|
+
type: 'error',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [
|
|
57
|
+
{ internalType: 'bytes4', name: 'callbackSelector', type: 'bytes4' },
|
|
58
|
+
{ internalType: 'bytes4', name: 'magicNumber', type: 'bytes4' },
|
|
59
|
+
],
|
|
60
|
+
name: 'UnknownCallback',
|
|
61
|
+
type: 'error',
|
|
62
|
+
},
|
|
63
|
+
{ inputs: [], name: 'ZeroAmount', type: 'error' },
|
|
64
|
+
{
|
|
65
|
+
anonymous: false,
|
|
66
|
+
inputs: [
|
|
67
|
+
{ indexed: false, internalType: 'address', name: 'previousAdmin', type: 'address' },
|
|
68
|
+
{ indexed: false, internalType: 'address', name: 'newAdmin', type: 'address' },
|
|
69
|
+
],
|
|
70
|
+
name: 'AdminChanged',
|
|
71
|
+
type: 'event',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
anonymous: false,
|
|
75
|
+
inputs: [{ indexed: true, internalType: 'address', name: 'beacon', type: 'address' }],
|
|
76
|
+
name: 'BeaconUpgraded',
|
|
77
|
+
type: 'event',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
anonymous: false,
|
|
81
|
+
inputs: [
|
|
82
|
+
{ indexed: false, internalType: 'address', name: 'sender', type: 'address' },
|
|
83
|
+
{ indexed: true, internalType: 'bytes4', name: 'sig', type: 'bytes4' },
|
|
84
|
+
{ indexed: false, internalType: 'bytes', name: 'data', type: 'bytes' },
|
|
85
|
+
],
|
|
86
|
+
name: 'CallbackReceived',
|
|
87
|
+
type: 'event',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
anonymous: false,
|
|
91
|
+
inputs: [
|
|
92
|
+
{ indexed: true, internalType: 'address', name: 'sender', type: 'address' },
|
|
93
|
+
{ indexed: true, internalType: 'address', name: 'token', type: 'address' },
|
|
94
|
+
{ indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
95
|
+
{ indexed: false, internalType: 'string', name: '_reference', type: 'string' },
|
|
96
|
+
],
|
|
97
|
+
name: 'Deposited',
|
|
98
|
+
type: 'event',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
anonymous: false,
|
|
102
|
+
inputs: [
|
|
103
|
+
{ indexed: true, internalType: 'address', name: 'actor', type: 'address' },
|
|
104
|
+
{ indexed: false, internalType: 'bytes32', name: 'callId', type: 'bytes32' },
|
|
105
|
+
{
|
|
106
|
+
components: [
|
|
107
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
108
|
+
{ internalType: 'uint256', name: 'value', type: 'uint256' },
|
|
109
|
+
{ internalType: 'bytes', name: 'data', type: 'bytes' },
|
|
110
|
+
],
|
|
111
|
+
indexed: false,
|
|
112
|
+
internalType: 'struct Action[]',
|
|
113
|
+
name: 'actions',
|
|
114
|
+
type: 'tuple[]',
|
|
115
|
+
},
|
|
116
|
+
{ indexed: false, internalType: 'uint256', name: 'allowFailureMap', type: 'uint256' },
|
|
117
|
+
{ indexed: false, internalType: 'uint256', name: 'failureMap', type: 'uint256' },
|
|
118
|
+
{ indexed: false, internalType: 'bytes[]', name: 'execResults', type: 'bytes[]' },
|
|
119
|
+
],
|
|
120
|
+
name: 'Executed',
|
|
121
|
+
type: 'event',
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
anonymous: false,
|
|
125
|
+
inputs: [
|
|
126
|
+
{ indexed: true, internalType: 'bytes32', name: 'permissionId', type: 'bytes32' },
|
|
127
|
+
{ indexed: true, internalType: 'address', name: 'here', type: 'address' },
|
|
128
|
+
{ indexed: false, internalType: 'address', name: 'where', type: 'address' },
|
|
129
|
+
{ indexed: true, internalType: 'address', name: 'who', type: 'address' },
|
|
130
|
+
{ indexed: false, internalType: 'address', name: 'condition', type: 'address' },
|
|
131
|
+
],
|
|
132
|
+
name: 'Granted',
|
|
133
|
+
type: 'event',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
anonymous: false,
|
|
137
|
+
inputs: [{ indexed: false, internalType: 'uint8', name: 'version', type: 'uint8' }],
|
|
138
|
+
name: 'Initialized',
|
|
139
|
+
type: 'event',
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
anonymous: false,
|
|
143
|
+
inputs: [{ indexed: false, internalType: 'bytes', name: 'metadata', type: 'bytes' }],
|
|
144
|
+
name: 'MetadataSet',
|
|
145
|
+
type: 'event',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
anonymous: false,
|
|
149
|
+
inputs: [
|
|
150
|
+
{ indexed: false, internalType: 'address', name: 'sender', type: 'address' },
|
|
151
|
+
{ indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
152
|
+
],
|
|
153
|
+
name: 'NativeTokenDeposited',
|
|
154
|
+
type: 'event',
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
anonymous: false,
|
|
158
|
+
inputs: [{ indexed: false, internalType: 'string', name: 'daoURI', type: 'string' }],
|
|
159
|
+
name: 'NewURI',
|
|
160
|
+
type: 'event',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
anonymous: false,
|
|
164
|
+
inputs: [
|
|
165
|
+
{ indexed: true, internalType: 'bytes32', name: 'permissionId', type: 'bytes32' },
|
|
166
|
+
{ indexed: true, internalType: 'address', name: 'here', type: 'address' },
|
|
167
|
+
{ indexed: false, internalType: 'address', name: 'where', type: 'address' },
|
|
168
|
+
{ indexed: true, internalType: 'address', name: 'who', type: 'address' },
|
|
169
|
+
],
|
|
170
|
+
name: 'Revoked',
|
|
171
|
+
type: 'event',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
anonymous: false,
|
|
175
|
+
inputs: [
|
|
176
|
+
{ indexed: false, internalType: 'bytes4', name: 'interfaceId', type: 'bytes4' },
|
|
177
|
+
{ indexed: false, internalType: 'bytes4', name: 'callbackSelector', type: 'bytes4' },
|
|
178
|
+
{ indexed: false, internalType: 'bytes4', name: 'magicNumber', type: 'bytes4' },
|
|
179
|
+
],
|
|
180
|
+
name: 'StandardCallbackRegistered',
|
|
181
|
+
type: 'event',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
anonymous: false,
|
|
185
|
+
inputs: [{ indexed: false, internalType: 'address', name: 'forwarder', type: 'address' }],
|
|
186
|
+
name: 'TrustedForwarderSet',
|
|
187
|
+
type: 'event',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
anonymous: false,
|
|
191
|
+
inputs: [{ indexed: true, internalType: 'address', name: 'implementation', type: 'address' }],
|
|
192
|
+
name: 'Upgraded',
|
|
193
|
+
type: 'event',
|
|
194
|
+
},
|
|
195
|
+
{ stateMutability: 'nonpayable', type: 'fallback' },
|
|
196
|
+
{
|
|
197
|
+
inputs: [],
|
|
198
|
+
name: 'EXECUTE_PERMISSION_ID',
|
|
199
|
+
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
|
|
200
|
+
stateMutability: 'view',
|
|
201
|
+
type: 'function',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
inputs: [],
|
|
205
|
+
name: 'REGISTER_STANDARD_CALLBACK_PERMISSION_ID',
|
|
206
|
+
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
|
|
207
|
+
stateMutability: 'view',
|
|
208
|
+
type: 'function',
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
inputs: [],
|
|
212
|
+
name: 'ROOT_PERMISSION_ID',
|
|
213
|
+
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
|
|
214
|
+
stateMutability: 'view',
|
|
215
|
+
type: 'function',
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
inputs: [],
|
|
219
|
+
name: 'SET_METADATA_PERMISSION_ID',
|
|
220
|
+
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
|
|
221
|
+
stateMutability: 'view',
|
|
222
|
+
type: 'function',
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
inputs: [],
|
|
226
|
+
name: 'SET_TRUSTED_FORWARDER_PERMISSION_ID',
|
|
227
|
+
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
|
|
228
|
+
stateMutability: 'view',
|
|
229
|
+
type: 'function',
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
inputs: [],
|
|
233
|
+
name: 'UPGRADE_DAO_PERMISSION_ID',
|
|
234
|
+
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
|
|
235
|
+
stateMutability: 'view',
|
|
236
|
+
type: 'function',
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
inputs: [],
|
|
240
|
+
name: 'VALIDATE_SIGNATURE_PERMISSION_ID',
|
|
241
|
+
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
|
|
242
|
+
stateMutability: 'view',
|
|
243
|
+
type: 'function',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
inputs: [
|
|
247
|
+
{
|
|
248
|
+
components: [
|
|
249
|
+
{ internalType: 'enum PermissionLib.Operation', name: 'operation', type: 'uint8' },
|
|
250
|
+
{ internalType: 'address', name: 'where', type: 'address' },
|
|
251
|
+
{ internalType: 'address', name: 'who', type: 'address' },
|
|
252
|
+
{ internalType: 'address', name: 'condition', type: 'address' },
|
|
253
|
+
{ internalType: 'bytes32', name: 'permissionId', type: 'bytes32' },
|
|
254
|
+
],
|
|
255
|
+
internalType: 'struct PermissionLib.MultiTargetPermission[]',
|
|
256
|
+
name: '_items',
|
|
257
|
+
type: 'tuple[]',
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
name: 'applyMultiTargetPermissions',
|
|
261
|
+
outputs: [],
|
|
262
|
+
stateMutability: 'nonpayable',
|
|
263
|
+
type: 'function',
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
inputs: [
|
|
267
|
+
{ internalType: 'address', name: '_where', type: 'address' },
|
|
268
|
+
{
|
|
269
|
+
components: [
|
|
270
|
+
{ internalType: 'enum PermissionLib.Operation', name: 'operation', type: 'uint8' },
|
|
271
|
+
{ internalType: 'address', name: 'who', type: 'address' },
|
|
272
|
+
{ internalType: 'bytes32', name: 'permissionId', type: 'bytes32' },
|
|
273
|
+
],
|
|
274
|
+
internalType: 'struct PermissionLib.SingleTargetPermission[]',
|
|
275
|
+
name: 'items',
|
|
276
|
+
type: 'tuple[]',
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
name: 'applySingleTargetPermissions',
|
|
280
|
+
outputs: [],
|
|
281
|
+
stateMutability: 'nonpayable',
|
|
282
|
+
type: 'function',
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
inputs: [],
|
|
286
|
+
name: 'daoURI',
|
|
287
|
+
outputs: [{ internalType: 'string', name: '', type: 'string' }],
|
|
288
|
+
stateMutability: 'view',
|
|
289
|
+
type: 'function',
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
inputs: [
|
|
293
|
+
{ internalType: 'address', name: '_token', type: 'address' },
|
|
294
|
+
{ internalType: 'uint256', name: '_amount', type: 'uint256' },
|
|
295
|
+
{ internalType: 'string', name: '_reference', type: 'string' },
|
|
296
|
+
],
|
|
297
|
+
name: 'deposit',
|
|
298
|
+
outputs: [],
|
|
299
|
+
stateMutability: 'payable',
|
|
300
|
+
type: 'function',
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
inputs: [
|
|
304
|
+
{ internalType: 'bytes32', name: '_callId', type: 'bytes32' },
|
|
305
|
+
{
|
|
306
|
+
components: [
|
|
307
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
308
|
+
{ internalType: 'uint256', name: 'value', type: 'uint256' },
|
|
309
|
+
{ internalType: 'bytes', name: 'data', type: 'bytes' },
|
|
310
|
+
],
|
|
311
|
+
internalType: 'struct Action[]',
|
|
312
|
+
name: '_actions',
|
|
313
|
+
type: 'tuple[]',
|
|
314
|
+
},
|
|
315
|
+
{ internalType: 'uint256', name: '_allowFailureMap', type: 'uint256' },
|
|
316
|
+
],
|
|
317
|
+
name: 'execute',
|
|
318
|
+
outputs: [
|
|
319
|
+
{ internalType: 'bytes[]', name: 'execResults', type: 'bytes[]' },
|
|
320
|
+
{ internalType: 'uint256', name: 'failureMap', type: 'uint256' },
|
|
321
|
+
],
|
|
322
|
+
stateMutability: 'nonpayable',
|
|
323
|
+
type: 'function',
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
inputs: [],
|
|
327
|
+
name: 'getTrustedForwarder',
|
|
328
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
329
|
+
stateMutability: 'view',
|
|
330
|
+
type: 'function',
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
inputs: [
|
|
334
|
+
{ internalType: 'address', name: '_where', type: 'address' },
|
|
335
|
+
{ internalType: 'address', name: '_who', type: 'address' },
|
|
336
|
+
{ internalType: 'bytes32', name: '_permissionId', type: 'bytes32' },
|
|
337
|
+
],
|
|
338
|
+
name: 'grant',
|
|
339
|
+
outputs: [],
|
|
340
|
+
stateMutability: 'nonpayable',
|
|
341
|
+
type: 'function',
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
inputs: [
|
|
345
|
+
{ internalType: 'address', name: '_where', type: 'address' },
|
|
346
|
+
{ internalType: 'address', name: '_who', type: 'address' },
|
|
347
|
+
{ internalType: 'bytes32', name: '_permissionId', type: 'bytes32' },
|
|
348
|
+
{ internalType: 'contract IPermissionCondition', name: '_condition', type: 'address' },
|
|
349
|
+
],
|
|
350
|
+
name: 'grantWithCondition',
|
|
351
|
+
outputs: [],
|
|
352
|
+
stateMutability: 'nonpayable',
|
|
353
|
+
type: 'function',
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
inputs: [
|
|
357
|
+
{ internalType: 'address', name: '_where', type: 'address' },
|
|
358
|
+
{ internalType: 'address', name: '_who', type: 'address' },
|
|
359
|
+
{ internalType: 'bytes32', name: '_permissionId', type: 'bytes32' },
|
|
360
|
+
{ internalType: 'bytes', name: '_data', type: 'bytes' },
|
|
361
|
+
],
|
|
362
|
+
name: 'hasPermission',
|
|
363
|
+
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
|
|
364
|
+
stateMutability: 'view',
|
|
365
|
+
type: 'function',
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
inputs: [
|
|
369
|
+
{ internalType: 'bytes', name: '_metadata', type: 'bytes' },
|
|
370
|
+
{ internalType: 'address', name: '_initialOwner', type: 'address' },
|
|
371
|
+
{ internalType: 'address', name: '_trustedForwarder', type: 'address' },
|
|
372
|
+
{ internalType: 'string', name: 'daoURI_', type: 'string' },
|
|
373
|
+
],
|
|
374
|
+
name: 'initialize',
|
|
375
|
+
outputs: [],
|
|
376
|
+
stateMutability: 'nonpayable',
|
|
377
|
+
type: 'function',
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
inputs: [
|
|
381
|
+
{ internalType: 'uint8[3]', name: '_previousProtocolVersion', type: 'uint8[3]' },
|
|
382
|
+
{ internalType: 'bytes', name: '_initData', type: 'bytes' },
|
|
383
|
+
],
|
|
384
|
+
name: 'initializeFrom',
|
|
385
|
+
outputs: [],
|
|
386
|
+
stateMutability: 'nonpayable',
|
|
387
|
+
type: 'function',
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
inputs: [
|
|
391
|
+
{ internalType: 'address', name: '_where', type: 'address' },
|
|
392
|
+
{ internalType: 'address', name: '_who', type: 'address' },
|
|
393
|
+
{ internalType: 'bytes32', name: '_permissionId', type: 'bytes32' },
|
|
394
|
+
{ internalType: 'bytes', name: '_data', type: 'bytes' },
|
|
395
|
+
],
|
|
396
|
+
name: 'isGranted',
|
|
397
|
+
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
|
|
398
|
+
stateMutability: 'view',
|
|
399
|
+
type: 'function',
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
inputs: [
|
|
403
|
+
{ internalType: 'bytes32', name: '_hash', type: 'bytes32' },
|
|
404
|
+
{ internalType: 'bytes', name: '_signature', type: 'bytes' },
|
|
405
|
+
],
|
|
406
|
+
name: 'isValidSignature',
|
|
407
|
+
outputs: [{ internalType: 'bytes4', name: '', type: 'bytes4' }],
|
|
408
|
+
stateMutability: 'view',
|
|
409
|
+
type: 'function',
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
inputs: [],
|
|
413
|
+
name: 'protocolVersion',
|
|
414
|
+
outputs: [{ internalType: 'uint8[3]', name: '', type: 'uint8[3]' }],
|
|
415
|
+
stateMutability: 'pure',
|
|
416
|
+
type: 'function',
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
inputs: [],
|
|
420
|
+
name: 'proxiableUUID',
|
|
421
|
+
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
|
|
422
|
+
stateMutability: 'view',
|
|
423
|
+
type: 'function',
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
inputs: [
|
|
427
|
+
{ internalType: 'bytes4', name: '_interfaceId', type: 'bytes4' },
|
|
428
|
+
{ internalType: 'bytes4', name: '_callbackSelector', type: 'bytes4' },
|
|
429
|
+
{ internalType: 'bytes4', name: '_magicNumber', type: 'bytes4' },
|
|
430
|
+
],
|
|
431
|
+
name: 'registerStandardCallback',
|
|
432
|
+
outputs: [],
|
|
433
|
+
stateMutability: 'nonpayable',
|
|
434
|
+
type: 'function',
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
inputs: [
|
|
438
|
+
{ internalType: 'address', name: '_where', type: 'address' },
|
|
439
|
+
{ internalType: 'address', name: '_who', type: 'address' },
|
|
440
|
+
{ internalType: 'bytes32', name: '_permissionId', type: 'bytes32' },
|
|
441
|
+
],
|
|
442
|
+
name: 'revoke',
|
|
443
|
+
outputs: [],
|
|
444
|
+
stateMutability: 'nonpayable',
|
|
445
|
+
type: 'function',
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
inputs: [{ internalType: 'string', name: 'newDaoURI', type: 'string' }],
|
|
449
|
+
name: 'setDaoURI',
|
|
450
|
+
outputs: [],
|
|
451
|
+
stateMutability: 'nonpayable',
|
|
452
|
+
type: 'function',
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
inputs: [{ internalType: 'bytes', name: '_metadata', type: 'bytes' }],
|
|
456
|
+
name: 'setMetadata',
|
|
457
|
+
outputs: [],
|
|
458
|
+
stateMutability: 'nonpayable',
|
|
459
|
+
type: 'function',
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
inputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
463
|
+
name: 'setSignatureValidator',
|
|
464
|
+
outputs: [],
|
|
465
|
+
stateMutability: 'pure',
|
|
466
|
+
type: 'function',
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
inputs: [{ internalType: 'address', name: '_newTrustedForwarder', type: 'address' }],
|
|
470
|
+
name: 'setTrustedForwarder',
|
|
471
|
+
outputs: [],
|
|
472
|
+
stateMutability: 'nonpayable',
|
|
473
|
+
type: 'function',
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
inputs: [{ internalType: 'bytes4', name: 'interfaceId', type: 'bytes4' }],
|
|
477
|
+
name: 'supportsInterface',
|
|
478
|
+
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
|
|
479
|
+
stateMutability: 'view',
|
|
480
|
+
type: 'function',
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
inputs: [{ internalType: 'address', name: 'newImplementation', type: 'address' }],
|
|
484
|
+
name: 'upgradeTo',
|
|
485
|
+
outputs: [],
|
|
486
|
+
stateMutability: 'nonpayable',
|
|
487
|
+
type: 'function',
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
inputs: [
|
|
491
|
+
{ internalType: 'address', name: 'newImplementation', type: 'address' },
|
|
492
|
+
{ internalType: 'bytes', name: 'data', type: 'bytes' },
|
|
493
|
+
],
|
|
494
|
+
name: 'upgradeToAndCall',
|
|
495
|
+
outputs: [],
|
|
496
|
+
stateMutability: 'payable',
|
|
497
|
+
type: 'function',
|
|
498
|
+
},
|
|
499
|
+
{ stateMutability: 'payable', type: 'receive' },
|
|
500
|
+
] as const;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const AragonDelayedAction_ABI = [
|
|
2
2
|
{ inputs: [], name: 'AlreadyInitialized', type: 'error' },
|
|
3
3
|
{ inputs: [{ internalType: 'address', name: 'body', type: 'address' }], name: 'BodyResultTypeNotSet', type: 'error' },
|
|
4
4
|
{
|
|
@@ -10,6 +10,10 @@ export const ADDRESS: ChainAddressMap = {
|
|
|
10
10
|
|
|
11
11
|
// curator / DAO
|
|
12
12
|
curator: '0x9fe66037c44236c87D9Ac8345F489b4413fDFf06',
|
|
13
|
+
aragonDao: '0x9fe66037c44236c87D9Ac8345F489b4413fDFf06',
|
|
14
|
+
aragonMultiSig: '0x369C21c8cB56C0211772F003c917b2807204BB4D',
|
|
15
|
+
aragonDelayedAction: '0x8E8Bec995809bF29712C89149603a8C48329aF51',
|
|
16
|
+
aragonVetoMultiSig: '0xF786531776903BaE94A1A4f4F17a0233dca5f9d5',
|
|
13
17
|
|
|
14
18
|
// deployer and stable
|
|
15
19
|
usduDeployer: '0x745211a1e1a58b2b11b932855b30d411c31e25d5',
|
package/exports/address.types.ts
CHANGED
package/exports/index.ts
CHANGED
|
@@ -6,9 +6,10 @@ export * from './address.config';
|
|
|
6
6
|
export * from './address.types';
|
|
7
7
|
|
|
8
8
|
// aragon abis
|
|
9
|
-
export * from './abis/aragon/
|
|
10
|
-
export * from './abis/aragon/
|
|
11
|
-
export * from './abis/aragon/
|
|
9
|
+
export * from './abis/aragon/AragonDao';
|
|
10
|
+
export * from './abis/aragon/AragonMultiSig';
|
|
11
|
+
export * from './abis/aragon/AragonDelayedAction';
|
|
12
|
+
export * from './abis/aragon/AragonVetoMultiSig';
|
|
12
13
|
|
|
13
14
|
// curve abis
|
|
14
15
|
export * from './abis/curve/CurveAdapterV1';
|