Understanding Zone #550
-
Hi guys, so I am trying to implement seaport with my own stack. Was trying to write some docs and stumbled upon zone and zoneHash, so I wanted to clarify my understanding about it.
CMIIW, thanks |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments
-
Correct, we'll actually have an example zone we are about to publish. This will be the one that OpenSea uses. |
Beta Was this translation helpful? Give feedback.
-
Thanks for this ticket, it's really useful to help understand zone. |
Beta Was this translation helpful? Give feedback.
-
Yup, btw @Slokh https://etherscan.io/address/0x004C00500000aD104D7DBd00e3ae0A5C00560C00#code this is the zone that opensea currently use yeah? from what ive skim, when checking order validity, it currently does not check anything and straight up returning the magic value yeah? or did I miss something? |
Beta Was this translation helpful? Give feedback.
-
@pamungkaski It checks that the contract exists! If OpenSea wanted to pause all orders, we would selfdestruct the contract, thereby making all orders invalid |
Beta Was this translation helpful? Give feedback.
-
I found that some orders's zone is just a external account, and I have make some testing : if the zone address is a account address,then assembly call will always return true without concerning what calldata is |
Beta Was this translation helpful? Give feedback.
-
oh that is intersting, can you send me the address and also the transaction id that use that zone |
Beta Was this translation helpful? Give feedback.
-
this one from the listings api ,the address of the zone really confuse me ,it's just an external account |
Beta Was this translation helpful? Give feedback.
-
This one is on the test net right? dunno seems like a testing list IMO |
Beta Was this translation helpful? Give feedback.
-
where can i get the zone's code that the seaport uses currently? |
Beta Was this translation helpful? Give feedback.
-
check my answer above, I have zone link there |
Beta Was this translation helpful? Give feedback.
-
@zhaochengzhang The one we're using is currently in this PR |
Beta Was this translation helpful? Give feedback.
@zhaochengzhang The one we're using is currently in this PR