Skip to content

Commit 4ab621e

Browse files
committed
Merge branch 'hardhat-ftso' of https://github.com/AmadiaFlare/developer-hub into hardhat-ftso
2 parents 896a9df + f092a01 commit 4ab621e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

examples/developer-hub-javascript/FTSOV2FeedConsumer_hardhat.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe("FtsoV2FeedConsumer", () => {
1818
ftsoConsumer = await FtsoV2FeedConsumer.new(
1919
mockFtsoV2Address,
2020
mockFeeCalcAddress,
21-
mockFlrUsdId
21+
mockFlrUsdId,
2222
);
2323
});
2424

examples/developer-hub-javascript/deployFTSO.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ async function main() {
99
console.log("Deploying contracts with the account:", deployer.address);
1010

1111
// Deploy FtsoV2FeedConsumer
12-
const ftsoConsumer: FtsoV2FeedConsumerInstance =
13-
await FtsoV2FeedConsumer.new("0x01464c522f55534400000000000000000000000000");
12+
const ftsoConsumer: FtsoV2FeedConsumerInstance = await FtsoV2FeedConsumer.new(
13+
"0x01464c522f55534400000000000000000000000000",
14+
);
1415
console.log("FtsoV2FeedConsumer deployed to:", ftsoConsumer.address);
1516

1617
// Test the contract functions
@@ -22,7 +23,7 @@ async function main() {
2223
console.log("Decimals:", result[1].toString());
2324
console.log(
2425
"Timestamp:",
25-
new Date(result[2].toNumber() * 1000).toISOString()
26+
new Date(result[2].toNumber() * 1000).toISOString(),
2627
);
2728

2829
// Test checkFees

0 commit comments

Comments
 (0)