Skip to content

Commit

Permalink
spearbit 64
Browse files Browse the repository at this point in the history
  • Loading branch information
hensha256 committed Aug 30, 2024
1 parent ac51b94 commit cfc981a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/base/EIP712_v4.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ contract EIP712_v4 is IEIP712_v4 {
}

/// @inheritdoc IEIP712_v4
function DOMAIN_SEPARATOR() public view override returns (bytes32) {
function DOMAIN_SEPARATOR() public view returns (bytes32) {
// uses cached version if chainid is unchanged from construction
return block.chainid == _CACHED_CHAIN_ID ? _CACHED_DOMAIN_SEPARATOR : _buildDomainSeparator();
}
Expand Down
2 changes: 1 addition & 1 deletion src/base/Multicall_v4.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {IMulticall_v4} from "../interfaces/IMulticall_v4.sol";
/// @notice Enables calling multiple methods in a single call to the contract
abstract contract Multicall_v4 is IMulticall_v4 {
/// @inheritdoc IMulticall_v4
function multicall(bytes[] calldata data) external payable override returns (bytes[] memory results) {
function multicall(bytes[] calldata data) external payable returns (bytes[] memory results) {
results = new bytes[](data.length);
for (uint256 i = 0; i < data.length; i++) {
(bool success, bytes memory result) = address(this).delegatecall(data[i]);
Expand Down
3 changes: 0 additions & 3 deletions src/lens/Quoter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ contract Quoter is IQuoter, SafeCallback {
/// @inheritdoc IQuoter
function quoteExactInputSingle(QuoteExactSingleParams memory params)
public
override
returns (int128[] memory deltaAmounts, uint160 sqrtPriceX96After, uint32 initializedTicksLoaded)
{
try poolManager.unlock(abi.encodeCall(this._quoteExactInputSingle, (params))) {}
Expand All @@ -81,7 +80,6 @@ contract Quoter is IQuoter, SafeCallback {
/// @inheritdoc IQuoter
function quoteExactOutputSingle(QuoteExactSingleParams memory params)
public
override
returns (int128[] memory deltaAmounts, uint160 sqrtPriceX96After, uint32 initializedTicksLoaded)
{
try poolManager.unlock(abi.encodeCall(this._quoteExactOutputSingle, (params))) {}
Expand All @@ -94,7 +92,6 @@ contract Quoter is IQuoter, SafeCallback {
/// @inheritdoc IQuoter
function quoteExactOutput(QuoteExactParams memory params)
public
override
returns (
int128[] memory deltaAmounts,
uint160[] memory sqrtPriceX96AfterList,
Expand Down

0 comments on commit cfc981a

Please sign in to comment.