@agenticprimitives/contracts 1.0.0-alpha.45 → 1.0.0-alpha.47
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/AUDIT.md +60 -26
- package/deployments-base-sepolia.json +2 -0
- package/deployments-faithchain.json +2 -0
- package/deployments-hopechain.json +2 -0
- package/dist/abi/AgentAccount.json +175 -0
- package/dist/abi/AgentAccountFactory.json +47 -0
- package/dist/abi/AgentNameAttributeResolver.json +24 -0
- package/dist/abi/AgentNameRegistry.json +369 -0
- package/dist/abi/AgentNameUniversalResolver.json +34 -0
- package/dist/abi/AgentProfileResolver.json +48 -0
- package/dist/abi/AgentRegistryBase.json +158 -0
- package/dist/abi/AgentRelationship.json +212 -0
- package/dist/abi/AgreementRegistry.json +10 -0
- package/dist/abi/AttestationRegistry.json +49 -0
- package/dist/abi/AttributeStorage.json +24 -0
- package/dist/abi/CustodyPolicy.json +184 -0
- package/dist/abi/DelegationManager.json +96 -0
- package/dist/abi/DigestBindingEnforcer.json +103 -1
- package/dist/abi/EstateProjectionRegistry.json +137 -24
- package/dist/abi/GeoFeatureRegistry.json +42 -0
- package/dist/abi/IAgentAccountFactoryView.json +13 -0
- package/dist/abi/IAgentAccountGovernanceTimelockView.json +15 -0
- package/dist/abi/ICustodyPolicyFactoryView.json +13 -0
- package/dist/abi/ICustodyPolicyPasskeyView.json +50 -0
- package/dist/abi/IRedemptionContext.json +15 -0
- package/dist/abi/ITreasurySpendPolicyAccountView.json +44 -0
- package/dist/abi/IUpgradeVoucherView.json +26 -0
- package/dist/abi/OntologyTermRegistry.json +57 -0
- package/dist/abi/PaymentEnforcer.json +10 -0
- package/dist/abi/PermissionlessSubregistry.json +165 -0
- package/dist/abi/PricedSubregistry.json +57 -0
- package/dist/abi/RelationshipTypeRegistry.json +57 -0
- package/dist/abi/ShapeRegistry.json +57 -0
- package/dist/abi/SkillDefinitionRegistry.json +42 -0
- package/dist/abi/TreasurySpendPolicy.json +106 -1
- package/dist/abi/UpgradeVoucher.json +176 -0
- package/dist/abi/index.d.ts +6 -0
- package/dist/abi/index.js +6 -0
- package/dist/deployments/base-sepolia.d.ts +2 -0
- package/dist/deployments/base-sepolia.js +4 -0
- package/dist/deployments/faithchain.d.ts +2 -0
- package/dist/deployments/faithchain.js +4 -0
- package/dist/deployments/hopechain.d.ts +2 -0
- package/dist/deployments/hopechain.js +4 -0
- package/package.json +1 -1
- package/src/AgentAccount.sol +531 -92
- package/src/AgentAccountFactory.sol +28 -2
- package/src/IAgentAccount.sol +14 -0
- package/src/SmartAgentPaymaster.sol +30 -3
- package/src/UpgradeVoucher.sol +74 -0
- package/src/agency/DelegationManager.sol +177 -52
- package/src/agency/ICaveatEnforcer.sol +10 -0
- package/src/agency/IDelegationManager.sol +6 -5
- package/src/agreement/AgreementRegistry.sol +61 -17
- package/src/attestation/AttestationRegistry.sol +115 -22
- package/src/custody/CustodyPolicy.sol +393 -47
- package/src/custody/TreasurySpendPolicy.sol +192 -29
- package/src/enforcers/AllowedMethodsEnforcer.sol +6 -1
- package/src/enforcers/AllowedTargetsEnforcer.sol +6 -1
- package/src/enforcers/DigestBindingEnforcer.sol +91 -19
- package/src/enforcers/PaymentEnforcer.sol +32 -1
- package/src/enforcers/QuorumEnforcer.sol +1 -1
- package/src/enforcers/ValueEnforcer.sol +6 -1
- package/src/geo/GeoFeatureRegistry.sol +25 -1
- package/src/governance/AgenticGovernance.sol +16 -0
- package/src/identity/AgentProfileResolver.sol +11 -0
- package/src/naming/AgentNameAttributeResolver.sol +17 -2
- package/src/naming/AgentNamePredicates.sol +1 -1
- package/src/naming/AgentNameRegistry.sol +205 -10
- package/src/naming/AgentNameUniversalResolver.sol +26 -0
- package/src/naming/PermissionlessSubregistry.sol +69 -23
- package/src/naming/PricedSubregistry.sol +28 -0
- package/src/ontology/AttributeStorage.sol +93 -80
- package/src/ontology/OntologyTermRegistry.sol +28 -0
- package/src/ontology/ShapeRegistry.sol +28 -0
- package/src/payments/PaymentEscrow.sol +23 -15
- package/src/payments/PaymentReceiptRegistry.sol +11 -3
- package/src/registry/AgentRegistryBase.sol +39 -0
- package/src/registry/EstateProjectionRegistry.sol +94 -40
- package/src/relationships/AgentRelationship.sol +112 -7
- package/src/relationships/RelationshipTypeRegistry.sol +28 -0
- package/src/skills/SkillDefinitionRegistry.sol +25 -1
|
@@ -33,6 +33,32 @@
|
|
|
33
33
|
],
|
|
34
34
|
"stateMutability": "view"
|
|
35
35
|
},
|
|
36
|
+
{
|
|
37
|
+
"type": "function",
|
|
38
|
+
"name": "MAX_COMMIT_AGE",
|
|
39
|
+
"inputs": [],
|
|
40
|
+
"outputs": [
|
|
41
|
+
{
|
|
42
|
+
"name": "",
|
|
43
|
+
"type": "uint256",
|
|
44
|
+
"internalType": "uint256"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"stateMutability": "view"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "function",
|
|
51
|
+
"name": "MIN_COMMIT_AGE",
|
|
52
|
+
"inputs": [],
|
|
53
|
+
"outputs": [
|
|
54
|
+
{
|
|
55
|
+
"name": "",
|
|
56
|
+
"type": "uint256",
|
|
57
|
+
"internalType": "uint256"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"stateMutability": "view"
|
|
61
|
+
},
|
|
36
62
|
{
|
|
37
63
|
"type": "function",
|
|
38
64
|
"name": "MIN_LABEL_LENGTH",
|
|
@@ -104,6 +130,38 @@
|
|
|
104
130
|
],
|
|
105
131
|
"stateMutability": "view"
|
|
106
132
|
},
|
|
133
|
+
{
|
|
134
|
+
"type": "function",
|
|
135
|
+
"name": "commit",
|
|
136
|
+
"inputs": [
|
|
137
|
+
{
|
|
138
|
+
"name": "commitment",
|
|
139
|
+
"type": "bytes32",
|
|
140
|
+
"internalType": "bytes32"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"outputs": [],
|
|
144
|
+
"stateMutability": "nonpayable"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"type": "function",
|
|
148
|
+
"name": "committedAt",
|
|
149
|
+
"inputs": [
|
|
150
|
+
{
|
|
151
|
+
"name": "",
|
|
152
|
+
"type": "bytes32",
|
|
153
|
+
"internalType": "bytes32"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"outputs": [
|
|
157
|
+
{
|
|
158
|
+
"name": "",
|
|
159
|
+
"type": "uint256",
|
|
160
|
+
"internalType": "uint256"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"stateMutability": "view"
|
|
164
|
+
},
|
|
107
165
|
{
|
|
108
166
|
"type": "function",
|
|
109
167
|
"name": "hasClaimed",
|
|
@@ -123,6 +181,35 @@
|
|
|
123
181
|
],
|
|
124
182
|
"stateMutability": "view"
|
|
125
183
|
},
|
|
184
|
+
{
|
|
185
|
+
"type": "function",
|
|
186
|
+
"name": "makeCommitment",
|
|
187
|
+
"inputs": [
|
|
188
|
+
{
|
|
189
|
+
"name": "label",
|
|
190
|
+
"type": "string",
|
|
191
|
+
"internalType": "string"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "newOwner",
|
|
195
|
+
"type": "address",
|
|
196
|
+
"internalType": "address"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "secret",
|
|
200
|
+
"type": "bytes32",
|
|
201
|
+
"internalType": "bytes32"
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"outputs": [
|
|
205
|
+
{
|
|
206
|
+
"name": "",
|
|
207
|
+
"type": "bytes32",
|
|
208
|
+
"internalType": "bytes32"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"stateMutability": "view"
|
|
212
|
+
},
|
|
126
213
|
{
|
|
127
214
|
"type": "function",
|
|
128
215
|
"name": "register",
|
|
@@ -136,6 +223,11 @@
|
|
|
136
223
|
"name": "newOwner",
|
|
137
224
|
"type": "address",
|
|
138
225
|
"internalType": "address"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "secret",
|
|
229
|
+
"type": "bytes32",
|
|
230
|
+
"internalType": "bytes32"
|
|
139
231
|
}
|
|
140
232
|
],
|
|
141
233
|
"outputs": [
|
|
@@ -147,6 +239,25 @@
|
|
|
147
239
|
],
|
|
148
240
|
"stateMutability": "nonpayable"
|
|
149
241
|
},
|
|
242
|
+
{
|
|
243
|
+
"type": "event",
|
|
244
|
+
"name": "Committed",
|
|
245
|
+
"inputs": [
|
|
246
|
+
{
|
|
247
|
+
"name": "commitment",
|
|
248
|
+
"type": "bytes32",
|
|
249
|
+
"indexed": true,
|
|
250
|
+
"internalType": "bytes32"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "by",
|
|
254
|
+
"type": "address",
|
|
255
|
+
"indexed": true,
|
|
256
|
+
"internalType": "address"
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"anonymous": false
|
|
260
|
+
},
|
|
150
261
|
{
|
|
151
262
|
"type": "event",
|
|
152
263
|
"name": "NameClaimed",
|
|
@@ -189,6 +300,55 @@
|
|
|
189
300
|
}
|
|
190
301
|
]
|
|
191
302
|
},
|
|
303
|
+
{
|
|
304
|
+
"type": "error",
|
|
305
|
+
"name": "CommitmentExpired",
|
|
306
|
+
"inputs": [
|
|
307
|
+
{
|
|
308
|
+
"name": "commitment",
|
|
309
|
+
"type": "bytes32",
|
|
310
|
+
"internalType": "bytes32"
|
|
311
|
+
}
|
|
312
|
+
]
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"type": "error",
|
|
316
|
+
"name": "CommitmentNotFound",
|
|
317
|
+
"inputs": [
|
|
318
|
+
{
|
|
319
|
+
"name": "commitment",
|
|
320
|
+
"type": "bytes32",
|
|
321
|
+
"internalType": "bytes32"
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"type": "error",
|
|
327
|
+
"name": "CommitmentPending",
|
|
328
|
+
"inputs": [
|
|
329
|
+
{
|
|
330
|
+
"name": "commitment",
|
|
331
|
+
"type": "bytes32",
|
|
332
|
+
"internalType": "bytes32"
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"type": "error",
|
|
338
|
+
"name": "CommitmentTooNew",
|
|
339
|
+
"inputs": [
|
|
340
|
+
{
|
|
341
|
+
"name": "commitment",
|
|
342
|
+
"type": "bytes32",
|
|
343
|
+
"internalType": "bytes32"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "matureAt",
|
|
347
|
+
"type": "uint256",
|
|
348
|
+
"internalType": "uint256"
|
|
349
|
+
}
|
|
350
|
+
]
|
|
351
|
+
},
|
|
192
352
|
{
|
|
193
353
|
"type": "error",
|
|
194
354
|
"name": "EmptyLabel",
|
|
@@ -204,6 +364,11 @@
|
|
|
204
364
|
"name": "ReentrancyGuardReentrantCall",
|
|
205
365
|
"inputs": []
|
|
206
366
|
},
|
|
367
|
+
{
|
|
368
|
+
"type": "error",
|
|
369
|
+
"name": "ZeroCommitment",
|
|
370
|
+
"inputs": []
|
|
371
|
+
},
|
|
207
372
|
{
|
|
208
373
|
"type": "error",
|
|
209
374
|
"name": "ZeroNewOwner",
|
|
@@ -128,6 +128,13 @@
|
|
|
128
128
|
],
|
|
129
129
|
"stateMutability": "view"
|
|
130
130
|
},
|
|
131
|
+
{
|
|
132
|
+
"type": "function",
|
|
133
|
+
"name": "acceptGovernor",
|
|
134
|
+
"inputs": [],
|
|
135
|
+
"outputs": [],
|
|
136
|
+
"stateMutability": "nonpayable"
|
|
137
|
+
},
|
|
131
138
|
{
|
|
132
139
|
"type": "function",
|
|
133
140
|
"name": "base",
|
|
@@ -416,6 +423,19 @@
|
|
|
416
423
|
],
|
|
417
424
|
"stateMutability": "view"
|
|
418
425
|
},
|
|
426
|
+
{
|
|
427
|
+
"type": "function",
|
|
428
|
+
"name": "pendingGovernor",
|
|
429
|
+
"inputs": [],
|
|
430
|
+
"outputs": [
|
|
431
|
+
{
|
|
432
|
+
"name": "",
|
|
433
|
+
"type": "address",
|
|
434
|
+
"internalType": "address"
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
"stateMutability": "view"
|
|
438
|
+
},
|
|
419
439
|
{
|
|
420
440
|
"type": "function",
|
|
421
441
|
"name": "priceOf",
|
|
@@ -435,6 +455,19 @@
|
|
|
435
455
|
],
|
|
436
456
|
"stateMutability": "view"
|
|
437
457
|
},
|
|
458
|
+
{
|
|
459
|
+
"type": "function",
|
|
460
|
+
"name": "proposeGovernor",
|
|
461
|
+
"inputs": [
|
|
462
|
+
{
|
|
463
|
+
"name": "newGovernor",
|
|
464
|
+
"type": "address",
|
|
465
|
+
"internalType": "address"
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"outputs": [],
|
|
469
|
+
"stateMutability": "nonpayable"
|
|
470
|
+
},
|
|
438
471
|
{
|
|
439
472
|
"type": "function",
|
|
440
473
|
"name": "setFeeTreasury",
|
|
@@ -620,6 +653,25 @@
|
|
|
620
653
|
],
|
|
621
654
|
"anonymous": false
|
|
622
655
|
},
|
|
656
|
+
{
|
|
657
|
+
"type": "event",
|
|
658
|
+
"name": "GovernorProposed",
|
|
659
|
+
"inputs": [
|
|
660
|
+
{
|
|
661
|
+
"name": "governor",
|
|
662
|
+
"type": "address",
|
|
663
|
+
"indexed": true,
|
|
664
|
+
"internalType": "address"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"name": "pendingGovernor",
|
|
668
|
+
"type": "address",
|
|
669
|
+
"indexed": true,
|
|
670
|
+
"internalType": "address"
|
|
671
|
+
}
|
|
672
|
+
],
|
|
673
|
+
"anonymous": false
|
|
674
|
+
},
|
|
623
675
|
{
|
|
624
676
|
"type": "event",
|
|
625
677
|
"name": "GovernorTransferred",
|
|
@@ -813,6 +865,11 @@
|
|
|
813
865
|
"name": "NotPayer",
|
|
814
866
|
"inputs": []
|
|
815
867
|
},
|
|
868
|
+
{
|
|
869
|
+
"type": "error",
|
|
870
|
+
"name": "NotPendingGovernor",
|
|
871
|
+
"inputs": []
|
|
872
|
+
},
|
|
816
873
|
{
|
|
817
874
|
"type": "error",
|
|
818
875
|
"name": "ReentrancyGuardReentrantCall",
|
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
],
|
|
11
11
|
"stateMutability": "nonpayable"
|
|
12
12
|
},
|
|
13
|
+
{
|
|
14
|
+
"type": "function",
|
|
15
|
+
"name": "acceptGovernor",
|
|
16
|
+
"inputs": [],
|
|
17
|
+
"outputs": [],
|
|
18
|
+
"stateMutability": "nonpayable"
|
|
19
|
+
},
|
|
13
20
|
{
|
|
14
21
|
"type": "function",
|
|
15
22
|
"name": "activateType",
|
|
@@ -232,6 +239,32 @@
|
|
|
232
239
|
],
|
|
233
240
|
"stateMutability": "view"
|
|
234
241
|
},
|
|
242
|
+
{
|
|
243
|
+
"type": "function",
|
|
244
|
+
"name": "pendingGovernor",
|
|
245
|
+
"inputs": [],
|
|
246
|
+
"outputs": [
|
|
247
|
+
{
|
|
248
|
+
"name": "",
|
|
249
|
+
"type": "address",
|
|
250
|
+
"internalType": "address"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"stateMutability": "view"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"type": "function",
|
|
257
|
+
"name": "proposeGovernor",
|
|
258
|
+
"inputs": [
|
|
259
|
+
{
|
|
260
|
+
"name": "newGovernor",
|
|
261
|
+
"type": "address",
|
|
262
|
+
"internalType": "address"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"outputs": [],
|
|
266
|
+
"stateMutability": "nonpayable"
|
|
267
|
+
},
|
|
235
268
|
{
|
|
236
269
|
"type": "function",
|
|
237
270
|
"name": "registerType",
|
|
@@ -319,6 +352,25 @@
|
|
|
319
352
|
"outputs": [],
|
|
320
353
|
"stateMutability": "nonpayable"
|
|
321
354
|
},
|
|
355
|
+
{
|
|
356
|
+
"type": "event",
|
|
357
|
+
"name": "GovernorProposed",
|
|
358
|
+
"inputs": [
|
|
359
|
+
{
|
|
360
|
+
"name": "governor",
|
|
361
|
+
"type": "address",
|
|
362
|
+
"indexed": true,
|
|
363
|
+
"internalType": "address"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "pendingGovernor",
|
|
367
|
+
"type": "address",
|
|
368
|
+
"indexed": true,
|
|
369
|
+
"internalType": "address"
|
|
370
|
+
}
|
|
371
|
+
],
|
|
372
|
+
"anonymous": false
|
|
373
|
+
},
|
|
322
374
|
{
|
|
323
375
|
"type": "event",
|
|
324
376
|
"name": "GovernorTransferred",
|
|
@@ -437,6 +489,11 @@
|
|
|
437
489
|
"name": "NotGovernor",
|
|
438
490
|
"inputs": []
|
|
439
491
|
},
|
|
492
|
+
{
|
|
493
|
+
"type": "error",
|
|
494
|
+
"name": "NotPendingGovernor",
|
|
495
|
+
"inputs": []
|
|
496
|
+
},
|
|
440
497
|
{
|
|
441
498
|
"type": "error",
|
|
442
499
|
"name": "TypeExists",
|
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
],
|
|
11
11
|
"stateMutability": "nonpayable"
|
|
12
12
|
},
|
|
13
|
+
{
|
|
14
|
+
"type": "function",
|
|
15
|
+
"name": "acceptGovernor",
|
|
16
|
+
"inputs": [],
|
|
17
|
+
"outputs": [],
|
|
18
|
+
"stateMutability": "nonpayable"
|
|
19
|
+
},
|
|
13
20
|
{
|
|
14
21
|
"type": "function",
|
|
15
22
|
"name": "activateShape",
|
|
@@ -316,6 +323,32 @@
|
|
|
316
323
|
],
|
|
317
324
|
"stateMutability": "view"
|
|
318
325
|
},
|
|
326
|
+
{
|
|
327
|
+
"type": "function",
|
|
328
|
+
"name": "pendingGovernor",
|
|
329
|
+
"inputs": [],
|
|
330
|
+
"outputs": [
|
|
331
|
+
{
|
|
332
|
+
"name": "",
|
|
333
|
+
"type": "address",
|
|
334
|
+
"internalType": "address"
|
|
335
|
+
}
|
|
336
|
+
],
|
|
337
|
+
"stateMutability": "view"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"type": "function",
|
|
341
|
+
"name": "proposeGovernor",
|
|
342
|
+
"inputs": [
|
|
343
|
+
{
|
|
344
|
+
"name": "newGovernor",
|
|
345
|
+
"type": "address",
|
|
346
|
+
"internalType": "address"
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"outputs": [],
|
|
350
|
+
"stateMutability": "nonpayable"
|
|
351
|
+
},
|
|
319
352
|
{
|
|
320
353
|
"type": "function",
|
|
321
354
|
"name": "shapeCount",
|
|
@@ -445,6 +478,25 @@
|
|
|
445
478
|
],
|
|
446
479
|
"anonymous": false
|
|
447
480
|
},
|
|
481
|
+
{
|
|
482
|
+
"type": "event",
|
|
483
|
+
"name": "GovernorProposed",
|
|
484
|
+
"inputs": [
|
|
485
|
+
{
|
|
486
|
+
"name": "governor",
|
|
487
|
+
"type": "address",
|
|
488
|
+
"indexed": true,
|
|
489
|
+
"internalType": "address"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "pendingGovernor",
|
|
493
|
+
"type": "address",
|
|
494
|
+
"indexed": true,
|
|
495
|
+
"internalType": "address"
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
"anonymous": false
|
|
499
|
+
},
|
|
448
500
|
{
|
|
449
501
|
"type": "event",
|
|
450
502
|
"name": "GovernorTransferred",
|
|
@@ -583,6 +635,11 @@
|
|
|
583
635
|
"name": "NotGovernor",
|
|
584
636
|
"inputs": []
|
|
585
637
|
},
|
|
638
|
+
{
|
|
639
|
+
"type": "error",
|
|
640
|
+
"name": "NotPendingGovernor",
|
|
641
|
+
"inputs": []
|
|
642
|
+
},
|
|
586
643
|
{
|
|
587
644
|
"type": "error",
|
|
588
645
|
"name": "ShapeAlreadyDefined",
|
|
@@ -51,6 +51,30 @@
|
|
|
51
51
|
],
|
|
52
52
|
"stateMutability": "view"
|
|
53
53
|
},
|
|
54
|
+
{
|
|
55
|
+
"type": "function",
|
|
56
|
+
"name": "allSkillsPage",
|
|
57
|
+
"inputs": [
|
|
58
|
+
{
|
|
59
|
+
"name": "offset",
|
|
60
|
+
"type": "uint256",
|
|
61
|
+
"internalType": "uint256"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "limit",
|
|
65
|
+
"type": "uint256",
|
|
66
|
+
"internalType": "uint256"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"outputs": [
|
|
70
|
+
{
|
|
71
|
+
"name": "page",
|
|
72
|
+
"type": "bytes32[]",
|
|
73
|
+
"internalType": "bytes32[]"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"stateMutability": "view"
|
|
77
|
+
},
|
|
54
78
|
{
|
|
55
79
|
"type": "function",
|
|
56
80
|
"name": "deactivate",
|
|
@@ -363,6 +387,19 @@
|
|
|
363
387
|
"outputs": [],
|
|
364
388
|
"stateMutability": "nonpayable"
|
|
365
389
|
},
|
|
390
|
+
{
|
|
391
|
+
"type": "function",
|
|
392
|
+
"name": "skillCount",
|
|
393
|
+
"inputs": [],
|
|
394
|
+
"outputs": [
|
|
395
|
+
{
|
|
396
|
+
"name": "",
|
|
397
|
+
"type": "uint256",
|
|
398
|
+
"internalType": "uint256"
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"stateMutability": "view"
|
|
402
|
+
},
|
|
366
403
|
{
|
|
367
404
|
"type": "event",
|
|
368
405
|
"name": "SkillDeactivated",
|
|
@@ -487,5 +524,10 @@
|
|
|
487
524
|
"type": "error",
|
|
488
525
|
"name": "SkillNotFound",
|
|
489
526
|
"inputs": []
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"type": "error",
|
|
530
|
+
"name": "ValidityNotNarrowed",
|
|
531
|
+
"inputs": []
|
|
490
532
|
}
|
|
491
533
|
]
|
|
@@ -132,6 +132,19 @@
|
|
|
132
132
|
],
|
|
133
133
|
"stateMutability": "pure"
|
|
134
134
|
},
|
|
135
|
+
{
|
|
136
|
+
"type": "function",
|
|
137
|
+
"name": "lowerCeiling",
|
|
138
|
+
"inputs": [
|
|
139
|
+
{
|
|
140
|
+
"name": "newCeiling",
|
|
141
|
+
"type": "uint256",
|
|
142
|
+
"internalType": "uint256"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"outputs": [],
|
|
146
|
+
"stateMutability": "nonpayable"
|
|
147
|
+
},
|
|
135
148
|
{
|
|
136
149
|
"type": "function",
|
|
137
150
|
"name": "moduleId",
|
|
@@ -194,7 +207,7 @@
|
|
|
194
207
|
"internalType": "address"
|
|
195
208
|
},
|
|
196
209
|
{
|
|
197
|
-
"name": "",
|
|
210
|
+
"name": "value",
|
|
198
211
|
"type": "uint256",
|
|
199
212
|
"internalType": "uint256"
|
|
200
213
|
},
|
|
@@ -237,6 +250,19 @@
|
|
|
237
250
|
],
|
|
238
251
|
"stateMutability": "view"
|
|
239
252
|
},
|
|
253
|
+
{
|
|
254
|
+
"type": "function",
|
|
255
|
+
"name": "setCeiling",
|
|
256
|
+
"inputs": [
|
|
257
|
+
{
|
|
258
|
+
"name": "newCeiling",
|
|
259
|
+
"type": "uint256",
|
|
260
|
+
"internalType": "uint256"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"outputs": [],
|
|
264
|
+
"stateMutability": "nonpayable"
|
|
265
|
+
},
|
|
240
266
|
{
|
|
241
267
|
"type": "event",
|
|
242
268
|
"name": "BudgetInstalled",
|
|
@@ -287,6 +313,31 @@
|
|
|
287
313
|
],
|
|
288
314
|
"anonymous": false
|
|
289
315
|
},
|
|
316
|
+
{
|
|
317
|
+
"type": "event",
|
|
318
|
+
"name": "CeilingChanged",
|
|
319
|
+
"inputs": [
|
|
320
|
+
{
|
|
321
|
+
"name": "account",
|
|
322
|
+
"type": "address",
|
|
323
|
+
"indexed": true,
|
|
324
|
+
"internalType": "address"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "oldCeiling",
|
|
328
|
+
"type": "uint256",
|
|
329
|
+
"indexed": false,
|
|
330
|
+
"internalType": "uint256"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "newCeiling",
|
|
334
|
+
"type": "uint256",
|
|
335
|
+
"indexed": false,
|
|
336
|
+
"internalType": "uint256"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"anonymous": false
|
|
340
|
+
},
|
|
290
341
|
{
|
|
291
342
|
"type": "event",
|
|
292
343
|
"name": "Spent",
|
|
@@ -355,6 +406,17 @@
|
|
|
355
406
|
}
|
|
356
407
|
]
|
|
357
408
|
},
|
|
409
|
+
{
|
|
410
|
+
"type": "error",
|
|
411
|
+
"name": "NotInstalledAsHookOn",
|
|
412
|
+
"inputs": [
|
|
413
|
+
{
|
|
414
|
+
"name": "account",
|
|
415
|
+
"type": "address",
|
|
416
|
+
"internalType": "address"
|
|
417
|
+
}
|
|
418
|
+
]
|
|
419
|
+
},
|
|
358
420
|
{
|
|
359
421
|
"type": "error",
|
|
360
422
|
"name": "NotInstalledOn",
|
|
@@ -365,5 +427,48 @@
|
|
|
365
427
|
"internalType": "address"
|
|
366
428
|
}
|
|
367
429
|
]
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"type": "error",
|
|
433
|
+
"name": "NotLower",
|
|
434
|
+
"inputs": [
|
|
435
|
+
{
|
|
436
|
+
"name": "current",
|
|
437
|
+
"type": "uint256",
|
|
438
|
+
"internalType": "uint256"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "requested",
|
|
442
|
+
"type": "uint256",
|
|
443
|
+
"internalType": "uint256"
|
|
444
|
+
}
|
|
445
|
+
]
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"type": "error",
|
|
449
|
+
"name": "StillInstalledOn",
|
|
450
|
+
"inputs": [
|
|
451
|
+
{
|
|
452
|
+
"name": "account",
|
|
453
|
+
"type": "address",
|
|
454
|
+
"internalType": "address"
|
|
455
|
+
}
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"type": "error",
|
|
460
|
+
"name": "UndecodableCall",
|
|
461
|
+
"inputs": []
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"type": "error",
|
|
465
|
+
"name": "UnrecognizedTokenCall",
|
|
466
|
+
"inputs": [
|
|
467
|
+
{
|
|
468
|
+
"name": "selector",
|
|
469
|
+
"type": "bytes4",
|
|
470
|
+
"internalType": "bytes4"
|
|
471
|
+
}
|
|
472
|
+
]
|
|
368
473
|
}
|
|
369
474
|
]
|