Skip to content

Commit

Permalink
updated symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDeadCe11 committed Jul 6, 2024
1 parent 55b254c commit a090e77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/contracts/oracles/pendle/PendleLpToSyRelayer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ contract PendleLpToSyRelayer {
twapDuration = _twapDuration;

(SY, PT, YT) = market.readTokens();
symbol = string(abi.encodePacked('LP => ', SY.symbol()));
symbol = string(abi.encodePacked('LP / ', SY.symbol()));
// test if oracle is ready
(bool increaseCardinalityRequired,, bool oldestObservationSatisfied) = oracle.getOracleState(_market, _twapDuration);
// It's required to call IPMarket(market).increaseObservationsCardinalityNext(cardinalityRequired) and wait
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/oracles/pendle/PendlePtToSyRelayer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ contract PendlePtToSyRelayer {
twapDuration = _twapDuration;

(SY, PT, YT) = market.readTokens();
symbol = string(abi.encodePacked(PT.symbol(), ' => ', SY.symbol()));
symbol = string(abi.encodePacked(PT.symbol(), ' / ', SY.symbol()));

// test if oracle is ready
(bool increaseCardinalityRequired,, bool oldestObservationSatisfied) = oracle.getOracleState(_market, _twapDuration);
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/oracles/pendle/PendleYtToSyRelayer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ contract PendleYtToSyRelayer {
twapDuration = _twapDuration;

(SY, PT, YT) = market.readTokens();
symbol = string(abi.encodePacked(YT.symbol(), ' => ', SY.symbol()));
symbol = string(abi.encodePacked(YT.symbol(), ' / ', SY.symbol()));
// test if oracle is ready
(bool increaseCardinalityRequired,, bool oldestObservationSatisfied) = oracle.getOracleState(_market, _twapDuration);
// It's required to call IPMarket(market).increaseObservationsCardinalityNext(cardinalityRequired) and wait
Expand Down

0 comments on commit a090e77

Please sign in to comment.