My goal is to make a token called smash that has some special features beyond the Fungible Token Contract, but uses the Fungible token contract to make these features.
For example I have a Fungible Token Contract with the name initialized to “Smash”, and I want to add a feature called “reward” where it mints 100 “Smash” to all users with a balance > 10.
So I am using the balances, names, and mint of Fungible token contract, but the “reward” feature is not part of the Fungible Token Contract.
Can I call the fungible token contract remotely from a “smash” contract to do this?
Fungible token will store the name, balances, mint, transfer functions, and my “smash” contract will call it remotely to add the “reward” feature.
Is this how I should do this type of thing?
Hoping to put my token on jellyswap too.
Thank you so much!! Really appreciate any help!
Fungible Token Contract (Found here:https://github.com/mradkov/aeternity-fungible-token/tree/master/contracts)