Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nextra] Fix some landing links #344

Merged
merged 2 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/docusaurus/docs/standards/fungible-asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,8 @@ To retrieve the balance of the `PrimaryFungibleStore` of the paired FA of coin t

1. Call `paired_metadata<CoinType>()` to obtain the paired FA metadata object address, which is immutable, allowing for storage or caching to enhance performance.
2. Retrieve the balance of the paired FA:
* Call [getCurrentFungibleAssetBalances](https://github.com/aptos-labs/aptos-ts-sdk/blob/c01a26ff899235fac1c31c6cc3fe504b764e5b91/src/api/fungibleAsset.ts#L115);
* Alternatively, determine the address of the primary `FungibleStore`, which is deterministic as `sha3_256(32-byte account address | 32-byte metadata object address | 0xFC)`, and obtain the `FungibleStore` resource at this address to fetch the balance. If it is non-zero, this is the final balance of this FA. Otherwise, try to get `ConcurrentFungibleBalance` resource at the same address and get the balance there instead or 0 If `ConcurrentFungibleBalance` does not exist.
- Call [getCurrentFungibleAssetBalances](https://github.com/aptos-labs/aptos-ts-sdk/blob/c01a26ff899235fac1c31c6cc3fe504b764e5b91/src/api/fungibleAsset.ts#L115);
- Alternatively, determine the address of the primary `FungibleStore`, which is deterministic as `sha3_256(32-byte account address | 32-byte metadata object address | 0xFC)`, and obtain the `FungibleStore` resource at this address to fetch the balance. If it is non-zero, this is the final balance of this FA. Otherwise, try to get `ConcurrentFungibleBalance` resource at the same address and get the balance there instead or 0 If `ConcurrentFungibleBalance` does not exist.

### Event

Expand Down
6 changes: 3 additions & 3 deletions apps/nextra/components/landing/sections/FooterSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function FooterSection() {
},
{
label: t.nodeOperationsLink,
href: "https://aptos.dev/nodes/nodes-landing/",
href: `/${locale}/network/nodes`,
},
]}
/>
Expand Down Expand Up @@ -145,7 +145,7 @@ export function FooterSection() {
},
{
label: t.careersLink,
href: "https://jobs.ashbyhq.com/aptosfoundation",
href: "https://aptosfoundation.org/ecosystem/jobs",
},
]}
/>
Expand All @@ -154,7 +154,7 @@ export function FooterSection() {

<div
className="
flex flex-col sm:flex-row px-5 sm:px-8 py-6 gap-4 sm:gap-6 sm:items-center
flex flex-col sm:flex-row px-5 sm:px-8 py-6 gap-4 sm:gap-6 sm:items-center
max-sm:border-t border-border-divider body-100 sm:body-200 font-medium
"
>
Expand Down
Loading