freeze_token.md 1.1 KB

Freeze contract

Burn minted coins

$$ X = (authority^{public}_x, authority^{public}_y, token) $$

$$ W = (authority^{secret}) $$

$$ \mathcal{L}= {X:(X,W)\in \mathcal{R}} $$

Freeze token

  • Derive mint authority public key from witness $authority^{secret}$, and set it as instance.
  • Calculate, and reveal tokenId of the tokens.
Public Input Description
$authority^{public}_y$ minting authority public key y-coordinate
$authority^{public}_x$ minting authority public key x-coordinate
token derived tokenId
Witnesses Description
$authority^{secret}$ minting authority secret key