Skip to content

Commit

Permalink
add WHITELIST / BLACKLIST options to DISPENSER action
Browse files Browse the repository at this point in the history
  • Loading branch information
jdogresorg committed May 30, 2023
1 parent 0f4670f commit 6367bc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/BTNS-420.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,11 @@ This command creates a vending machine to dispense `tokens` when triggered
- `STATUS` - The state of the dispenser. (0=Open, 10=Closed)
- `ADDRESS` - Address that you would like to open the dispenser on. (default=broadcasting address)
- `ORACLE_ADDRESS` - address that you would like to use as a price oracle for this dispenser.
- `WHITELIST` - `TX_HASH` of a BTNS `LIST` to allow trigger dispenser
- `BLACKLIST` - `TX_HASH` of a BTNS `LIST` to NOT allow to trigger a dispenser

**Broadcast Format:**
`bt:DISPENSER|GIVE_TICK|GIVE_AMOUNT|ESCROW_AMOUNT|TRIGGER_TICK|TRIGGER_AMOUNT|STATUS|ADDRESS|ORACLE_ADDRESS`
`bt:DISPENSER|GIVE_TICK|GIVE_AMOUNT|ESCROW_AMOUNT|TRIGGER_TICK|TRIGGER_AMOUNT|STATUS|ADDRESS|ORACLE_ADDRESS|WHITELIST|BLACKLIST`

**Example 1:**
`bt:DISPENSER|JDOG|1|1|BTC|1.00000000|0|1JDogZS6tQcSxwfxhv6XKKjcyicYA4Feev`
Expand Down

0 comments on commit 6367bc4

Please sign in to comment.