diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a97c87..0b4cf94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,8 +15,7 @@ Description of the upcoming release here. ### Changed -- Something changed here 1 -- Something changed here 2 +- [#154](https://github.com/FuelLabs/sway-standards/pull/154) Updates the examples in the standards specififcations to use the offical abi name. ### Fixed 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; }