Skip to content

Commit

Permalink
Update abi names in standards docs (#154)
Browse files Browse the repository at this point in the history
* Update abi names in standards docs

* Update CHANGELOG
  • Loading branch information
bitzoic authored Oct 7, 2024
1 parent 408d81a commit a3f87a4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/src/src-20-native-asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion docs/src/src-3-minting-and-burning.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<SubId>, amount: u64);
#[payable]
Expand Down
2 changes: 1 addition & 1 deletion docs/src/src-7-asset-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Metadata>;
}
Expand Down

0 comments on commit a3f87a4

Please sign in to comment.