agentwallet-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/abi.js ADDED
@@ -0,0 +1,255 @@
1
+ export const AgentAccountV2Abi = [
2
+ // ─── Owner Functions ───
3
+ {
4
+ name: 'setSpendPolicy',
5
+ type: 'function',
6
+ stateMutability: 'nonpayable',
7
+ inputs: [
8
+ { name: 'token', type: 'address' },
9
+ { name: 'perTxLimit', type: 'uint256' },
10
+ { name: 'periodLimit', type: 'uint256' },
11
+ { name: 'periodLength', type: 'uint256' },
12
+ ],
13
+ outputs: [],
14
+ },
15
+ {
16
+ name: 'setOperator',
17
+ type: 'function',
18
+ stateMutability: 'nonpayable',
19
+ inputs: [
20
+ { name: 'operator', type: 'address' },
21
+ { name: 'authorized', type: 'bool' },
22
+ ],
23
+ outputs: [],
24
+ },
25
+ {
26
+ name: 'execute',
27
+ type: 'function',
28
+ stateMutability: 'payable',
29
+ inputs: [
30
+ { name: 'to', type: 'address' },
31
+ { name: 'value', type: 'uint256' },
32
+ { name: 'data', type: 'bytes' },
33
+ ],
34
+ outputs: [{ name: '', type: 'bytes' }],
35
+ },
36
+ {
37
+ name: 'approvePending',
38
+ type: 'function',
39
+ stateMutability: 'nonpayable',
40
+ inputs: [{ name: 'txId', type: 'uint256' }],
41
+ outputs: [],
42
+ },
43
+ {
44
+ name: 'cancelPending',
45
+ type: 'function',
46
+ stateMutability: 'nonpayable',
47
+ inputs: [{ name: 'txId', type: 'uint256' }],
48
+ outputs: [],
49
+ },
50
+ // ─── Agent Functions ───
51
+ {
52
+ name: 'agentExecute',
53
+ type: 'function',
54
+ stateMutability: 'payable',
55
+ inputs: [
56
+ { name: 'to', type: 'address' },
57
+ { name: 'value', type: 'uint256' },
58
+ { name: 'data', type: 'bytes' },
59
+ ],
60
+ outputs: [{ name: '', type: 'bytes' }],
61
+ },
62
+ {
63
+ name: 'agentTransferToken',
64
+ type: 'function',
65
+ stateMutability: 'nonpayable',
66
+ inputs: [
67
+ { name: 'token', type: 'address' },
68
+ { name: 'to', type: 'address' },
69
+ { name: 'amount', type: 'uint256' },
70
+ ],
71
+ outputs: [],
72
+ },
73
+ // ─── View Functions ───
74
+ {
75
+ name: 'remainingBudget',
76
+ type: 'function',
77
+ stateMutability: 'view',
78
+ inputs: [{ name: 'token', type: 'address' }],
79
+ outputs: [
80
+ { name: 'perTx', type: 'uint256' },
81
+ { name: 'inPeriod', type: 'uint256' },
82
+ ],
83
+ },
84
+ {
85
+ name: 'getPending',
86
+ type: 'function',
87
+ stateMutability: 'view',
88
+ inputs: [{ name: 'txId', type: 'uint256' }],
89
+ outputs: [
90
+ { name: 'to', type: 'address' },
91
+ { name: 'value', type: 'uint256' },
92
+ { name: 'token', type: 'address' },
93
+ { name: 'amount', type: 'uint256' },
94
+ { name: 'createdAt', type: 'uint256' },
95
+ { name: 'executed', type: 'bool' },
96
+ { name: 'cancelled', type: 'bool' },
97
+ ],
98
+ },
99
+ {
100
+ name: 'spendPolicies',
101
+ type: 'function',
102
+ stateMutability: 'view',
103
+ inputs: [{ name: 'token', type: 'address' }],
104
+ outputs: [
105
+ { name: 'perTxLimit', type: 'uint256' },
106
+ { name: 'periodLimit', type: 'uint256' },
107
+ { name: 'periodLength', type: 'uint256' },
108
+ { name: 'periodSpent', type: 'uint256' },
109
+ { name: 'periodStart', type: 'uint256' },
110
+ ],
111
+ },
112
+ {
113
+ name: 'operators',
114
+ type: 'function',
115
+ stateMutability: 'view',
116
+ inputs: [{ name: 'operator', type: 'address' }],
117
+ outputs: [{ name: '', type: 'bool' }],
118
+ },
119
+ {
120
+ name: 'pendingNonce',
121
+ type: 'function',
122
+ stateMutability: 'view',
123
+ inputs: [],
124
+ outputs: [{ name: '', type: 'uint256' }],
125
+ },
126
+ {
127
+ name: 'nonce',
128
+ type: 'function',
129
+ stateMutability: 'view',
130
+ inputs: [],
131
+ outputs: [{ name: '', type: 'uint256' }],
132
+ },
133
+ // [MAX-ADDED] ABI entries for wallet health check & activity history
134
+ {
135
+ name: 'tokenContract',
136
+ type: 'function',
137
+ stateMutability: 'view',
138
+ inputs: [],
139
+ outputs: [{ name: '', type: 'address' }],
140
+ },
141
+ {
142
+ name: 'tokenId',
143
+ type: 'function',
144
+ stateMutability: 'view',
145
+ inputs: [],
146
+ outputs: [{ name: '', type: 'uint256' }],
147
+ },
148
+ {
149
+ name: 'operatorEpoch',
150
+ type: 'function',
151
+ stateMutability: 'view',
152
+ inputs: [],
153
+ outputs: [{ name: '', type: 'uint256' }],
154
+ },
155
+ {
156
+ name: 'isOperatorActive',
157
+ type: 'function',
158
+ stateMutability: 'view',
159
+ inputs: [{ name: 'operator', type: 'address' }],
160
+ outputs: [{ name: '', type: 'bool' }],
161
+ },
162
+ // ─── Events ───
163
+ {
164
+ name: 'TransactionExecuted',
165
+ type: 'event',
166
+ inputs: [
167
+ { name: 'target', type: 'address', indexed: true },
168
+ { name: 'value', type: 'uint256', indexed: false },
169
+ { name: 'data', type: 'bytes', indexed: false },
170
+ { name: 'executor', type: 'address', indexed: true },
171
+ ],
172
+ },
173
+ {
174
+ name: 'SpendPolicyUpdated',
175
+ type: 'event',
176
+ inputs: [
177
+ { name: 'token', type: 'address', indexed: true },
178
+ { name: 'perTxLimit', type: 'uint256', indexed: false },
179
+ { name: 'periodLimit', type: 'uint256', indexed: false },
180
+ { name: 'periodLength', type: 'uint256', indexed: false },
181
+ ],
182
+ },
183
+ {
184
+ name: 'OperatorUpdated',
185
+ type: 'event',
186
+ inputs: [
187
+ { name: 'operator', type: 'address', indexed: true },
188
+ { name: 'authorized', type: 'bool', indexed: false },
189
+ ],
190
+ },
191
+ {
192
+ name: 'TransactionQueued',
193
+ type: 'event',
194
+ inputs: [
195
+ { name: 'txId', type: 'uint256', indexed: true },
196
+ { name: 'to', type: 'address', indexed: true },
197
+ { name: 'value', type: 'uint256', indexed: false },
198
+ { name: 'token', type: 'address', indexed: false },
199
+ { name: 'amount', type: 'uint256', indexed: false },
200
+ ],
201
+ },
202
+ {
203
+ name: 'TransactionApproved',
204
+ type: 'event',
205
+ inputs: [{ name: 'txId', type: 'uint256', indexed: true }],
206
+ },
207
+ {
208
+ name: 'TransactionCancelled',
209
+ type: 'event',
210
+ inputs: [{ name: 'txId', type: 'uint256', indexed: true }],
211
+ },
212
+ ];
213
+ export const AgentAccountFactoryV2Abi = [
214
+ {
215
+ name: 'createAccount',
216
+ type: 'function',
217
+ stateMutability: 'nonpayable',
218
+ inputs: [
219
+ { name: 'tokenContract', type: 'address' },
220
+ { name: 'tokenId', type: 'uint256' },
221
+ ],
222
+ outputs: [{ name: 'wallet', type: 'address' }],
223
+ },
224
+ {
225
+ name: 'getAddress',
226
+ type: 'function',
227
+ stateMutability: 'view',
228
+ inputs: [
229
+ { name: 'tokenContract', type: 'address' },
230
+ { name: 'tokenId', type: 'uint256' },
231
+ ],
232
+ outputs: [{ name: '', type: 'address' }],
233
+ },
234
+ {
235
+ name: 'wallets',
236
+ type: 'function',
237
+ stateMutability: 'view',
238
+ inputs: [
239
+ { name: 'tokenContract', type: 'address' },
240
+ { name: 'tokenId', type: 'uint256' },
241
+ ],
242
+ outputs: [{ name: '', type: 'address' }],
243
+ },
244
+ {
245
+ name: 'WalletCreated',
246
+ type: 'event',
247
+ inputs: [
248
+ { name: 'wallet', type: 'address', indexed: true },
249
+ { name: 'tokenContract', type: 'address', indexed: true },
250
+ { name: 'tokenId', type: 'uint256', indexed: true },
251
+ { name: 'deployer', type: 'address', indexed: false },
252
+ ],
253
+ },
254
+ ];
255
+ //# sourceMappingURL=abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abi.js","sourceRoot":"","sources":["../src/abi.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,0BAA0B;IAC1B;QACE,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,YAAY;QAC7B,MAAM,EAAE;YACN,EAAE,IAAI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