Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.97 KB

File metadata and controls

50 lines (38 loc) · 1.97 KB

AIRDROP command

This command airdrops token supply to one or more BTNS lists.

PARAMS

Name Type Description
VERSION String Broadcast Format Version
TICK String 1 to 250 characters in length
AMOUNT String Amount of tokens to airdrops
LIST String TX_HASH of a BTNS LIST commands
MEMO String An optional memo to include

Formats

Version 0

  • VERSION|TICK|AMOUNT|LIST|MEMO

Version 1 - Single List, Multiple airdrops, Single memo

  • VERSION|LIST|TICK|AMOUNT|TICK|AMOUNT|MEMO

Version 2 - Multiple Lists, Multiple airdrops, Single memo

  • VERSION|TICK|AMOUNT|LIST|TICK|AMOUNT|LIST|MEMO

Version 3 - Multiple Lists, Multiple Airdrops, Multiple memos

  • VERSION|TICK|AMOUNT|LIST|MEMO|TICK|AMOUNT|LIST|MEMO

Examples

bt:AIRDROP|0|GAS|1|LIST
This example airdops 1 GAS to every holder on a list
bt:AIRDROP|1|GAS|1|LIST|BRRR|2|LIST
This example airdops 1 GAS to every holder on a list and 2 BRRR to every holder on a list

Rules

Notes

  • AIRDROP to address LIST sends AMOUNT of token to each address on the list
  • AIRDROP to token LIST sends AMOUNT of token to holders of each token on the list
  • AIRDROP to ASSET LIST sends AMOUNT of token to holders of each ASSET on the list
  • Format version 0 allows for a single airdrop
  • Format version 1 allows for repeating TICK and AMOUNT params to enable multiple airdrops to a single list
  • Format version 2 allows for repeating TICK, AMOUNT and LIST params to enable multiple airdrops to multiple lists
  • Format version 3 allows for repeating TICK, AMOUNT, LIST, and MEMO params to enable multiple airdrops to multiple lists with multiple memos
  • Format version 0, 1, and 2 allow for a single optional MEMO field to be included as the last PARAM