diff --git a/packages/snfoundry/contracts/src/YourContract.cairo b/packages/snfoundry/contracts/src/YourContract.cairo index 1c2177ab..21e18509 100644 --- a/packages/snfoundry/contracts/src/YourContract.cairo +++ b/packages/snfoundry/contracts/src/YourContract.cairo @@ -10,9 +10,9 @@ pub trait IYourContract { mod YourContract { use openzeppelin::access::ownable::OwnableComponent; use openzeppelin::token::erc20::interface::{IERC20CamelDispatcher, IERC20CamelDispatcherTrait}; + use starknet::{ContractAddress, contract_address_const}; use starknet::{get_caller_address, get_contract_address}; use super::{IYourContract}; - use starknet::{ContractAddress, contract_address_const}; component!(path: OwnableComponent, storage: ownable, event: OwnableEvent); @@ -100,4 +100,4 @@ mod YourContract { self.premium.read() } } -} \ No newline at end of file +} diff --git a/packages/snfoundry/contracts/src/lib.cairo b/packages/snfoundry/contracts/src/lib.cairo index d1e96dea..568f9f72 100644 --- a/packages/snfoundry/contracts/src/lib.cairo +++ b/packages/snfoundry/contracts/src/lib.cairo @@ -2,4 +2,4 @@ mod YourContract; #[cfg(test)] mod test { mod TestContract; -} \ No newline at end of file +} diff --git a/packages/snfoundry/contracts/src/test/TestContract.cairo b/packages/snfoundry/contracts/src/test/TestContract.cairo index 83e9fc9e..74dbc0e4 100644 --- a/packages/snfoundry/contracts/src/test/TestContract.cairo +++ b/packages/snfoundry/contracts/src/test/TestContract.cairo @@ -29,4 +29,4 @@ fn test_deployment_values() { dispatcher.set_gretting(new_greeting.clone(), 0); // we transfer 0 eth assert_eq!(dispatcher.gretting(), new_greeting, "Should allow setting a new message"); -} \ No newline at end of file +}