purge tslint comments (#585)
This commit is contained in:
parent
b4d6f74d7b
commit
0daa988996
@ -19,12 +19,10 @@ import {
|
||||
SignatureType,
|
||||
} from './signature_utils';
|
||||
|
||||
// tslint:disable:enum-naming
|
||||
export enum TradeDirection {
|
||||
SellNFT = 0,
|
||||
BuyNFT = 1,
|
||||
}
|
||||
// tslint:enable:enum-naming
|
||||
|
||||
export enum OrderStatus {
|
||||
Invalid = 0,
|
||||
|
@ -1,4 +1,3 @@
|
||||
// tslint:disable: max-classes-per-file
|
||||
import { Numberish, RevertError } from '@0x/utils';
|
||||
|
||||
import { OrderStatus } from '../orders';
|
||||
|
@ -1,4 +1,3 @@
|
||||
// tslint:disable: max-classes-per-file
|
||||
import { Numberish, RevertError } from '@0x/utils';
|
||||
|
||||
import { OrderStatus } from '../nft_orders';
|
||||
|
@ -125,7 +125,6 @@ export interface FillQuoteTransformerData {
|
||||
refundReceiver: string;
|
||||
}
|
||||
|
||||
// tslint:disable: enum-naming
|
||||
/**
|
||||
* Identifies the DEX protocol used to fill a bridge order.
|
||||
* Note: These need to correspond exactly with BridgeProtocols.sol!
|
||||
@ -164,7 +163,6 @@ export enum BridgeProtocol {
|
||||
Synthetix,
|
||||
WOOFi,
|
||||
}
|
||||
// tslint:enable: enum-naming
|
||||
|
||||
/**
|
||||
* `FillQuoteTransformer.BridgeOrder`
|
||||
@ -357,10 +355,7 @@ export function findTransformerNonce(transformer: string, deployer: string = NUL
|
||||
* Compute the deployed address for a transformer given a deployer and nonce.
|
||||
*/
|
||||
export function getTransformerAddress(deployer: string, nonce: number): string {
|
||||
return ethjs.bufferToHex(
|
||||
// tslint:disable-next-line: custom-no-magic-numbers
|
||||
ethjs.rlphash([deployer, nonce] as any).slice(12),
|
||||
);
|
||||
return ethjs.bufferToHex(ethjs.rlphash([deployer, nonce] as any).slice(12));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user