@polymarket/relayer-client 3.0.0 → 4.1.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.
@@ -1,319 +1,319 @@
1
1
  export const proxyWalletFactory = [
2
2
  {
3
- "constant": false,
4
- "inputs": [
3
+ constant: false,
4
+ inputs: [
5
5
  {
6
- "components": [
6
+ components: [
7
7
  {
8
- "name": "typeCode",
9
- "type": "uint8"
8
+ name: "typeCode",
9
+ type: "uint8",
10
10
  },
11
11
  {
12
- "name": "to",
13
- "type": "address"
12
+ name: "to",
13
+ type: "address",
14
14
  },
15
15
  {
16
- "name": "value",
17
- "type": "uint256"
16
+ name: "value",
17
+ type: "uint256",
18
18
  },
19
19
  {
20
- "name": "data",
21
- "type": "bytes"
22
- }
20
+ name: "data",
21
+ type: "bytes",
22
+ },
23
23
  ],
24
- "name": "calls",
25
- "type": "tuple[]"
26
- }
24
+ name: "calls",
25
+ type: "tuple[]",
26
+ },
27
27
  ],
28
- "name": "proxy",
29
- "outputs": [
28
+ name: "proxy",
29
+ outputs: [
30
30
  {
31
- "name": "returnValues",
32
- "type": "bytes[]"
33
- }
31
+ name: "returnValues",
32
+ type: "bytes[]",
33
+ },
34
34
  ],
35
- "payable": true,
36
- "stateMutability": "payable",
37
- "type": "function"
35
+ payable: true,
36
+ stateMutability: "payable",
37
+ type: "function",
38
38
  },
39
39
  {
40
- "constant": false,
41
- "inputs": [
40
+ constant: false,
41
+ inputs: [
42
42
  {
43
- "name": "",
44
- "type": "bytes"
45
- }
43
+ name: "",
44
+ type: "bytes",
45
+ },
46
46
  ],
47
- "name": "cloneConstructor",
48
- "outputs": [],
49
- "payable": false,
50
- "stateMutability": "nonpayable",
51
- "type": "function"
47
+ name: "cloneConstructor",
48
+ outputs: [],
49
+ payable: false,
50
+ stateMutability: "nonpayable",
51
+ type: "function",
52
52
  },
53
53
  {
54
- "constant": false,
55
- "inputs": [],
56
- "name": "renounceOwnership",
57
- "outputs": [],
58
- "payable": false,
59
- "stateMutability": "nonpayable",
60
- "type": "function"
54
+ constant: false,
55
+ inputs: [],
56
+ name: "renounceOwnership",
57
+ outputs: [],
58
+ payable: false,
59
+ stateMutability: "nonpayable",
60
+ type: "function",
61
61
  },
62
62
  {
63
- "constant": true,
64
- "inputs": [],
65
- "name": "getHubAddr",
66
- "outputs": [
67
- {
68
- "name": "",
69
- "type": "address"
70
- }
63
+ constant: true,
64
+ inputs: [],
65
+ name: "getHubAddr",
66
+ outputs: [
67
+ {
68
+ name: "",
69
+ type: "address",
70
+ },
71
71
  ],
72
- "payable": false,
73
- "stateMutability": "view",
74
- "type": "function"
72
+ payable: false,
73
+ stateMutability: "view",
74
+ type: "function",
75
75
  },
76
76
  {
77
- "constant": false,
78
- "inputs": [
77
+ constant: false,
78
+ inputs: [
79
79
  {
80
- "name": "context",
81
- "type": "bytes"
82
- }
80
+ name: "context",
81
+ type: "bytes",
82
+ },
83
83
  ],
84
- "name": "preRelayedCall",
85
- "outputs": [
84
+ name: "preRelayedCall",
85
+ outputs: [
86
86
  {
87
- "name": "",
88
- "type": "bytes32"
89
- }
87
+ name: "",
88
+ type: "bytes32",
89
+ },
90
90
  ],
91
- "payable": false,
92
- "stateMutability": "nonpayable",
93
- "type": "function"
91
+ payable: false,
92
+ stateMutability: "nonpayable",
93
+ type: "function",
94
94
  },
95
95
  {
96
- "constant": true,
97
- "inputs": [
96
+ constant: true,
97
+ inputs: [
98
98
  {
99
- "name": "",
100
- "type": "address"
99
+ name: "",
100
+ type: "address",
101
101
  },
102
102
  {
103
- "name": "",
104
- "type": "address"
103
+ name: "",
104
+ type: "address",
105
105
  },
106
106
  {
107
- "name": "",
108
- "type": "bytes"
107
+ name: "",
108
+ type: "bytes",
109
109
  },
110
110
  {
111
- "name": "",
112
- "type": "uint256"
111
+ name: "",
112
+ type: "uint256",
113
113
  },
114
114
  {
115
- "name": "",
116
- "type": "uint256"
115
+ name: "",
116
+ type: "uint256",
117
117
  },
118
118
  {
119
- "name": "",
120
- "type": "uint256"
119
+ name: "",
120
+ type: "uint256",
121
121
  },
122
122
  {
123
- "name": "",
124
- "type": "uint256"
123
+ name: "",
124
+ type: "uint256",
125
125
  },
126
126
  {
127
- "name": "",
128
- "type": "bytes"
127
+ name: "",
128
+ type: "bytes",
129
129
  },
130
130
  {
131
- "name": "",
132
- "type": "uint256"
133
- }
131
+ name: "",
132
+ type: "uint256",
133
+ },
134
134
  ],
135
- "name": "acceptRelayedCall",
136
- "outputs": [
135
+ name: "acceptRelayedCall",
136
+ outputs: [
137
137
  {
138
- "name": "doCall",
139
- "type": "uint256"
138
+ name: "doCall",
139
+ type: "uint256",
140
140
  },
141
141
  {
142
- "name": "context",
143
- "type": "bytes"
144
- }
142
+ name: "context",
143
+ type: "bytes",
144
+ },
145
145
  ],
146
- "payable": false,
147
- "stateMutability": "view",
148
- "type": "function"
146
+ payable: false,
147
+ stateMutability: "view",
148
+ type: "function",
149
149
  },
150
150
  {
151
- "constant": true,
152
- "inputs": [],
153
- "name": "owner",
154
- "outputs": [
155
- {
156
- "name": "",
157
- "type": "address"
158
- }
151
+ constant: true,
152
+ inputs: [],
153
+ name: "owner",
154
+ outputs: [
155
+ {
156
+ name: "",
157
+ type: "address",
158
+ },
159
159
  ],
160
- "payable": false,
161
- "stateMutability": "view",
162
- "type": "function"
160
+ payable: false,
161
+ stateMutability: "view",
162
+ type: "function",
163
163
  },
164
164
  {
165
- "constant": true,
166
- "inputs": [],
167
- "name": "isOwner",
168
- "outputs": [
169
- {
170
- "name": "",
171
- "type": "bool"
172
- }
165
+ constant: true,
166
+ inputs: [],
167
+ name: "isOwner",
168
+ outputs: [
169
+ {
170
+ name: "",
171
+ type: "bool",
172
+ },
173
173
  ],
174
- "payable": false,
175
- "stateMutability": "view",
176
- "type": "function"
174
+ payable: false,
175
+ stateMutability: "view",
176
+ type: "function",
177
177
  },
178
178
  {
179
- "constant": true,
180
- "inputs": [],
181
- "name": "getImplementation",
182
- "outputs": [
183
- {
184
- "name": "",
185
- "type": "address"
186
- }
179
+ constant: true,
180
+ inputs: [],
181
+ name: "getImplementation",
182
+ outputs: [
183
+ {
184
+ name: "",
185
+ type: "address",
186
+ },
187
187
  ],
188
- "payable": false,
189
- "stateMutability": "view",
190
- "type": "function"
188
+ payable: false,
189
+ stateMutability: "view",
190
+ type: "function",
191
191
  },
192
192
  {
193
- "constant": true,
194
- "inputs": [],
195
- "name": "relayHubVersion",
196
- "outputs": [
197
- {
198
- "name": "",
199
- "type": "string"
200
- }
193
+ constant: true,
194
+ inputs: [],
195
+ name: "relayHubVersion",
196
+ outputs: [
197
+ {
198
+ name: "",
199
+ type: "string",
200
+ },
201
201
  ],
202
- "payable": false,
203
- "stateMutability": "view",
204
- "type": "function"
202
+ payable: false,
203
+ stateMutability: "view",
204
+ type: "function",
205
205
  },
206
206
  {
207
- "constant": false,
208
- "inputs": [
207
+ constant: false,
208
+ inputs: [
209
209
  {
210
- "name": "gsnModule",
211
- "type": "address"
212
- }
210
+ name: "gsnModule",
211
+ type: "address",
212
+ },
213
213
  ],
214
- "name": "setGSNModule",
215
- "outputs": [],
216
- "payable": false,
217
- "stateMutability": "nonpayable",
218
- "type": "function"
214
+ name: "setGSNModule",
215
+ outputs: [],
216
+ payable: false,
217
+ stateMutability: "nonpayable",
218
+ type: "function",
219
219
  },
220
220
  {
221
- "constant": false,
222
- "inputs": [
221
+ constant: false,
222
+ inputs: [
223
223
  {
224
- "name": "context",
225
- "type": "bytes"
224
+ name: "context",
225
+ type: "bytes",
226
226
  },
227
227
  {
228
- "name": "success",
229
- "type": "bool"
228
+ name: "success",
229
+ type: "bool",
230
230
  },
231
231
  {
232
- "name": "actualCharge",
233
- "type": "uint256"
232
+ name: "actualCharge",
233
+ type: "uint256",
234
234
  },
235
235
  {
236
- "name": "preRetVal",
237
- "type": "bytes32"
238
- }
236
+ name: "preRetVal",
237
+ type: "bytes32",
238
+ },
239
239
  ],
240
- "name": "postRelayedCall",
241
- "outputs": [],
242
- "payable": false,
243
- "stateMutability": "nonpayable",
244
- "type": "function"
240
+ name: "postRelayedCall",
241
+ outputs: [],
242
+ payable: false,
243
+ stateMutability: "nonpayable",
244
+ type: "function",
245
245
  },
246
246
  {
247
- "constant": false,
248
- "inputs": [
247
+ constant: false,
248
+ inputs: [
249
249
  {
250
- "name": "newOwner",
251
- "type": "address"
252
- }
250
+ name: "newOwner",
251
+ type: "address",
252
+ },
253
253
  ],
254
- "name": "transferOwnership",
255
- "outputs": [],
256
- "payable": false,
257
- "stateMutability": "nonpayable",
258
- "type": "function"
254
+ name: "transferOwnership",
255
+ outputs: [],
256
+ payable: false,
257
+ stateMutability: "nonpayable",
258
+ type: "function",
259
259
  },
260
260
  {
261
- "constant": true,
262
- "inputs": [],
263
- "name": "getGSNModule",
264
- "outputs": [
265
- {
266
- "name": "",
267
- "type": "address"
268
- }
261
+ constant: true,
262
+ inputs: [],
263
+ name: "getGSNModule",
264
+ outputs: [
265
+ {
266
+ name: "",
267
+ type: "address",
268
+ },
269
269
  ],
270
- "payable": false,
271
- "stateMutability": "view",
272
- "type": "function"
270
+ payable: false,
271
+ stateMutability: "view",
272
+ type: "function",
273
273
  },
274
274
  {
275
- "inputs": [],
276
- "payable": false,
277
- "stateMutability": "nonpayable",
278
- "type": "constructor"
275
+ inputs: [],
276
+ payable: false,
277
+ stateMutability: "nonpayable",
278
+ type: "constructor",
279
279
  },
280
280
  {
281
- "payable": true,
282
- "stateMutability": "payable",
283
- "type": "fallback"
281
+ payable: true,
282
+ stateMutability: "payable",
283
+ type: "fallback",
284
284
  },
285
285
  {
286
- "anonymous": false,
287
- "inputs": [
286
+ anonymous: false,
287
+ inputs: [
288
288
  {
289
- "indexed": true,
290
- "name": "oldRelayHub",
291
- "type": "address"
289
+ indexed: true,
290
+ name: "oldRelayHub",
291
+ type: "address",
292
292
  },
293
293
  {
294
- "indexed": true,
295
- "name": "newRelayHub",
296
- "type": "address"
297
- }
294
+ indexed: true,
295
+ name: "newRelayHub",
296
+ type: "address",
297
+ },
298
298
  ],
299
- "name": "RelayHubChanged",
300
- "type": "event"
299
+ name: "RelayHubChanged",
300
+ type: "event",
301
301
  },
302
302
  {
303
- "anonymous": false,
304
- "inputs": [
303
+ anonymous: false,
304
+ inputs: [
305
305
  {
306
- "indexed": true,
307
- "name": "previousOwner",
308
- "type": "address"
306
+ indexed: true,
307
+ name: "previousOwner",
308
+ type: "address",
309
309
  },
310
310
  {
311
- "indexed": true,
312
- "name": "newOwner",
313
- "type": "address"
314
- }
311
+ indexed: true,
312
+ name: "newOwner",
313
+ type: "address",
314
+ },
315
315
  ],
316
- "name": "OwnershipTransferred",
317
- "type": "event"
318
- }
316
+ name: "OwnershipTransferred",
317
+ type: "event",
318
+ },
319
319
  ];