The minimum price in MIST.
Adds the Kiosk Lock Rule to the Transfer Policy. This Rule forces buyer to lock the item in the kiosk, preserving strong royalties.
Attaches the Personal Kiosk Rule, making a purchase valid only for SoulBound
kiosks.
Adds the Kiosk Royalty rule to the Transfer Policy. You can pass the percentage, as well as a minimum amount. The royalty that will be paid is the MAX(percentage, minAmount). You can pass 0 in either value if you want only percentage royalty, or a fixed amount fee. (but you should define at least one of them for the rule to make sense).
The royalty percentage in basis points. Use percentageToBasisPoints
helper to convert from percentage [0,100].
The minimum royalty amount per request in MIST.
A convenient function to create a Transfer Policy and attach some rules before sharing it (so you can prepare it in a single PTB)
A function to create a new transfer policy.
Checks if there's already an existing transfer policy to prevent
double transfer polciy mistakes.
There's an optional skipCheck
flag that will just create the policy
without checking
Removes the lock rule.
Removes the Royalty rule
Setup the TransferPolicy by passing a cap
returned from kioskClient.getOwnedTransferPolicies
or
kioskClient.getOwnedTransferPoliciesByType
.
The TransferPolicyCap
Withdraw from the transfer policy's profits.
Address to transfer the profits to.
Optional
amount: string | bigint(Optional) amount parameter. Will withdraw all profits if the amount is not specified.
A function to add the floor price rule to a transfer policy.