Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
skubarenko committed Aug 29, 2022
1 parent 994d6f7 commit 9193f4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/evm/atomexProtocol/web3AtomexProtocolV1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export abstract class Web3AtomexProtocolV1 implements AtomexProtocolV1 {
return this.atomexProtocolOptions.swapContractAddress;
}

abstract initiate(_params: AtomexProtocolV1InitiateParameters): Promise<Transaction>;
abstract initiate(params: AtomexProtocolV1InitiateParameters): Promise<Transaction>;

async getInitiateFees(params: Partial<AtomexProtocolV1InitiateParameters>): Promise<FeesInfo> {
const toolkit = await this.getReadonlyWeb3();
Expand All @@ -50,9 +50,9 @@ export abstract class Web3AtomexProtocolV1 implements AtomexProtocolV1 {
return Promise.resolve(result);
}

abstract redeem(_params: AtomexProtocolV1RedeemParameters): Promise<Transaction>;
abstract redeem(params: AtomexProtocolV1RedeemParameters): Promise<Transaction>;

abstract getRedeemReward(_redeemFee: FeesInfo): Promise<FeesInfo>;
abstract getRedeemReward(redeemFee: FeesInfo): Promise<FeesInfo>;

async getRedeemFees(_params: Partial<AtomexProtocolV1InitiateParameters>): Promise<FeesInfo> {
const toolkit = await this.getReadonlyWeb3();
Expand All @@ -66,7 +66,7 @@ export abstract class Web3AtomexProtocolV1 implements AtomexProtocolV1 {
return Promise.resolve(result);
}

abstract refund(_params: AtomexProtocolV1RefundParameters): Promise<Transaction>;
abstract refund(params: AtomexProtocolV1RefundParameters): Promise<Transaction>;

async getRefundFees(_params: Partial<AtomexProtocolV1InitiateParameters>): Promise<FeesInfo> {
const toolkit = await this.getReadonlyWeb3();
Expand Down
6 changes: 3 additions & 3 deletions src/tezos/atomexProtocol/taquitoAtomexProtocolV1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export abstract class TaquitoAtomexProtocolV1 implements AtomexProtocolV1 {
return this.atomexProtocolOptions.swapContractAddress;
}

abstract initiate(_params: AtomexProtocolV1InitiateParameters): Promise<Transaction>;
abstract initiate(params: AtomexProtocolV1InitiateParameters): Promise<Transaction>;

getInitiateFees(_params: Partial<AtomexProtocolV1InitiateParameters>): Promise<FeesInfo> {
const estimated = new BigNumber(this.atomexProtocolOptions.initiateOperation.fee).div(mutezInTez);
Expand All @@ -42,7 +42,7 @@ export abstract class TaquitoAtomexProtocolV1 implements AtomexProtocolV1 {
return Promise.resolve(result);
}

abstract redeem(_params: AtomexProtocolV1RedeemParameters): Promise<Transaction>;
abstract redeem(params: AtomexProtocolV1RedeemParameters): Promise<Transaction>;

abstract getRedeemReward(redeemFee: FeesInfo): Promise<FeesInfo>;

Expand All @@ -53,7 +53,7 @@ export abstract class TaquitoAtomexProtocolV1 implements AtomexProtocolV1 {
return Promise.resolve(result);
}

abstract refund(_params: AtomexProtocolV1RefundParameters): Promise<Transaction>;
abstract refund(params: AtomexProtocolV1RefundParameters): Promise<Transaction>;

getRefundFees(_params: Partial<AtomexProtocolV1InitiateParameters>): Promise<FeesInfo> {
const estimated = new BigNumber(this.atomexProtocolOptions.refundOperation.fee).div(mutezInTez);
Expand Down

0 comments on commit 9193f4b

Please sign in to comment.