Skip to content

Commit 70745ce

Browse files
author
0xfirefist
committed
generate-abis
1 parent 42a32fb commit 70745ce

File tree

4 files changed

+213
-0
lines changed

4 files changed

+213
-0
lines changed

target_chains/ethereum/entropy_sdk/solidity/abis/EntropyErrors.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
"name": "BlockhashUnavailable",
1010
"type": "error"
1111
},
12+
{
13+
"inputs": [],
14+
"name": "CallbackFailed",
15+
"type": "error"
16+
},
1217
{
1318
"inputs": [],
1419
"name": "IncorrectRevelation",

target_chains/ethereum/entropy_sdk/solidity/abis/EntropyEvents.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,31 @@
164164
"name": "Requested",
165165
"type": "event"
166166
},
167+
{
168+
"anonymous": false,
169+
"inputs": [
170+
{
171+
"indexed": false,
172+
"internalType": "address",
173+
"name": "provider",
174+
"type": "address"
175+
},
176+
{
177+
"indexed": false,
178+
"internalType": "uint64",
179+
"name": "sequenceNumber",
180+
"type": "uint64"
181+
},
182+
{
183+
"indexed": false,
184+
"internalType": "bytes32",
185+
"name": "randomNumber",
186+
"type": "bytes32"
187+
}
188+
],
189+
"name": "RequestedWithCallback",
190+
"type": "event"
191+
},
167192
{
168193
"anonymous": false,
169194
"inputs": [
@@ -237,5 +262,48 @@
237262
],
238263
"name": "Revealed",
239264
"type": "event"
265+
},
266+
{
267+
"anonymous": false,
268+
"inputs": [
269+
{
270+
"indexed": false,
271+
"internalType": "bytes32",
272+
"name": "protocolRandomNumber",
273+
"type": "bytes32"
274+
},
275+
{
276+
"indexed": false,
277+
"internalType": "bytes32",
278+
"name": "providerRevelation",
279+
"type": "bytes32"
280+
},
281+
{
282+
"indexed": false,
283+
"internalType": "bytes32",
284+
"name": "randomNumber",
285+
"type": "bytes32"
286+
},
287+
{
288+
"indexed": false,
289+
"internalType": "uint64",
290+
"name": "sequenceNumber",
291+
"type": "uint64"
292+
},
293+
{
294+
"indexed": false,
295+
"internalType": "address",
296+
"name": "provider",
297+
"type": "address"
298+
},
299+
{
300+
"indexed": false,
301+
"internalType": "address",
302+
"name": "callAddress",
303+
"type": "address"
304+
}
305+
],
306+
"name": "RevealedAndCalledBack",
307+
"type": "event"
240308
}
241309
]

target_chains/ethereum/entropy_sdk/solidity/abis/IEntropy.json

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,31 @@
164164
"name": "Requested",
165165
"type": "event"
166166
},
167+
{
168+
"anonymous": false,
169+
"inputs": [
170+
{
171+
"indexed": false,
172+
"internalType": "address",
173+
"name": "provider",
174+
"type": "address"
175+
},
176+
{
177+
"indexed": false,
178+
"internalType": "uint64",
179+
"name": "sequenceNumber",
180+
"type": "uint64"
181+
},
182+
{
183+
"indexed": false,
184+
"internalType": "bytes32",
185+
"name": "randomNumber",
186+
"type": "bytes32"
187+
}
188+
],
189+
"name": "RequestedWithCallback",
190+
"type": "event"
191+
},
167192
{
168193
"anonymous": false,
169194
"inputs": [
@@ -238,6 +263,49 @@
238263
"name": "Revealed",
239264
"type": "event"
240265
},
266+
{
267+
"anonymous": false,
268+
"inputs": [
269+
{
270+
"indexed": false,
271+
"internalType": "bytes32",
272+
"name": "protocolRandomNumber",
273+
"type": "bytes32"
274+
},
275+
{
276+
"indexed": false,
277+
"internalType": "bytes32",
278+
"name": "providerRevelation",
279+
"type": "bytes32"
280+
},
281+
{
282+
"indexed": false,
283+
"internalType": "bytes32",
284+
"name": "randomNumber",
285+
"type": "bytes32"
286+
},
287+
{
288+
"indexed": false,
289+
"internalType": "uint64",
290+
"name": "sequenceNumber",
291+
"type": "uint64"
292+
},
293+
{
294+
"indexed": false,
295+
"internalType": "address",
296+
"name": "provider",
297+
"type": "address"
298+
},
299+
{
300+
"indexed": false,
301+
"internalType": "address",
302+
"name": "callAddress",
303+
"type": "address"
304+
}
305+
],
306+
"name": "RevealedAndCalledBack",
307+
"type": "event"
308+
},
241309
{
242310
"inputs": [
243311
{
@@ -525,6 +593,30 @@
525593
"stateMutability": "payable",
526594
"type": "function"
527595
},
596+
{
597+
"inputs": [
598+
{
599+
"internalType": "address",
600+
"name": "provider",
601+
"type": "address"
602+
},
603+
{
604+
"internalType": "bytes32",
605+
"name": "userCommitment",
606+
"type": "bytes32"
607+
}
608+
],
609+
"name": "requestWithCallback",
610+
"outputs": [
611+
{
612+
"internalType": "uint64",
613+
"name": "assignedSequenceNumber",
614+
"type": "uint64"
615+
}
616+
],
617+
"stateMutability": "payable",
618+
"type": "function"
619+
},
528620
{
529621
"inputs": [
530622
{
@@ -559,6 +651,34 @@
559651
"stateMutability": "nonpayable",
560652
"type": "function"
561653
},
654+
{
655+
"inputs": [
656+
{
657+
"internalType": "address",
658+
"name": "provider",
659+
"type": "address"
660+
},
661+
{
662+
"internalType": "uint64",
663+
"name": "sequenceNumber",
664+
"type": "uint64"
665+
},
666+
{
667+
"internalType": "bytes32",
668+
"name": "userRandomness",
669+
"type": "bytes32"
670+
},
671+
{
672+
"internalType": "bytes32",
673+
"name": "providerRevelation",
674+
"type": "bytes32"
675+
}
676+
],
677+
"name": "revealAndCall",
678+
"outputs": [],
679+
"stateMutability": "nonpayable",
680+
"type": "function"
681+
},
562682
{
563683
"inputs": [
564684
{
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[
2+
{
3+
"inputs": [
4+
{
5+
"internalType": "uint64",
6+
"name": "sequence",
7+
"type": "uint64"
8+
},
9+
{
10+
"internalType": "bytes32",
11+
"name": "randomness",
12+
"type": "bytes32"
13+
}
14+
],
15+
"name": "entropyCallback",
16+
"outputs": [],
17+
"stateMutability": "nonpayable",
18+
"type": "function"
19+
}
20+
]

0 commit comments

Comments
 (0)