ArkProjectNFTs / ark-project

ArkProject is a liquidity layer for digital assets, uniting markets, empowering creators, and bridging the gap to mass adoption. Built on top of Starknet, ArkProject is designed to provide a fully decentralized and trustless orderbook on-chain.
https://arkproject.dev
Apache License 2.0
26 stars 12 forks source link

feat: Whitelist brokers #198

Closed 0xDegenDeveloper closed 6 months ago

0xDegenDeveloper commented 9 months ago

Description

Started implementation of creator/fulfiller_brokers. Created storage maps to store whitelist statuses, admin functions to toggle statuses, a whitelist check in create_order(), and another check in validate_common_data()

What type of PR is this? (check all applicable)

Related Tickets & Documents

Fixes #182

Added tests?

Added to documentation?

[optional] Are there any post-deployment tasks we need to perform?

Ensure a broker is whitelisted for testing purposes.

[optional] What gif best describes this PR or how it makes you feel?

https://media.giphy.com/media/SyP24XyDVsavNPECoR/giphy.gif

PR Title and Description Guidelines:

Closing Issues

Fixes #182