Content pfp
Content
@
0 reply
0 recast
2 reactions

Sam pfp
Sam
@sammdec.eth
Is there a way to map the ownership of a 721 to the ownerOf for another contract? Or will it always need to emit a transfer event
2 replies
0 recast
1 reaction

borodutch pfp
borodutch
@warpcastadmin.eth
override ownerOf!
1 reply
0 recast
0 reaction

Sam pfp
Sam
@sammdec.eth
Yeah but will it trip up things that expect transfer events to fire
1 reply
0 recast
1 reaction

borodutch pfp
borodutch
@warpcastadmin.eth
oh yes of course 😂 you're in for a wild ride of internals of the erc standards implementations!
1 reply
0 recast
1 reaction

Sam pfp
Sam
@sammdec.eth
Yeah exactly when most things rely on events to trigger indexes proxying through ownership changes is gonna leave sites in a really weird place. Maybe it doesn’t need to be a nft tbh
1 reply
0 recast
1 reaction

Aure pfp
Aure
@aurelianoa
What are you trying to achieve exactly? Are you trying to use the 721 to index ownership between contracts?
1 reply
0 recast
0 reaction

Sam pfp
Sam
@sammdec.eth
Basically I want a nft that is soul bound to another token essentially following to the new owner of it ever gets sold
1 reply
0 recast
1 reaction

Aure pfp
Aure
@aurelianoa
There’s a standard proposals for that. But if you want to maintain all the capabilities of the erc721 I think it is better to use another mapping to manage the link.
1 reply
0 recast
0 reaction

Sam pfp
Sam
@sammdec.eth
What’s the EIP? Do you have a suggestion for the mapping? As in a separate contract that maps to each other?
1 reply
0 recast
1 reaction

Aure pfp
Aure
@aurelianoa
This is one of them https://eips.ethereum.org/EIPS/eip-6239 A separate contract to register the link will give you a sibling link and a mapping inside of one of the contracts will give you the parent-> children relation. I think it will depend on your design.
0 reply
0 recast
1 reaction