πŸ¦Έβ€β™€οΈ Super Tokens

Tokens with super powers

Introduction

At this point, you are familiar with the concept of upgrading an ERC20 token to Super Token. The Superfluid Dashboard is a great tool for performing upgrades. Rather than spend time learning how to perform an upgrade, we will learn how to use the token super powers like batching and ERC777 callbacks.

Just to recap from earlier, Super Tokens have a new token address after an upgrade. To denote this, we just append "x" to the token symbol.

Prerequisites

Before starting this tutorial you should:

ERC777 Callbacks

Tokens which can "react" to certain events using callbacks erc777.org.

🚧 Section Under Construction. Updates coming soon 🚧

Batch Call

The simplest example for a batchcall is to perform multiple token transfers in one transaction. You can test this out and see the code in the playground app.

Developer Playground batchcall transfer feature

Playground example App: https://playground.superfluid.finance/batchtransfer/0xf2d68898557ccb2cf4c10c3ef2b034b2a69dad00​

Source code: https://github.com/superfluid-finance/protocol-monorepo/tree/dev/examples/dev-playground/web/src/utils/batchTransfer.js​

To change the token, replace the address in the URL.

Meta-transactions

Submit transactions on behalf of another account.

🚧 Section Under Construction. Updates coming soon 🚧