Structs§
- AllMirror
Coins - Check
Collateralization Params - Collateralize
Store Params - Create
Mirror Params - GetStore
Mirror Coins Params - Mint
Params - Reclaim
Collateral Params - Update
Params
Constants§
- DIG_
MOJO_ COLLATERAL_ PER_ MB - 0.005 $DIG per MB. 1000 mojos per $DIG
Functions§
- calc_
required_ collateral - check_
store_ collateralization - fetches and returns the highest value valid collateral coin, if it exists. returns None if there are no coins hinted for the store ID, or if no hinted coins have sufficient value
- collateralize_
store - create_
store_ mirror - Create a mirror coin for a store with memo URLs. Requires the same $DIG collateral as the store size.
- get_
mirror_ coins - mint
- reclaim_
mirror_ coin - Convenience alias for reclaiming a mirror coin; identical to reclaim_store_collateral
- reclaim_
store_ collateral - spend a collateral coin to remove store collateral or mirror coin and return spendable $DIG to wallet
- update