Skip to content

Commit c1b60b4

Browse files
committed
refactor: remove unused calculateTwap function definition from PythUtils.json
1 parent e8b4981 commit c1b60b4

File tree

1 file changed

+0
-152
lines changed

1 file changed

+0
-152
lines changed

target_chains/ethereum/sdk/solidity/abis/PythUtils.json

Lines changed: 0 additions & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -1,156 +1,4 @@
11
[
2-
{
3-
"inputs": [
4-
{
5-
"internalType": "bytes32",
6-
"name": "priceId",
7-
"type": "bytes32"
8-
},
9-
{
10-
"components": [
11-
{
12-
"internalType": "int128",
13-
"name": "cumulativePrice",
14-
"type": "int128"
15-
},
16-
{
17-
"internalType": "uint128",
18-
"name": "cumulativeConf",
19-
"type": "uint128"
20-
},
21-
{
22-
"internalType": "uint64",
23-
"name": "numDownSlots",
24-
"type": "uint64"
25-
},
26-
{
27-
"internalType": "uint64",
28-
"name": "publishSlot",
29-
"type": "uint64"
30-
},
31-
{
32-
"internalType": "uint64",
33-
"name": "publishTime",
34-
"type": "uint64"
35-
},
36-
{
37-
"internalType": "uint64",
38-
"name": "prevPublishTime",
39-
"type": "uint64"
40-
},
41-
{
42-
"internalType": "int32",
43-
"name": "expo",
44-
"type": "int32"
45-
}
46-
],
47-
"internalType": "struct PythStructs.TwapPriceInfo",
48-
"name": "twapPriceInfoStart",
49-
"type": "tuple"
50-
},
51-
{
52-
"components": [
53-
{
54-
"internalType": "int128",
55-
"name": "cumulativePrice",
56-
"type": "int128"
57-
},
58-
{
59-
"internalType": "uint128",
60-
"name": "cumulativeConf",
61-
"type": "uint128"
62-
},
63-
{
64-
"internalType": "uint64",
65-
"name": "numDownSlots",
66-
"type": "uint64"
67-
},
68-
{
69-
"internalType": "uint64",
70-
"name": "publishSlot",
71-
"type": "uint64"
72-
},
73-
{
74-
"internalType": "uint64",
75-
"name": "publishTime",
76-
"type": "uint64"
77-
},
78-
{
79-
"internalType": "uint64",
80-
"name": "prevPublishTime",
81-
"type": "uint64"
82-
},
83-
{
84-
"internalType": "int32",
85-
"name": "expo",
86-
"type": "int32"
87-
}
88-
],
89-
"internalType": "struct PythStructs.TwapPriceInfo",
90-
"name": "twapPriceInfoEnd",
91-
"type": "tuple"
92-
}
93-
],
94-
"name": "calculateTwap",
95-
"outputs": [
96-
{
97-
"components": [
98-
{
99-
"internalType": "bytes32",
100-
"name": "id",
101-
"type": "bytes32"
102-
},
103-
{
104-
"internalType": "uint64",
105-
"name": "startTime",
106-
"type": "uint64"
107-
},
108-
{
109-
"internalType": "uint64",
110-
"name": "endTime",
111-
"type": "uint64"
112-
},
113-
{
114-
"components": [
115-
{
116-
"internalType": "int64",
117-
"name": "price",
118-
"type": "int64"
119-
},
120-
{
121-
"internalType": "uint64",
122-
"name": "conf",
123-
"type": "uint64"
124-
},
125-
{
126-
"internalType": "int32",
127-
"name": "expo",
128-
"type": "int32"
129-
},
130-
{
131-
"internalType": "uint256",
132-
"name": "publishTime",
133-
"type": "uint256"
134-
}
135-
],
136-
"internalType": "struct PythStructs.Price",
137-
"name": "twap",
138-
"type": "tuple"
139-
},
140-
{
141-
"internalType": "uint32",
142-
"name": "downSlotsRatio",
143-
"type": "uint32"
144-
}
145-
],
146-
"internalType": "struct PythStructs.TwapPriceFeed",
147-
"name": "twapPriceFeed",
148-
"type": "tuple"
149-
}
150-
],
151-
"stateMutability": "pure",
152-
"type": "function"
153-
},
1542
{
1553
"inputs": [
1564
{

0 commit comments

Comments
 (0)