Skip to content

Contract improvements and rebranding#1

Open
TheLonelyDev wants to merge 7 commits into
masterfrom
feat/enhancements
Open

Contract improvements and rebranding#1
TheLonelyDev wants to merge 7 commits into
masterfrom
feat/enhancements

Conversation

@TheLonelyDev

Copy link
Copy Markdown
Collaborator

The contract has received some changes.

Cosmetic change: contract rebrand

Cleaned up the general code, removed abundant [[eosio::action]] statements. Refactored the code to not hook int apply but rather use the on_notify feature (cleaner approach).

"Breaking" changes ahead!
In order for the updated contract with token burning to work, this contract should be added under the active permissions of the token contract.

While using the token contract, go to https://wax.bloks.io/wallet/permissions/advanced collapse the active permission and add monkeymarket (the smart contract's address on mainnet) to the accounts list and hit save. Eg
image

Recommendation: recompile the eosio.token contract and upload this to the mainnet token contract instead of the old custom contract. Please keep in mind that this can only be done once the monkeysmatch contract has also been updated. Ref to the eosio.token contract: https://github.com/EOSIO/eosio.contracts/tree/master/contracts/eosio.token

We are now using the eosio permission system to its capacity instead of contract modifications :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant