prediction-market-agent-tooling 0.43.2__py3-none-any.whl → 0.43.4__py3-none-any.whl

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 (20) hide show
  1. prediction_market_agent_tooling/abis/depositablewrapper_erc20.abi.json +279 -0
  2. prediction_market_agent_tooling/abis/erc20.abi.json +221 -314
  3. prediction_market_agent_tooling/abis/erc4626.abi.json +623 -0
  4. prediction_market_agent_tooling/abis/proxy.abi.json +24 -0
  5. prediction_market_agent_tooling/gtypes.py +1 -1
  6. prediction_market_agent_tooling/markets/agent_market.py +2 -1
  7. prediction_market_agent_tooling/markets/manifold/manifold.py +3 -2
  8. prediction_market_agent_tooling/markets/omen/data_models.py +2 -1
  9. prediction_market_agent_tooling/markets/omen/omen.py +73 -38
  10. prediction_market_agent_tooling/markets/omen/omen_contracts.py +43 -12
  11. prediction_market_agent_tooling/markets/omen/omen_resolving.py +15 -5
  12. prediction_market_agent_tooling/markets/omen/omen_subgraph_handler.py +9 -0
  13. prediction_market_agent_tooling/markets/polymarket/polymarket.py +2 -1
  14. prediction_market_agent_tooling/tools/contract.py +303 -11
  15. {prediction_market_agent_tooling-0.43.2.dist-info → prediction_market_agent_tooling-0.43.4.dist-info}/METADATA +1 -1
  16. {prediction_market_agent_tooling-0.43.2.dist-info → prediction_market_agent_tooling-0.43.4.dist-info}/RECORD +19 -17
  17. prediction_market_agent_tooling/abis/wxdai.abi.json +0 -279
  18. {prediction_market_agent_tooling-0.43.2.dist-info → prediction_market_agent_tooling-0.43.4.dist-info}/LICENSE +0 -0
  19. {prediction_market_agent_tooling-0.43.2.dist-info → prediction_market_agent_tooling-0.43.4.dist-info}/WHEEL +0 -0
  20. {prediction_market_agent_tooling-0.43.2.dist-info → prediction_market_agent_tooling-0.43.4.dist-info}/entry_points.txt +0 -0
