-
Notifications
You must be signed in to change notification settings - Fork 152
Closed
Labels
Module developmentUsed when new module is createdUsed when new module is createdopen-source communitySomething suggest or developed by external developersSomething suggest or developed by external developers
Description
Single-Trade Volume Restriction Module
| Module Type | Bounty | Completion deadline |
|---|---|---|
| Transfer Manager | 3,000-5,000 POLY | 14 days starting the day of task acceptance |
Bounty Requirements
- Module specs are fulfilled
- Module is implemented using appropriate module interface
- Module is tested with >95% branch coverage
- Module is delivered before deadline
Module Specs
- Limit number of tokens which can be sent per transaction to a pre-defined limit. Revert if above limit.
- Exempt special-use wallets from this volume restriction per trade.
- Issuer should be able to set global limit for all addresses and set custom limit for each address.
- Issuer should be able to change limit at any time.
- Any state changes should emit an appropriate event.
Assumptions
- This volume restriction can operate in conjunction with all existing transfer restrictions and volume restrictions
- Restrictions applies to all wallets by default
- Some wallets (e.g. Treasury wallet, or Vesting wallet) may be subject to an exemption
- Activation and/or Configuration of the "Single-Trade Volume Restriction" may be performed by an Authorized Employee of the Company or a Delegated Authority, such as a Transfer Agent
- One or more Wallet addresses can be granted the privilege of managing the Single-Trade Volume Restriction.
Detailed Module Specs
https://www.lucidchart.com/documents/view/ffbc99b9-a2d2-4043-8847-2bd0182aac3c
NOTE: It would be ideal if the developer taking on this task could work on the single-trade vol restrictions from the development-1.5.0 branch instead of master.
Metadata
Metadata
Assignees
Labels
Module developmentUsed when new module is createdUsed when new module is createdopen-source communitySomething suggest or developed by external developersSomething suggest or developed by external developers