File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
target_chains/ethereum/contracts/contracts/pulse Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,19 @@ contract PulseState {
77 bytes1 public constant NUM_REQUESTS_MASK = 0x1f ;
88
99 struct Request {
10- // Storage word 1
10+ // Storage slot 1 //
1111 address requester;
1212 uint64 sequenceNumber;
1313 // 4 bytes unused
14- // Storage word 2
14+ // Storage slot 2 //
1515 address provider;
1616 uint64 publishTime;
1717 // 4 bytes unused
18- // Storage word 3
18+ // Storage slot 3 //
19+ // Hash of the array of price ids that should be provided to fulfill this request.
20+ // The hash is order-sensitive.
1921 bytes32 priceIdsHash;
20- // Storage word 4
22+ // Storage slot 4 //
2123 uint128 callbackGasLimit;
2224 uint128 fee;
2325 }
@@ -32,19 +34,19 @@ contract PulseState {
3234 }
3335
3436 struct State {
35- // Storage word 1
37+ // Storage slot 1 //
3638 uint128 pythFeeInWei;
3739 uint128 accruedFeesInWei;
38- // Storage word 2
40+ // Storage slot 2 //
3941 address pyth;
4042 uint64 currentSequenceNumber;
4143 // 4 bytes unused
42- // Storage word 3
44+ // Storage slot 3 //
4345 address defaultProvider;
4446 // 12 bytes unused
45- // Storage word 4
47+ // Storage slot 4 //
4648 uint256 exclusivityPeriodSeconds;
47- // Storage word 5
49+ // Storage slot 5 //
4850 address admin;
4951 // 12 bytes unused
5052 Request[NUM_REQUESTS] requests;
You can’t perform that action at this time.
0 commit comments