Skip to content

Commit

Permalink
Lint: Format and Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rsbkmr committed Jun 27, 2024
1 parent daad428 commit 46fbc34
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 110 deletions.
40 changes: 20 additions & 20 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface SendInstallment<Signer, Ret, GasArgs> {
tokenSymbol: string,
destAddress: string,
fee?: bigint,
gasArgs?: GasArgs
gasArgs?: GasArgs,
) => Promise<{ hash: string; tx: Ret }>;
}

Expand All @@ -72,21 +72,21 @@ export interface GetTokenBalance {
}

export type AddressBookKeys =
| 'GasFees'
| 'EmmetTokenVault'
| 'EmmetData'
| 'CCTPHelper'
| 'HashHelper'
| 'SignatureVerifier'
| 'LiquidityPoolHelper'
| 'EmmetBridge'
| 'AddressStorageHelper'
| 'WTON' // Wrapped Token
| 'EMMET' // Token
| 'TON/USD' // price feed
| 'BNB/USD' // price feed
| 'MATIC/USD' // Price Feed
| 'EmmetMultisig';
| "GasFees"
| "EmmetTokenVault"
| "EmmetData"
| "CCTPHelper"
| "HashHelper"
| "SignatureVerifier"
| "LiquidityPoolHelper"
| "EmmetBridge"
| "AddressStorageHelper"
| "WTON" // Wrapped Token
| "EMMET" // Token
| "TON/USD" // price feed
| "BNB/USD" // price feed
| "MATIC/USD" // Price Feed
| "EmmetMultisig";

export interface AddressBook {
address: (contr: AddressBookKeys) => Promise<string>;
Expand Down Expand Up @@ -132,7 +132,7 @@ export interface PreTransfer<Signer, GasArgs> {
token: string,
spender: string,
amount: bigint,
gasArgs: GasArgs
gasArgs: GasArgs,
) => Promise<string>;
}

Expand All @@ -157,15 +157,15 @@ export interface GetApprovedTokenAmount {
getApprovedAmount: (
token: string,
owner: string,
spender: string
spender: string,
) => Promise<bigint>;
}

export interface GetTxFee {
txFee: (
targetChain: bigint,
fromToken: string,
targetToken: string
targetToken: string,
) => Promise<bigint>;
}

Expand Down Expand Up @@ -198,7 +198,7 @@ export interface GetEstimatedTime {
estimateTime(
targetChain: bigint,
fromToken: string,
targetToken: string
targetToken: string,
): Promise<bigint | undefined>;
}

Expand Down
Loading

0 comments on commit 46fbc34

Please sign in to comment.