From b96b1ccc062f1ae641bd960035f02a9e924d2db0 Mon Sep 17 00:00:00 2001 From: loothero Date: Fri, 20 Sep 2024 21:55:02 +0000 Subject: [PATCH] change package name from beasts to pixel_beasts --- Scarb.toml | 2 +- src/beast.cairo | 2 +- src/beasts.cairo | 8 ++++---- src/interfaces.cairo | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Scarb.toml b/Scarb.toml index a0dd152..c485139 100644 --- a/Scarb.toml +++ b/Scarb.toml @@ -1,5 +1,5 @@ [package] -name = "beasts" +name = "pixel_beasts" version = "0.1.0" [dependencies] diff --git a/src/beast.cairo b/src/beast.cairo index cf2ce45..b5fde35 100644 --- a/src/beast.cairo +++ b/src/beast.cairo @@ -3,7 +3,7 @@ use array::{ArrayTrait}; use core::traits::{Into}; use super::long_string::LongString; -use beasts::pack::{PackableBeast}; +use pixel_beasts::pack::{PackableBeast}; // Tiers const TIER_1: felt252 = '1'; diff --git a/src/beasts.cairo b/src/beasts.cairo index eee3f7d..62385f5 100644 --- a/src/beasts.cairo +++ b/src/beasts.cairo @@ -28,10 +28,10 @@ mod Beasts { use openzeppelin_token::erc721::interface::{IERC721_ID, IERC721_METADATA_ID}; use openzeppelin_introspection::interface::{ISRC5_ID}; - use beasts::long_string::{LongString}; - use beasts::interfaces::{IBeasts}; - use beasts::pack::{mask, pow, PackableBeast}; - use beasts::beast::{get_hash, get_content}; + use pixel_beasts::long_string::{LongString}; + use pixel_beasts::interfaces::{IBeasts}; + use pixel_beasts::pack::{mask, pow, PackableBeast}; + use pixel_beasts::beast::{get_hash, get_content}; use core::starknet::storage::Map; // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md diff --git a/src/interfaces.cairo b/src/interfaces.cairo index 3810844..a9cb7af 100644 --- a/src/interfaces.cairo +++ b/src/interfaces.cairo @@ -1,5 +1,5 @@ use starknet::ContractAddress; -use beasts::pack::PackableBeast; +use pixel_beasts::pack::PackableBeast; // contract interface #[starknet::interface]