Skip to content

Commit

Permalink
chore: update account interface id
Browse files Browse the repository at this point in the history
  • Loading branch information
Darlington02 committed Apr 2, 2024
1 parent a329343 commit 3136a8a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/interfaces/IAccount.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use starknet::ClassHash;
use starknet::account::Call;

// SRC5 interface for token bound accounts
const TBA_INTERFACE_ID: felt252 = 0x539036932a2ab9c4734fbfd9872a1f7791a3f577e45477336ae0fd0a00c9ff;
const TBA_INTERFACE_ID: felt252 = 0xd050d1042482f6e9a28d0c039d0a8428266bf4fd59fe95cee66d8e0e8b3b2e;

#[starknet::interface]
trait IAccount<TContractState> {
Expand All @@ -20,7 +20,9 @@ trait IAccount<TContractState> {
) -> felt252;
fn __execute__(ref self: TContractState, calls: Array<Call>) -> Array<Span<felt252>>;
fn token(self: @TContractState) -> (ContractAddress, u256);
fn owner(self: @TContractState) -> ContractAddress;
fn owner(
self: @TContractState
) -> ContractAddress;
fn lock(ref self: TContractState, duration: u64);
fn is_locked(self: @TContractState) -> (bool, u64);
fn supports_interface(self: @TContractState, interface_id: felt252) -> bool;
Expand Down

0 comments on commit 3136a8a

Please sign in to comment.