-
Notifications
You must be signed in to change notification settings - Fork 658
Ability to airdrop/sharedrop/pay dividends of one asset to all holders of another. #1172
Copy link
Copy link
Open
Labels
1b User StoryThe User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)The User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)2a Discussion NeededPrompt for team to discuss at next stand up.Prompt for team to discuss at next stand up.3b FeatureClassification indicating the addition of novel functionality to the designClassification indicating the addition of novel functionality to the design6 APIImpact flag identifying the application programing interface (API)Impact flag identifying the application programing interface (API)6 CLIImpact flag identifying the command line interface (CLI) wallet applicationImpact flag identifying the command line interface (CLI) wallet application6 PerformanceImpacts flag identifying system/user efficiency, performance, etc.Impacts flag identifying system/user efficiency, performance, etc.6 ProtocolImpact flag identifying the blockchain logic, consensus, validation, etc.Impact flag identifying the blockchain logic, consensus, validation, etc.6 UXImpact flag identifying the User Interface (UX)Impact flag identifying the User Interface (UX)
Milestone
Description
Metadata
Metadata
Assignees
Labels
1b User StoryThe User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)The User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)2a Discussion NeededPrompt for team to discuss at next stand up.Prompt for team to discuss at next stand up.3b FeatureClassification indicating the addition of novel functionality to the designClassification indicating the addition of novel functionality to the design6 APIImpact flag identifying the application programing interface (API)Impact flag identifying the application programing interface (API)6 CLIImpact flag identifying the command line interface (CLI) wallet applicationImpact flag identifying the command line interface (CLI) wallet application6 PerformanceImpacts flag identifying system/user efficiency, performance, etc.Impacts flag identifying system/user efficiency, performance, etc.6 ProtocolImpact flag identifying the blockchain logic, consensus, validation, etc.Impact flag identifying the blockchain logic, consensus, validation, etc.6 UXImpact flag identifying the User Interface (UX)Impact flag identifying the User Interface (UX)
Type
Fields
No fields configured for issues without a type.
As a
user/asset issuerI wantto have a transfer_asset_to_asset_holders API callso thatI can perform airdrops/sharedrops or dividend payouts.Additional Context (optional)
Case 1: I own asset COOLASSET and decide to airdrop 50% of the total 1000000 COOLASSET supply to holders of BTS. I issue the relevant amount to myself and use transfer_asset_to_asset_holders(500000, 'COOLASSET','BTS')
Case 2: As a gateway operator, I collect market fees on all assets I provide gateway services for. Once a month, I want to share 50% of all market fee profits to holders of my GATEWAYCOIN. So for each gateway asset, I withdraw market fees, calculate 50% profit share (e.g. say 500 GATEWAY.UIA1) and use transfer_asset_to_asset_holders(500,'GATEWAY.UIA1','GATEWAYCOIN')
I believe PBSA has already implemented most of the code needed for this in peerplays.
Referencecs
CORE TEAM TASK LIST