📘
XCHandles Docs
  • XCHandles FAQ
  • Techincal Manual
    • Pricing Puzzles
    • State Scheduler
    • XCHandles
      • The Register Action
      • The Refund Action
      • The Extend Action
      • The Expire Action
      • The Oracle Action
      • The Update Action
    • DIG Reward Distributor
      • The Sync Action
      • The New Epoch Action
      • The Add Incentives Action
      • The Commit Incentives Action
      • The Add Mirror Action
      • The Remove Mirror Action
      • The Withdraw Incentives Action
      • The Initiate Payout Action
Powered by GitBook
On this page
  1. Techincal Manual
  2. DIG Reward Distributor

The Initiate Payout Action

I know the tokens are mine - I would like them now, please. ~ Mirror

PreviousThe Withdraw Incentives Action

Last updated 3 months ago

Note: The initiate payout action code be found .

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 ((mirror_payout_puzzle_hash . mirror_shares) . (mirror_initial_cumulative_payout new_mirror_initial_cumulative_payout))) .

Written by from on Feb 16th, 2025.

here
yakuhito
FireAcademy.io