@venusprotocol/oracle 1.1.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.
Files changed (94) hide show
  1. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +4 -0
  2. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +297 -0
  3. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +4 -0
  4. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +194 -0
  5. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +4 -0
  6. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +233 -0
  7. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +4 -0
  8. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +10 -0
  9. package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.dbg.json +4 -0
  10. package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +10 -0
  11. package/artifacts/@openzeppelin/contracts/utils/math/SafeMath.sol/SafeMath.dbg.json +4 -0
  12. package/artifacts/@openzeppelin/contracts/utils/math/SafeMath.sol/SafeMath.json +10 -0
  13. package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +4 -0
  14. package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +10 -0
  15. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +4 -0
  16. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +76 -0
  17. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +4 -0
  18. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +24 -0
  19. package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +4 -0
  20. package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.json +63 -0
  21. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +4 -0
  22. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +10 -0
  23. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +4 -0
  24. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +24 -0
  25. package/artifacts/build-info/5759fed659a82870ff637da81e15ba57.json +1 -0
  26. package/artifacts/build-info/b22018d758b06a50b7c80c494f08be30.json +1 -0
  27. package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +4 -0
  28. package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.json +433 -0
  29. package/artifacts/contracts/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.dbg.json +4 -0
  30. package/artifacts/contracts/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.json +249 -0
  31. package/artifacts/contracts/interfaces/BEP20Interface.sol/BEP20Interface.dbg.json +4 -0
  32. package/artifacts/contracts/interfaces/BEP20Interface.sol/BEP20Interface.json +246 -0
  33. package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +4 -0
  34. package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.json +30 -0
  35. package/artifacts/contracts/interfaces/OracleInterface.sol/PivotOracleInterface.dbg.json +4 -0
  36. package/artifacts/contracts/interfaces/OracleInterface.sol/PivotOracleInterface.json +54 -0
  37. package/artifacts/contracts/interfaces/OracleInterface.sol/PivotValidatorInterface.dbg.json +4 -0
  38. package/artifacts/contracts/interfaces/OracleInterface.sol/PivotValidatorInterface.json +35 -0
  39. package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.dbg.json +4 -0
  40. package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.json +331 -0
  41. package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.dbg.json +4 -0
  42. package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.json +10 -0
  43. package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +4 -0
  44. package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.json +259 -0
  45. package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.dbg.json +4 -0
  46. package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.json +10 -0
  47. package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.dbg.json +4 -0
  48. package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.json +60 -0
  49. package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.dbg.json +4 -0
  50. package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.json +10 -0
  51. package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.dbg.json +4 -0
  52. package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.json +219 -0
  53. package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.dbg.json +4 -0
  54. package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.json +315 -0
  55. package/artifacts/contracts/oracles/PivotPythOracle.sol/PivotPythOracle.dbg.json +4 -0
  56. package/artifacts/contracts/oracles/PivotPythOracle.sol/PivotPythOracle.json +441 -0
  57. package/artifacts/contracts/oracles/PivotTwapOracle.sol/PivotTwapOracle.dbg.json +4 -0
  58. package/artifacts/contracts/oracles/PivotTwapOracle.sol/PivotTwapOracle.json +691 -0
  59. package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.dbg.json +4 -0
  60. package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.json +274 -0
  61. package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.dbg.json +4 -0
  62. package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.json +524 -0
  63. package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.dbg.json +4 -0
  64. package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.json +144 -0
  65. package/artifacts/contracts/oracles/mocks/MockPivotTwapOracle.sol/MockPivotTwapOracle.dbg.json +4 -0
  66. package/artifacts/contracts/oracles/mocks/MockPivotTwapOracle.sol/MockPivotTwapOracle.json +163 -0
  67. package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.dbg.json +4 -0
  68. package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.json +163 -0
  69. package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.dbg.json +4 -0
  70. package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.json +315 -0
  71. package/artifacts/contracts/test/MockBoundValidator.sol/MockBoundValidator.dbg.json +4 -0
  72. package/artifacts/contracts/test/MockBoundValidator.sol/MockBoundValidator.json +226 -0
  73. package/artifacts/contracts/test/MockPyth.sol/MockPyth.dbg.json +4 -0
  74. package/artifacts/contracts/test/MockPyth.sol/MockPyth.json +591 -0
  75. package/artifacts/contracts/test/MockSimpleOracle.sol/MockPivotOracle.dbg.json +4 -0
  76. package/artifacts/contracts/test/MockSimpleOracle.sol/MockPivotOracle.json +133 -0
  77. package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.dbg.json +4 -0
  78. package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.json +72 -0
  79. package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.dbg.json +4 -0
  80. package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.json +306 -0
  81. package/artifacts/contracts/test/PancakePairHarness.sol/Math.dbg.json +4 -0
  82. package/artifacts/contracts/test/PancakePairHarness.sol/Math.json +10 -0
  83. package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.dbg.json +4 -0
  84. package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.json +158 -0
  85. package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.dbg.json +4 -0
  86. package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.json +10 -0
  87. package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.dbg.json +4 -0
  88. package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.json +333 -0
  89. package/deploy/oracles.d.ts +4 -0
  90. package/deploy/oracles.d.ts.map +1 -0
  91. package/deploy/oracles.js +76 -0
  92. package/deploy/oracles.js.map +1 -0
  93. package/networks/mainnet.json +1 -0
  94. package/package.json +98 -0
