Skip to content

Commit

Permalink
Add comment on restricting who may emit
Browse files Browse the repository at this point in the history
  • Loading branch information
bitzoic committed Dec 3, 2024
1 parent b8654fe commit 42ebfb6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/src/src-15-offchain-asset-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ This standard is compatible with Fuel's [Native Assets](https://docs.fuel.networ

## Security Considerations

When indexing for SRC-15 metadata, developers should confirm that the contract that emitted the `SRC15MetadataEvent` is also the contract that minted the asset that the metadata associates with.

This standard does not introduce any onchain security concerns, as it does not call external contracts, nor does it define any mutations of the contract state.
When indexing for SRC-15 metadata, developers should confirm that the contract that emitted the `SRC15MetadataEvent` is also the contract that minted the asset that the metadata associates with. Additionally, restrictions via access control on who may emit the Metadata should be considered.

## Example Implementation

Expand Down

0 comments on commit 42ebfb6

Please sign in to comment.