@gearbox-protocol/sdk 14.11.11 → 14.11.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -498,10 +498,10 @@ class AccountOpener extends import_sdk.SDKConstruct {
|
|
|
498
498
|
);
|
|
499
499
|
txHash = await this.#anvil.writeContract({
|
|
500
500
|
account: depositor,
|
|
501
|
-
address:
|
|
501
|
+
address: underlying,
|
|
502
502
|
abi: import_iERC20.ierc20Abi,
|
|
503
503
|
functionName: "approve",
|
|
504
|
-
args: [
|
|
504
|
+
args: [metadata.approveTarget, allowance],
|
|
505
505
|
chain: this.#anvil.chain
|
|
506
506
|
});
|
|
507
507
|
let receipt = await this.#anvil.waitForTransactionReceipt({
|
|
@@ -490,10 +490,10 @@ class AccountOpener extends SDKConstruct {
|
|
|
490
490
|
);
|
|
491
491
|
txHash = await this.#anvil.writeContract({
|
|
492
492
|
account: depositor,
|
|
493
|
-
address:
|
|
493
|
+
address: underlying,
|
|
494
494
|
abi: ierc20Abi,
|
|
495
495
|
functionName: "approve",
|
|
496
|
-
args: [
|
|
496
|
+
args: [metadata.approveTarget, allowance],
|
|
497
497
|
chain: this.#anvil.chain
|
|
498
498
|
});
|
|
499
499
|
let receipt = await this.#anvil.waitForTransactionReceipt({
|