- Preparing search index...
- The search index is not available
API References
Type alias FreezeSolPaymentGuardRouteSettings
Freeze
Sol
Payment
Guard
Route
Settings
: { path
: "initialize"; period
: number; candyGuardAuthority
: Signer; } | { path
: "thaw"; nftMint
: PublicKey; nftOwner
: PublicKey; } | { path
: "unlockFunds"; candyGuardAuthority
: Signer; }
The settings for the freezeSolPayment guard that should be provided when accessing the guard's special "route" instruction.
Initialize
The
initialize
path creates the freeze escrow account that will hold the funds until all NFTs are thawed. It must be called before any NFTs can be minted.Thaw
The
thaw
path unfreezes one NFT if one of the following conditions are met:Anyone can call this instruction. Since the funds are not transferrable until all NFTs are thawed, it creates an incentive for the treasury to thaw all NFTs as soon as possible.
Unlock Funds
The
unlockFunds
path transfers all of the escrow funds to the configured destination address once all NFTs have been thawed.See
FreezeSolPaymentGuardSettings for more information on the freezeSolPayment guard itself.