Skip to content

Commit

Permalink
remove some imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Jun 6, 2024
1 parent 23a2e83 commit 2abd54e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions src/contracts/claim_account.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@
mod ClaimAccount {
use core::ecdsa::check_ecdsa_signature;
use core::num::traits::Zero;
use core::starknet::event::EventEmitter;
use core::traits::TryInto;
use openzeppelin::token::erc20::interface::{IERC20, IERC20DispatcherTrait, IERC20Dispatcher};
use starknet::{
ClassHash, account::Call, VALIDATED, call_contract_syscall, ContractAddress, get_contract_address,
get_caller_address, contract_address::contract_address_const, get_execution_info, info::v2::ResourceBounds,
account::Call, VALIDATED, call_contract_syscall, ContractAddress, get_contract_address, get_caller_address,
get_execution_info, info::v2::ResourceBounds,
};
use starknet_gifting::contracts::claim_hash::{ClaimExternal, IOffChainMessageHashRev1};
use starknet_gifting::contracts::claim_utils::calculate_claim_account_address;
use starknet_gifting::contracts::interface::{IAccount, IGiftAccount, ClaimData, AccountConstructorArguments};
use starknet_gifting::contracts::utils::{
full_deserialize, STRK_ADDRESS, ETH_ADDRESS, TX_V1_ESTIMATE, TX_V1, TX_V3, TX_V3_ESTIMATE, execute_multicall
};

#[storage]
struct Storage {}

Expand Down
2 changes: 1 addition & 1 deletion src/contracts/claim_utils.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use openzeppelin::utils::deployments::calculate_contract_address_from_deploy_syscall;
use starknet::{ContractAddress, contract_address_const};
use starknet::ContractAddress;
use starknet_gifting::contracts::interface::{ClaimData, AccountConstructorArguments};
use starknet_gifting::contracts::utils::serialize;

Expand Down

0 comments on commit 2abd54e

Please sign in to comment.