diff --git a/src/identity/main.cairo b/src/identity/main.cairo index c49d6c8..bac414c 100644 --- a/src/identity/main.cairo +++ b/src/identity/main.cairo @@ -114,7 +114,7 @@ mod Identity { self.custom_uri.get_uri(tokenId) } - fn owner_of(self: @ContractState, id: u128) -> ContractAddress { + fn owner_from_id(self: @ContractState, id: u128) -> ContractAddress { // todo: when components are ready, use ERC721 self.owner_by_id.read(id) } diff --git a/src/interface/identity.cairo b/src/interface/identity.cairo index efcc4f1..e8d4ad4 100644 --- a/src/interface/identity.cairo +++ b/src/interface/identity.cairo @@ -4,7 +4,7 @@ use starknet::ContractAddress; trait IIdentity { fn tokenURI(self: @TContractState, tokenId: u256) -> Array; - fn owner_of(self: @TContractState, id: u128) -> ContractAddress; + fn owner_from_id(self: @TContractState, id: u128) -> ContractAddress; fn get_user_data(self: @TContractState, id: u128, field: felt252, domain: u32) -> felt252;