Skip to content

Commit

Permalink
prettier auto formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Brean0 authored and github-actions[bot] committed Aug 6, 2024
1 parent dbc85ea commit f76f05a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion protocol/contracts/interfaces/IBeanstalk.sol
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ interface IBeanstalk {
bytes32 r,
bytes32 s
) external payable;

function deposit(
address token,
uint256 _amount,
Expand Down
3 changes: 1 addition & 2 deletions protocol/contracts/libraries/LibTractor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {C} from "contracts/C.sol";
* @author funderbrker, 0xm00neth
**/
library LibTractor {

enum CounterUpdateType {
INCREASE,
DECREASE
Expand Down Expand Up @@ -81,7 +80,7 @@ library LibTractor {
_tractorStorage().version = version;
emit TractorVersionSet(version);
}

/**
* @notice Increment the blueprint nonce by 1.
* @param blueprintHash blueprint hash
Expand Down
12 changes: 6 additions & 6 deletions protocol/contracts/libraries/Oracle/LibUsdOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ library LibUsdOracle {
if (chainlinkOraclePriceAddress == address(0)) {
// use the chainlink registry
chainlinkOraclePriceAddress = ChainlinkPriceFeedRegistry(chainlinkRegistry).getFeed(
token,
0x0000000000000000000000000000000000000348
); // 0x0348 is the address for USD
token,
0x0000000000000000000000000000000000000348
); // 0x0348 is the address for USD
}

// todo: need to update timeout
Expand Down Expand Up @@ -148,9 +148,9 @@ library LibUsdOracle {
if (chainlinkOraclePriceAddress == address(0)) {
// use the chainlink registry
chainlinkOraclePriceAddress = ChainlinkPriceFeedRegistry(chainlinkRegistry).getFeed(
chainlinkToken,
0x0000000000000000000000000000000000000348
); // 0x0348 is the address for USD
chainlinkToken,
0x0000000000000000000000000000000000000348
); // 0x0348 is the address for USD
}

uint256 chainlinkTokenPrice = LibChainlinkOracle.getTokenPrice(
Expand Down

0 comments on commit f76f05a

Please sign in to comment.