Ran prettier
This commit is contained in:
committed by
Amir Bandeali
parent
e51b425200
commit
77ed54f64d
@@ -26,12 +26,7 @@ export const hashUtils = {
|
|||||||
approvalExpirationTimeSeconds: BigNumber,
|
approvalExpirationTimeSeconds: BigNumber,
|
||||||
): string {
|
): string {
|
||||||
const hashHex = `0x${hashUtils
|
const hashHex = `0x${hashUtils
|
||||||
.getApprovalHashBuffer(
|
.getApprovalHashBuffer(transaction, verifyingContractAddress, txOrigin, approvalExpirationTimeSeconds)
|
||||||
transaction,
|
|
||||||
verifyingContractAddress,
|
|
||||||
txOrigin,
|
|
||||||
approvalExpirationTimeSeconds,
|
|
||||||
)
|
|
||||||
.toString('hex')}`;
|
.toString('hex')}`;
|
||||||
return hashHex;
|
return hashHex;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -630,10 +630,7 @@ export class FillOrderCombinatorialUtils {
|
|||||||
balanceAndProxyAllowanceFetcher: SimpleAssetBalanceAndProxyAllowanceFetcher,
|
balanceAndProxyAllowanceFetcher: SimpleAssetBalanceAndProxyAllowanceFetcher,
|
||||||
orderFilledCancelledFetcher: SimpleOrderFilledCancelledFetcher,
|
orderFilledCancelledFetcher: SimpleOrderFilledCancelledFetcher,
|
||||||
): Promise<BigNumber> {
|
): Promise<BigNumber> {
|
||||||
const orderStateUtils = new OrderStateUtils(
|
const orderStateUtils = new OrderStateUtils(balanceAndProxyAllowanceFetcher, orderFilledCancelledFetcher);
|
||||||
balanceAndProxyAllowanceFetcher,
|
|
||||||
orderFilledCancelledFetcher,
|
|
||||||
);
|
|
||||||
const fillableTakerAssetAmount = await orderStateUtils.getMaxFillableTakerAssetAmountAsync(
|
const fillableTakerAssetAmount = await orderStateUtils.getMaxFillableTakerAssetAmountAsync(
|
||||||
signedOrder,
|
signedOrder,
|
||||||
this.takerAddress,
|
this.takerAddress,
|
||||||
|
|||||||
Reference in New Issue
Block a user