-
Notifications
You must be signed in to change notification settings - Fork 0
Test ERC20 Token
To manually test our write/privileged operations, we have deployed a test token to Ropsten using this github repo. After you're done, add the test token information (contract address, token name, etherscan link, etc.) to the wiki so that other people know how to use it.
0xfc7e3a2554e2d4b23e41c81b14065ee31009cc31
Also found in our utils/constants.js file as TEST_TOKEN_CONTRACT_ADDRESS
https://ropsten.etherscan.io/address/0xfc7e3a2554e2d4b23e41c81b14065ee31009cc31
Proxy Contract Address (decompile bytecode for methods available) https://ropsten.etherscan.io/address/0xe9404c75d0c2c6fc9fe5c07f36b5ae15547b546c
Follow the below instructions for specific write operations
All of these involve waiting for the transfers to go through, and you must approve the metamask connection and transfer events and have enough eth to do so
You can decrease the gas price in metamask when the extension pops up, but the lower the gas price, the slower the event will be processed
To check if the event is processed, check the events tab of the first etherscan link above
Ask Tetsu to add you as the MasterMinter Then navigate to pages/test-token/index and uncomment the minting section to add minters and corresponding allowances
See above to become the MasterMinter first or ask Tetsu to add you as a minter Then navigate to pages/test-token/index and uncomment the minting section and mint
See above to become the MasterMinter first or ask Tetsu to add you as a minter Then navigate to pages/test-token/index and uncomment the burning action and burn
Ask Tetsu to add you as the pauser Then navigate to pages/test-token/index and uncomment the pausing section and pause/unpause
Ask Tetsu to add you as the blacklister Then navigate to pages/test-token/index and uncomment the blacklisting section and blacklist/unblacklist
- Open Metamask
- Scroll down to find and click the
Add Tokenbutton - Navigate to the right tab
Custom Token - Enter the test token contract address (0xe9404c75D0c2C6FC9FE5c07f36b5aE15547B546c)
- Enter a name for the test token to show up as in Metamask (e.g. test token)
- Press
NextandAdd Tokensto confirm - The token should now show up in Metamask under
Assetsand can be used when on the Ropsten network
For more documentation on methods, please visit the docs folder of the centre tokens github repo
To view methods and implementations of these methods, visit the etherscan link, navigate right to the Contract tab, and Decompile Bytecode