Skip to content

Commit 4e62381

Browse files
committed
Update abis
1 parent 91ce3e7 commit 4e62381

File tree

2 files changed

+113
-4
lines changed

2 files changed

+113
-4
lines changed

packages/sharing-smart-contract/abis/DataProtectorSharing.sol/DataProtectorSharing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"inputs": [
44
{
5-
"internalType": "contract IPoCo",
5+
"internalType": "address",
66
"name": "_proxy",
77
"type": "address"
88
},

packages/sharing-smart-contract/abis/interfaces/IPoCo.sol/IPoCo.json

Lines changed: 112 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,115 @@
184184
"name": "SignedWorkerpoolOrder",
185185
"type": "event"
186186
},
187+
{
188+
"inputs": [
189+
{
190+
"internalType": "address",
191+
"name": "owner",
192+
"type": "address"
193+
},
194+
{
195+
"internalType": "address",
196+
"name": "spender",
197+
"type": "address"
198+
}
199+
],
200+
"name": "allowance",
201+
"outputs": [
202+
{
203+
"internalType": "uint256",
204+
"name": "",
205+
"type": "uint256"
206+
}
207+
],
208+
"stateMutability": "view",
209+
"type": "function"
210+
},
211+
{
212+
"inputs": [
213+
{
214+
"internalType": "address",
215+
"name": "spender",
216+
"type": "address"
217+
},
218+
{
219+
"internalType": "uint256",
220+
"name": "amount",
221+
"type": "uint256"
222+
}
223+
],
224+
"name": "approve",
225+
"outputs": [
226+
{
227+
"internalType": "bool",
228+
"name": "",
229+
"type": "bool"
230+
}
231+
],
232+
"stateMutability": "nonpayable",
233+
"type": "function"
234+
},
235+
{
236+
"inputs": [
237+
{
238+
"internalType": "address",
239+
"name": "spender",
240+
"type": "address"
241+
},
242+
{
243+
"internalType": "uint256",
244+
"name": "value",
245+
"type": "uint256"
246+
},
247+
{
248+
"internalType": "bytes",
249+
"name": "extraData",
250+
"type": "bytes"
251+
}
252+
],
253+
"name": "approveAndCall",
254+
"outputs": [
255+
{
256+
"internalType": "bool",
257+
"name": "",
258+
"type": "bool"
259+
}
260+
],
261+
"stateMutability": "nonpayable",
262+
"type": "function"
263+
},
264+
{
265+
"inputs": [
266+
{
267+
"internalType": "address",
268+
"name": "owner",
269+
"type": "address"
270+
}
271+
],
272+
"name": "balanceOf",
273+
"outputs": [
274+
{
275+
"internalType": "uint256",
276+
"name": "",
277+
"type": "uint256"
278+
}
279+
],
280+
"stateMutability": "view",
281+
"type": "function"
282+
},
283+
{
284+
"inputs": [],
285+
"name": "deposit",
286+
"outputs": [
287+
{
288+
"internalType": "bool",
289+
"name": "",
290+
"type": "bool"
291+
}
292+
],
293+
"stateMutability": "payable",
294+
"type": "function"
295+
},
187296
{
188297
"inputs": [
189298
{
@@ -1075,17 +1184,17 @@
10751184
"inputs": [
10761185
{
10771186
"internalType": "address",
1078-
"name": "",
1187+
"name": "sender",
10791188
"type": "address"
10801189
},
10811190
{
10821191
"internalType": "address",
1083-
"name": "",
1192+
"name": "recipient",
10841193
"type": "address"
10851194
},
10861195
{
10871196
"internalType": "uint256",
1088-
"name": "",
1197+
"name": "amount",
10891198
"type": "uint256"
10901199
}
10911200
],

0 commit comments

Comments
 (0)