From e4a04a8cf38d31f2107bd6f033c531d58f364deb Mon Sep 17 00:00:00 2001 From: bitzoic Date: Thu, 3 Oct 2024 10:54:23 +0545 Subject: [PATCH] Update abi names in standards docs --- docs/src/src-20-native-asset.md | 2 +- docs/src/src-3-minting-and-burning.md | 2 +- docs/src/src-7-asset-metadata.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/src-20-native-asset.md b/docs/src/src-20-native-asset.md index 9a89c14..78b03dd 100644 --- a/docs/src/src-20-native-asset.md +++ b/docs/src/src-20-native-asset.md @@ -151,7 +151,7 @@ This standard does not introduce any security concerns, as it does not call exte ## Example ABI ```sway -abi MyAsset { +abi SRC20 { #[storage(read)] fn total_assets() -> u64; #[storage(read)] diff --git a/docs/src/src-3-minting-and-burning.md b/docs/src/src-3-minting-and-burning.md index c36b177..f749b96 100644 --- a/docs/src/src-3-minting-and-burning.md +++ b/docs/src/src-3-minting-and-burning.md @@ -56,7 +56,7 @@ The burn function may also introduce a security consideration if the total suppl ## Example ABI ```sway -abi MySRC3Asset { +abi SRC3 { #[storage(read, write)] fn mint(recipient: Identity, sub_id: Option, amount: u64); #[payable] diff --git a/docs/src/src-7-asset-metadata.md b/docs/src/src-7-asset-metadata.md index 001749d..3f3ae24 100644 --- a/docs/src/src-7-asset-metadata.md +++ b/docs/src/src-7-asset-metadata.md @@ -88,7 +88,7 @@ This standard does not introduce any security concerns, as it does not call exte ## Example ABI ```sway -abi SRC7Metadata { +abi SRC7 { #[storage(read)] fn metadata(asset: AssetId, key: String) -> Option; }