Mackenzie Bowes
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.

      Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Explore these features while you wait
      Complete general settings
      Bookmark and like published notes
      Write a few more notes
      Complete general settings
      Write a few more notes
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # METL User Guide v0.1.0 - Fuji Only Implementation ## Logging In The METL Admin App requires wallet access and for the user to be on Avalanche's FUJI C-Chain Test Net. If the user has not yet connected to the METL Admin App, this screen (with metamask request if using metamask) will appear: ![](https://i.imgur.com/T1KiXGw.png) Note how the current Metamask network is the xDai network. The Network flag below the 'CONNECT WALLET' button indicates the network is unsupported. After connecting your wallet to the app, the "Connect Wallet" button will change to a "Log In" button. ![](https://i.imgur.com/IiL4G4z.png) Logging in while the Network Flag reads "No Supported network detected" or "Avalanche network detected" will currently fail. This is because the smart contract is currently (November 13, 2021, 10:07 Pacific Time) only deployed to Avalanche's Fuji Test Net. After connecting to the Fuji Testnet, the network flag will reflect that the user is using the Fuji Testnet: ![](https://i.imgur.com/pwvrA4P.png) And the user can now attempt to log in. ### About FUJI You may need to manually add FUJI to your Metamask. The instructions for that are available here: https://docs.avax.network/build/tutorials/smart-contracts/deploy-a-smart-contract-on-avalanche-using-remix-and-metamask#step-1-setting-up-metamask You may also need test AVAX for interacting with the test net. That is available here: https://faucet.avax-test.network/ ### LOGIN Process When the user clicks 'LOG IN', the App will check against the deployed smart contract if the user's current address has a ROLE in the smart contract in the following order: - Admin - Burner - Freezer - Minter - Pauser It's organized alphabetically. A different order is possible if requested. If the app discovers that a user's wallet address exists in a role, the app redirects the user to the interface for that role. **IMPORTANT**: If a user is assigned to both BURNER **AND** FREEZER, the user will be sent to the **BURNER** screen after logging in because it is checked **first.** To access additional screens, the user will have to **manually enter the URL** of the desired screen. If the app does NOT find a role for the user, they are redirected to the `/no-role` screen: ![](https://i.imgur.com/TTs419Q.png) ## ADMIN INTERFACE The admin interface has 7 screens. From Left-To-Right: - Edit Minters - Edit Burners - Edit Freezers - Edit Pausers - Review Transactions - Send Tokens - Update Pools ![](https://i.imgur.com/OsdPp30.png) ### Review Transactions (above) `/admin` The first screen users are directed to is the "Review Transactions" screen. This screen is not yet hooked up to a data source and displays nothing, currently, but when data is hooked up it will display transactions. ### Edit Minters `/admin/edit-minters` ![](https://i.imgur.com/UpiKg0K.png) The Edit Minters screen allows the Admin to ADD and REMOVE addresses from the 'Minter Role'. Only addresses that have been ADDED to the MINTER role may MINT. (Admins may also be minters.) Currently, there is just a UI to ADD and REMOVE. In the future, when data is hooked up, the Admin will be able to enter a Name in the "Add Minter" field and store that along with the address. Below the ADD and REMOVE form, there will be a data table detailing recent ADD and REMOVE transactions. ### Edit Burners `/admin/edit-burners` ![](https://i.imgur.com/eeOLGAY.png) The Edit Burners screen allows the Admin to ADD and REMOVE addresses from the 'Burner Role'. Only addresses that have been ADDED to the BURNER role may BURN. (Admins may also be burners.) Currently, there is just a UI to ADD and REMOVE. In the future, when data is hooked up, the Admin will be able to enter a Name in the "Add Burner" field and store that along with the address. Below the ADD and REMOVE form, there will be a data table detailing recent ADD and REMOVE transactions. ### Edit Freezers `/admin/edit-freezers` ![](https://i.imgur.com/lBKGr6O.png) The Edit Freezers screen allows the Admin to ADD and REMOVE addresses from the 'Freezer Role'. Only addresses that have been ADDED to the FREEZER role may FREEZE. (Admins may also be freezers.) Currently, there is just a UI to ADD and REMOVE. In the future, when data is hooked up, the Admin will be able to enter a Name in the "Add Freezer" field and store that along with the address. Below the ADD and REMOVE form, there will be a data table detailing recent ADD and REMOVE transactions. ### Edit Pausers `/admin/edit-pausers` ![](https://i.imgur.com/V8jYsQQ.png) The Edit Pausers screen allows the Admin to ADD and REMOVE addresses from the 'Pauser Role'. Only addresses that have been ADDED to the PAUSER role may PAUSE. (Admins may also be pausers.) Currently, there is just a UI to ADD and REMOVE. In the future, when data is hooked up, the Admin will be able to enter a Name in the "Add Pauser" field and store that along with the address. Below the ADD and REMOVE form, there will be a data table detailing recent ADD and REMOVE transactions. ### Send Tokens `/admin/send-tokens` ![](https://i.imgur.com/6ryNSlp.png) Send tokens currently just redirects the ADMIN to the current network's MULTISIG Provider (Gnosis on xDai and ETH, Pangolin on Fuji and Avalanche). ### Update Pools `/admin/update-pool` ![](https://i.imgur.com/9VNkUOI.png) The Update Pool screen allows the Admin to Whitelist and De-Whitelist Addresses for Mint and Burn transactions. ONLY ADDRESSES THAT HAVE BEEN WHITELISTED ARE VALID TARGETS FOR MINTS AND BURNS. (There is no requirement for the Whitelist to be a multi-sig, but the intention is ONLY Multisigs will be Whitelisted. For Testing, you may add your own address as a Whitelist on Fuji.) Currently, there is just a UI to ADD (Whitelist) and REMOVE (DeWhitelist). In the future, when data is hooked up, the Admin will be able to enter a Name in the "Add Pool" field and store that along with the address. Below the ADD and REMOVE form, there will be a data table detailing recent ADD and REMOVE transactions. ## BURNER Interface ### Burn Tokens `/burner/burn-tokens` ![](https://i.imgur.com/VpzRTus.png) This is the main interface for Burners. The form takes an address and an amount (may be an integer or decimal to 16 places). In a Version 2, we may query the Database of currently Whitelisted banks (or employ the subgraph to maintain this list) so Burners can select the correct bank from a dropdown. ### Review Transactions `/burner/review-transactions` ![](https://i.imgur.com/JTO0vSs.png) Similarly to the Admin's Review transactions, this data is not yet hooked up. When hooked up, I intend for this to display a list of confirmed and stored BURN transactions so Burners don't accidentally perform multiple burns to the same account. ## MINTER Interface ### Mint Tokens `/minter/mint-tokens` ![](https://i.imgur.com/581PpHS.png) This is the main interface for Minters. The form takes an address and an amount (may be an integer or decimal to 16 places). In a Version 2, we may query the Database of currently Whitelisted banks (or employ the subgraph to maintain this list) so Minters can select the correct bank from a dropdown. ### Review Transactions `/minter/review-transactions` ![](https://i.imgur.com/MYFMCb4.png) Similarly to the Admin's Review transactions, this data is not yet hooked up. When hooked up, I intend for this to display a list of confirmed and stored MINT transactions so Minters don't accidentally perform multiple burns to the same account. ## FREEZER Interface ### Freeze Transactions `/freezer/freeze-transactions` ![](https://i.imgur.com/FtKU6MV.png) The Freezer has just 1 screen, freeze-transactions. The Freeze Transactions screen allows the Freezer to Freeze and Unfreeze Addresses for all Transfer actions (Mint, Burn, Transfer). Currently, there is just a UI to Freeze and Unfreeze. Below the FREEZE and UNFREEZE form, there will be a data table detailing recent FREEZE and UNFREEZE transactions. ## PAUSER Interface ### Pause Transactions `/pauser/pause-transactions` ![](https://i.imgur.com/fuVfuGI.png) The Pauser has just 1 screen, pause-transactions. The Pause Transactions screen allows the Pauser to Pause and Unpause the network for all Transfer actions (Mint, Burn, Transfer). NOTE: Pausing the network does not block ROLE updates. The network can be Paused and suspicious or malicious wallets can be FROZEN before unpausing the network. The button updates on page load to reflect the current state of the chain. If the network is currently PAUSED, the button will read "UNPAUSE" and on click will unfreeze the network (if the function initator has the correct wallet address).

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully