Skip to content

Commit

Permalink
feat: add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ericnordelo committed Aug 9, 2024
1 parent 2f8ca57 commit d78482b
Show file tree
Hide file tree
Showing 4 changed files with 236 additions and 176 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Added

- ERC2981 (NFT Royalty Standard) component (#)

## 0.15.0 (2024-08-08)

### Added
Expand Down
8 changes: 4 additions & 4 deletions packages/token/src/erc2981/erc2981.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#[starknet::component]
pub mod ERC2981Component {
use core::num::traits::Zero;
use openzeppelin::introspection::src5::SRC5Component::InternalTrait as SRC5InternalTrait;
use openzeppelin::introspection::src5::SRC5Component::SRC5Impl;
use openzeppelin::introspection::src5::SRC5Component;
use openzeppelin::token::erc2981::interface::{IERC2981, IERC2981_ID};
use openzeppelin_introspection::src5::SRC5Component::InternalTrait as SRC5InternalTrait;
use openzeppelin_introspection::src5::SRC5Component::SRC5Impl;
use openzeppelin_introspection::src5::SRC5Component;
use openzeppelin_token::erc2981::interface::{IERC2981, IERC2981_ID};
use starknet::ContractAddress;
use starknet::storage::Map;

Expand Down
Loading

0 comments on commit d78482b

Please sign in to comment.