The Initiate Payout Action
I know the tokens are mine - I would like them now, please. ~ Entry
Note: The initiate payout action code be found here.
This public action can be called by anyone to trigger a payout transaction to a mirror. To prevent wallet dusting, the accumulated amount must be at least PAYOUT_THRESHOLD
, which is set at reward distributor launch.
The action also creates a puzzle announcement that be asserted to ensure the dApp singleton is running the right action with the right parameters. For the initiate payout action, the announcement prefix, p
, is concatenated to (sha256tree (c entry_payout_puzzle_hash entry_payout_amount))
.
Written by yakuhito from FireAcademy.io on Feb 16th, 2025.
Last updated