@@ -1,315 +1,222 @@
1
1
  [
2
- {
3
- "inputs": [],
4
- "stateMutability": "nonpayable",
5
- "type": "constructor"
6
- },
7
- {
8
- "inputs": [
9
- {
10
- "internalType": "address",
11
- "name": "spender",
12
- "type": "address"
13
- },
14
- {
15
- "internalType": "uint256",
16
- "name": "allowance",
17
- "type": "uint256"
18
- },
19
- {
20
- "internalType": "uint256",
21
- "name": "needed",
22
- "type": "uint256"
23
- }
24
- ],
25
- "name": "ERC20InsufficientAllowance",
26
- "type": "error"
27
- },
28
- {
29
- "inputs": [
30
- {
31
- "internalType": "address",
32
- "name": "sender",
33
- "type": "address"
34
- },
35
- {
36
- "internalType": "uint256",
37
- "name": "balance",
38
- "type": "uint256"
39
- },
40
- {
41
- "internalType": "uint256",
42
- "name": "needed",
43
- "type": "uint256"
44
- }
45
- ],
46
- "name": "ERC20InsufficientBalance",
47
- "type": "error"
48
- },
49
- {
50
- "inputs": [
51
- {
52
- "internalType": "address",
53
- "name": "approver",
54
- "type": "address"
55
- }
56
- ],
57
- "name": "ERC20InvalidApprover",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [
62
- {
63
- "internalType": "address",
64
- "name": "receiver",
65
- "type": "address"
66
- }
67
- ],
68
- "name": "ERC20InvalidReceiver",
69
- "type": "error"
70
- },
71
- {
72
- "inputs": [
73
- {
74
- "internalType": "address",
75
- "name": "sender",
76
- "type": "address"
77
- }
78
- ],
79
- "name": "ERC20InvalidSender",
80
- "type": "error"
81
- },
82
- {
83
- "inputs": [
84
- {
85
- "internalType": "address",
86
- "name": "spender",
87
- "type": "address"
88
- }
89
- ],
90
- "name": "ERC20InvalidSpender",
91
- "type": "error"
92
- },
93
- {
94
- "anonymous": False,
95
- "inputs": [
96
- {
97
- "indexed": True,
98
- "internalType": "address",
99
- "name": "owner",
100
- "type": "address"
101
- },
102
- {
103
- "indexed": True,
104
- "internalType": "address",
105
- "name": "spender",
106
- "type": "address"
107
- },
108
- {
109
- "indexed": False,
110
- "internalType": "uint256",
111
- "name": "value",
112
- "type": "uint256"
113
- }
114
- ],
115
- "name": "Approval",
116
- "type": "event"
117
- },
118
- {
119
- "anonymous": False,
120
- "inputs": [
121
- {
122
- "indexed": True,
123
- "internalType": "address",
124
- "name": "from",
125
- "type": "address"
126
- },
127
- {
128
- "indexed": True,
129
- "internalType": "address",
130
- "name": "to",
131
- "type": "address"
132
- },
133
- {
134
- "indexed": False,
135
- "internalType": "uint256",
136
- "name": "value",
137
- "type": "uint256"
138
- }
139
- ],
140
- "name": "Transfer",
141
- "type": "event"
142
- },
143
- {
144
- "inputs": [
145
- {
146
- "internalType": "address",
147
- "name": "owner",
148
- "type": "address"
149
- },
150
- {
151
- "internalType": "address",
152
- "name": "spender",
153
- "type": "address"
154
- }
155
- ],
156
- "name": "allowance",
157
- "outputs": [
158
- {
159
- "internalType": "uint256",
160
- "name": "",
161
- "type": "uint256"
162
- }
163
- ],
164
- "stateMutability": "view",
165
- "type": "function"
166
- },
167
- {
168
- "inputs": [
169
- {
170
- "internalType": "address",
171
- "name": "spender",
172
- "type": "address"
173
- },
174
- {
175
- "internalType": "uint256",
176
- "name": "value",
177
- "type": "uint256"
178
- }
179
- ],
180
- "name": "approve",
181
- "outputs": [
182
- {
183
- "internalType": "bool",
184
- "name": "",
185
- "type": "bool"
186
- }
187
- ],
188
- "stateMutability": "nonpayable",
189
- "type": "function"
190
- },
191
- {
192
- "inputs": [
193
- {
194
- "internalType": "address",
195
- "name": "account",
196
- "type": "address"
197
- }
198
- ],
199
- "name": "balanceOf",
200
- "outputs": [
201
- {
202
- "internalType": "uint256",
203
- "name": "",
204
- "type": "uint256"
205
- }
206
- ],
207
- "stateMutability": "view",
208
- "type": "function"
209
- },
210
- {
211
- "inputs": [],
212
- "name": "decimals",
213
- "outputs": [
214
- {
215
- "internalType": "uint8",
216
- "name": "",
217
- "type": "uint8"
218
- }
219
- ],
220
- "stateMutability": "view",
221
- "type": "function"
222
- },
223
- {
224
- "inputs": [],
225
- "name": "name",
226
- "outputs": [
227
- {
228
- "internalType": "string",
229
- "name": "",
230
- "type": "string"
231
- }
232
- ],
233
- "stateMutability": "view",
234
- "type": "function"
235
- },
236
- {
237
- "inputs": [],
238
- "name": "symbol",
239
- "outputs": [
240
- {
241
- "internalType": "string",
242
- "name": "",
243
- "type": "string"
244
- }
245
- ],
246
- "stateMutability": "view",
247
- "type": "function"
248
- },
249
- {
250
- "inputs": [],
251
- "name": "totalSupply",
252
- "outputs": [
253
- {
254
- "internalType": "uint256",
255
- "name": "",
256
- "type": "uint256"
257
- }
258
- ],
259
- "stateMutability": "view",
260
- "type": "function"
261
- },
262
- {
263
- "inputs": [
264
- {
265
- "internalType": "address",
266
- "name": "to",
267
- "type": "address"
268
- },
269
- {
270
- "internalType": "uint256",
271
- "name": "value",
272
- "type": "uint256"
273
- }
274
- ],
275
- "name": "transfer",
276
- "outputs": [
277
- {
278
- "internalType": "bool",
279
- "name": "",
280
- "type": "bool"
281
- }
282
- ],
283
- "stateMutability": "nonpayable",
284
- "type": "function"
285
- },
286
- {
287
- "inputs": [
288
- {
289
- "internalType": "address",
290
- "name": "from",
291
- "type": "address"
292
- },
293
- {
294
- "internalType": "address",
295
- "name": "to",
296
- "type": "address"
297
- },
298
- {
299
- "internalType": "uint256",
300
- "name": "value",
301
- "type": "uint256"
302
- }
303
- ],
304
- "name": "transferFrom",
305
- "outputs": [
306
- {
307
- "internalType": "bool",
308
- "name": "",
309
- "type": "bool"
310
- }
311
- ],
312
- "stateMutability": "nonpayable",
313
- "type": "function"
314
- },
315
- ]
2
+ {
3
+ "constant": true,
4
+ "inputs": [],
5
+ "name": "name",
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "string"
10
+ }
11
+ ],
12
+ "payable": false,
13
+ "stateMutability": "view",
14
+ "type": "function"
15
+ },
16
+ {
17
+ "constant": false,
18
+ "inputs": [
19
+ {
20
+ "name": "_spender",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "name": "_value",
25
+ "type": "uint256"
26
+ }
27
+ ],
28
+ "name": "approve",
29
+ "outputs": [
30
+ {
31
+ "name": "",
32
+ "type": "bool"
33
+ }
34
+ ],
35
+ "payable": false,
36
+ "stateMutability": "nonpayable",
37
+ "type": "function"
38
+ },
39
+ {
40
+ "constant": true,
41
+ "inputs": [],
42
+ "name": "totalSupply",
43
+ "outputs": [
44
+ {
45
+ "name": "",
46
+ "type": "uint256"
47
+ }
48
+ ],
49
+ "payable": false,
50
+ "stateMutability": "view",
51
+ "type": "function"
52
+ },
53
+ {
54
+ "constant": false,
55
+ "inputs": [
56
+ {
57
+ "name": "_from",
58
+ "type": "address"
59
+ },
60
+ {
61
+ "name": "_to",
62
+ "type": "address"
63
+ },
64
+ {
65
+ "name": "_value",
66
+ "type": "uint256"
67
+ }
68
+ ],
69
+ "name": "transferFrom",
70
+ "outputs": [
71
+ {
72
+ "name": "",
73
+ "type": "bool"
74
+ }
75
+ ],
76
+ "payable": false,
77
+ "stateMutability": "nonpayable",
78
+ "type": "function"
79
+ },
80
+ {
81
+ "constant": true,
82
+ "inputs": [],
83
+ "name": "decimals",
84
+ "outputs": [
85
+ {
86
+ "name": "",
87
+ "type": "uint8"
88
+ }
89
+ ],
90
+ "payable": false,
91
+ "stateMutability": "view",
92
+ "type": "function"
93
+ },
94
+ {
95
+ "constant": true,
96
+ "inputs": [
97
+ {
98
+ "name": "_owner",
99
+ "type": "address"
100
+ }
101
+ ],
102
+ "name": "balanceOf",
103
+ "outputs": [
104
+ {
105
+ "name": "balance",
106
+ "type": "uint256"
107
+ }
108
+ ],
109
+ "payable": false,
110
+ "stateMutability": "view",
111
+ "type": "function"
112
+ },
113
+ {
114
+ "constant": true,
115
+ "inputs": [],
116
+ "name": "symbol",
117
+ "outputs": [
118
+ {
119
+ "name": "",
120
+ "type": "string"
121
+ }
122
+ ],
123
+ "payable": false,
124
+ "stateMutability": "view",
125
+ "type": "function"
126
+ },
127
+ {
128
+ "constant": false,
129
+ "inputs": [
130
+ {
131
+ "name": "_to",
132
+ "type": "address"
133
+ },
134
+ {
135
+ "name": "_value",
136
+ "type": "uint256"
137
+ }
138
+ ],
139
+ "name": "transfer",
140
+ "outputs": [
141
+ {
142
+ "name": "",
143
+ "type": "bool"
144
+ }
145
+ ],
146
+ "payable": false,
147
+ "stateMutability": "nonpayable",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "constant": true,
152
+ "inputs": [
153
+ {
154
+ "name": "_owner",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "name": "_spender",
159
+ "type": "address"
160
+ }
161
+ ],
162
+ "name": "allowance",
163
+ "outputs": [
164
+ {
165
+ "name": "",
166
+ "type": "uint256"
167
+ }
168
+ ],
169
+ "payable": false,
170
+ "stateMutability": "view",
171
+ "type": "function"
172
+ },
173
+ {
174
+ "payable": true,
175
+ "stateMutability": "payable",
176
+ "type": "fallback"
177
+ },
178
+ {
179
+ "anonymous": false,
180
+ "inputs": [
181
+ {
182
+ "indexed": true,
183
+ "name": "owner",
184
+ "type": "address"
185
+ },
186
+ {
187
+ "indexed": true,
188
+ "name": "spender",
189
+ "type": "address"
190
+ },
191
+ {
192
+ "indexed": false,
193
+ "name": "value",
194
+ "type": "uint256"
195
+ }
196
+ ],
197
+ "name": "Approval",
198
+ "type": "event"
199
+ },
200
+ {
201
+ "anonymous": false,
202
+ "inputs": [
203
+ {
204
+ "indexed": true,
205
+ "name": "from",
206
+ "type": "address"
207
+ },
208
+ {
209
+ "indexed": true,
210
+ "name": "to",
211
+ "type": "address"
212
+ },
213
+ {
214
+ "indexed": false,
215
+ "name": "value",
216
+ "type": "uint256"
217
+ }
218
+ ],
219
+ "name": "Transfer",
220
+ "type": "event"
221
+ }
222
+ ]