andromedaprotocol / andromeda-core

Operating System and ADO Smart Contracts
https://andromedaprotocol.io/
38 stars 27 forks source link

[Marketplace] Add Authorized CW721 addresses similar to Auction ADO. #542

Closed daniel-wehbe closed 2 months ago

daniel-wehbe commented 2 months ago

Description

The Marketplace ADO for selling NFTs does not include authorized CW721 addresses (The CW721 ADOs that are allowed to send NFTs to the marketplace.) This could be achieved by permissions, but to keep consistency in our ADOs (Also it is easier than to setup permissions) I think adding this option at instantiation makes sense. For reference, you can check out how it is implemented for the Auction ADO.