@@ -0,0 +1,331 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPyth",
4
+ "sourceName": "contracts/interfaces/PythInterface.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": false,
11
+ "internalType": "uint16",
12
+ "name": "chainId",
13
+ "type": "uint16"
14
+ },
15
+ {
16
+ "indexed": false,
17
+ "internalType": "uint64",
18
+ "name": "sequenceNumber",
19
+ "type": "uint64"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "uint256",
24
+ "name": "batchSize",
25
+ "type": "uint256"
26
+ },
27
+ {
28
+ "indexed": false,
29
+ "internalType": "uint256",
30
+ "name": "freshPricesInBatch",
31
+ "type": "uint256"
32
+ }
33
+ ],
34
+ "name": "BatchPriceFeedUpdate",
35
+ "type": "event"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": true,
42
+ "internalType": "bytes32",
43
+ "name": "id",
44
+ "type": "bytes32"
45
+ },
46
+ {
47
+ "indexed": true,
48
+ "internalType": "bool",
49
+ "name": "fresh",
50
+ "type": "bool"
51
+ },
52
+ {
53
+ "indexed": false,
54
+ "internalType": "uint16",
55
+ "name": "chainId",
56
+ "type": "uint16"
57
+ },
58
+ {
59
+ "indexed": false,
60
+ "internalType": "uint64",
61
+ "name": "sequenceNumber",
62
+ "type": "uint64"
63
+ },
64
+ {
65
+ "indexed": false,
66
+ "internalType": "uint64",
67
+ "name": "lastPublishTime",
68
+ "type": "uint64"
69
+ },
70
+ {
71
+ "indexed": false,
72
+ "internalType": "uint64",
73
+ "name": "publishTime",
74
+ "type": "uint64"
75
+ },
76
+ {
77
+ "indexed": false,
78
+ "internalType": "int64",
79
+ "name": "price",
80
+ "type": "int64"
81
+ },
82
+ {
83
+ "indexed": false,
84
+ "internalType": "uint64",
85
+ "name": "conf",
86
+ "type": "uint64"
87
+ }
88
+ ],
89
+ "name": "PriceFeedUpdate",
90
+ "type": "event"
91
+ },
92
+ {
93
+ "anonymous": false,
94
+ "inputs": [
95
+ {
96
+ "indexed": true,
97
+ "internalType": "address",
98
+ "name": "sender",
99
+ "type": "address"
100
+ },
101
+ {
102
+ "indexed": false,
103
+ "internalType": "uint256",
104
+ "name": "batchCount",
105
+ "type": "uint256"
106
+ },
107
+ {
108
+ "indexed": false,
109
+ "internalType": "uint256",
110
+ "name": "fee",
111
+ "type": "uint256"
112
+ }
113
+ ],
114
+ "name": "UpdatePriceFeeds",
115
+ "type": "event"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "bytes32",
121
+ "name": "id",
122
+ "type": "bytes32"
123
+ }
124
+ ],
125
+ "name": "getCurrentPrice",
126
+ "outputs": [
127
+ {
128
+ "components": [
129
+ {
130
+ "internalType": "int64",
131
+ "name": "price",
132
+ "type": "int64"
133
+ },
134
+ {
135
+ "internalType": "uint64",
136
+ "name": "conf",
137
+ "type": "uint64"
138
+ },
139
+ {
140
+ "internalType": "int32",
141
+ "name": "expo",
142
+ "type": "int32"
143
+ }
144
+ ],
145
+ "internalType": "struct PythStructs.Price",
146
+ "name": "price",
147
+ "type": "tuple"
148
+ }
149
+ ],
150
+ "stateMutability": "view",
151
+ "type": "function"
152
+ },
153
+ {
154
+ "inputs": [
155
+ {
156
+ "internalType": "bytes32",
157
+ "name": "id",
158
+ "type": "bytes32"
159
+ }
160
+ ],
161
+ "name": "getEmaPrice",
162
+ "outputs": [
163
+ {
164
+ "components": [
165
+ {
166
+ "internalType": "int64",
167
+ "name": "price",
168
+ "type": "int64"
169
+ },
170
+ {
171
+ "internalType": "uint64",
172
+ "name": "conf",
173
+ "type": "uint64"
174
+ },
175
+ {
176
+ "internalType": "int32",
177
+ "name": "expo",
178
+ "type": "int32"
179
+ }
180
+ ],
181
+ "internalType": "struct PythStructs.Price",
182
+ "name": "price",
183
+ "type": "tuple"
184
+ }
185
+ ],
186
+ "stateMutability": "view",
187
+ "type": "function"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "bytes32",
193
+ "name": "id",
194
+ "type": "bytes32"
195
+ }
196
+ ],
197
+ "name": "getLatestAvailablePriceUnsafe",
198
+ "outputs": [
199
+ {
200
+ "components": [
201
+ {
202
+ "internalType": "int64",
203
+ "name": "price",
204
+ "type": "int64"
205
+ },
206
+ {
207
+ "internalType": "uint64",
208
+ "name": "conf",
209
+ "type": "uint64"
210
+ },
211
+ {
212
+ "internalType": "int32",
213
+ "name": "expo",
214
+ "type": "int32"
215
+ }
216
+ ],
217
+ "internalType": "struct PythStructs.Price",
218
+ "name": "price",
219
+ "type": "tuple"
220
+ },
221
+ {
222
+ "internalType": "uint64",
223
+ "name": "publishTime",
224
+ "type": "uint64"
225
+ }
226
+ ],
227
+ "stateMutability": "view",
228
+ "type": "function"
229
+ },
230
+ {
231
+ "inputs": [
232
+ {
233
+ "internalType": "bytes32",
234
+ "name": "id",
235
+ "type": "bytes32"
236
+ },
237
+ {
238
+ "internalType": "uint64",
239
+ "name": "duration",
240
+ "type": "uint64"
241
+ }
242
+ ],
243
+ "name": "getLatestAvailablePriceWithinDuration",
244
+ "outputs": [
245
+ {
246
+ "components": [
247
+ {
248
+ "internalType": "int64",
249
+ "name": "price",
250
+ "type": "int64"
251
+ },
252
+ {
253
+ "internalType": "uint64",
254
+ "name": "conf",
255
+ "type": "uint64"
256
+ },
257
+ {
258
+ "internalType": "int32",
259
+ "name": "expo",
260
+ "type": "int32"
261
+ }
262
+ ],
263
+ "internalType": "struct PythStructs.Price",
264
+ "name": "price",
265
+ "type": "tuple"
266
+ }
267
+ ],
268
+ "stateMutability": "view",
269
+ "type": "function"
270
+ },
271
+ {
272
+ "inputs": [
273
+ {
274
+ "internalType": "uint256",
275
+ "name": "updateDataSize",
276
+ "type": "uint256"
277
+ }
278
+ ],
279
+ "name": "getUpdateFee",
280
+ "outputs": [
281
+ {
282
+ "internalType": "uint256",
283
+ "name": "feeAmount",
284
+ "type": "uint256"
285
+ }
286
+ ],
287
+ "stateMutability": "view",
288
+ "type": "function"
289
+ },
290
+ {
291
+ "inputs": [
292
+ {
293
+ "internalType": "bytes[]",
294
+ "name": "updateData",
295
+ "type": "bytes[]"
296
+ }
297
+ ],
298
+ "name": "updatePriceFeeds",
299
+ "outputs": [],
300
+ "stateMutability": "payable",
301
+ "type": "function"
302
+ },
303
+ {
304
+ "inputs": [
305
+ {
306
+ "internalType": "bytes[]",
307
+ "name": "updateData",
308
+ "type": "bytes[]"
309
+ },
310
+ {
311
+ "internalType": "bytes32[]",
312
+ "name": "priceIds",
313
+ "type": "bytes32[]"
314
+ },
315
+ {
316
+ "internalType": "uint64[]",
317
+ "name": "publishTimes",
318
+ "type": "uint64[]"
319
+ }
320
+ ],
321
+ "name": "updatePriceFeedsIfNecessary",
322
+ "outputs": [],
323
+ "stateMutability": "payable",
324
+ "type": "function"
325
+ }
326
+ ],
327
+ "bytecode": "0x",
328
+ "deployedBytecode": "0x",
329
+ "linkReferences": {},
330
+ "deployedLinkReferences": {}
331
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/b22018d758b06a50b7c80c494f08be30.json"
4
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PythStructs",
4
+ "sourceName": "contracts/interfaces/PythInterface.sol",
5
+ "abi": [],
6
+ "bytecode": "0x6080604052348015600f57600080fd5b50601680601d6000396000f3fe6080604052600080fdfea164736f6c634300080d000a",
7
+ "deployedBytecode": "0x6080604052600080fdfea164736f6c634300080d000a",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {}
10
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/b22018d758b06a50b7c80c494f08be30.json"
4
+ }
@@ -0,0 +1,259 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "VBep20Interface",
4
+ "sourceName": "contracts/interfaces/VBep20Interface.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "address",
12
+ "name": "owner",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "spender",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "uint256",
24
+ "name": "value",
25
+ "type": "uint256"
26
+ }
27
+ ],
28
+ "name": "Approval",
29
+ "type": "event"
30
+ },
31
+ {
32
+ "anonymous": false,
33
+ "inputs": [
34
+ {
35
+ "indexed": true,
36
+ "internalType": "address",
37
+ "name": "from",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "indexed": true,
42
+ "internalType": "address",
43
+ "name": "to",
44
+ "type": "address"
45
+ },
46
+ {
47
+ "indexed": false,
48
+ "internalType": "uint256",
49
+ "name": "value",
50
+ "type": "uint256"
51
+ }
52
+ ],
53
+ "name": "Transfer",
54
+ "type": "event"
55
+ },
56
+ {
57
+ "inputs": [
58
+ {
59
+ "internalType": "address",
60
+ "name": "_owner",
61
+ "type": "address"
62
+ },
63
+ {
64
+ "internalType": "address",
65
+ "name": "spender",
66
+ "type": "address"
67
+ }
68
+ ],
69
+ "name": "allowance",
70
+ "outputs": [
71
+ {
72
+ "internalType": "uint256",
73
+ "name": "",
74
+ "type": "uint256"
75
+ }
76
+ ],
77
+ "stateMutability": "view",
78
+ "type": "function"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "address",
84
+ "name": "spender",
85
+ "type": "address"
86
+ },
87
+ {
88
+ "internalType": "uint256",
89
+ "name": "amount",
90
+ "type": "uint256"
91
+ }
92
+ ],
93
+ "name": "approve",
94
+ "outputs": [
95
+ {
96
+ "internalType": "bool",
97
+ "name": "",
98
+ "type": "bool"
99
+ }
100
+ ],
101
+ "stateMutability": "nonpayable",
102
+ "type": "function"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "account",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "balanceOf",
113
+ "outputs": [
114
+ {
115
+ "internalType": "uint256",
116
+ "name": "",
117
+ "type": "uint256"
118
+ }
119
+ ],
120
+ "stateMutability": "view",
121
+ "type": "function"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "decimals",
126
+ "outputs": [
127
+ {
128
+ "internalType": "uint8",
129
+ "name": "",
130
+ "type": "uint8"
131
+ }
132
+ ],
133
+ "stateMutability": "view",
134
+ "type": "function"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "getOwner",
139
+ "outputs": [
140
+ {
141
+ "internalType": "address",
142
+ "name": "",
143
+ "type": "address"
144
+ }
145
+ ],
146
+ "stateMutability": "view",
147
+ "type": "function"
148
+ },
149
+ {
150
+ "inputs": [],
151
+ "name": "name",
152
+ "outputs": [
153
+ {
154
+ "internalType": "string",
155
+ "name": "",
156
+ "type": "string"
157
+ }
158
+ ],
159
+ "stateMutability": "view",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "symbol",
165
+ "outputs": [
166
+ {
167
+ "internalType": "string",
168
+ "name": "",
169
+ "type": "string"
170
+ }
171
+ ],
172
+ "stateMutability": "view",
173
+ "type": "function"
174
+ },
175
+ {
176
+ "inputs": [],
177
+ "name": "totalSupply",
178
+ "outputs": [
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "stateMutability": "view",
186
+ "type": "function"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "address",
192
+ "name": "recipient",
193
+ "type": "address"
194
+ },
195
+ {
196
+ "internalType": "uint256",
197
+ "name": "amount",
198
+ "type": "uint256"
199
+ }
200
+ ],
201
+ "name": "transfer",
202
+ "outputs": [
203
+ {
204
+ "internalType": "bool",
205
+ "name": "",
206
+ "type": "bool"
207
+ }
208
+ ],
209
+ "stateMutability": "nonpayable",
210
+ "type": "function"
211
+ },
212
+ {
213
+ "inputs": [
214
+ {
215
+ "internalType": "address",
216
+ "name": "sender",
217
+ "type": "address"
218
+ },
219
+ {
220
+ "internalType": "address",
221
+ "name": "recipient",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "internalType": "uint256",
226
+ "name": "amount",
227
+ "type": "uint256"
228
+ }
229
+ ],
230
+ "name": "transferFrom",
231
+ "outputs": [
232
+ {
233
+ "internalType": "bool",
234
+ "name": "",
235
+ "type": "bool"
236
+ }
237
+ ],
238
+ "stateMutability": "nonpayable",
239
+ "type": "function"
240
+ },
241
+ {
242
+ "inputs": [],
243
+ "name": "underlying",
244
+ "outputs": [
245
+ {
246
+ "internalType": "address",
247
+ "name": "",
248
+ "type": "address"
249
+ }
250
+ ],
251
+ "stateMutability": "view",
252
+ "type": "function"
253
+ }
254
+ ],
255
+ "bytecode": "0x",
256
+ "deployedBytecode": "0x",
257
+ "linkReferences": {},
258
+ "deployedLinkReferences": {}
259
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/b22018d758b06a50b7c80c494f08be30.json"
4
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "FixedPoint",
4
+ "sourceName": "contracts/libraries/PancakeLibrary.sol",
5
+ "abi": [],
6
+ "bytecode": "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {}
10
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/b22018d758b06a50b7c80c494f08be30.json"
4
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPancakePair",
4
+ "sourceName": "contracts/libraries/PancakeLibrary.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "getReserves",
9
+ "outputs": [
10
+ {
11
+ "internalType": "uint112",
12
+ "name": "reserve0",
13
+ "type": "uint112"
14
+ },
15
+ {
16
+ "internalType": "uint112",
17
+ "name": "reserve1",
18
+ "type": "uint112"
19
+ },
20
+ {
21
+ "internalType": "uint32",
22
+ "name": "blockTimestampLast",
23
+ "type": "uint32"
24
+ }
25
+ ],
26
+ "stateMutability": "view",
27
+ "type": "function"
28
+ },
29
+ {
30
+ "inputs": [],
31
+ "name": "price0CumulativeLast",
32
+ "outputs": [
33
+ {
34
+ "internalType": "uint256",
35
+ "name": "",
36
+ "type": "uint256"
37
+ }
38
+ ],
39
+ "stateMutability": "view",
40
+ "type": "function"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "price1CumulativeLast",
45
+ "outputs": [
46
+ {
47
+ "internalType": "uint256",
48
+ "name": "",
49
+ "type": "uint256"
50
+ }
51
+ ],
52
+ "stateMutability": "view",
53
+ "type": "function"
54
+ }
55
+ ],
56
+ "bytecode": "0x",
57
+ "deployedBytecode": "0x",
58
+ "linkReferences": {},
59
+ "deployedLinkReferences": {}
60
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/b22018d758b06a50b7c80c494f08be30.json"
4
+ }