DSSToken is an example ERC721 token that uses dss. The contract
makes use of several DSS counters:
coinstracks the current token ID.priceis used to calculate themintprice.- Each token has its own
count, accessible to the token owner.
To mint your own DSSToken, call mint and send ether equal to the current cost.
The minimum cost of a DSSToken is 0.01 ether. However, anyone may call hike and drop to modify the
current cost by 10%. If you choose to mint, consider using
Flashbots Protect to avoid unwanted reverts if the token price changes while your transaction is pending.
Additionally, mint, hike, and drop will distribute CTR governance token to
the caller if a sufficient balance remains in the DSSToken contract.
Proceeds from dss-token will offset the cost of dss deployment and compensate the CounterDAO Protocol
Engineering Core Unit.
cost: Get the currentmintprice.see: Read a token's counter.
mint: Mint aDSSTokento caller.hike: Increasecostby 10%.drop: Decreasecostby 10%.
hit: Increment a token's counter. Token owner only.dip: Decrement a token's counter. Token owner only.
DSSToken:0xed15e2191A06086DD31Ef0397C07Ca40cb985abE