Skip to content

Commit cb266ff

Browse files
committed
chore(fassets): typescript linting
1 parent 37d6233 commit cb266ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/developer-hub-javascript/autoRedeemHyperEVM.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
import { ethers } from "hardhat";
14-
import { formatUnits, parseUnits, zeroPadValue, AbiCoder } from "ethers";
14+
import { formatUnits, zeroPadValue, AbiCoder, Contract } from "ethers";
1515
import { Options } from "@layerzerolabs/lz-v2-utilities";
1616
import { EndpointId } from "@layerzerolabs/lz-definitions";
1717

@@ -166,7 +166,7 @@ function buildSendParams(
166166
* Checks if user has sufficient FXRP balance
167167
*/
168168
async function checkBalance(
169-
oft: any,
169+
oft: Contract,
170170
signerAddress: string,
171171
amountToSend: bigint,
172172
): Promise<void> {
@@ -190,7 +190,7 @@ async function checkBalance(
190190
* Quotes the LayerZero fee for the send transaction
191191
*/
192192
async function quoteFee(
193-
oft: any,
193+
oft: Contract,
194194
sendParam: SendParams,
195195
): Promise<{ nativeFee: bigint; lzTokenFee: bigint }> {
196196
const result = await oft.quoteSend(sendParam, false);
@@ -206,7 +206,7 @@ async function quoteFee(
206206
* Executes the send with auto-redeem
207207
*/
208208
async function executeSendAndRedeem(
209-
oft: any,
209+
oft: Contract,
210210
sendParam: SendParams,
211211
nativeFee: bigint,
212212
lzTokenFee: bigint,

0 commit comments

Comments
 (0)