📘
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. XCHandles

The Refund Action

Where registrations gone wrong are fixed

PreviousThe Register ActionNextThe Extend Action

Last updated 3 months ago

Note: The refund action code be found .

This action is very similar to the , except that the pricing puzzle might either be a 'normal' or 'expiry auction' one. A precommit coin can be clawed back in the following cases:

  • The CAT maker puzzle hash has changed

  • The payment CAT amount is wrong

  • The pricing puzzle in used has changed

  • The handle has already been registered

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 refund action, the announcement prefix, $ , is concatenated to (sha256tree (secret handle . rest_hash) .

Written by from on Feb 15th, 2025.

here
CATalog refund action
yakuhito
FireAcademy.io