Skip to content

Commit

Permalink
Fix: Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gianalarcon committed Aug 25, 2024
1 parent 71b24aa commit 84fec27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/snfoundry/contracts/src/YourCollectible.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ mod YourCollectible {
}

impl ERC721HooksEmptyImpl of ERC721Component::ERC721HooksTrait<ContractState> {
// Implement this to add custom logic to the ERC721 hooks
// Similat to _beforeTokenTransfer in OpenZeppelin ERC721.sol
fn before_update(
ref self: ERC721Component::ComponentState<ContractState>,
to: ContractAddress,
Expand Down

0 comments on commit 84fec27

Please sign in to comment.