|
@@ -4,6 +4,7 @@
|
|
|
pragma solidity ^0.8.0;
|
|
pragma solidity ^0.8.0;
|
|
|
|
|
|
|
|
import "../libraries/external/BytesLib.sol";
|
|
import "../libraries/external/BytesLib.sol";
|
|
|
|
|
+import "./PythSDK.sol";
|
|
|
|
|
|
|
|
contract PythStructs {
|
|
contract PythStructs {
|
|
|
using BytesLib for bytes;
|
|
using BytesLib for bytes;
|
|
@@ -56,4 +57,11 @@ contract PythStructs {
|
|
|
|
|
|
|
|
address newContract;
|
|
address newContract;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ struct PriceInfo {
|
|
|
|
|
+ PythSDK.Price price;
|
|
|
|
|
+ uint256 attestation_time;
|
|
|
|
|
+ uint256 arrival_time;
|
|
|
|
|
+ uint256 arrival_block;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|