@d20dao/vrf-sdk 0.3.4 → 0.5.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.
@@ -0,0 +1,165 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "uint256[4]",
6
+ "name": "input",
7
+ "type": "uint256[4]"
8
+ }
9
+ ],
10
+ "name": "BNAddFailed",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [],
15
+ "name": "InsufficientGas",
16
+ "type": "error"
17
+ },
18
+ {
19
+ "inputs": [
20
+ {
21
+ "internalType": "bytes",
22
+ "name": "dst",
23
+ "type": "bytes"
24
+ }
25
+ ],
26
+ "name": "InvalidDSTLength",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [
31
+ {
32
+ "internalType": "uint256",
33
+ "name": "x",
34
+ "type": "uint256"
35
+ }
36
+ ],
37
+ "name": "InvalidFieldElement",
38
+ "type": "error"
39
+ },
40
+ {
41
+ "inputs": [
42
+ {
43
+ "internalType": "uint256",
44
+ "name": "noSqrt",
45
+ "type": "uint256"
46
+ }
47
+ ],
48
+ "name": "MapToPointFailed",
49
+ "type": "error"
50
+ },
51
+ {
52
+ "inputs": [
53
+ {
54
+ "internalType": "uint256",
55
+ "name": "base",
56
+ "type": "uint256"
57
+ },
58
+ {
59
+ "internalType": "uint256",
60
+ "name": "exponent",
61
+ "type": "uint256"
62
+ },
63
+ {
64
+ "internalType": "uint256",
65
+ "name": "modulus",
66
+ "type": "uint256"
67
+ }
68
+ ],
69
+ "name": "ModExpFailed",
70
+ "type": "error"
71
+ },
72
+ {
73
+ "inputs": [],
74
+ "name": "DST",
75
+ "outputs": [
76
+ {
77
+ "internalType": "bytes",
78
+ "name": "",
79
+ "type": "bytes"
80
+ }
81
+ ],
82
+ "stateMutability": "view",
83
+ "type": "function"
84
+ },
85
+ {
86
+ "inputs": [],
87
+ "name": "PAIRING_GAS",
88
+ "outputs": [
89
+ {
90
+ "internalType": "uint256",
91
+ "name": "",
92
+ "type": "uint256"
93
+ }
94
+ ],
95
+ "stateMutability": "view",
96
+ "type": "function"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "bytes",
102
+ "name": "publicKey",
103
+ "type": "bytes"
104
+ }
105
+ ],
106
+ "name": "isValidPublicKey",
107
+ "outputs": [
108
+ {
109
+ "internalType": "bool",
110
+ "name": "",
111
+ "type": "bool"
112
+ }
113
+ ],
114
+ "stateMutability": "pure",
115
+ "type": "function"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "uint64",
121
+ "name": "round",
122
+ "type": "uint64"
123
+ }
124
+ ],
125
+ "name": "roundMessage",
126
+ "outputs": [
127
+ {
128
+ "internalType": "uint256[2]",
129
+ "name": "",
130
+ "type": "uint256[2]"
131
+ }
132
+ ],
133
+ "stateMutability": "view",
134
+ "type": "function"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "bytes",
140
+ "name": "publicKey",
141
+ "type": "bytes"
142
+ },
143
+ {
144
+ "internalType": "uint64",
145
+ "name": "round",
146
+ "type": "uint64"
147
+ },
148
+ {
149
+ "internalType": "bytes",
150
+ "name": "signature",
151
+ "type": "bytes"
152
+ }
153
+ ],
154
+ "name": "verifyRound",
155
+ "outputs": [
156
+ {
157
+ "internalType": "bool",
158
+ "name": "",
159
+ "type": "bool"
160
+ }
161
+ ],
162
+ "stateMutability": "view",
163
+ "type": "function"
164
+ }
165
+ ]