Skip to content

Ability to airdrop/sharedrop/pay dividends of one asset to all holders of another. #1172

Open
@clockworkgr

Description

@clockworkgr

As a user/asset issuer I want to have a transfer_asset_to_asset_holders API call so that I 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

  • Evaluate / Prioritize Feature Request
  • Refine User Stories / Requirements
  • Define Test Cases
  • Design / Develop Solution
  • Perform QA/Testing
  • Update Documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    1b User StoryThe 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.3b FeatureClassification indicating the addition of novel functionality to the design6 APIImpact flag identifying the application programing interface (API)6 CLIImpact flag identifying the command line interface (CLI) wallet application6 PerformanceImpacts flag identifying system/user efficiency, performance, etc.6 ProtocolImpact flag identifying the blockchain logic, consensus, validation, etc.6 UXImpact flag identifying the User Interface (UX)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions