Creators can take advantage of a Mod Market that allows you to add functionality onto tokens and create unique combinations without sacrificing security.
Developers create Mods that add new features to Totems, available for anyone to use, and earn tokens when their Mods are used.
Creators create Totems by selecting any combination of Mods to add unique functionality to their tokens, creating new experiences for their communities.
Fees automatically distributed to creators, developers, and back to the blockchain, but you can give them to your holders too!
To launch with a wide variety of Mods, I've decided to release this a little early, but only for Mod developers. The smart contract code is still in a state of flux, but the core functionality is already there, tested, and ready for you to build on.
/* Example Mod Contract */
#include <eosio/eosio.hpp>
#include <eosio/asset.hpp>
using namespace eosio;
CONTRACT mod : public contract {
public:
using contract::contract;
[[eosio::on_notify("totemstotems::transfer")]]
void on_transfer(
const name& from, const name& to, const asset& quantity, const string& memo
){
// add any logic you want here, you will always be notified on transfers
}
[[eosio::on_notify("totemstotems::burn")]]
void on_burn(const name& owner, const asset& quantity, const string& memo){
// add any logic you want here, you will always be notified on burns
}
[[eosio::on_notify("totemstotems::mint")]]
void on_mint(const name& to, const asset& quantity, const string& memo){
// add any logic you want here, you will always be notified on mints
// the mint action will always be a passthrough from the totems contract
check(get_sender() == "totemstotems"_n, "only totemstotems can mint tokens");
}
};
/* Example WharfKit Totem Creation */
{
account: "totemstotems",
name: "create",
authorization: [session.permissionLevel],
data: {
creator: session.accountName,
// unique per blockchain
ticker: "4,TICKER",
// can be accounts, or smart contracts (also mods!)
allocations: [
{
recipient: "some.acc",
quantity: "1000.0000 TICKER"
},
{
recipient: "ico.mod",
quantity: "500.0000 TICKER"
},
{
recipient: "bonding.mod",
quantity: "500.0000 TICKER"
}
],
// mod smart contract accounts
mods: [
'kyc.mod',
'toggle.mod',
'quests.mod'
]
}
}
A generous variety of Mods to choose from for creators of all types.
A marketplace where developers can list their Mods for creators to use.
An intuitive interface for creating and managing Totems and Mods.
Showcasing top creators, developers, mods, and totems.
Feeds, chats, and a variety of other fun ways to interact with Totem holders.
There's so much I want to tell you, but can't yet... stay tuned!