Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-agarwal-coinbase committed Sep 24, 2024
1 parent aba2dad commit 015cbbc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/coinbase/smart_contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,17 +291,17 @@ export class SmartContract {
);
}

/**
/**
* Type guard for checking if the smart contract is an ERC20.
*
* @param type - The type of the smart contract.
* @param options - The options of the smart contract.
* @returns True if the smart contract is an ERC20, false otherwise.
*/
private isERC20(
type: SmartContractType,
options: SmartContractOptionsModel,
): options is TokenContractOptionsModel {
return type === SmartContractType.ERC20;
private isERC20(
type: SmartContractType,
options: SmartContractOptionsModel,
): options is TokenContractOptionsModel {
return type === SmartContractType.ERC20;
}
}

0 comments on commit 015cbbc

Please sign in to comment.