@q00bs/agent-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Q00bsAgent.d.ts +331 -0
- package/dist/Q00bsAgent.d.ts.map +1 -0
- package/dist/Q00bsAgent.js +695 -0
- package/dist/Q00bsAgent.js.map +1 -0
- package/dist/abis/AgentEscrow.d.ts +336 -0
- package/dist/abis/AgentEscrow.d.ts.map +1 -0
- package/dist/abis/AgentEscrow.js +206 -0
- package/dist/abis/AgentEscrow.js.map +1 -0
- package/dist/abis/AgentRegistry.d.ts +496 -0
- package/dist/abis/AgentRegistry.d.ts.map +1 -0
- package/dist/abis/AgentRegistry.js +280 -0
- package/dist/abis/AgentRegistry.js.map +1 -0
- package/dist/abis/ConsensusModule.d.ts +270 -0
- package/dist/abis/ConsensusModule.d.ts.map +1 -0
- package/dist/abis/ConsensusModule.js +157 -0
- package/dist/abis/ConsensusModule.js.map +1 -0
- package/dist/abis/ERC8004Identity.d.ts +293 -0
- package/dist/abis/ERC8004Identity.d.ts.map +1 -0
- package/dist/abis/ERC8004Identity.js +223 -0
- package/dist/abis/ERC8004Identity.js.map +1 -0
- package/dist/abis/ERC8004Reputation.d.ts +362 -0
- package/dist/abis/ERC8004Reputation.d.ts.map +1 -0
- package/dist/abis/ERC8004Reputation.js +229 -0
- package/dist/abis/ERC8004Reputation.js.map +1 -0
- package/dist/abis/ERC8004Validation.d.ts +234 -0
- package/dist/abis/ERC8004Validation.d.ts.map +1 -0
- package/dist/abis/ERC8004Validation.js +162 -0
- package/dist/abis/ERC8004Validation.js.map +1 -0
- package/dist/abis/Q00bFactory.d.ts +123 -0
- package/dist/abis/Q00bFactory.d.ts.map +1 -0
- package/dist/abis/Q00bFactory.js +65 -0
- package/dist/abis/Q00bFactory.js.map +1 -0
- package/dist/abis/TheQ00bs.d.ts +119 -0
- package/dist/abis/TheQ00bs.d.ts.map +1 -0
- package/dist/abis/TheQ00bs.js +73 -0
- package/dist/abis/TheQ00bs.js.map +1 -0
- package/dist/abis/index.d.ts +9 -0
- package/dist/abis/index.d.ts.map +1 -0
- package/dist/abis/index.js +17 -0
- package/dist/abis/index.js.map +1 -0
- package/dist/client.d.ts +111 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +134 -0
- package/dist/client.js.map +1 -0
- package/dist/consensus.d.ts +85 -0
- package/dist/consensus.d.ts.map +1 -0
- package/dist/consensus.js +227 -0
- package/dist/consensus.js.map +1 -0
- package/dist/constants.d.ts +85 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +113 -0
- package/dist/constants.js.map +1 -0
- package/dist/discovery.d.ts +70 -0
- package/dist/discovery.d.ts.map +1 -0
- package/dist/discovery.js +214 -0
- package/dist/discovery.js.map +1 -0
- package/dist/erc8004.d.ts +311 -0
- package/dist/erc8004.d.ts.map +1 -0
- package/dist/erc8004.js +824 -0
- package/dist/erc8004.js.map +1 -0
- package/dist/errors.d.ts +107 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +210 -0
- package/dist/errors.js.map +1 -0
- package/dist/escrow.d.ts +86 -0
- package/dist/escrow.d.ts.map +1 -0
- package/dist/escrow.js +267 -0
- package/dist/escrow.js.map +1 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +118 -0
- package/dist/index.js.map +1 -0
- package/dist/privy.d.ts +197 -0
- package/dist/privy.d.ts.map +1 -0
- package/dist/privy.js +524 -0
- package/dist/privy.js.map +1 -0
- package/dist/trust.d.ts +49 -0
- package/dist/trust.d.ts.map +1 -0
- package/dist/trust.js +117 -0
- package/dist/trust.js.map +1 -0
- package/dist/types.d.ts +472 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +36 -0
- package/dist/types.js.map +1 -0
- package/package.json +30 -0
|
@@ -0,0 +1,496 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ABI for the AgentRegistry contract.
|
|
3
|
+
*
|
|
4
|
+
* This contract is an ERC-721 that registers AI agents as NFTs on Base.
|
|
5
|
+
* Each agent is tied to a q00b side position, inherits trust from its owner,
|
|
6
|
+
* and has configurable permissions (spend limits, hop limits, delegation).
|
|
7
|
+
*
|
|
8
|
+
* Deploy this contract BEFORE using the SDK (see contracts/deploy.js).
|
|
9
|
+
*/
|
|
10
|
+
export declare const AGENT_REGISTRY_ABI: readonly [{
|
|
11
|
+
readonly inputs: readonly [{
|
|
12
|
+
readonly internalType: "address";
|
|
13
|
+
readonly name: "agentWallet";
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
}, {
|
|
16
|
+
readonly internalType: "uint8";
|
|
17
|
+
readonly name: "sidePosition";
|
|
18
|
+
readonly type: "uint8";
|
|
19
|
+
}, {
|
|
20
|
+
readonly internalType: "bytes32";
|
|
21
|
+
readonly name: "capabilitiesHash";
|
|
22
|
+
readonly type: "bytes32";
|
|
23
|
+
}];
|
|
24
|
+
readonly name: "registerAgent";
|
|
25
|
+
readonly outputs: readonly [{
|
|
26
|
+
readonly internalType: "uint256";
|
|
27
|
+
readonly name: "";
|
|
28
|
+
readonly type: "uint256";
|
|
29
|
+
}];
|
|
30
|
+
readonly stateMutability: "nonpayable";
|
|
31
|
+
readonly type: "function";
|
|
32
|
+
}, {
|
|
33
|
+
readonly inputs: readonly [{
|
|
34
|
+
readonly internalType: "uint256";
|
|
35
|
+
readonly name: "agentId";
|
|
36
|
+
readonly type: "uint256";
|
|
37
|
+
}];
|
|
38
|
+
readonly name: "deactivateAgent";
|
|
39
|
+
readonly outputs: readonly [];
|
|
40
|
+
readonly stateMutability: "nonpayable";
|
|
41
|
+
readonly type: "function";
|
|
42
|
+
}, {
|
|
43
|
+
readonly inputs: readonly [{
|
|
44
|
+
readonly internalType: "uint256";
|
|
45
|
+
readonly name: "agentId";
|
|
46
|
+
readonly type: "uint256";
|
|
47
|
+
}];
|
|
48
|
+
readonly name: "reactivateAgent";
|
|
49
|
+
readonly outputs: readonly [];
|
|
50
|
+
readonly stateMutability: "nonpayable";
|
|
51
|
+
readonly type: "function";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [{
|
|
54
|
+
readonly internalType: "uint256";
|
|
55
|
+
readonly name: "agentId";
|
|
56
|
+
readonly type: "uint256";
|
|
57
|
+
}];
|
|
58
|
+
readonly name: "freezeAgent";
|
|
59
|
+
readonly outputs: readonly [];
|
|
60
|
+
readonly stateMutability: "nonpayable";
|
|
61
|
+
readonly type: "function";
|
|
62
|
+
}, {
|
|
63
|
+
readonly inputs: readonly [{
|
|
64
|
+
readonly internalType: "uint256";
|
|
65
|
+
readonly name: "agentId";
|
|
66
|
+
readonly type: "uint256";
|
|
67
|
+
}];
|
|
68
|
+
readonly name: "unfreezeAgent";
|
|
69
|
+
readonly outputs: readonly [];
|
|
70
|
+
readonly stateMutability: "nonpayable";
|
|
71
|
+
readonly type: "function";
|
|
72
|
+
}, {
|
|
73
|
+
readonly inputs: readonly [{
|
|
74
|
+
readonly internalType: "uint256";
|
|
75
|
+
readonly name: "agentId";
|
|
76
|
+
readonly type: "uint256";
|
|
77
|
+
}, {
|
|
78
|
+
readonly internalType: "uint256";
|
|
79
|
+
readonly name: "maxTransactionValue";
|
|
80
|
+
readonly type: "uint256";
|
|
81
|
+
}, {
|
|
82
|
+
readonly internalType: "uint256";
|
|
83
|
+
readonly name: "dailySpendLimit";
|
|
84
|
+
readonly type: "uint256";
|
|
85
|
+
}, {
|
|
86
|
+
readonly internalType: "uint8";
|
|
87
|
+
readonly name: "maxOutboundHops";
|
|
88
|
+
readonly type: "uint8";
|
|
89
|
+
}, {
|
|
90
|
+
readonly internalType: "uint8";
|
|
91
|
+
readonly name: "maxInboundHops";
|
|
92
|
+
readonly type: "uint8";
|
|
93
|
+
}, {
|
|
94
|
+
readonly internalType: "bool";
|
|
95
|
+
readonly name: "canDelegate";
|
|
96
|
+
readonly type: "bool";
|
|
97
|
+
}, {
|
|
98
|
+
readonly internalType: "bool";
|
|
99
|
+
readonly name: "requiresConsensusForHigh";
|
|
100
|
+
readonly type: "bool";
|
|
101
|
+
}];
|
|
102
|
+
readonly name: "updatePermissions";
|
|
103
|
+
readonly outputs: readonly [];
|
|
104
|
+
readonly stateMutability: "nonpayable";
|
|
105
|
+
readonly type: "function";
|
|
106
|
+
}, {
|
|
107
|
+
readonly inputs: readonly [{
|
|
108
|
+
readonly internalType: "uint256";
|
|
109
|
+
readonly name: "agentId";
|
|
110
|
+
readonly type: "uint256";
|
|
111
|
+
}, {
|
|
112
|
+
readonly internalType: "bytes32";
|
|
113
|
+
readonly name: "newCapabilitiesHash";
|
|
114
|
+
readonly type: "bytes32";
|
|
115
|
+
}];
|
|
116
|
+
readonly name: "updateCapabilities";
|
|
117
|
+
readonly outputs: readonly [];
|
|
118
|
+
readonly stateMutability: "nonpayable";
|
|
119
|
+
readonly type: "function";
|
|
120
|
+
}, {
|
|
121
|
+
readonly inputs: readonly [{
|
|
122
|
+
readonly internalType: "uint256";
|
|
123
|
+
readonly name: "agentId";
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
}, {
|
|
126
|
+
readonly internalType: "int256";
|
|
127
|
+
readonly name: "delta";
|
|
128
|
+
readonly type: "int256";
|
|
129
|
+
}, {
|
|
130
|
+
readonly internalType: "string";
|
|
131
|
+
readonly name: "reason";
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
}];
|
|
134
|
+
readonly name: "updateTrustScore";
|
|
135
|
+
readonly outputs: readonly [];
|
|
136
|
+
readonly stateMutability: "nonpayable";
|
|
137
|
+
readonly type: "function";
|
|
138
|
+
}, {
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly internalType: "uint256";
|
|
141
|
+
readonly name: "agentA";
|
|
142
|
+
readonly type: "uint256";
|
|
143
|
+
}, {
|
|
144
|
+
readonly internalType: "uint256";
|
|
145
|
+
readonly name: "agentB";
|
|
146
|
+
readonly type: "uint256";
|
|
147
|
+
}];
|
|
148
|
+
readonly name: "canCommunicate";
|
|
149
|
+
readonly outputs: readonly [{
|
|
150
|
+
readonly internalType: "bool";
|
|
151
|
+
readonly name: "";
|
|
152
|
+
readonly type: "bool";
|
|
153
|
+
}, {
|
|
154
|
+
readonly internalType: "uint8";
|
|
155
|
+
readonly name: "";
|
|
156
|
+
readonly type: "uint8";
|
|
157
|
+
}];
|
|
158
|
+
readonly stateMutability: "view";
|
|
159
|
+
readonly type: "function";
|
|
160
|
+
}, {
|
|
161
|
+
readonly inputs: readonly [{
|
|
162
|
+
readonly internalType: "uint256";
|
|
163
|
+
readonly name: "queryingAgent";
|
|
164
|
+
readonly type: "uint256";
|
|
165
|
+
}, {
|
|
166
|
+
readonly internalType: "uint256";
|
|
167
|
+
readonly name: "targetAgent";
|
|
168
|
+
readonly type: "uint256";
|
|
169
|
+
}];
|
|
170
|
+
readonly name: "getEffectiveTrust";
|
|
171
|
+
readonly outputs: readonly [{
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
readonly name: "";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}];
|
|
176
|
+
readonly stateMutability: "view";
|
|
177
|
+
readonly type: "function";
|
|
178
|
+
}, {
|
|
179
|
+
readonly inputs: readonly [{
|
|
180
|
+
readonly internalType: "uint256";
|
|
181
|
+
readonly name: "agentId";
|
|
182
|
+
readonly type: "uint256";
|
|
183
|
+
}, {
|
|
184
|
+
readonly internalType: "uint256";
|
|
185
|
+
readonly name: "amount";
|
|
186
|
+
readonly type: "uint256";
|
|
187
|
+
}];
|
|
188
|
+
readonly name: "recordSpend";
|
|
189
|
+
readonly outputs: readonly [{
|
|
190
|
+
readonly internalType: "bool";
|
|
191
|
+
readonly name: "";
|
|
192
|
+
readonly type: "bool";
|
|
193
|
+
}];
|
|
194
|
+
readonly stateMutability: "nonpayable";
|
|
195
|
+
readonly type: "function";
|
|
196
|
+
}, {
|
|
197
|
+
readonly inputs: readonly [{
|
|
198
|
+
readonly internalType: "uint256";
|
|
199
|
+
readonly name: "agentId";
|
|
200
|
+
readonly type: "uint256";
|
|
201
|
+
}];
|
|
202
|
+
readonly name: "getAgent";
|
|
203
|
+
readonly outputs: readonly [{
|
|
204
|
+
readonly components: readonly [{
|
|
205
|
+
readonly internalType: "address";
|
|
206
|
+
readonly name: "wallet";
|
|
207
|
+
readonly type: "address";
|
|
208
|
+
}, {
|
|
209
|
+
readonly internalType: "address";
|
|
210
|
+
readonly name: "ownerQ00b";
|
|
211
|
+
readonly type: "address";
|
|
212
|
+
}, {
|
|
213
|
+
readonly internalType: "uint8";
|
|
214
|
+
readonly name: "sidePosition";
|
|
215
|
+
readonly type: "uint8";
|
|
216
|
+
}, {
|
|
217
|
+
readonly internalType: "bytes32";
|
|
218
|
+
readonly name: "capabilitiesHash";
|
|
219
|
+
readonly type: "bytes32";
|
|
220
|
+
}, {
|
|
221
|
+
readonly internalType: "uint256";
|
|
222
|
+
readonly name: "trustScore";
|
|
223
|
+
readonly type: "uint256";
|
|
224
|
+
}, {
|
|
225
|
+
readonly internalType: "uint256";
|
|
226
|
+
readonly name: "registeredAt";
|
|
227
|
+
readonly type: "uint256";
|
|
228
|
+
}, {
|
|
229
|
+
readonly internalType: "uint256";
|
|
230
|
+
readonly name: "lastActiveAt";
|
|
231
|
+
readonly type: "uint256";
|
|
232
|
+
}, {
|
|
233
|
+
readonly internalType: "bool";
|
|
234
|
+
readonly name: "active";
|
|
235
|
+
readonly type: "bool";
|
|
236
|
+
}, {
|
|
237
|
+
readonly internalType: "bool";
|
|
238
|
+
readonly name: "frozen";
|
|
239
|
+
readonly type: "bool";
|
|
240
|
+
}];
|
|
241
|
+
readonly internalType: "struct AgentRegistry.Agent";
|
|
242
|
+
readonly name: "";
|
|
243
|
+
readonly type: "tuple";
|
|
244
|
+
}];
|
|
245
|
+
readonly stateMutability: "view";
|
|
246
|
+
readonly type: "function";
|
|
247
|
+
}, {
|
|
248
|
+
readonly inputs: readonly [{
|
|
249
|
+
readonly internalType: "address";
|
|
250
|
+
readonly name: "wallet";
|
|
251
|
+
readonly type: "address";
|
|
252
|
+
}];
|
|
253
|
+
readonly name: "getAgentByWallet";
|
|
254
|
+
readonly outputs: readonly [{
|
|
255
|
+
readonly internalType: "uint256";
|
|
256
|
+
readonly name: "";
|
|
257
|
+
readonly type: "uint256";
|
|
258
|
+
}, {
|
|
259
|
+
readonly components: readonly [{
|
|
260
|
+
readonly internalType: "address";
|
|
261
|
+
readonly name: "wallet";
|
|
262
|
+
readonly type: "address";
|
|
263
|
+
}, {
|
|
264
|
+
readonly internalType: "address";
|
|
265
|
+
readonly name: "ownerQ00b";
|
|
266
|
+
readonly type: "address";
|
|
267
|
+
}, {
|
|
268
|
+
readonly internalType: "uint8";
|
|
269
|
+
readonly name: "sidePosition";
|
|
270
|
+
readonly type: "uint8";
|
|
271
|
+
}, {
|
|
272
|
+
readonly internalType: "bytes32";
|
|
273
|
+
readonly name: "capabilitiesHash";
|
|
274
|
+
readonly type: "bytes32";
|
|
275
|
+
}, {
|
|
276
|
+
readonly internalType: "uint256";
|
|
277
|
+
readonly name: "trustScore";
|
|
278
|
+
readonly type: "uint256";
|
|
279
|
+
}, {
|
|
280
|
+
readonly internalType: "uint256";
|
|
281
|
+
readonly name: "registeredAt";
|
|
282
|
+
readonly type: "uint256";
|
|
283
|
+
}, {
|
|
284
|
+
readonly internalType: "uint256";
|
|
285
|
+
readonly name: "lastActiveAt";
|
|
286
|
+
readonly type: "uint256";
|
|
287
|
+
}, {
|
|
288
|
+
readonly internalType: "bool";
|
|
289
|
+
readonly name: "active";
|
|
290
|
+
readonly type: "bool";
|
|
291
|
+
}, {
|
|
292
|
+
readonly internalType: "bool";
|
|
293
|
+
readonly name: "frozen";
|
|
294
|
+
readonly type: "bool";
|
|
295
|
+
}];
|
|
296
|
+
readonly internalType: "struct AgentRegistry.Agent";
|
|
297
|
+
readonly name: "";
|
|
298
|
+
readonly type: "tuple";
|
|
299
|
+
}];
|
|
300
|
+
readonly stateMutability: "view";
|
|
301
|
+
readonly type: "function";
|
|
302
|
+
}, {
|
|
303
|
+
readonly inputs: readonly [{
|
|
304
|
+
readonly internalType: "address";
|
|
305
|
+
readonly name: "owner";
|
|
306
|
+
readonly type: "address";
|
|
307
|
+
}];
|
|
308
|
+
readonly name: "getOwnerAgents";
|
|
309
|
+
readonly outputs: readonly [{
|
|
310
|
+
readonly internalType: "uint256[]";
|
|
311
|
+
readonly name: "";
|
|
312
|
+
readonly type: "uint256[]";
|
|
313
|
+
}];
|
|
314
|
+
readonly stateMutability: "view";
|
|
315
|
+
readonly type: "function";
|
|
316
|
+
}, {
|
|
317
|
+
readonly inputs: readonly [{
|
|
318
|
+
readonly internalType: "uint256";
|
|
319
|
+
readonly name: "agentId";
|
|
320
|
+
readonly type: "uint256";
|
|
321
|
+
}];
|
|
322
|
+
readonly name: "getAgentPermissions";
|
|
323
|
+
readonly outputs: readonly [{
|
|
324
|
+
readonly components: readonly [{
|
|
325
|
+
readonly internalType: "uint256";
|
|
326
|
+
readonly name: "maxTransactionValue";
|
|
327
|
+
readonly type: "uint256";
|
|
328
|
+
}, {
|
|
329
|
+
readonly internalType: "uint256";
|
|
330
|
+
readonly name: "dailySpendLimit";
|
|
331
|
+
readonly type: "uint256";
|
|
332
|
+
}, {
|
|
333
|
+
readonly internalType: "uint256";
|
|
334
|
+
readonly name: "dailySpent";
|
|
335
|
+
readonly type: "uint256";
|
|
336
|
+
}, {
|
|
337
|
+
readonly internalType: "uint256";
|
|
338
|
+
readonly name: "lastSpendReset";
|
|
339
|
+
readonly type: "uint256";
|
|
340
|
+
}, {
|
|
341
|
+
readonly internalType: "uint8";
|
|
342
|
+
readonly name: "maxOutboundHops";
|
|
343
|
+
readonly type: "uint8";
|
|
344
|
+
}, {
|
|
345
|
+
readonly internalType: "uint8";
|
|
346
|
+
readonly name: "maxInboundHops";
|
|
347
|
+
readonly type: "uint8";
|
|
348
|
+
}, {
|
|
349
|
+
readonly internalType: "bool";
|
|
350
|
+
readonly name: "canDelegate";
|
|
351
|
+
readonly type: "bool";
|
|
352
|
+
}, {
|
|
353
|
+
readonly internalType: "bool";
|
|
354
|
+
readonly name: "requiresConsensusForHigh";
|
|
355
|
+
readonly type: "bool";
|
|
356
|
+
}];
|
|
357
|
+
readonly internalType: "struct AgentRegistry.AgentPermissions";
|
|
358
|
+
readonly name: "";
|
|
359
|
+
readonly type: "tuple";
|
|
360
|
+
}];
|
|
361
|
+
readonly stateMutability: "view";
|
|
362
|
+
readonly type: "function";
|
|
363
|
+
}, {
|
|
364
|
+
readonly inputs: readonly [{
|
|
365
|
+
readonly internalType: "uint256";
|
|
366
|
+
readonly name: "agentId";
|
|
367
|
+
readonly type: "uint256";
|
|
368
|
+
}];
|
|
369
|
+
readonly name: "isAgentActive";
|
|
370
|
+
readonly outputs: readonly [{
|
|
371
|
+
readonly internalType: "bool";
|
|
372
|
+
readonly name: "";
|
|
373
|
+
readonly type: "bool";
|
|
374
|
+
}];
|
|
375
|
+
readonly stateMutability: "view";
|
|
376
|
+
readonly type: "function";
|
|
377
|
+
}, {
|
|
378
|
+
readonly inputs: readonly [{
|
|
379
|
+
readonly internalType: "address";
|
|
380
|
+
readonly name: "";
|
|
381
|
+
readonly type: "address";
|
|
382
|
+
}];
|
|
383
|
+
readonly name: "walletToAgent";
|
|
384
|
+
readonly outputs: readonly [{
|
|
385
|
+
readonly internalType: "uint256";
|
|
386
|
+
readonly name: "";
|
|
387
|
+
readonly type: "uint256";
|
|
388
|
+
}];
|
|
389
|
+
readonly stateMutability: "view";
|
|
390
|
+
readonly type: "function";
|
|
391
|
+
}, {
|
|
392
|
+
readonly inputs: readonly [];
|
|
393
|
+
readonly name: "totalSupply";
|
|
394
|
+
readonly outputs: readonly [{
|
|
395
|
+
readonly internalType: "uint256";
|
|
396
|
+
readonly name: "";
|
|
397
|
+
readonly type: "uint256";
|
|
398
|
+
}];
|
|
399
|
+
readonly stateMutability: "view";
|
|
400
|
+
readonly type: "function";
|
|
401
|
+
}, {
|
|
402
|
+
readonly inputs: readonly [{
|
|
403
|
+
readonly internalType: "uint256";
|
|
404
|
+
readonly name: "tokenId";
|
|
405
|
+
readonly type: "uint256";
|
|
406
|
+
}];
|
|
407
|
+
readonly name: "ownerOf";
|
|
408
|
+
readonly outputs: readonly [{
|
|
409
|
+
readonly internalType: "address";
|
|
410
|
+
readonly name: "";
|
|
411
|
+
readonly type: "address";
|
|
412
|
+
}];
|
|
413
|
+
readonly stateMutability: "view";
|
|
414
|
+
readonly type: "function";
|
|
415
|
+
}, {
|
|
416
|
+
readonly anonymous: false;
|
|
417
|
+
readonly inputs: readonly [{
|
|
418
|
+
readonly indexed: true;
|
|
419
|
+
readonly internalType: "uint256";
|
|
420
|
+
readonly name: "agentId";
|
|
421
|
+
readonly type: "uint256";
|
|
422
|
+
}, {
|
|
423
|
+
readonly indexed: true;
|
|
424
|
+
readonly internalType: "address";
|
|
425
|
+
readonly name: "wallet";
|
|
426
|
+
readonly type: "address";
|
|
427
|
+
}, {
|
|
428
|
+
readonly indexed: true;
|
|
429
|
+
readonly internalType: "address";
|
|
430
|
+
readonly name: "ownerQ00b";
|
|
431
|
+
readonly type: "address";
|
|
432
|
+
}, {
|
|
433
|
+
readonly indexed: false;
|
|
434
|
+
readonly internalType: "uint8";
|
|
435
|
+
readonly name: "sidePosition";
|
|
436
|
+
readonly type: "uint8";
|
|
437
|
+
}];
|
|
438
|
+
readonly name: "AgentRegistered";
|
|
439
|
+
readonly type: "event";
|
|
440
|
+
}, {
|
|
441
|
+
readonly anonymous: false;
|
|
442
|
+
readonly inputs: readonly [{
|
|
443
|
+
readonly indexed: true;
|
|
444
|
+
readonly internalType: "uint256";
|
|
445
|
+
readonly name: "agentId";
|
|
446
|
+
readonly type: "uint256";
|
|
447
|
+
}, {
|
|
448
|
+
readonly indexed: true;
|
|
449
|
+
readonly internalType: "address";
|
|
450
|
+
readonly name: "by";
|
|
451
|
+
readonly type: "address";
|
|
452
|
+
}];
|
|
453
|
+
readonly name: "AgentDeactivated";
|
|
454
|
+
readonly type: "event";
|
|
455
|
+
}, {
|
|
456
|
+
readonly anonymous: false;
|
|
457
|
+
readonly inputs: readonly [{
|
|
458
|
+
readonly indexed: true;
|
|
459
|
+
readonly internalType: "uint256";
|
|
460
|
+
readonly name: "agentId";
|
|
461
|
+
readonly type: "uint256";
|
|
462
|
+
}, {
|
|
463
|
+
readonly indexed: true;
|
|
464
|
+
readonly internalType: "address";
|
|
465
|
+
readonly name: "by";
|
|
466
|
+
readonly type: "address";
|
|
467
|
+
}];
|
|
468
|
+
readonly name: "AgentReactivated";
|
|
469
|
+
readonly type: "event";
|
|
470
|
+
}, {
|
|
471
|
+
readonly anonymous: false;
|
|
472
|
+
readonly inputs: readonly [{
|
|
473
|
+
readonly indexed: true;
|
|
474
|
+
readonly internalType: "uint256";
|
|
475
|
+
readonly name: "agentId";
|
|
476
|
+
readonly type: "uint256";
|
|
477
|
+
}, {
|
|
478
|
+
readonly indexed: false;
|
|
479
|
+
readonly internalType: "uint256";
|
|
480
|
+
readonly name: "oldScore";
|
|
481
|
+
readonly type: "uint256";
|
|
482
|
+
}, {
|
|
483
|
+
readonly indexed: false;
|
|
484
|
+
readonly internalType: "uint256";
|
|
485
|
+
readonly name: "newScore";
|
|
486
|
+
readonly type: "uint256";
|
|
487
|
+
}, {
|
|
488
|
+
readonly indexed: false;
|
|
489
|
+
readonly internalType: "string";
|
|
490
|
+
readonly name: "reason";
|
|
491
|
+
readonly type: "string";
|
|
492
|
+
}];
|
|
493
|
+
readonly name: "TrustScoreUpdated";
|
|
494
|
+
readonly type: "event";
|
|
495
|
+
}];
|
|
496
|
+
//# sourceMappingURL=AgentRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentRegistry.d.ts","sourceRoot":"","sources":["../../src/abis/AgentRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmRrB,CAAC"}
|