diff --git a/contracts/src/token/erc20/utils/safe_erc20.rs b/contracts/src/token/erc20/utils/safe_erc20.rs index 34cc0030..e5b48616 100644 --- a/contracts/src/token/erc20/utils/safe_erc20.rs +++ b/contracts/src/token/erc20/utils/safe_erc20.rs @@ -3,9 +3,7 @@ use alloy_primitives::{Address, U256}; use alloy_sol_types::sol; use stylus_proc::{public, sol_interface, sol_storage, SolidityError}; -use stylus_sdk::{ - call::Call, contract::address, storage::TopLevelStorage, types::AddressVM, -}; +use stylus_sdk::{call::Call, storage::TopLevelStorage, types::AddressVM}; use crate::token::erc20; diff --git a/examples/safe-erc20/src/lib.rs b/examples/safe-erc20/src/lib.rs index 658cba63..d2a66e77 100644 --- a/examples/safe-erc20/src/lib.rs +++ b/examples/safe-erc20/src/lib.rs @@ -17,7 +17,7 @@ sol_storage! { #[inherit(SafeErc20)] impl SafeErc20Example { // Add token minting feature. - pub fn safe_transfer_token( + pub fn safe_transfer( &mut self, token: Address, to: Address,