Skip to content

Commit

Permalink
Update abi names in standards docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bitzoic committed Oct 3, 2024
1 parent 408d81a commit e4a04a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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 e4a04a8

Please sign in to comment.