Skip to content

Commit 0f21a1a

Browse files
authored
chore(audits): add additional fassets audits (#1028)
2 parents 20b2161 + 9d4a71c commit 0f21a1a

32 files changed

+56
-53
lines changed

docs/1-intro.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Its native data protocols - [Flare Time Series Oracle](/ftso/overview) and [Flar
245245
item={{
246246
type: "link",
247247
label: "Get technical support",
248-
href: "https://flare.network/resources/developer-support",
248+
href: "https://flare.network/resources/technical-support",
249249
description: "Consult with Flare experts for dedicated support.",
250250
docId: undefined,
251251
}}

docs/fassets/developer-guides/2-fassets-fxrp-address.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Before you begin, make sure you have:
2828

2929
## Understanding FXRP Address
3030

31-
The FXRP address is the contract address of the [ERC-20 token](https://ethereum.org/en/developers/docs/standards/tokens/erc-20/) that represents XRP on the Flare network and is essential for:
31+
The FXRP address is the contract address of the [ERC-20 token](https://ethereum.org/developers/docs/standards/tokens/erc-20/) that represents XRP on the Flare network and is essential for:
3232

3333
- Interacting with FXRP in smart contracts.
3434
- Transferring FXRP tokens.

docs/fassets/developer-guides/4-fassets-settings-node.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ This guide is a perfect first step for developers working with FAssets.
2222
## Prerequisites
2323

2424
- [Node.js](https://nodejs.org/en/download/)
25-
- [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
26-
- [TypeScript](https://www.typescriptlang.org/download)
25+
- [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm/)
26+
- [TypeScript](https://www.typescriptlang.org/download/)
2727
- [Ethers.js](https://docs.ethers.org/v5/)
2828
- [TypeChain](https://www.npmjs.com/package/typechain)
2929
- [Flare Periphery Contract Artifacts](https://www.npmjs.com/package/@flarenetwork/flare-periphery-contract-artifacts)

docs/fassets/guides/6-agent-bot-notifications.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ It helps monitor the health of the agent and the network.
4646

4747
## Flare Hosted Telegram Notifications Alert Configuration
4848

49-
1. Get the API key from the [FAssets Telegram Bot](http://t.me/FlareFAssetsSongbirdBot) by sending `/events` and selecting `Subscribe to Events`.
49+
1. Get the API key from the [FAssets Telegram Bot](https://t.me/FlareFAssetsSongbirdBot) by sending `/events` and selecting `Subscribe to Events`.
5050
2. Add the following configuration to the `apiNotifierConfigs` list in the `config.json` file, replacing `API_KEY` with the key obtained from the bot.
5151

5252
```json

docs/fdc/attestation-types/_addresses.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,5 +158,5 @@ Decoded to hexadecimal:
158158

159159
#### Resources
160160

161-
- [XRPL Base58 Encodings](https://xrpl.org/base58-encodings.html)
161+
- [XRPL Base58 Encodings](https://xrpl.org/docs/references/protocol/data-types/base58-encodings)
162162
- [XRPL Addresses](https://xrpl.org/accounts.html#addresses)

docs/fdc/attestation-types/evm-transaction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Information about an Ethereum Virtual Machine (EVM) transaction, including detai
3333

3434
## Response
3535

36-
The response fields align with EVM's [JSON-RPC API](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactionbyhash):
36+
The response fields align with EVM's [JSON-RPC API](https://ethereum.org/developers/docs/apis/json-rpc/#eth_gettransactionbyhash):
3737

3838
| Field | Solidity Type | Description |
3939
| ------------------ | ------------- | ----------------------------------------------------------------------------------------------------- |

docs/fdc/attestation-types/payment.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ The payment summary on XRPL is applicable only for transactions of type `Payment
147147

148148
#### Data Sources
149149

150-
- Transaction details are obtained via the [`tx`](https://xrpl.org/tx.html) method.
150+
- Transaction details are obtained via the [`tx`](https://xrpl.org/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx) method.
151151
- Changes made by the transaction are recorded in the `meta` field (or `metaData` if fetched via the `ledger` method) under `AffectedNodes`.
152152
Balance changes are found within `ModifiedNodes`, by comparing `FinalFields` and `PreviousFields`.
153153

docs/fdc/guides/hardhat/detect-balance-decrease.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The primary contract interface for this attestation type is [`IConfirmedBlockHei
1313

1414
## Balance Decreasing Transaction
1515

16-
[Full specification on GitHub](https://github.com/flare-foundation/songbird-state-connector-protocol/blob/main/specs/attestations/active-types).
16+
[Full specification on GitHub](https://github.com/flare-foundation/songbird-state-connector-protocol/tree/main/specs/attestations/active-types).
1717

1818
This attestation type is designed to prove that a transaction either decreases the balance of an address or is signed by the source address.
1919

docs/ftso/0-overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The FTSOv2 architecture consists of four key components:
6262

6363
:::tip[Interested in learning more?]
6464

65-
For a detailed explanation of the FTSOv2 mechanism, read the [FTSOv2 whitepaper](https://flare.network/wp-content/uploads/FTSOv2-White-Paper.pdf).
65+
For a detailed explanation of the FTSOv2 mechanism, read the [FTSOv2 whitepaper](https://dev.flare.network/pdf/whitepapers/20240223-FlareTimeSeriesOracleV2.pdf).
6666

6767
:::
6868

docs/ftso/guides/build-first-app.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import FtsoV2ConsumerHardhat from "!!raw-loader!/examples/developer-hub-solidity
2525
import FtsoV2ConsumerTestHardhat from "!!raw-loader!/examples/developer-hub-javascript/ftso_v2_consumer_hardhat.ts";
2626
import FtsoV2ConsumerHardhatDeploy from "!!raw-loader!/examples/developer-hub-javascript/deployFTSOConsumer.ts";
2727

28-
This guide is for developers who want to build an FTSOv2 application using either [Foundry](https://book.getfoundry.sh) or [Hardhat](https://hardhat.org).
28+
This guide is for developers who want to build an FTSOv2 application using either [Foundry](https://getfoundry.sh/) or [Hardhat](https://hardhat.org).
2929

3030
<Tabs groupId="framework">
3131
<TabItem value="foundry" label="Foundry" default>
@@ -34,9 +34,9 @@ This guide is for developers who want to build an FTSOv2 application using eithe
3434

3535
- Create a contract to read the price of FLR/USD from FTSOv2 using [flare-periphery-contracts](https://www.npmjs.com/package/@flarenetwork/flare-periphery-contracts).
3636

37-
- Compile your contract using Foundry [forge](https://book.getfoundry.sh/reference/forge/).
37+
- Compile your contract using Foundry [forge](https://getfoundry.sh/).
3838

39-
- Deploy your contract to Flare Testnet Coston2, and interact with it using Foundry [cast](https://book.getfoundry.sh/reference/cast/).
39+
- Deploy your contract to Flare Testnet Coston2, and interact with it using Foundry [cast](https://getfoundry.sh/).
4040

4141
</TabItem>
4242
<TabItem value="hardhat" label="Hardhat">
@@ -59,7 +59,7 @@ This guide is for developers who want to build an FTSOv2 application using eithe
5959

6060
Ensure you have the following tools installed:
6161

62-
- [Foundry](https://book.getfoundry.sh/getting-started/installation)
62+
- [Foundry](https://getfoundry.sh/)
6363
- [Node.js](https://nodejs.org/en/download/)
6464

6565
</TabItem>
@@ -269,7 +269,7 @@ This guide is for developers who want to build an FTSOv2 application using eithe
269269
<Tabs groupId="framework">
270270
<TabItem value="foundry" label="Foundry" default>
271271

272-
1. Generate a new wallet using the [cast](https://book.getfoundry.sh/reference/cast/):
272+
1. Generate a new wallet using the [cast](https://getfoundry.sh/):
273273

274274
```bash
275275
cast wallet new

0 commit comments

Comments
 (0)