avantis-trader-sdk 0.8.2__py3-none-any.whl → 0.8.4__py3-none-any.whl
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.
- avantis_trader_sdk/__init__.py +5 -5
- avantis_trader_sdk/abis/AggregatorV3Interface.json +606 -606
- avantis_trader_sdk/abis/IPyth.sol/IPyth.dbg.json +4 -4
- avantis_trader_sdk/abis/Referral.sol/ReferralStorage.json +7132 -7132
- avantis_trader_sdk/abis/Sanctions.json +190 -190
- avantis_trader_sdk/abis/Trading.sol/Trading.json +1 -1
- avantis_trader_sdk/abis/USDC.sol/USDC.dbg.json +4 -4
- avantis_trader_sdk/abis/interfaces/ICallbacks.sol/ICallbacks.json +2637 -2637
- avantis_trader_sdk/abis/interfaces/IExecute.sol/IExecute.json +1628 -1628
- avantis_trader_sdk/abis/interfaces/IPairInfos.sol/IPairInfos.json +2781 -2781
- avantis_trader_sdk/abis/interfaces/IPairStorage.sol/IPairStorage.json +3729 -3729
- avantis_trader_sdk/abis/interfaces/IPriceAggregator.sol/IPriceAggregator.json +2330 -2330
- avantis_trader_sdk/abis/interfaces/IReferral.sol/IReferral.json +1890 -1890
- avantis_trader_sdk/abis/interfaces/ITradingStorage.sol/ITradingStorage.json +7022 -7022
- avantis_trader_sdk/abis/interfaces/ITranche.sol/ITranche.json +1283 -1283
- avantis_trader_sdk/abis/interfaces/IVaultManager.sol/IVaultManager.json +2424 -2424
- avantis_trader_sdk/abis/interfaces/IVeTranche.sol/IVeTranche.json +855 -855
- avantis_trader_sdk/abis/library/PositionMath.sol/PositionMath.dbg.json +4 -4
- avantis_trader_sdk/abis/library/PositionMath.sol/PositionMath.json +10 -10
- avantis_trader_sdk/abis/testnet/USDC.sol/USDC.dbg.json +4 -4
- avantis_trader_sdk/abis/testnet/USDC.sol/USDC.json +320 -320
- avantis_trader_sdk/client.py +369 -367
- avantis_trader_sdk/config.py +14 -14
- avantis_trader_sdk/feed/feed_client.py +263 -261
- avantis_trader_sdk/rpc/asset_parameters.py +499 -499
- avantis_trader_sdk/rpc/blended.py +71 -71
- avantis_trader_sdk/rpc/category_parameters.py +216 -216
- avantis_trader_sdk/rpc/fee_parameters.py +237 -237
- avantis_trader_sdk/rpc/pairs_cache.py +130 -130
- avantis_trader_sdk/rpc/rpc_helpers.py +8 -8
- avantis_trader_sdk/rpc/snapshot.py +142 -142
- avantis_trader_sdk/rpc/trade.py +701 -710
- avantis_trader_sdk/rpc/trading_parameters.py +139 -139
- avantis_trader_sdk/types.py +462 -462
- avantis_trader_sdk/utils.py +78 -78
- {avantis_trader_sdk-0.8.2.dist-info → avantis_trader_sdk-0.8.4.dist-info}/METADATA +124 -113
- {avantis_trader_sdk-0.8.2.dist-info → avantis_trader_sdk-0.8.4.dist-info}/RECORD +39 -40
- {avantis_trader_sdk-0.8.2.dist-info → avantis_trader_sdk-0.8.4.dist-info}/WHEEL +1 -1
- avantis_trader_sdk/feed/feedIds.json +0 -214
- {avantis_trader_sdk-0.8.2.dist-info → avantis_trader_sdk-0.8.4.dist-info}/top_level.txt +0 -0
|
@@ -1,606 +1,606 @@
|
|
|
1
|
-
{
|
|
2
|
-
"abi": [
|
|
3
|
-
{
|
|
4
|
-
"type": "function",
|
|
5
|
-
"name": "decimals",
|
|
6
|
-
"inputs": [],
|
|
7
|
-
"outputs": [{ "name": "", "type": "uint8", "internalType": "uint8" }],
|
|
8
|
-
"stateMutability": "view"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"type": "function",
|
|
12
|
-
"name": "description",
|
|
13
|
-
"inputs": [],
|
|
14
|
-
"outputs": [{ "name": "", "type": "string", "internalType": "string" }],
|
|
15
|
-
"stateMutability": "view"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "function",
|
|
19
|
-
"name": "getRoundData",
|
|
20
|
-
"inputs": [{ "name": "_roundId", "type": "uint80", "internalType": "uint80" }],
|
|
21
|
-
"outputs": [
|
|
22
|
-
{ "name": "roundId", "type": "uint80", "internalType": "uint80" },
|
|
23
|
-
{ "name": "answer", "type": "int256", "internalType": "int256" },
|
|
24
|
-
{ "name": "startedAt", "type": "uint256", "internalType": "uint256" },
|
|
25
|
-
{ "name": "updatedAt", "type": "uint256", "internalType": "uint256" },
|
|
26
|
-
{ "name": "answeredInRound", "type": "uint80", "internalType": "uint80" }
|
|
27
|
-
],
|
|
28
|
-
"stateMutability": "view"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"type": "function",
|
|
32
|
-
"name": "latestRoundData",
|
|
33
|
-
"inputs": [],
|
|
34
|
-
"outputs": [
|
|
35
|
-
{ "name": "roundId", "type": "uint80", "internalType": "uint80" },
|
|
36
|
-
{ "name": "answer", "type": "int256", "internalType": "int256" },
|
|
37
|
-
{ "name": "startedAt", "type": "uint256", "internalType": "uint256" },
|
|
38
|
-
{ "name": "updatedAt", "type": "uint256", "internalType": "uint256" },
|
|
39
|
-
{ "name": "answeredInRound", "type": "uint80", "internalType": "uint80" }
|
|
40
|
-
],
|
|
41
|
-
"stateMutability": "view"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"type": "function",
|
|
45
|
-
"name": "version",
|
|
46
|
-
"inputs": [],
|
|
47
|
-
"outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
|
|
48
|
-
"stateMutability": "view"
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
"bytecode": { "object": "0x", "sourceMap": "", "linkReferences": {} },
|
|
52
|
-
"deployedBytecode": { "object": "0x", "sourceMap": "", "linkReferences": {} },
|
|
53
|
-
"methodIdentifiers": {
|
|
54
|
-
"decimals()": "313ce567",
|
|
55
|
-
"description()": "7284e416",
|
|
56
|
-
"getRoundData(uint80)": "9a6fc8f5",
|
|
57
|
-
"latestRoundData()": "feaf968c",
|
|
58
|
-
"version()": "54fd4d50"
|
|
59
|
-
},
|
|
60
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"description\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint80\",\"name\":\"_roundId\",\"type\":\"uint80\"}],\"name\":\"getRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"roundId\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"answeredInRound\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"roundId\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"answeredInRound\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol\":\"AggregatorV3Interface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@chainlink/=lib/chainlink/\",\":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":chainlink/=lib/chainlink/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin/=lib/openzeppelin-contracts/contracts/\",\":pyth-sdk-solidity/=lib/pyth-sdk-solidity/\"]},\"sources\":{\"lib/chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol\":{\"keccak256\":\"0xfe4e8bb4861bb3860ba890ab91a3b818ec66e5a8f544fb608cfcb73f433472cd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://644cff84052e1e82b5bb502b2a46e8f142a62b0db4cd9b38200798ba8373c6f7\",\"dweb:/ipfs/QmTa99QHrJBn3SXDizquPBUiTxVCNKQrHgaWJhuds5Sce2\"]}},\"version\":1}",
|
|
61
|
-
"metadata": {
|
|
62
|
-
"compiler": { "version": "0.8.7+commit.e28d00a7" },
|
|
63
|
-
"language": "Solidity",
|
|
64
|
-
"output": {
|
|
65
|
-
"abi": [
|
|
66
|
-
{
|
|
67
|
-
"inputs": [],
|
|
68
|
-
"stateMutability": "view",
|
|
69
|
-
"type": "function",
|
|
70
|
-
"name": "decimals",
|
|
71
|
-
"outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }]
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"inputs": [],
|
|
75
|
-
"stateMutability": "view",
|
|
76
|
-
"type": "function",
|
|
77
|
-
"name": "description",
|
|
78
|
-
"outputs": [{ "internalType": "string", "name": "", "type": "string" }]
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"inputs": [{ "internalType": "uint80", "name": "_roundId", "type": "uint80" }],
|
|
82
|
-
"stateMutability": "view",
|
|
83
|
-
"type": "function",
|
|
84
|
-
"name": "getRoundData",
|
|
85
|
-
"outputs": [
|
|
86
|
-
{ "internalType": "uint80", "name": "roundId", "type": "uint80" },
|
|
87
|
-
{ "internalType": "int256", "name": "answer", "type": "int256" },
|
|
88
|
-
{ "internalType": "uint256", "name": "startedAt", "type": "uint256" },
|
|
89
|
-
{ "internalType": "uint256", "name": "updatedAt", "type": "uint256" },
|
|
90
|
-
{ "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"inputs": [],
|
|
95
|
-
"stateMutability": "view",
|
|
96
|
-
"type": "function",
|
|
97
|
-
"name": "latestRoundData",
|
|
98
|
-
"outputs": [
|
|
99
|
-
{ "internalType": "uint80", "name": "roundId", "type": "uint80" },
|
|
100
|
-
{ "internalType": "int256", "name": "answer", "type": "int256" },
|
|
101
|
-
{ "internalType": "uint256", "name": "startedAt", "type": "uint256" },
|
|
102
|
-
{ "internalType": "uint256", "name": "updatedAt", "type": "uint256" },
|
|
103
|
-
{ "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"inputs": [],
|
|
108
|
-
"stateMutability": "view",
|
|
109
|
-
"type": "function",
|
|
110
|
-
"name": "version",
|
|
111
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }]
|
|
112
|
-
}
|
|
113
|
-
],
|
|
114
|
-
"devdoc": { "kind": "dev", "methods": {}, "version": 1 },
|
|
115
|
-
"userdoc": { "kind": "user", "methods": {}, "version": 1 }
|
|
116
|
-
},
|
|
117
|
-
"settings": {
|
|
118
|
-
"remappings": [
|
|
119
|
-
"@chainlink/=lib/chainlink/",
|
|
120
|
-
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
|
|
121
|
-
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
|
|
122
|
-
"chainlink/=lib/chainlink/",
|
|
123
|
-
"ds-test/=lib/forge-std/lib/ds-test/src/",
|
|
124
|
-
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
|
|
125
|
-
"forge-std/=lib/forge-std/src/",
|
|
126
|
-
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
|
|
127
|
-
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
|
|
128
|
-
"openzeppelin/=lib/openzeppelin-contracts/contracts/",
|
|
129
|
-
"pyth-sdk-solidity/=lib/pyth-sdk-solidity/"
|
|
130
|
-
],
|
|
131
|
-
"optimizer": { "enabled": true, "runs": 200 },
|
|
132
|
-
"metadata": { "bytecodeHash": "ipfs" },
|
|
133
|
-
"compilationTarget": {
|
|
134
|
-
"lib/chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol": "AggregatorV3Interface"
|
|
135
|
-
},
|
|
136
|
-
"evmVersion": "london",
|
|
137
|
-
"libraries": {}
|
|
138
|
-
},
|
|
139
|
-
"sources": {
|
|
140
|
-
"lib/chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol": {
|
|
141
|
-
"keccak256": "0xfe4e8bb4861bb3860ba890ab91a3b818ec66e5a8f544fb608cfcb73f433472cd",
|
|
142
|
-
"urls": [
|
|
143
|
-
"bzz-raw://644cff84052e1e82b5bb502b2a46e8f142a62b0db4cd9b38200798ba8373c6f7",
|
|
144
|
-
"dweb:/ipfs/QmTa99QHrJBn3SXDizquPBUiTxVCNKQrHgaWJhuds5Sce2"
|
|
145
|
-
],
|
|
146
|
-
"license": "MIT"
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
"version": 1
|
|
150
|
-
},
|
|
151
|
-
"ast": {
|
|
152
|
-
"absolutePath": "lib/chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol",
|
|
153
|
-
"id": 103,
|
|
154
|
-
"exportedSymbols": { "AggregatorV3Interface": [102] },
|
|
155
|
-
"nodeType": "SourceUnit",
|
|
156
|
-
"src": "32:560:2",
|
|
157
|
-
"nodes": [
|
|
158
|
-
{
|
|
159
|
-
"id": 58,
|
|
160
|
-
"nodeType": "PragmaDirective",
|
|
161
|
-
"src": "32:23:2",
|
|
162
|
-
"nodes": [],
|
|
163
|
-
"literals": ["solidity", "^", "0.8", ".0"]
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"id": 102,
|
|
167
|
-
"nodeType": "ContractDefinition",
|
|
168
|
-
"src": "57:534:2",
|
|
169
|
-
"nodes": [
|
|
170
|
-
{
|
|
171
|
-
"id": 63,
|
|
172
|
-
"nodeType": "FunctionDefinition",
|
|
173
|
-
"src": "93:50:2",
|
|
174
|
-
"nodes": [],
|
|
175
|
-
"functionSelector": "313ce567",
|
|
176
|
-
"implemented": false,
|
|
177
|
-
"kind": "function",
|
|
178
|
-
"modifiers": [],
|
|
179
|
-
"name": "decimals",
|
|
180
|
-
"nameLocation": "102:8:2",
|
|
181
|
-
"parameters": { "id": 59, "nodeType": "ParameterList", "parameters": [], "src": "110:2:2" },
|
|
182
|
-
"returnParameters": {
|
|
183
|
-
"id": 62,
|
|
184
|
-
"nodeType": "ParameterList",
|
|
185
|
-
"parameters": [
|
|
186
|
-
{
|
|
187
|
-
"constant": false,
|
|
188
|
-
"id": 61,
|
|
189
|
-
"mutability": "mutable",
|
|
190
|
-
"name": "",
|
|
191
|
-
"nameLocation": "-1:-1:-1",
|
|
192
|
-
"nodeType": "VariableDeclaration",
|
|
193
|
-
"scope": 63,
|
|
194
|
-
"src": "136:5:2",
|
|
195
|
-
"stateVariable": false,
|
|
196
|
-
"storageLocation": "default",
|
|
197
|
-
"typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" },
|
|
198
|
-
"typeName": {
|
|
199
|
-
"id": 60,
|
|
200
|
-
"name": "uint8",
|
|
201
|
-
"nodeType": "ElementaryTypeName",
|
|
202
|
-
"src": "136:5:2",
|
|
203
|
-
"typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" }
|
|
204
|
-
},
|
|
205
|
-
"visibility": "internal"
|
|
206
|
-
}
|
|
207
|
-
],
|
|
208
|
-
"src": "135:7:2"
|
|
209
|
-
},
|
|
210
|
-
"scope": 102,
|
|
211
|
-
"stateMutability": "view",
|
|
212
|
-
"virtual": false,
|
|
213
|
-
"visibility": "external"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"id": 68,
|
|
217
|
-
"nodeType": "FunctionDefinition",
|
|
218
|
-
"src": "147:61:2",
|
|
219
|
-
"nodes": [],
|
|
220
|
-
"functionSelector": "7284e416",
|
|
221
|
-
"implemented": false,
|
|
222
|
-
"kind": "function",
|
|
223
|
-
"modifiers": [],
|
|
224
|
-
"name": "description",
|
|
225
|
-
"nameLocation": "156:11:2",
|
|
226
|
-
"parameters": { "id": 64, "nodeType": "ParameterList", "parameters": [], "src": "167:2:2" },
|
|
227
|
-
"returnParameters": {
|
|
228
|
-
"id": 67,
|
|
229
|
-
"nodeType": "ParameterList",
|
|
230
|
-
"parameters": [
|
|
231
|
-
{
|
|
232
|
-
"constant": false,
|
|
233
|
-
"id": 66,
|
|
234
|
-
"mutability": "mutable",
|
|
235
|
-
"name": "",
|
|
236
|
-
"nameLocation": "-1:-1:-1",
|
|
237
|
-
"nodeType": "VariableDeclaration",
|
|
238
|
-
"scope": 68,
|
|
239
|
-
"src": "193:13:2",
|
|
240
|
-
"stateVariable": false,
|
|
241
|
-
"storageLocation": "memory",
|
|
242
|
-
"typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" },
|
|
243
|
-
"typeName": {
|
|
244
|
-
"id": 65,
|
|
245
|
-
"name": "string",
|
|
246
|
-
"nodeType": "ElementaryTypeName",
|
|
247
|
-
"src": "193:6:2",
|
|
248
|
-
"typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }
|
|
249
|
-
},
|
|
250
|
-
"visibility": "internal"
|
|
251
|
-
}
|
|
252
|
-
],
|
|
253
|
-
"src": "192:15:2"
|
|
254
|
-
},
|
|
255
|
-
"scope": 102,
|
|
256
|
-
"stateMutability": "view",
|
|
257
|
-
"virtual": false,
|
|
258
|
-
"visibility": "external"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"id": 73,
|
|
262
|
-
"nodeType": "FunctionDefinition",
|
|
263
|
-
"src": "212:51:2",
|
|
264
|
-
"nodes": [],
|
|
265
|
-
"functionSelector": "54fd4d50",
|
|
266
|
-
"implemented": false,
|
|
267
|
-
"kind": "function",
|
|
268
|
-
"modifiers": [],
|
|
269
|
-
"name": "version",
|
|
270
|
-
"nameLocation": "221:7:2",
|
|
271
|
-
"parameters": { "id": 69, "nodeType": "ParameterList", "parameters": [], "src": "228:2:2" },
|
|
272
|
-
"returnParameters": {
|
|
273
|
-
"id": 72,
|
|
274
|
-
"nodeType": "ParameterList",
|
|
275
|
-
"parameters": [
|
|
276
|
-
{
|
|
277
|
-
"constant": false,
|
|
278
|
-
"id": 71,
|
|
279
|
-
"mutability": "mutable",
|
|
280
|
-
"name": "",
|
|
281
|
-
"nameLocation": "-1:-1:-1",
|
|
282
|
-
"nodeType": "VariableDeclaration",
|
|
283
|
-
"scope": 73,
|
|
284
|
-
"src": "254:7:2",
|
|
285
|
-
"stateVariable": false,
|
|
286
|
-
"storageLocation": "default",
|
|
287
|
-
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" },
|
|
288
|
-
"typeName": {
|
|
289
|
-
"id": 70,
|
|
290
|
-
"name": "uint256",
|
|
291
|
-
"nodeType": "ElementaryTypeName",
|
|
292
|
-
"src": "254:7:2",
|
|
293
|
-
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }
|
|
294
|
-
},
|
|
295
|
-
"visibility": "internal"
|
|
296
|
-
}
|
|
297
|
-
],
|
|
298
|
-
"src": "253:9:2"
|
|
299
|
-
},
|
|
300
|
-
"scope": 102,
|
|
301
|
-
"stateMutability": "view",
|
|
302
|
-
"virtual": false,
|
|
303
|
-
"visibility": "external"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"id": 88,
|
|
307
|
-
"nodeType": "FunctionDefinition",
|
|
308
|
-
"src": "267:163:2",
|
|
309
|
-
"nodes": [],
|
|
310
|
-
"functionSelector": "9a6fc8f5",
|
|
311
|
-
"implemented": false,
|
|
312
|
-
"kind": "function",
|
|
313
|
-
"modifiers": [],
|
|
314
|
-
"name": "getRoundData",
|
|
315
|
-
"nameLocation": "276:12:2",
|
|
316
|
-
"parameters": {
|
|
317
|
-
"id": 76,
|
|
318
|
-
"nodeType": "ParameterList",
|
|
319
|
-
"parameters": [
|
|
320
|
-
{
|
|
321
|
-
"constant": false,
|
|
322
|
-
"id": 75,
|
|
323
|
-
"mutability": "mutable",
|
|
324
|
-
"name": "_roundId",
|
|
325
|
-
"nameLocation": "301:8:2",
|
|
326
|
-
"nodeType": "VariableDeclaration",
|
|
327
|
-
"scope": 88,
|
|
328
|
-
"src": "294:15:2",
|
|
329
|
-
"stateVariable": false,
|
|
330
|
-
"storageLocation": "default",
|
|
331
|
-
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" },
|
|
332
|
-
"typeName": {
|
|
333
|
-
"id": 74,
|
|
334
|
-
"name": "uint80",
|
|
335
|
-
"nodeType": "ElementaryTypeName",
|
|
336
|
-
"src": "294:6:2",
|
|
337
|
-
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" }
|
|
338
|
-
},
|
|
339
|
-
"visibility": "internal"
|
|
340
|
-
}
|
|
341
|
-
],
|
|
342
|
-
"src": "288:25:2"
|
|
343
|
-
},
|
|
344
|
-
"returnParameters": {
|
|
345
|
-
"id": 87,
|
|
346
|
-
"nodeType": "ParameterList",
|
|
347
|
-
"parameters": [
|
|
348
|
-
{
|
|
349
|
-
"constant": false,
|
|
350
|
-
"id": 78,
|
|
351
|
-
"mutability": "mutable",
|
|
352
|
-
"name": "roundId",
|
|
353
|
-
"nameLocation": "344:7:2",
|
|
354
|
-
"nodeType": "VariableDeclaration",
|
|
355
|
-
"scope": 88,
|
|
356
|
-
"src": "337:14:2",
|
|
357
|
-
"stateVariable": false,
|
|
358
|
-
"storageLocation": "default",
|
|
359
|
-
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" },
|
|
360
|
-
"typeName": {
|
|
361
|
-
"id": 77,
|
|
362
|
-
"name": "uint80",
|
|
363
|
-
"nodeType": "ElementaryTypeName",
|
|
364
|
-
"src": "337:6:2",
|
|
365
|
-
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" }
|
|
366
|
-
},
|
|
367
|
-
"visibility": "internal"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"constant": false,
|
|
371
|
-
"id": 80,
|
|
372
|
-
"mutability": "mutable",
|
|
373
|
-
"name": "answer",
|
|
374
|
-
"nameLocation": "360:6:2",
|
|
375
|
-
"nodeType": "VariableDeclaration",
|
|
376
|
-
"scope": 88,
|
|
377
|
-
"src": "353:13:2",
|
|
378
|
-
"stateVariable": false,
|
|
379
|
-
"storageLocation": "default",
|
|
380
|
-
"typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" },
|
|
381
|
-
"typeName": {
|
|
382
|
-
"id": 79,
|
|
383
|
-
"name": "int256",
|
|
384
|
-
"nodeType": "ElementaryTypeName",
|
|
385
|
-
"src": "353:6:2",
|
|
386
|
-
"typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" }
|
|
387
|
-
},
|
|
388
|
-
"visibility": "internal"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"constant": false,
|
|
392
|
-
"id": 82,
|
|
393
|
-
"mutability": "mutable",
|
|
394
|
-
"name": "startedAt",
|
|
395
|
-
"nameLocation": "376:9:2",
|
|
396
|
-
"nodeType": "VariableDeclaration",
|
|
397
|
-
"scope": 88,
|
|
398
|
-
"src": "368:17:2",
|
|
399
|
-
"stateVariable": false,
|
|
400
|
-
"storageLocation": "default",
|
|
401
|
-
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" },
|
|
402
|
-
"typeName": {
|
|
403
|
-
"id": 81,
|
|
404
|
-
"name": "uint256",
|
|
405
|
-
"nodeType": "ElementaryTypeName",
|
|
406
|
-
"src": "368:7:2",
|
|
407
|
-
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }
|
|
408
|
-
},
|
|
409
|
-
"visibility": "internal"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"constant": false,
|
|
413
|
-
"id": 84,
|
|
414
|
-
"mutability": "mutable",
|
|
415
|
-
"name": "updatedAt",
|
|
416
|
-
"nameLocation": "395:9:2",
|
|
417
|
-
"nodeType": "VariableDeclaration",
|
|
418
|
-
"scope": 88,
|
|
419
|
-
"src": "387:17:2",
|
|
420
|
-
"stateVariable": false,
|
|
421
|
-
"storageLocation": "default",
|
|
422
|
-
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" },
|
|
423
|
-
"typeName": {
|
|
424
|
-
"id": 83,
|
|
425
|
-
"name": "uint256",
|
|
426
|
-
"nodeType": "ElementaryTypeName",
|
|
427
|
-
"src": "387:7:2",
|
|
428
|
-
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }
|
|
429
|
-
},
|
|
430
|
-
"visibility": "internal"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"constant": false,
|
|
434
|
-
"id": 86,
|
|
435
|
-
"mutability": "mutable",
|
|
436
|
-
"name": "answeredInRound",
|
|
437
|
-
"nameLocation": "413:15:2",
|
|
438
|
-
"nodeType": "VariableDeclaration",
|
|
439
|
-
"scope": 88,
|
|
440
|
-
"src": "406:22:2",
|
|
441
|
-
"stateVariable": false,
|
|
442
|
-
"storageLocation": "default",
|
|
443
|
-
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" },
|
|
444
|
-
"typeName": {
|
|
445
|
-
"id": 85,
|
|
446
|
-
"name": "uint80",
|
|
447
|
-
"nodeType": "ElementaryTypeName",
|
|
448
|
-
"src": "406:6:2",
|
|
449
|
-
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" }
|
|
450
|
-
},
|
|
451
|
-
"visibility": "internal"
|
|
452
|
-
}
|
|
453
|
-
],
|
|
454
|
-
"src": "336:93:2"
|
|
455
|
-
},
|
|
456
|
-
"scope": 102,
|
|
457
|
-
"stateMutability": "view",
|
|
458
|
-
"virtual": false,
|
|
459
|
-
"visibility": "external"
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"id": 101,
|
|
463
|
-
"nodeType": "FunctionDefinition",
|
|
464
|
-
"src": "434:155:2",
|
|
465
|
-
"nodes": [],
|
|
466
|
-
"functionSelector": "feaf968c",
|
|
467
|
-
"implemented": false,
|
|
468
|
-
"kind": "function",
|
|
469
|
-
"modifiers": [],
|
|
470
|
-
"name": "latestRoundData",
|
|
471
|
-
"nameLocation": "443:15:2",
|
|
472
|
-
"parameters": { "id": 89, "nodeType": "ParameterList", "parameters": [], "src": "458:2:2" },
|
|
473
|
-
"returnParameters": {
|
|
474
|
-
"id": 100,
|
|
475
|
-
"nodeType": "ParameterList",
|
|
476
|
-
"parameters": [
|
|
477
|
-
{
|
|
478
|
-
"constant": false,
|
|
479
|
-
"id": 91,
|
|
480
|
-
"mutability": "mutable",
|
|
481
|
-
"name": "roundId",
|
|
482
|
-
"nameLocation": "503:7:2",
|
|
483
|
-
"nodeType": "VariableDeclaration",
|
|
484
|
-
"scope": 101,
|
|
485
|
-
"src": "496:14:2",
|
|
486
|
-
"stateVariable": false,
|
|
487
|
-
"storageLocation": "default",
|
|
488
|
-
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" },
|
|
489
|
-
"typeName": {
|
|
490
|
-
"id": 90,
|
|
491
|
-
"name": "uint80",
|
|
492
|
-
"nodeType": "ElementaryTypeName",
|
|
493
|
-
"src": "496:6:2",
|
|
494
|
-
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" }
|
|
495
|
-
},
|
|
496
|
-
"visibility": "internal"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"constant": false,
|
|
500
|
-
"id": 93,
|
|
501
|
-
"mutability": "mutable",
|
|
502
|
-
"name": "answer",
|
|
503
|
-
"nameLocation": "519:6:2",
|
|
504
|
-
"nodeType": "VariableDeclaration",
|
|
505
|
-
"scope": 101,
|
|
506
|
-
"src": "512:13:2",
|
|
507
|
-
"stateVariable": false,
|
|
508
|
-
"storageLocation": "default",
|
|
509
|
-
"typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" },
|
|
510
|
-
"typeName": {
|
|
511
|
-
"id": 92,
|
|
512
|
-
"name": "int256",
|
|
513
|
-
"nodeType": "ElementaryTypeName",
|
|
514
|
-
"src": "512:6:2",
|
|
515
|
-
"typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" }
|
|
516
|
-
},
|
|
517
|
-
"visibility": "internal"
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"constant": false,
|
|
521
|
-
"id": 95,
|
|
522
|
-
"mutability": "mutable",
|
|
523
|
-
"name": "startedAt",
|
|
524
|
-
"nameLocation": "535:9:2",
|
|
525
|
-
"nodeType": "VariableDeclaration",
|
|
526
|
-
"scope": 101,
|
|
527
|
-
"src": "527:17:2",
|
|
528
|
-
"stateVariable": false,
|
|
529
|
-
"storageLocation": "default",
|
|
530
|
-
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" },
|
|
531
|
-
"typeName": {
|
|
532
|
-
"id": 94,
|
|
533
|
-
"name": "uint256",
|
|
534
|
-
"nodeType": "ElementaryTypeName",
|
|
535
|
-
"src": "527:7:2",
|
|
536
|
-
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }
|
|
537
|
-
},
|
|
538
|
-
"visibility": "internal"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"constant": false,
|
|
542
|
-
"id": 97,
|
|
543
|
-
"mutability": "mutable",
|
|
544
|
-
"name": "updatedAt",
|
|
545
|
-
"nameLocation": "554:9:2",
|
|
546
|
-
"nodeType": "VariableDeclaration",
|
|
547
|
-
"scope": 101,
|
|
548
|
-
"src": "546:17:2",
|
|
549
|
-
"stateVariable": false,
|
|
550
|
-
"storageLocation": "default",
|
|
551
|
-
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" },
|
|
552
|
-
"typeName": {
|
|
553
|
-
"id": 96,
|
|
554
|
-
"name": "uint256",
|
|
555
|
-
"nodeType": "ElementaryTypeName",
|
|
556
|
-
"src": "546:7:2",
|
|
557
|
-
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }
|
|
558
|
-
},
|
|
559
|
-
"visibility": "internal"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"constant": false,
|
|
563
|
-
"id": 99,
|
|
564
|
-
"mutability": "mutable",
|
|
565
|
-
"name": "answeredInRound",
|
|
566
|
-
"nameLocation": "572:15:2",
|
|
567
|
-
"nodeType": "VariableDeclaration",
|
|
568
|
-
"scope": 101,
|
|
569
|
-
"src": "565:22:2",
|
|
570
|
-
"stateVariable": false,
|
|
571
|
-
"storageLocation": "default",
|
|
572
|
-
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" },
|
|
573
|
-
"typeName": {
|
|
574
|
-
"id": 98,
|
|
575
|
-
"name": "uint80",
|
|
576
|
-
"nodeType": "ElementaryTypeName",
|
|
577
|
-
"src": "565:6:2",
|
|
578
|
-
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" }
|
|
579
|
-
},
|
|
580
|
-
"visibility": "internal"
|
|
581
|
-
}
|
|
582
|
-
],
|
|
583
|
-
"src": "495:93:2"
|
|
584
|
-
},
|
|
585
|
-
"scope": 102,
|
|
586
|
-
"stateMutability": "view",
|
|
587
|
-
"virtual": false,
|
|
588
|
-
"visibility": "external"
|
|
589
|
-
}
|
|
590
|
-
],
|
|
591
|
-
"abstract": false,
|
|
592
|
-
"baseContracts": [],
|
|
593
|
-
"contractDependencies": [],
|
|
594
|
-
"contractKind": "interface",
|
|
595
|
-
"fullyImplemented": false,
|
|
596
|
-
"linearizedBaseContracts": [102],
|
|
597
|
-
"name": "AggregatorV3Interface",
|
|
598
|
-
"nameLocation": "67:21:2",
|
|
599
|
-
"scope": 103,
|
|
600
|
-
"usedErrors": []
|
|
601
|
-
}
|
|
602
|
-
],
|
|
603
|
-
"license": "MIT"
|
|
604
|
-
},
|
|
605
|
-
"id": 2
|
|
606
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"abi": [
|
|
3
|
+
{
|
|
4
|
+
"type": "function",
|
|
5
|
+
"name": "decimals",
|
|
6
|
+
"inputs": [],
|
|
7
|
+
"outputs": [{ "name": "", "type": "uint8", "internalType": "uint8" }],
|
|
8
|
+
"stateMutability": "view"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "function",
|
|
12
|
+
"name": "description",
|
|
13
|
+
"inputs": [],
|
|
14
|
+
"outputs": [{ "name": "", "type": "string", "internalType": "string" }],
|
|
15
|
+
"stateMutability": "view"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "function",
|
|
19
|
+
"name": "getRoundData",
|
|
20
|
+
"inputs": [{ "name": "_roundId", "type": "uint80", "internalType": "uint80" }],
|
|
21
|
+
"outputs": [
|
|
22
|
+
{ "name": "roundId", "type": "uint80", "internalType": "uint80" },
|
|
23
|
+
{ "name": "answer", "type": "int256", "internalType": "int256" },
|
|
24
|
+
{ "name": "startedAt", "type": "uint256", "internalType": "uint256" },
|
|
25
|
+
{ "name": "updatedAt", "type": "uint256", "internalType": "uint256" },
|
|
26
|
+
{ "name": "answeredInRound", "type": "uint80", "internalType": "uint80" }
|
|
27
|
+
],
|
|
28
|
+
"stateMutability": "view"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"type": "function",
|
|
32
|
+
"name": "latestRoundData",
|
|
33
|
+
"inputs": [],
|
|
34
|
+
"outputs": [
|
|
35
|
+
{ "name": "roundId", "type": "uint80", "internalType": "uint80" },
|
|
36
|
+
{ "name": "answer", "type": "int256", "internalType": "int256" },
|
|
37
|
+
{ "name": "startedAt", "type": "uint256", "internalType": "uint256" },
|
|
38
|
+
{ "name": "updatedAt", "type": "uint256", "internalType": "uint256" },
|
|
39
|
+
{ "name": "answeredInRound", "type": "uint80", "internalType": "uint80" }
|
|
40
|
+
],
|
|
41
|
+
"stateMutability": "view"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "function",
|
|
45
|
+
"name": "version",
|
|
46
|
+
"inputs": [],
|
|
47
|
+
"outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
|
|
48
|
+
"stateMutability": "view"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"bytecode": { "object": "0x", "sourceMap": "", "linkReferences": {} },
|
|
52
|
+
"deployedBytecode": { "object": "0x", "sourceMap": "", "linkReferences": {} },
|
|
53
|
+
"methodIdentifiers": {
|
|
54
|
+
"decimals()": "313ce567",
|
|
55
|
+
"description()": "7284e416",
|
|
56
|
+
"getRoundData(uint80)": "9a6fc8f5",
|
|
57
|
+
"latestRoundData()": "feaf968c",
|
|
58
|
+
"version()": "54fd4d50"
|
|
59
|
+
},
|
|
60
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"description\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint80\",\"name\":\"_roundId\",\"type\":\"uint80\"}],\"name\":\"getRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"roundId\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"answeredInRound\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"roundId\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"answeredInRound\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol\":\"AggregatorV3Interface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@chainlink/=lib/chainlink/\",\":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":chainlink/=lib/chainlink/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin/=lib/openzeppelin-contracts/contracts/\",\":pyth-sdk-solidity/=lib/pyth-sdk-solidity/\"]},\"sources\":{\"lib/chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol\":{\"keccak256\":\"0xfe4e8bb4861bb3860ba890ab91a3b818ec66e5a8f544fb608cfcb73f433472cd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://644cff84052e1e82b5bb502b2a46e8f142a62b0db4cd9b38200798ba8373c6f7\",\"dweb:/ipfs/QmTa99QHrJBn3SXDizquPBUiTxVCNKQrHgaWJhuds5Sce2\"]}},\"version\":1}",
|
|
61
|
+
"metadata": {
|
|
62
|
+
"compiler": { "version": "0.8.7+commit.e28d00a7" },
|
|
63
|
+
"language": "Solidity",
|
|
64
|
+
"output": {
|
|
65
|
+
"abi": [
|
|
66
|
+
{
|
|
67
|
+
"inputs": [],
|
|
68
|
+
"stateMutability": "view",
|
|
69
|
+
"type": "function",
|
|
70
|
+
"name": "decimals",
|
|
71
|
+
"outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"inputs": [],
|
|
75
|
+
"stateMutability": "view",
|
|
76
|
+
"type": "function",
|
|
77
|
+
"name": "description",
|
|
78
|
+
"outputs": [{ "internalType": "string", "name": "", "type": "string" }]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"inputs": [{ "internalType": "uint80", "name": "_roundId", "type": "uint80" }],
|
|
82
|
+
"stateMutability": "view",
|
|
83
|
+
"type": "function",
|
|
84
|
+
"name": "getRoundData",
|
|
85
|
+
"outputs": [
|
|
86
|
+
{ "internalType": "uint80", "name": "roundId", "type": "uint80" },
|
|
87
|
+
{ "internalType": "int256", "name": "answer", "type": "int256" },
|
|
88
|
+
{ "internalType": "uint256", "name": "startedAt", "type": "uint256" },
|
|
89
|
+
{ "internalType": "uint256", "name": "updatedAt", "type": "uint256" },
|
|
90
|
+
{ "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"inputs": [],
|
|
95
|
+
"stateMutability": "view",
|
|
96
|
+
"type": "function",
|
|
97
|
+
"name": "latestRoundData",
|
|
98
|
+
"outputs": [
|
|
99
|
+
{ "internalType": "uint80", "name": "roundId", "type": "uint80" },
|
|
100
|
+
{ "internalType": "int256", "name": "answer", "type": "int256" },
|
|
101
|
+
{ "internalType": "uint256", "name": "startedAt", "type": "uint256" },
|
|
102
|
+
{ "internalType": "uint256", "name": "updatedAt", "type": "uint256" },
|
|
103
|
+
{ "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"inputs": [],
|
|
108
|
+
"stateMutability": "view",
|
|
109
|
+
"type": "function",
|
|
110
|
+
"name": "version",
|
|
111
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }]
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"devdoc": { "kind": "dev", "methods": {}, "version": 1 },
|
|
115
|
+
"userdoc": { "kind": "user", "methods": {}, "version": 1 }
|
|
116
|
+
},
|
|
117
|
+
"settings": {
|
|
118
|
+
"remappings": [
|
|
119
|
+
"@chainlink/=lib/chainlink/",
|
|
120
|
+
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
|
|
121
|
+
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
|
|
122
|
+
"chainlink/=lib/chainlink/",
|
|
123
|
+
"ds-test/=lib/forge-std/lib/ds-test/src/",
|
|
124
|
+
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
|
|
125
|
+
"forge-std/=lib/forge-std/src/",
|
|
126
|
+
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
|
|
127
|
+
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
|
|
128
|
+
"openzeppelin/=lib/openzeppelin-contracts/contracts/",
|
|
129
|
+
"pyth-sdk-solidity/=lib/pyth-sdk-solidity/"
|
|
130
|
+
],
|
|
131
|
+
"optimizer": { "enabled": true, "runs": 200 },
|
|
132
|
+
"metadata": { "bytecodeHash": "ipfs" },
|
|
133
|
+
"compilationTarget": {
|
|
134
|
+
"lib/chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol": "AggregatorV3Interface"
|
|
135
|
+
},
|
|
136
|
+
"evmVersion": "london",
|
|
137
|
+
"libraries": {}
|
|
138
|
+
},
|
|
139
|
+
"sources": {
|
|
140
|
+
"lib/chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol": {
|
|
141
|
+
"keccak256": "0xfe4e8bb4861bb3860ba890ab91a3b818ec66e5a8f544fb608cfcb73f433472cd",
|
|
142
|
+
"urls": [
|
|
143
|
+
"bzz-raw://644cff84052e1e82b5bb502b2a46e8f142a62b0db4cd9b38200798ba8373c6f7",
|
|
144
|
+
"dweb:/ipfs/QmTa99QHrJBn3SXDizquPBUiTxVCNKQrHgaWJhuds5Sce2"
|
|
145
|
+
],
|
|
146
|
+
"license": "MIT"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"version": 1
|
|
150
|
+
},
|
|
151
|
+
"ast": {
|
|
152
|
+
"absolutePath": "lib/chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol",
|
|
153
|
+
"id": 103,
|
|
154
|
+
"exportedSymbols": { "AggregatorV3Interface": [102] },
|
|
155
|
+
"nodeType": "SourceUnit",
|
|
156
|
+
"src": "32:560:2",
|
|
157
|
+
"nodes": [
|
|
158
|
+
{
|
|
159
|
+
"id": 58,
|
|
160
|
+
"nodeType": "PragmaDirective",
|
|
161
|
+
"src": "32:23:2",
|
|
162
|
+
"nodes": [],
|
|
163
|
+
"literals": ["solidity", "^", "0.8", ".0"]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": 102,
|
|
167
|
+
"nodeType": "ContractDefinition",
|
|
168
|
+
"src": "57:534:2",
|
|
169
|
+
"nodes": [
|
|
170
|
+
{
|
|
171
|
+
"id": 63,
|
|
172
|
+
"nodeType": "FunctionDefinition",
|
|
173
|
+
"src": "93:50:2",
|
|
174
|
+
"nodes": [],
|
|
175
|
+
"functionSelector": "313ce567",
|
|
176
|
+
"implemented": false,
|
|
177
|
+
"kind": "function",
|
|
178
|
+
"modifiers": [],
|
|
179
|
+
"name": "decimals",
|
|
180
|
+
"nameLocation": "102:8:2",
|
|
181
|
+
"parameters": { "id": 59, "nodeType": "ParameterList", "parameters": [], "src": "110:2:2" },
|
|
182
|
+
"returnParameters": {
|
|
183
|
+
"id": 62,
|
|
184
|
+
"nodeType": "ParameterList",
|
|
185
|
+
"parameters": [
|
|
186
|
+
{
|
|
187
|
+
"constant": false,
|
|
188
|
+
"id": 61,
|
|
189
|
+
"mutability": "mutable",
|
|
190
|
+
"name": "",
|
|
191
|
+
"nameLocation": "-1:-1:-1",
|
|
192
|
+
"nodeType": "VariableDeclaration",
|
|
193
|
+
"scope": 63,
|
|
194
|
+
"src": "136:5:2",
|
|
195
|
+
"stateVariable": false,
|
|
196
|
+
"storageLocation": "default",
|
|
197
|
+
"typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" },
|
|
198
|
+
"typeName": {
|
|
199
|
+
"id": 60,
|
|
200
|
+
"name": "uint8",
|
|
201
|
+
"nodeType": "ElementaryTypeName",
|
|
202
|
+
"src": "136:5:2",
|
|
203
|
+
"typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" }
|
|
204
|
+
},
|
|
205
|
+
"visibility": "internal"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"src": "135:7:2"
|
|
209
|
+
},
|
|
210
|
+
"scope": 102,
|
|
211
|
+
"stateMutability": "view",
|
|
212
|
+
"virtual": false,
|
|
213
|
+
"visibility": "external"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"id": 68,
|
|
217
|
+
"nodeType": "FunctionDefinition",
|
|
218
|
+
"src": "147:61:2",
|
|
219
|
+
"nodes": [],
|
|
220
|
+
"functionSelector": "7284e416",
|
|
221
|
+
"implemented": false,
|
|
222
|
+
"kind": "function",
|
|
223
|
+
"modifiers": [],
|
|
224
|
+
"name": "description",
|
|
225
|
+
"nameLocation": "156:11:2",
|
|
226
|
+
"parameters": { "id": 64, "nodeType": "ParameterList", "parameters": [], "src": "167:2:2" },
|
|
227
|
+
"returnParameters": {
|
|
228
|
+
"id": 67,
|
|
229
|
+
"nodeType": "ParameterList",
|
|
230
|
+
"parameters": [
|
|
231
|
+
{
|
|
232
|
+
"constant": false,
|
|
233
|
+
"id": 66,
|
|
234
|
+
"mutability": "mutable",
|
|
235
|
+
"name": "",
|
|
236
|
+
"nameLocation": "-1:-1:-1",
|
|
237
|
+
"nodeType": "VariableDeclaration",
|
|
238
|
+
"scope": 68,
|
|
239
|
+
"src": "193:13:2",
|
|
240
|
+
"stateVariable": false,
|
|
241
|
+
"storageLocation": "memory",
|
|
242
|
+
"typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" },
|
|
243
|
+
"typeName": {
|
|
244
|
+
"id": 65,
|
|
245
|
+
"name": "string",
|
|
246
|
+
"nodeType": "ElementaryTypeName",
|
|
247
|
+
"src": "193:6:2",
|
|
248
|
+
"typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }
|
|
249
|
+
},
|
|
250
|
+
"visibility": "internal"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"src": "192:15:2"
|
|
254
|
+
},
|
|
255
|
+
"scope": 102,
|
|
256
|
+
"stateMutability": "view",
|
|
257
|
+
"virtual": false,
|
|
258
|
+
"visibility": "external"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"id": 73,
|
|
262
|
+
"nodeType": "FunctionDefinition",
|
|
263
|
+
"src": "212:51:2",
|
|
264
|
+
"nodes": [],
|
|
265
|
+
"functionSelector": "54fd4d50",
|
|
266
|
+
"implemented": false,
|
|
267
|
+
"kind": "function",
|
|
268
|
+
"modifiers": [],
|
|
269
|
+
"name": "version",
|
|
270
|
+
"nameLocation": "221:7:2",
|
|
271
|
+
"parameters": { "id": 69, "nodeType": "ParameterList", "parameters": [], "src": "228:2:2" },
|
|
272
|
+
"returnParameters": {
|
|
273
|
+
"id": 72,
|
|
274
|
+
"nodeType": "ParameterList",
|
|
275
|
+
"parameters": [
|
|
276
|
+
{
|
|
277
|
+
"constant": false,
|
|
278
|
+
"id": 71,
|
|
279
|
+
"mutability": "mutable",
|
|
280
|
+
"name": "",
|
|
281
|
+
"nameLocation": "-1:-1:-1",
|
|
282
|
+
"nodeType": "VariableDeclaration",
|
|
283
|
+
"scope": 73,
|
|
284
|
+
"src": "254:7:2",
|
|
285
|
+
"stateVariable": false,
|
|
286
|
+
"storageLocation": "default",
|
|
287
|
+
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" },
|
|
288
|
+
"typeName": {
|
|
289
|
+
"id": 70,
|
|
290
|
+
"name": "uint256",
|
|
291
|
+
"nodeType": "ElementaryTypeName",
|
|
292
|
+
"src": "254:7:2",
|
|
293
|
+
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }
|
|
294
|
+
},
|
|
295
|
+
"visibility": "internal"
|
|
296
|
+
}
|
|
297
|
+
],
|
|
298
|
+
"src": "253:9:2"
|
|
299
|
+
},
|
|
300
|
+
"scope": 102,
|
|
301
|
+
"stateMutability": "view",
|
|
302
|
+
"virtual": false,
|
|
303
|
+
"visibility": "external"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"id": 88,
|
|
307
|
+
"nodeType": "FunctionDefinition",
|
|
308
|
+
"src": "267:163:2",
|
|
309
|
+
"nodes": [],
|
|
310
|
+
"functionSelector": "9a6fc8f5",
|
|
311
|
+
"implemented": false,
|
|
312
|
+
"kind": "function",
|
|
313
|
+
"modifiers": [],
|
|
314
|
+
"name": "getRoundData",
|
|
315
|
+
"nameLocation": "276:12:2",
|
|
316
|
+
"parameters": {
|
|
317
|
+
"id": 76,
|
|
318
|
+
"nodeType": "ParameterList",
|
|
319
|
+
"parameters": [
|
|
320
|
+
{
|
|
321
|
+
"constant": false,
|
|
322
|
+
"id": 75,
|
|
323
|
+
"mutability": "mutable",
|
|
324
|
+
"name": "_roundId",
|
|
325
|
+
"nameLocation": "301:8:2",
|
|
326
|
+
"nodeType": "VariableDeclaration",
|
|
327
|
+
"scope": 88,
|
|
328
|
+
"src": "294:15:2",
|
|
329
|
+
"stateVariable": false,
|
|
330
|
+
"storageLocation": "default",
|
|
331
|
+
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" },
|
|
332
|
+
"typeName": {
|
|
333
|
+
"id": 74,
|
|
334
|
+
"name": "uint80",
|
|
335
|
+
"nodeType": "ElementaryTypeName",
|
|
336
|
+
"src": "294:6:2",
|
|
337
|
+
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" }
|
|
338
|
+
},
|
|
339
|
+
"visibility": "internal"
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
"src": "288:25:2"
|
|
343
|
+
},
|
|
344
|
+
"returnParameters": {
|
|
345
|
+
"id": 87,
|
|
346
|
+
"nodeType": "ParameterList",
|
|
347
|
+
"parameters": [
|
|
348
|
+
{
|
|
349
|
+
"constant": false,
|
|
350
|
+
"id": 78,
|
|
351
|
+
"mutability": "mutable",
|
|
352
|
+
"name": "roundId",
|
|
353
|
+
"nameLocation": "344:7:2",
|
|
354
|
+
"nodeType": "VariableDeclaration",
|
|
355
|
+
"scope": 88,
|
|
356
|
+
"src": "337:14:2",
|
|
357
|
+
"stateVariable": false,
|
|
358
|
+
"storageLocation": "default",
|
|
359
|
+
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" },
|
|
360
|
+
"typeName": {
|
|
361
|
+
"id": 77,
|
|
362
|
+
"name": "uint80",
|
|
363
|
+
"nodeType": "ElementaryTypeName",
|
|
364
|
+
"src": "337:6:2",
|
|
365
|
+
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" }
|
|
366
|
+
},
|
|
367
|
+
"visibility": "internal"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"constant": false,
|
|
371
|
+
"id": 80,
|
|
372
|
+
"mutability": "mutable",
|
|
373
|
+
"name": "answer",
|
|
374
|
+
"nameLocation": "360:6:2",
|
|
375
|
+
"nodeType": "VariableDeclaration",
|
|
376
|
+
"scope": 88,
|
|
377
|
+
"src": "353:13:2",
|
|
378
|
+
"stateVariable": false,
|
|
379
|
+
"storageLocation": "default",
|
|
380
|
+
"typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" },
|
|
381
|
+
"typeName": {
|
|
382
|
+
"id": 79,
|
|
383
|
+
"name": "int256",
|
|
384
|
+
"nodeType": "ElementaryTypeName",
|
|
385
|
+
"src": "353:6:2",
|
|
386
|
+
"typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" }
|
|
387
|
+
},
|
|
388
|
+
"visibility": "internal"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"constant": false,
|
|
392
|
+
"id": 82,
|
|
393
|
+
"mutability": "mutable",
|
|
394
|
+
"name": "startedAt",
|
|
395
|
+
"nameLocation": "376:9:2",
|
|
396
|
+
"nodeType": "VariableDeclaration",
|
|
397
|
+
"scope": 88,
|
|
398
|
+
"src": "368:17:2",
|
|
399
|
+
"stateVariable": false,
|
|
400
|
+
"storageLocation": "default",
|
|
401
|
+
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" },
|
|
402
|
+
"typeName": {
|
|
403
|
+
"id": 81,
|
|
404
|
+
"name": "uint256",
|
|
405
|
+
"nodeType": "ElementaryTypeName",
|
|
406
|
+
"src": "368:7:2",
|
|
407
|
+
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }
|
|
408
|
+
},
|
|
409
|
+
"visibility": "internal"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"constant": false,
|
|
413
|
+
"id": 84,
|
|
414
|
+
"mutability": "mutable",
|
|
415
|
+
"name": "updatedAt",
|
|
416
|
+
"nameLocation": "395:9:2",
|
|
417
|
+
"nodeType": "VariableDeclaration",
|
|
418
|
+
"scope": 88,
|
|
419
|
+
"src": "387:17:2",
|
|
420
|
+
"stateVariable": false,
|
|
421
|
+
"storageLocation": "default",
|
|
422
|
+
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" },
|
|
423
|
+
"typeName": {
|
|
424
|
+
"id": 83,
|
|
425
|
+
"name": "uint256",
|
|
426
|
+
"nodeType": "ElementaryTypeName",
|
|
427
|
+
"src": "387:7:2",
|
|
428
|
+
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }
|
|
429
|
+
},
|
|
430
|
+
"visibility": "internal"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"constant": false,
|
|
434
|
+
"id": 86,
|
|
435
|
+
"mutability": "mutable",
|
|
436
|
+
"name": "answeredInRound",
|
|
437
|
+
"nameLocation": "413:15:2",
|
|
438
|
+
"nodeType": "VariableDeclaration",
|
|
439
|
+
"scope": 88,
|
|
440
|
+
"src": "406:22:2",
|
|
441
|
+
"stateVariable": false,
|
|
442
|
+
"storageLocation": "default",
|
|
443
|
+
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" },
|
|
444
|
+
"typeName": {
|
|
445
|
+
"id": 85,
|
|
446
|
+
"name": "uint80",
|
|
447
|
+
"nodeType": "ElementaryTypeName",
|
|
448
|
+
"src": "406:6:2",
|
|
449
|
+
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" }
|
|
450
|
+
},
|
|
451
|
+
"visibility": "internal"
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
"src": "336:93:2"
|
|
455
|
+
},
|
|
456
|
+
"scope": 102,
|
|
457
|
+
"stateMutability": "view",
|
|
458
|
+
"virtual": false,
|
|
459
|
+
"visibility": "external"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"id": 101,
|
|
463
|
+
"nodeType": "FunctionDefinition",
|
|
464
|
+
"src": "434:155:2",
|
|
465
|
+
"nodes": [],
|
|
466
|
+
"functionSelector": "feaf968c",
|
|
467
|
+
"implemented": false,
|
|
468
|
+
"kind": "function",
|
|
469
|
+
"modifiers": [],
|
|
470
|
+
"name": "latestRoundData",
|
|
471
|
+
"nameLocation": "443:15:2",
|
|
472
|
+
"parameters": { "id": 89, "nodeType": "ParameterList", "parameters": [], "src": "458:2:2" },
|
|
473
|
+
"returnParameters": {
|
|
474
|
+
"id": 100,
|
|
475
|
+
"nodeType": "ParameterList",
|
|
476
|
+
"parameters": [
|
|
477
|
+
{
|
|
478
|
+
"constant": false,
|
|
479
|
+
"id": 91,
|
|
480
|
+
"mutability": "mutable",
|
|
481
|
+
"name": "roundId",
|
|
482
|
+
"nameLocation": "503:7:2",
|
|
483
|
+
"nodeType": "VariableDeclaration",
|
|
484
|
+
"scope": 101,
|
|
485
|
+
"src": "496:14:2",
|
|
486
|
+
"stateVariable": false,
|
|
487
|
+
"storageLocation": "default",
|
|
488
|
+
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" },
|
|
489
|
+
"typeName": {
|
|
490
|
+
"id": 90,
|
|
491
|
+
"name": "uint80",
|
|
492
|
+
"nodeType": "ElementaryTypeName",
|
|
493
|
+
"src": "496:6:2",
|
|
494
|
+
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" }
|
|
495
|
+
},
|
|
496
|
+
"visibility": "internal"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"constant": false,
|
|
500
|
+
"id": 93,
|
|
501
|
+
"mutability": "mutable",
|
|
502
|
+
"name": "answer",
|
|
503
|
+
"nameLocation": "519:6:2",
|
|
504
|
+
"nodeType": "VariableDeclaration",
|
|
505
|
+
"scope": 101,
|
|
506
|
+
"src": "512:13:2",
|
|
507
|
+
"stateVariable": false,
|
|
508
|
+
"storageLocation": "default",
|
|
509
|
+
"typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" },
|
|
510
|
+
"typeName": {
|
|
511
|
+
"id": 92,
|
|
512
|
+
"name": "int256",
|
|
513
|
+
"nodeType": "ElementaryTypeName",
|
|
514
|
+
"src": "512:6:2",
|
|
515
|
+
"typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" }
|
|
516
|
+
},
|
|
517
|
+
"visibility": "internal"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"constant": false,
|
|
521
|
+
"id": 95,
|
|
522
|
+
"mutability": "mutable",
|
|
523
|
+
"name": "startedAt",
|
|
524
|
+
"nameLocation": "535:9:2",
|
|
525
|
+
"nodeType": "VariableDeclaration",
|
|
526
|
+
"scope": 101,
|
|
527
|
+
"src": "527:17:2",
|
|
528
|
+
"stateVariable": false,
|
|
529
|
+
"storageLocation": "default",
|
|
530
|
+
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" },
|
|
531
|
+
"typeName": {
|
|
532
|
+
"id": 94,
|
|
533
|
+
"name": "uint256",
|
|
534
|
+
"nodeType": "ElementaryTypeName",
|
|
535
|
+
"src": "527:7:2",
|
|
536
|
+
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }
|
|
537
|
+
},
|
|
538
|
+
"visibility": "internal"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"constant": false,
|
|
542
|
+
"id": 97,
|
|
543
|
+
"mutability": "mutable",
|
|
544
|
+
"name": "updatedAt",
|
|
545
|
+
"nameLocation": "554:9:2",
|
|
546
|
+
"nodeType": "VariableDeclaration",
|
|
547
|
+
"scope": 101,
|
|
548
|
+
"src": "546:17:2",
|
|
549
|
+
"stateVariable": false,
|
|
550
|
+
"storageLocation": "default",
|
|
551
|
+
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" },
|
|
552
|
+
"typeName": {
|
|
553
|
+
"id": 96,
|
|
554
|
+
"name": "uint256",
|
|
555
|
+
"nodeType": "ElementaryTypeName",
|
|
556
|
+
"src": "546:7:2",
|
|
557
|
+
"typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }
|
|
558
|
+
},
|
|
559
|
+
"visibility": "internal"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"constant": false,
|
|
563
|
+
"id": 99,
|
|
564
|
+
"mutability": "mutable",
|
|
565
|
+
"name": "answeredInRound",
|
|
566
|
+
"nameLocation": "572:15:2",
|
|
567
|
+
"nodeType": "VariableDeclaration",
|
|
568
|
+
"scope": 101,
|
|
569
|
+
"src": "565:22:2",
|
|
570
|
+
"stateVariable": false,
|
|
571
|
+
"storageLocation": "default",
|
|
572
|
+
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" },
|
|
573
|
+
"typeName": {
|
|
574
|
+
"id": 98,
|
|
575
|
+
"name": "uint80",
|
|
576
|
+
"nodeType": "ElementaryTypeName",
|
|
577
|
+
"src": "565:6:2",
|
|
578
|
+
"typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" }
|
|
579
|
+
},
|
|
580
|
+
"visibility": "internal"
|
|
581
|
+
}
|
|
582
|
+
],
|
|
583
|
+
"src": "495:93:2"
|
|
584
|
+
},
|
|
585
|
+
"scope": 102,
|
|
586
|
+
"stateMutability": "view",
|
|
587
|
+
"virtual": false,
|
|
588
|
+
"visibility": "external"
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
"abstract": false,
|
|
592
|
+
"baseContracts": [],
|
|
593
|
+
"contractDependencies": [],
|
|
594
|
+
"contractKind": "interface",
|
|
595
|
+
"fullyImplemented": false,
|
|
596
|
+
"linearizedBaseContracts": [102],
|
|
597
|
+
"name": "AggregatorV3Interface",
|
|
598
|
+
"nameLocation": "67:21:2",
|
|
599
|
+
"scope": 103,
|
|
600
|
+
"usedErrors": []
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
"license": "MIT"
|
|
604
|
+
},
|
|
605
|
+
"id": 2
|
|
606
|
+
}
|