Linter standard (#49)

* Impl

* Fix

* Fix

* Bump

* Bump

* Fix

* Bump
This commit is contained in:
Aleksandr Kraiz
2023-02-14 00:34:37 +04:00
committed by GitHub
parent 7040df6142
commit c12a4e8e7a
48 changed files with 964 additions and 594 deletions

View File

@@ -1,5 +1,5 @@
import { ethers } from 'ethers';
import { Order } from '../types';
import { type Order } from '../types';
const hashOrder = (order: Order) => ethers.utils.solidityKeccak256(
[
@@ -28,7 +28,7 @@ const hashOrder = (order: Order) => ethers.utils.solidityKeccak256(
order.matcherFee,
order.nonce,
order.expiration,
order.buySide ? '0x01' : '0x00',
order.buySide === 1 ? '0x01' : '0x00',
],
);